1 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3 * math/gen-libm-test.pl (adjust_arg): New function.
4 (special_functions): Handle generating output in both functions
6 (parse_args): Likewise.
7 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8 $in_func argument to parse_args.
9 * math/libm-test.inc (struct test_f_f_data): New type.
10 (IF_ROUND_INIT_): New macro.
11 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
12 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15 (ROUND_RESTORE_): Likewise.
16 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19 (ROUND_RESTORE_FE_UPWARD): Likewise.
20 (RUN_TEST_LOOP_f_f): New macro.
21 (acos_test_data): New variable.
22 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23 (acos_tonearest_test_data): New variable.
24 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28 * benchtests/bench-skeleton.c (startup): Fix coding style.
30 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34 negative infinity argument.
35 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36 negative infinity argument.
37 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
38 negative infinity argument.
39 * math/libm-test.inc (tgamma_test): Expect errno to be set for
42 2013-05-10 Florian Weimer <fweimer@redhat.com>
44 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
45 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46 * iconv/iconv_prog.c (main): Likewise.
47 * locale/programs/charmap-dir.c (charmap_readdir)
48 (fopen_uncompressed): Likewise.
49 * locale/programs/locfile.c (siblings_uncached)
50 (write_locale_data): Use lstat64 instead of lstat.
51 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54 2013-05-10 Andreas Jaeger <aj@suse.de>
57 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61 2013-05-09 Carlos O'Donell <carlos@redhat.com>
63 * elf/dl-close.c (_dl_close_worker): Add comments.
65 2013-05-09 Joseph Myers <joseph@codesourcery.com>
68 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
70 (__ieee754_rem_pio2l): Update comments.
73 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
75 (__ieee754_rem_pio2l): Update comments.
77 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
78 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
80 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
83 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
84 (M_PI_34_LOG10El): Likewise.
85 (M_PI2_LOG10El): Likewise.
86 (M_PI4_LOG10El): Likewise.
87 (M_PI_LOG10El): Likewise.
89 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
93 2013-05-08 Joseph Myers <joseph@codesourcery.com>
95 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
96 (MINUS_ZERO_INIT): Likewise.
97 (PLUS_INFTY_INIT): Likewise.
98 (MINUS_INFTY_INIT): Likewise.
99 (QNAN_VALUE_INIT): Likewise.
100 (MAX_VALUE_INIT): Likewise.
101 (MIN_VALUE_INIT): Likewise.
102 (MIN_SUBNORM_VALUE_INIT): Likewise.
103 (plus_zero): Initialize with PLUS_ZERO_INIT.
104 (minus_zero): Initialize with MINUS_ZERO_INIT.
105 (plus_infty): Initialize with PLUS_INFTY_INIT.
106 (minus_infty): Initialize with MINUS_INFTY_INIT.
107 (qnan_value): Initialize with QNAN_VALUE_INIT.
108 (max_value): Initialize with MAX_VALUE_INIT.
109 (min_value): Initialize with MIN_VALUE_INIT.
110 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
112 * math/libm-test.inc (RUN_TEST_if_f): New macro.
113 (jn_test): Use TEST_if_f instead of TEST_ff_f.
114 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
115 (yn_test): Use TEST_if_f instead of TEST_ff_f.
117 * math/libm-test.inc (RUN_TEST_f_f): New macro.
118 (RUN_TEST_2_f): Likewise.
119 (RUN_TEST_ff_f): Likewise.
120 (RUN_TEST_fi_f): Likewise.
121 (RUN_TEST_fl_f): Likewise.
122 (RUN_TEST_fff_f): Likewise.
123 (RUN_TEST_c_f): Likewise.
124 (RUN_TEST_f_f1): Likewise.
125 (RUN_TEST_fF_f1): Likewise.
126 (RUN_TEST_fI_f1): Likewise.
127 (RUN_TEST_ffI_f1): Likewise.
128 (RUN_TEST_c_c): Likewise.
129 (RUN_TEST_cc_c): Likewise.
130 (RUN_TEST_f_i): Likewise.
131 (RUN_TEST_f_i_tg): Likewise.
132 (RUN_TEST_ff_i_tg): Likewise.
133 (RUN_TEST_f_b): Likewise.
134 (RUN_TEST_f_b_tg): Likewise.
135 (RUN_TEST_f_l): Likewise.
136 (RUN_TEST_f_L): Likewise.
137 (RUN_TEST_sincos): Likewise.
138 * math/gen-libm-test.pl (new_test): Take new argument to indicate
139 whether to show exceptions. Do not include ");\n" in return
141 (special_functions): Output call to RUN_TEST_sincos instead of
142 check_float calls. Update calls to new_test.
143 (parse_args): Output call to single RUN_TEST_* macro instead of
144 check_* calls and other assignments. Update calls to new_test.
150 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
151 input to result for tgamma overflow.
152 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
153 (gamma_coeff): New variable.
155 (gamma_positive): New function.
156 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
157 underflow here. Use gamma_positive instead of exp (lgamma) for
159 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
160 (gamma_coeff): New variable.
162 (gammaf_positive): New function.
163 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
164 underflow here. Use gamma_positive instead of exp (lgamma) for
166 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
167 (gamma_coeff): New variable.
169 (gammal_positive): New function.
170 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
171 underflow here. Use gamma_positive instead of exp (lgamma) for
173 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
174 (gamma_coeff): New variable.
176 (gammal_positive): New function.
177 (__ieee754_gammal_r): Handle positive infinity, overflow and
178 underflow here. Handle NaN the same as positive infinity. Remove
179 check x < 0xffffffff for negative integers. Use gamma_positive
180 instead of exp (lgamma) for other arguments.
181 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
182 (gamma_coeff): New variable.
184 (gammal_positive): New function.
185 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
186 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
187 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
188 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
189 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
190 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
191 * sysdeps/generic/math_private.h (__gamma_productf): New
193 (__gamma_product): Likewise.
194 (__gamma_productl): Likewise.
195 * math/Makefile (libm-calls): Add gamma_product.
196 * math/libm-test.inc (tgamma_test): Add more tests.
197 * sysdeps/i386/fpu/libm-test-ulps: Update.
198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
200 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
202 * benchtests/bench-skeleton.c (main): Preheat CPU.
204 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
206 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
208 2013-05-07 Roland McGrath <roland@hack.frob.com>
210 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
211 and _dl_skip_args_internal.
213 2013-05-07 Carlos O'Donell <carlos@redhat.com>
215 * manual/message.texi (Message Translation): Talk about users.
216 Message to key mapping impacts design.
218 2013-05-06 Roland McGrath <roland@hack.frob.com>
220 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
222 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
224 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
225 * sysdeps/wordsize-64/glob64.c: ... here.
227 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
228 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
231 * debug/getlogin_r_chk.c: Moved to ...
232 * login/getlogin_r_chk.c: ... here.
233 * debug/Makefile (routines): Move getlogin_r_chk to ...
234 * login/Makefile (routines): ... here.
235 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
236 * login/Versions (libc: GLIBC_2.4): ... here.
238 * io/poll.c (__poll): Renamed from poll.
240 (poll): Define as weak alias.
242 * debug/ptsname_r_chk.c: Moved to ...
243 * login/ptsname_r_chk.c: ... here.
244 * debug/Makefile (routines): Move ptsname_r_chk to ...
245 * login/Makefile (routines): ... here.
246 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
247 * login/Versions (libc: GLIBC_2.4): ... here.
249 * posix/getlogin.c: Moved to ...
250 * login/getlogin.c: ... here.
251 * posix/getlogin_r.c: Moved to ...
252 * login/getlogin_r.c: ... here.
253 * posix/getlogin_r.c: Moved to ...
254 * login/getlogin_r.c: ... here.
255 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
256 * login/Makefile (routines): ... here.
257 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
258 * login/Versions (libc: GLIBC_2.0): ... here.
260 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
261 (setrlimit): Define as weak alias.
263 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
264 Call __ names for open, ftruncate, and close.
265 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
266 (truncate): Define as weak alias.
268 2013-05-06 Joseph Myers <joseph@codesourcery.com>
270 * math/gen-libm-test.pl (parse_args): Initialize x before each
271 test of frexp, modf and remquo.
273 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
276 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
280 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
282 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
284 2013-05-06 Roland McGrath <roland@hack.frob.com>
286 * elf/dl-writev.h: New file.
287 * elf/dl-misc.c: Include it.
288 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
289 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
291 2013-05-04 Joseph Myers <joseph@codesourcery.com>
293 * math/libm-test.inc (noXFails): Remove variable.
294 (noXPasses): Likewise.
295 (BUILD_COMPLEX_INT): Remove macro.
296 (print_screen): Remove xfail argument.
297 (print_screen_max_error): Likewise.
298 (update_stats): Likewise.
299 (print_max_error): Likewise. Update calls to other affected
301 (print_complex_max_error): Likewise.
302 (test_single_exception): Update calls to print_screen.
303 (test_single_errno): Likewise.
304 (check_float_internal): Remove xfail argument. Update calls to
305 other affected functions.
306 (check_float): Likewise.
307 (check_complex): Likewise.
308 (check_int): Likewise.
309 (check_long): Likewise.
310 (check_bool): Likewise.
311 (check_longlong): Likewise.
312 (main): Don't print noXFails and noXPasses.
313 * math/gen-libm-test.pl (top level): Don't mention expected
314 failure handling in comment.
315 (new_test): Don't handle expected failures.
316 (parse_args): Don't mention expected failure handling in comment.
317 (generate_testfile): Don't handle expected failures.
318 (parse_ulps): Likewise.
319 (print_ulps_file): Likewise.
320 (get_failure): Remove function.
321 (output_test): Don't handle expected failures.
322 * make/README.libm-test: Don't mention expected failure handling.
324 * math/libm-test.inc (plus_zero): Make const. Add initializer.
325 (minus_zero): Likewise.
326 (plus_infty): Likewise.
327 (minus_infty): Likewise.
328 (qnan_value): Likewise.
329 (max_value): Likewise.
330 (min_value): Likewise.
331 (min_subnorm_value): Likewise.
332 (initialize): Do not initialize those variables dynamically.
334 2013-05-03 Roland McGrath <roland@hack.frob.com>
336 * io/open.c (__open_2): Moved to ...
337 * io/open_2.c: ... this new file.
338 * io/open64.c (__open64_2): Moved to ...
339 * io/open64_2.c: ... this new file.
340 * io/openat.c (__openat_2): Moved to ...
341 * io/openat_2.c: ... this new file.
342 * io/openat64.c (__openat64_2): Moved to ...
343 * io/openat64_2.c: ... this new file.
344 * io/Makefile (routines): Add them.
345 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
346 * sysdeps/unix/sysv/linux/open_2.c: File removed.
347 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
348 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
349 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
350 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
351 (__openat64): Add hidden_ver.
352 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
353 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
355 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
356 Separately conditionalize setting of GLRO(dl_sysinfo) so
357 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
358 as well, but the actual setting is only under [NEED_DL_SYSINFO].
360 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
362 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
363 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
365 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
366 * sysdeps/unix/sysv/linux/powerpc/init-first.c
367 (_libc_vdso_platform_setup): Add __vdso_time initialization.
368 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
369 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
371 2013-05-03 Joseph Myers <joseph@codesourcery.com>
373 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
376 * math/libm-test.inc (hypot_test): Do not use
377 IGNORE_ZERO_INF_SIGN.
379 2013-05-03 Andreas Jaeger <aj@suse.de>
381 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
383 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
384 (PF_MAX): Adjust for VSOCK change.
386 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
390 2013-05-02 Carlos O'Donell <carlos@redhat.com>
393 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
394 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
395 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
397 2013-05-02 David S. Miller <davem@davemloft.net>
399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
401 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
403 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
405 2013-05-01 Roland McGrath <roland@hack.frob.com>
407 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
409 2013-05-01 Richard Smith <richard@metafoo.co.uk>
412 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
413 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
414 Use __attribute__ ((__gnu_inline__)).
415 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
416 Don't use __attribute__ ((__gnu_inline__)).
418 2013-05-01 Joseph Myers <joseph@codesourcery.com>
421 * math/s_catan.c (__catan): Handle small real or imaginary part of
422 input specially to avoid spurious underflow.
423 * math/s_catanf.c (__catanf): Likewise.
424 * math/s_catanh.c (__catanh): Likewise.
425 * math/s_catanhf.c (__catanhf): Likewise.
426 * math/s_catanhl.c (__catanhl): Likewise.
427 * math/s_catanl.c (__catanl): Likewise.
428 * math/libm-test.inc (catan_test): Add more tests.
429 (catanh_test): Likewise.
430 * sysdeps/i386/fpu/libm-test-ulps: Update.
431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
433 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
437 2013-04-30 Joseph Myers <joseph@codesourcery.com>
440 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
441 accurately for denominator in atan2.
442 * math/s_catanf.c (__catanf): Likewise.
443 * math/s_catanh.c (__catanh): Likewise.
444 * math/s_catanhf.c (__catanhf): Likewise.
445 * math/s_catanhl.c (__catanhl): Likewise.
446 * math/s_catanl.c (__catanl): Likewise.
447 * math/libm-test.inc (catan_test): Add more tests.
448 (catanh_test): Likewise.
449 * sysdeps/i386/fpu/libm-test-ulps: Update.
450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
452 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
454 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
456 * benchtests/Makefile (bench): Remove slow benchmarks.
457 * benchtests/atan-inputs: Add slow benchmark inputs.
458 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
459 (BENCH_FUNC): Accept variant offset.
461 * benchtests/bench-skeleton.c (main): Run benchmark for each
463 * benchtests/cos-inputs: Add slow benchmark inputs.
464 * benchtests/exp-inputs: Likewise.
465 * benchtests/pow-inputs: Likewise.
466 * benchtests/sin-inputs: Likewise.
467 * benchtests/slowatan-inputs: Remove.
468 * benchtests/slowatan.c: Remove.
469 * benchtests/slowcos-inputs: Remove.
470 * benchtests/slowcos.c: Remove.
471 * benchtests/slowexp-inputs: Remove.
472 * benchtests/slowexp.c: Remove.
473 * benchtests/slowpow-inputs: Remove.
474 * benchtests/slowpow.c: Remove.
475 * benchtests/slowsin-inputs: Remove.
476 * benchtests/slowsin.c: Remove.
477 * benchtests/slowtan-inputs: Remove.
478 * benchtests/slowtan.c: Remove.
479 * benchtests/tan-inputs: Add slow benchmark inputs.
480 * scripts/bench.pl: Parse comments and directives.
482 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
484 ($(objpfx)bench-%.c): Remove *-ITER.
485 * benchtests/bench-modf.c: Remove definition of ITER.
486 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
487 (main): Loop for DURATION seconds instead of fixed number of
489 * scripts/bench.pl: Don't expect iterations in parameters.
491 2013-04-29 Roland McGrath <roland@hack.frob.com>
493 * io/fchdir.c (__fchdir): Renamed from fchdir.
494 (fchdir): Define as weak alias.
496 2013-04-29 Joseph Myers <joseph@codesourcery.com>
498 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
499 (ERRNO_EDOM): Likewise.
500 (ERRNO_ERANGE): Likewise.
501 (noErrnoTests): New variable.
502 (init_max_error): Set errno to 0.
503 (test_single_errno): New function.
504 (test_errno): Likewise.
505 (check_float_internal): Call test_errno. Set errno to 0.
506 (check_complex): Refer to errno tests in comment.
507 (check_int): Call test_errno. Set errno to 0.
508 (check_long): Likewise.
509 (check_bool): Likewise.
510 (check_longlong): Likewise.
511 (cos_test): Use ERRNO_* flags for errno tests instead of
513 (expm1_test): Likewise.
514 (fmod_test): Likewise.
515 (ilogb_test): Likewise.
516 (lgamma_test): Likewise.
517 (pow_test): Likewise.
518 (remainder_test): Likewise.
519 (sin_test): Likewise.
520 (tan_test): Likewise.
522 (initialize): Set errno to 0.
523 (main): Print number of errno tests.
524 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
526 2013-04-29 Andreas Jaeger <aj@suse.de>
529 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
533 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
534 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
538 * stdlib/random.c (__initstate): Return NULL if
542 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
543 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
546 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
550 2013-04-29 Joseph Myers <joseph@codesourcery.com>
552 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
554 (casin_test): Likewise.
555 (casinh_test): Likewise.
557 2013-04-27 Joseph Myers <joseph@codesourcery.com>
560 * math/s_catan.c (__catan): Handle arguments with large real or
561 imaginary part separately without squaring.
562 * math/s_catanf.c (__catanf): Likewise.
563 * math/s_catanh.c (__catanh): Likewise.
564 * math/s_catanhf.c (__catanhf): Likewise.
565 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
567 (__catanhl): Handle arguments with large real or imaginary part
568 separately without squaring.
569 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
571 (__catanl): Handle arguments with large real or imaginary part
572 separately without squaring.
573 * math/libm-test.inc (catan_test): Add more tests.
574 (catanh_test): Likewise.
575 * sysdeps/i386/fpu/libm-test-ulps: Update.
576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
578 2013-04-27 Andreas Jaeger <aj@suse.de>
581 * stdlib/stdlib.h: Update guards for qecvt.
582 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
585 2013-04-27 Allan McRae <allan@archlinux.org>
587 * sysdeps/i386/fpu/libm-test-ulps: Update.
589 2013-04-26 Joseph Myers <joseph@codesourcery.com>
592 * math/s_catan.c: Include <float.h>.
593 (__catan): Ensure underflow exception occurs for underflowed
595 * math/s_catanf.c: Include <float.h>.
596 (__catanf): Ensure underflow exception occurs for underflowed
598 * math/s_catanh.c: Include <float.h>.
599 (__catanh): Ensure underflow exception occurs for underflowed
601 * math/s_catanhf.c: Include <float.h>.
602 (__catanhf): Ensure underflow exception occurs for underflowed
604 * math/s_catanhl.c: Include <float.h>.
605 (__catanhl): Ensure underflow exception occurs for underflowed
607 * math/s_catanl.c: Include <float.h>.
608 (__catanl): Ensure underflow exception occurs for underflowed
610 * math/libm-test.inc (catan_test): Add more tests.
611 (catanh_test): Likewise.
614 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
616 * math/s_ccoshf.c (__ccoshf): Likewise.
617 * math/s_ccoshl.c (__ccoshl): Likewise.
618 * math/s_csin.c (__csin): Likewise.
619 * math/s_csinf.c (__csinf): Likewise.
620 * math/s_csinh.c (__csinh): Likewise.
621 * math/s_csinhf.c (__csinhf): Likewise.
622 * math/s_csinhl.c (__csinhl): Likewise.
623 * math/s_csinl.c (__csinl): Likewise.
624 * math/libm-test.inc (ccos_test): Add more tests.
625 (ccosh_test): Likewise.
626 (csin_test): Likewise.
627 (csinh_test): Likewise.
629 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
631 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
632 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
633 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
634 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
635 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
636 powerpc/power5+/fpu folders.
637 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
640 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
644 2013-04-25 Joseph Myers <joseph@codesourcery.com>
646 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
647 additions to variable.
648 [$(config-machine) = x86_64] (modules-names): Likewise.
649 ($(objpfx)tst-audit3): Remove dependency.
650 ($(objpfx)tst-audit3.out): Likewise.
651 ($(objpfx)tst-audit4): Likewise.
652 ($(objpfx)tst-audit4.out): Likewise.
653 ($(objpfx)tst-audit5): Likewise.
654 ($(objpfx)tst-audit5.out): Likewise.
655 ($(objpfx)tst-audit6): Likewise.
656 ($(objpfx)tst-audit6.out): Likewise.
657 ($(objpfx)tst-audit7): Likewise.
658 ($(objpfx)tst-audit7.out): Likewise.
659 (tst-audit3-ENV): Remove variable.
660 (tst-audit4-ENV): Likewise.
661 (tst-audit5-ENV): Likewise.
662 (tst-audit6-ENV): Likewise.
663 (tst-audit7-ENV): Likewise.
664 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
665 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
666 addition to variable.
667 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
668 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
669 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
670 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
671 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
672 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
673 tst-audit3, tst-audit4 and tst-audit5.
674 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
675 tst-audit6 and tst-audit7.
676 [$(subdir) = elf] (modules-names): Add audit modules for those
678 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
679 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
680 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
681 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
682 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
683 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
684 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
685 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
686 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
687 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
688 [$(subdir) = elf] (tst-audit3-ENV): New variable.
689 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
690 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
691 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
692 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
693 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
695 [$(subdir) = elf && $(config-cflags-avx) = yes]
696 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
697 [$(subdir) = elf && $(config-cflags-avx) = yes]
698 (CFLAGS-tst-auditmod4a.c): Likewise.
699 [$(subdir) = elf && $(config-cflags-avx) = yes]
700 (CFLAGS-tst-auditmod4b.c): Likewise.
701 [$(subdir) = elf && $(config-cflags-avx) = yes]
702 (CFLAGS-tst-auditmod6b.c): Likewise.
703 [$(subdir) = elf && $(config-cflags-avx) = yes]
704 (CFLAGS-tst-auditmod6c.c): Likewise.
705 [$(subdir) = elf && $(config-cflags-avx) = yes]
706 (CFLAGS-tst-auditmod7b.c): Likewise.
707 * elf/tst-audit3.c: Move to ...
708 * sysdeps/x86_64/tst-audit3.c: ... here.
709 * elf/tst-audit4.c: Move to ...
710 * sysdeps/x86_64/tst-audit4.c: ... here.
711 * elf/tst-audit5.c: Move to ...
712 * sysdeps/x86_64/tst-audit5.c: ... here.
713 * elf/tst-audit6.c: Move to ...
714 * sysdeps/x86_64/tst-audit6.c: ... here.
715 * elf/tst-audit7.c: Move to ...
716 * sysdeps/x86_64/tst-audit7.c: ... here.
717 * elf/tst-auditmod3a.c: Move to ...
718 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
719 * elf/tst-auditmod3b.c: Move to ...
720 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
721 * elf/tst-auditmod4a.c: Move to ...
722 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
723 * elf/tst-auditmod4b.c: Move to ...
724 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
725 * elf/tst-auditmod5a.c: Move to ...
726 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
727 * elf/tst-auditmod5b.c: Move to ...
728 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
729 * elf/tst-auditmod6a.c: Move to ...
730 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
731 * elf/tst-auditmod6b.c: Move to ...
732 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
733 * elf/tst-auditmod6c.c: Move to ...
734 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
735 * elf/tst-auditmod7a.c: Move to ...
736 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
737 * elf/tst-auditmod7b.c: Move to ...
738 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
740 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
743 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
744 define unconditionally.
745 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
746 define unconditionally.
747 (INT8_C, INT16_C, etc.): Likewise.
749 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
751 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
752 __ehdr_start with hidden visibility.
754 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
756 2013-04-24 Carlos O'Donell <carlos@redhat.com>
758 * math/libm-test.inc (cos_test): Use accurate hex constants.
759 (sincost_test): Likewise.
761 2013-04-24 Joseph Myers <joseph@codesourcery.com>
763 * math/libm-test.inc (catan_test): Add more tests.
764 (catanh_test): Likewise.
766 * math/s_catanf.c (__catanf): Use suffixed floating-point
768 * math/s_catanhf.c (__catanhf): Likewise.
769 * math/s_catanhl.c (__catanhl): Likewise.
770 * math/s_catanl.c (__catanl): Likewise.
773 * math/s_catan.c (__catan): Calculate imaginary part of result
774 with log1p not log unless computing log of number close to 0.
775 * math/s_catanf.c (__catanf): Likewise.
776 * math/s_catanl.c (__catanl): Likewise.
777 * math/s_catanh.c (__catanh): Calculate real part of result with
778 log1p not log unless computing log of number close to 0.
779 * math/s_catanhf.c (__catanhf): Likewise.
780 * math/s_catanhl.c (__catanhl): Likewise.
781 * math/libm-test.inc (catan_test): Add more tests.
782 (catanh_test): Likewise.
783 * sysdeps/i386/fpu/libm-test-ulps: Update.
784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
786 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
788 * benchtests/Makefile: Mention files in which fast and slow
789 paths of math functions are implemented.
791 2013-04-23 Roland McGrath <roland@hack.frob.com>
793 * sysdeps/posix/timespec_get.c: New file.
795 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
797 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
799 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
801 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
802 powerpc/power5/fpu folders.
803 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
804 * benchtests/Makefile: Add modf testcase.
805 * benchtests/bench-modf.c: New file: Benchmark test for mo
807 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
810 * time/Makefile (tests): Add tst-strptime-whitespace.
811 * time/strptime_l.c (get_number): Use ISSPACE.
812 (__strptime_internal): Likewise.
813 * time/tst-strptime-whitespace.c: New test case.
815 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
817 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
819 (_nss_files_init): Set it here.
821 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
823 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
824 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
827 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
829 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
831 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
833 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
836 2013-04-21 David S. Miller <davem@davemloft.net>
838 * po/ru.po: Update Russion translation from translation project.
840 2013-04-17 Adam Conrad <adconrad@0c3.net>
842 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
845 2013-04-17 Carlos O'Donell <carlos@redhat.com>
847 * configure.in: Remove i386 configure warning. Remove i386 case.
848 * configure: Regenerate.
849 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
850 Add example to error message.
851 * sysdeps/i386/configure: Regenerate.
853 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
855 * benchtests/Makefile (bench): Add cos, tan, slowcos and
857 * benchtests/cos-inputs: New file.
858 * benchtests/slowcos-inputs: New file.
859 * benchtests/slowcos.c: New file.
860 * benchtests/slowtan-inputs: New file.
861 * benchtests/slowtan.c: New file.
862 * benchtests/tan-inputs: New file.
864 2013-04-16 Roland McGrath <roland@hack.frob.com>
866 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
869 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
871 * benchtests/Makefile: Include cppflags-iterator.mk to add
872 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
874 * Makefile.in (bench-clean): New target.
875 * benchtests/Makefile (bench-clean): Likewise.
877 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
879 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
881 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
883 * stdio-common/tstdiomisc.c: Fix coding-style violation.
885 2013-04-15 Andreas Schwab <schwab@suse.de>
887 * nscd/grpcache.c (cache_addgr): Properly check for short write.
888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
889 * nscd/pwdcache.c (cache_addpw): Likewise.
890 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
893 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
895 * benchtests/Makefile (bench): Write all output to
896 bench-out.tmp together.
898 2013-04-15 Andreas Schwab <schwab@suse.de>
900 * nscd/nscd.c (main): Don't fork again after closing files.
902 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
904 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
906 * benchtests/Rules (bench-deps): Collect dependencies into a
907 single variable. Add Makefile to dependencies.
908 ($(objpfx)bench-%.c): Depend on bench-deps.
910 2013-04-12 Roland McGrath <roland@hack.frob.com>
911 Xavier Roche <roche+kml2@exalead.com>
914 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
915 just that it's a file descriptor.
916 * manual/llio.texi (Synchronizing AIO Operations): Update description
917 for EBADF error from aio_fsync.
919 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
921 * Rules (bench): Move target definition...
922 * benchtests/Makefile: ... here.
924 2013-04-11 Carlos O'Donell <carlos@redhat.com>
926 * math/libm-test.inc (cos_test): Fix PI/2 test.
927 (sincos_test): Likewise.
928 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
929 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
931 2013-04-11 Andreas Schwab <schwab@suse.de>
934 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
935 accept exponent character only when digits were seen.
936 * stdio-common/Makefile (tests): Add bug26.
937 * stdio-common/bug26.c: New file.
940 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
943 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
945 * Makeconfig (rtld-prefix): Define built linker prefix.
946 * Rules (run-bench): Use it.
947 * math/Makefile (run-regen-ulps): Likewise.
949 * Rules (bench): Remove eval.
951 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
952 Roland McGrath <roland@hack.frob.com>
953 Ondrej Bilka <neleai@seznam.cz>
956 * time/getdate.c: Include ctype.h and alloca.h.
957 (__getdate_r): Trim leading and trailing spaces of input.
958 * time/tst-getdate.c (tests): Add tests with leading and
961 2013-04-08 Roland McGrath <roland@hack.frob.com>
964 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
965 when computing value.
967 2013-04-06 Carlos O'Donell <carlos@redhat.com>
969 * math/README.libm-test (How can I generate "libm-test-ulps"?):
970 Use testrun.sh to run libm tests.
973 * elf/dl-open.c (dl_open_worker): memset all of seen array.
975 2013-04-06 Marko Myllynen <myllynen@redhat.com>
978 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
980 2013-04-06 Carlos O'Donell <carlos@redhat.com>
982 * Makefile.in (regen-ulps): New target.
983 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
984 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
985 [ifneq (no,$(PERL)] (regen-ulps): New target.
986 [ifeq (no,$(PERL)] (regen-ulps): New target.
987 * math/libm-test.inc (ulps_file_name): Define.
988 (output_dir): New variable.
989 (options): Add "output-dir" option.
990 (parse_opt): Handle 'o' case.
991 (main): If output_dir is non-NULL use it as a prefix
993 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
995 2013-04-06 Carlos O'Donell <carlos@redhat.com>
998 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
999 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1000 fail configure if __sync_val_compare_and_swap is not inlined.
1001 * sysdeps/i386/configure: Regenerate.
1002 * configure.in: Build for i686 when configured for i386.
1003 * configure: Regenerate.
1004 * README: Remove i386 reference.
1006 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1008 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1009 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1011 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1013 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1014 (lmsnanval): New variables.
1015 (F): Add conversion tests.
1016 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1017 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1019 * stdio-common/tstdiomisc.c (F): Properly collect individual
1023 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1024 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1025 Instead, use input NaN values or generate a qNaN by arithmetic
1026 operation. Also fix bugs to comply with the standard.
1027 * math/libm-test.inc (remainder_test): Add more tests.
1030 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1032 input NaN values or generate a qNaN by arithmetic operation.
1034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1037 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1040 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1043 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1045 * math/s_cexpf.c (__cexpf): Likewise.
1046 * math/s_cexpl.c (__cexpl): Likewise.
1047 * math/libm-test.inc (cexp_test): Add more tests.
1049 2013-04-03 Andreas Schwab <schwab@suse.de>
1052 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1053 order arrays from heap if bigger than alloca cutoff.
1055 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1057 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1058 (SNAN_TESTS_double): Refer to GCC PR56831.
1059 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1062 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1064 * Rules (bench): Move bench.out after the run is complete.
1066 * Rules (bench): Echo currently running benchmark.
1068 * benchtests/Makefile (bench): Add atan and slowatan.
1069 * benchtests/atan-inputs: New file.
1070 * benchtests/slowatan-inputs: New file.
1071 * benchtests/slowatan.c: New file.
1073 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1074 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1078 * sysdeps/unix/sysv/linux/kernel-features.h
1079 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1080 __ASSUME_XFS_RESTRICTED_CHOWN.
1081 * sysdeps/unix/sysv/linux/pathconf.c
1082 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1083 Save and restore errno.
1085 2013-04-02 Joseph Myers <joseph@codesourcery.com>
1088 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1089 arguments using __kernel_casinh.
1090 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1091 arguments using __kernel_casinhf.
1092 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1093 arguments using __kernel_casinhl.
1094 * math/libm-test.inc (cacosh_test): Add more tests.
1095 * sysdeps/i386/fpu/libm-test-ulps: Update.
1096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1098 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1100 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1101 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1103 * bench/Makefile (bench): Add sin and slowsin.
1104 * benchtests/sin-inputs: New file.
1105 * benchtests/slowsin-inputs: New file.
1106 * benchtests/slowsin.c: New file.
1108 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1109 (bench): Add slowexp and slowpow.
1110 (exp-ITER): Increase iterations.
1111 (pow-ITER): Likewise.
1112 * benchtests/exp-inputs: Change input.
1113 * benchtests/pow-inputs: Likewise.
1114 * benchtests/slowexp-inputs: New file.
1115 * benchtests/slowexp.c: New file.
1116 * benchtests/slowpow-inputs: New file.
1117 * benchtests/slowpow.c: New file.
1119 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1121 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1123 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1124 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1125 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1126 * benchtests/Makefile: Add rint benchtest.
1127 * benchtests/rint-inputs: Input for rint benchtest.
1129 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1131 * Versions.def (libm): Add GLIBC_2.18.
1132 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1133 hidden libm prototypes.
1134 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1135 * math/Makefile (libm-calls): Add s_issignaling.
1136 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1137 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1138 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1140 * math/math.h [__USE_GNU] (issignaling): New macro.
1141 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1142 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1143 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1144 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1145 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1146 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1147 * manual/arith.texi (issignaling): New section.
1148 * manual/libm-err-tab.pl (@all_functions): Update comment.
1149 * math/gen-libm-test.pl (parse_args): Apply special handling for
1151 * math/libm-test.inc (print_float, issignaling_test): New
1153 (check_float_internal): Add issignaling checks.
1154 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1156 * sysdeps/powerpc/math-tests.h: New file.
1157 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1159 * math/test-snan.c (TEST_FUNC): Likewise.
1161 2013-03-30 David S. Miller <davem@davemloft.net>
1163 * po/de.po: Update from translation team.
1165 2013-03-30 Joseph Myers <joseph@codesourcery.com>
1168 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1169 imaginary part less than 1.0 and real part less than 0.5
1171 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1172 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1173 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1174 (cacos_test): Add more tests.
1175 (casin_test): Likewise.
1176 (casinh_test): Likewise.
1177 * sysdeps/i386/fpu/libm-test-ulps: Update.
1178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1180 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1182 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1185 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1186 (__pow_mp): Replace ONE and MONE with their values.
1187 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1188 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1189 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1190 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1191 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1192 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1194 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1196 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1197 (__pow_mp): Replace ZERO and MZERO with their values.
1198 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1199 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1200 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1202 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1203 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1206 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1208 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1210 2013-03-28 Roland McGrath <roland@hack.frob.com>
1212 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1213 Declare with __attribute__ ((weak)).
1214 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1215 Call __call_tls_dtors only if it's not NULL.
1217 2013-03-28 Roland McGrath <roland@hack.frob.com>
1219 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1220 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1221 magic __ehdr_start linker symbol if it's defined.
1222 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1223 them up here if it was already done.
1225 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1226 (_dl_aux_init): Use const in cast when setting it.
1227 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1228 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1229 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1231 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1233 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1234 * csu/libc-tls.c: Nor here.
1235 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1237 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1238 (__libc_message): Never call vsyslog.
1240 2013-03-28 Alan Modra <amodra@gmail.com>
1242 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1244 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1247 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1250 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1254 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1257 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1258 Don't add gid passed as argument.
1260 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1262 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1265 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1266 imaginary part between 1.0 and 1.5 and real part less than 0.5
1268 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1269 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1270 * math/libm-test.inc (cacos_test): Add more tests.
1271 (casin_test): Likewise.
1272 (casinh_test): Likewise.
1273 * sysdeps/i386/fpu/libm-test-ulps: Update.
1274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1276 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1278 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1282 (__dbl_mp): Likewise.
1283 (add_magnitudes): Likewise.
1284 (sub_magnitudes): Likewise.
1292 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1294 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1295 (__dubcos): Likewise.
1296 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1297 (__ieee754_acos): Likewise.
1298 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1299 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1301 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1302 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1304 (my_log2): Likewise.
1305 (checkint): Likewise.
1306 * sysdeps/ieee754/dbl-64/e_remainder.c
1307 (__ieee754_remainder): Likewise.
1308 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1309 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1311 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1313 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1314 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1315 MANTISSA_STORE_T to store computations on mantissa. Use
1316 macros for rounding and division.
1318 (__dbl_mp): Likewise.
1319 (add_magnitudes): Likewise.
1320 (sub_magnitudes): Likewise.
1323 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1324 powers of two in terms of TWOPOW macro.
1325 (mp_no): Make type of mantissa as MANTISSA_T.
1326 [!RADIXI]: Define RADIXI.
1327 [!TWO52]: Define TWO52.
1328 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1330 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1332 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1333 llroundl symbol when building for PPC32.
1335 2013-03-24 Mark H Weaver <mhw@netris.org>
1337 * manual/arith.texi (Normalization Functions): Fix prototypes for
1338 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1340 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1343 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1344 high value to check if expl overflow.
1345 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1346 to check for underflow and overflow.
1347 * math/libm-test.inc: Add exp test.
1349 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1352 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1355 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1357 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1360 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1362 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1363 wrap blocks consisting of several statements.
1365 * sysdeps/generic/math-tests.h: New file.
1366 * sysdeps/i386/fpu/math-tests.h: Likewise.
1367 * math/test-snan.c: Include it.
1368 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1370 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1373 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1374 (__ieee754_j0l): Do not improve calculations using cos of twice
1375 input for inputs above LDBL_MAX / 2.0L.
1376 (__ieee754_y0l): Likewise.
1377 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1378 (__ieee754_j1l): Do not improve calculations using cos of twice
1379 input for inputs above LDBL_MAX / 2.0L.
1380 (__ieee754_y1l): Likewise.
1381 * math/libm-test.inc (j0_test): Add another test.
1382 (j1_test): Likewise.
1383 (y0_test): Likewise.
1384 (y1_test): Likewise.
1385 * sysdeps/i386/fpu/libm-test-ulps: Update.
1387 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1389 * Rules ($(objpfx)bench-%.c): Include code from a C source
1392 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1395 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1396 imaginary part 1.0 and real part less than 0.5 specially.
1397 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1398 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1399 * math/libm-test.inc (cacos_test): Add more tests.
1400 (casin_test): Likewise.
1401 (casinh_test): Likewise.
1402 * sysdeps/i386/fpu/libm-test-ulps: Update.
1403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1405 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1407 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1408 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1410 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1412 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1413 * config.make.in (config-cflags-sse4): Remove variable.
1414 (config-cflags-avx): Likewise.
1415 (config-cflags-sse2avx): Likewise.
1416 (config-cflags-novzeroupper): Likewise.
1417 (config-asflags-i686): Likewise.
1418 (have-mfma4): Likewise.
1419 (have-as-vis3): Likewise.
1421 * configure.in (MIG): Do not AC_SUBST.
1422 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1423 (libc_cv_cc_sse4): Do not AC_SUBST.
1424 (libc_cv_cc_avx): Likewise.
1425 (libc_cv_cc_sse2avx): Likewise.
1426 (libc_cv_cc_novzeroupper): Likewise.
1427 (libc_cv_cc_fma4): Likewise.
1428 (libc_cv_as_i686): Likewise.
1429 (libc_cv_sparc_as_vis3): Likewise.
1430 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1432 (config-asflags-i686): Likewise.
1433 (config-cflags-avx): Likewise.
1434 (config-cflags-sse2avx): Likewise.
1435 (have-mfma4): Likewise.
1436 (config-cflags-novzeroupper): Likewise.
1437 * sysdeps/mach/configure.in (MIG): Likewise.
1438 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1439 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1441 (config-cflags-avx): Likewise.
1442 (config-cflags-sse2avx): Likewise.
1443 (have-mfma4): Likewise.
1444 (config-cflags-novzeroupper): Likewise.
1445 * configure: Regenerated.
1446 * sysdeps/i386/configure: Likewise.
1447 * sysdeps/mach/configure: Likewise.
1448 * sysdeps/sparc/configure: Likewise.
1449 * sysdeps/x86_64/configure: Likewise.
1451 2013-03-20 Roland McGrath <roland@hack.frob.com>
1454 * locale/programs/localedef.c (options): Put N_ translation marker
1455 on argument names, not just descriptions.
1457 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1459 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1461 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1464 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1466 2013-03-19 Roland McGrath <roland@hack.frob.com>
1468 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1469 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1470 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1471 [!BEFORE_ABORT] (before_abort): New function.
1472 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1473 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1474 (writev_for_fatal): New function.
1475 (WRITEV_FOR_FATAL): New macro; call that.
1476 (backtrace_and_maps): New function.
1477 (BEFORE_ABORT): New macro; call that.
1478 (struct str_list): Type removed.
1479 (__libc_message, __libc_fatal): Functions removed.
1480 Include <sysdeps/posix/libc_fatal.c> instead.
1482 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1484 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1486 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1489 2013-03-19 Andreas Schwab <schwab@suse.de>
1491 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1492 * sysdeps/gnu/configure: Regenerate.
1494 * configure.in: Substitute libc_cv_rtlddir.
1495 * configure: Regenerate.
1496 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1497 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1498 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1499 * elf/Makefile (install-others, CFLAGS-interp.c)
1500 (ldso_install, common-ldd-rewrite): Likewise.
1501 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1502 $(inst_slibdir)/$(rtld-installed-name).
1503 * scripts/rellns-sh: Add -p option.
1504 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1507 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1509 * manual/nptl.texi: Renamed to ...
1510 * manual/threads.texi: ... this.
1511 * manual/Makefile (chapters): Update.
1513 2013-03-18 Roland McGrath <roland@hack.frob.com>
1516 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1517 on argument names, not just descriptions.
1518 * malloc/memusagestat.c (options): Likewise.
1519 * nss/getent.c (options): Likewise.
1521 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1524 * iconv/iconv_prog.c (options): Put N_ translation marker
1525 on argument names, not just descriptions.
1526 * iconv/iconvconfig.c (options): Likewise.
1528 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1530 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1531 implementation which is faster on all x86_64 architectures.
1532 Tested on AMD, Intel Nehalem, SNB, IVB.
1533 * sysdeps/x86_64/strnlen.S: Likewise.
1535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1536 Remove all multiarch strlen and strnlen versions.
1537 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1538 Remove strlen and strnlen related parts.
1540 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1542 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1544 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1545 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1546 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1547 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1548 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1549 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1551 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1553 * manual/memory.texi (Malloc Tunable Parameters):
1554 Sort parameters alphabetically. Add comments for missing entries.
1556 2013-03-17 David S. Miller <davem@davemloft.net>
1558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1560 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1563 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1564 for arguments at most half maximum finite value.
1565 * math/libm-test.inc (j0_test): Add more tests.
1566 (j1_test): Likewise.
1567 (y0_test): Likewise.
1568 (y1_test): Likewise.
1569 * sysdeps/i386/fpu/libm-test-ulps: Update.
1570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1573 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1574 1 / x and functions P and Q for arguments above 0x1p256L.
1575 (__ieee754_y0l): Likewise.
1576 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1577 (__ieee754_y1l): Likewise.
1578 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1579 (j1_test): Likewise.
1580 (y0_test): Likewise.
1581 (y1_test): Likewise.
1583 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1585 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1588 2013-03-15 Roland McGrath <roland@hack.frob.com>
1590 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1591 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1592 zero since it's initialized to EXEC_PAGESIZE.
1594 * sysdeps/unix/sysv/linux/ldsodefs.h
1595 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1596 * sysdeps/generic/ldsodefs.h: ... here.
1598 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1600 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1602 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1604 * math/test-snan.c: Renamed from
1605 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1606 * math/Makefile (tests): Add test-snan.
1607 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1610 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1611 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1613 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1614 __builtin_nan family of functions.
1615 * math/libm-test.inc (initialize): Initialize qnan_value with
1616 __builtin_nan family of functions.
1617 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1619 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1621 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1622 storage class. Initialize qNaN_var and sNaN_var with
1623 __builtin_nan and __builtin_nans families of functions,
1626 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1627 (sqrt_test): Remove duplicate test with qNaN input.
1628 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1629 (round_test, signbit_test, significand_test): Note missing +/-Inf
1630 as well as qNaN tests.
1632 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1633 qNaN_var. Fix a few strings, too.
1634 * math/libm-test.inc (nan_value): Rename to qnan_value.
1635 * math/gen-libm-test.pl (%beautify): Adjust to that.
1636 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1637 * math/test-misc.c (main): Likewise.
1638 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1639 to __qnan_bytes, and __qnan_union, respectively.
1640 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1642 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1643 and lqnanval, respectively.
1644 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1645 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1646 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1647 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1649 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1650 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1653 * math/test-misc.c (main): Fix copy'n'pastos.
1654 * misc/tst-efgcvt.c (special): Likewise.
1656 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1657 Remove declarations.
1659 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1661 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1662 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1663 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1664 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1666 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1668 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1669 macro to return vdso values correctly in IFUNC implementations.
1670 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1671 Optimization by using IFUNC.
1673 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1674 Richard Henderson <rth@redhat.com>
1675 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1677 * Makefile.in (bench): New target.
1678 * NEWS: Mention the benchmark framework.
1679 * Rules (bench): Likewise.
1680 (binaries-bench): Generate binaries for functions to
1682 * benchtests/Makefile: New makefile for benchmark tests.
1683 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1685 * benchtests/exp-inputs: New input file for EXP function.
1686 * benchtests/pow-inputs: New input file for POW function.
1687 * scripts/bench.pl: New script to generate source files for
1690 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1692 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1693 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1694 computations on mantissa. Use macros for rounding and
1697 (__dbl_mp): Likewise.
1698 (add_magnitudes): Likewise.
1699 (sub_magnitudes): Likewise.
1702 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1703 powers of two in terms of TWOPOW macro.
1704 (mp_no): Make type of mantissa as MANTISSA_T.
1705 [!RADIXI]: Define RADIXI.
1706 [!TWO52]: Define TWO52.
1707 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1709 * manual/nptl.texi (cindex): Modify threads to pthreads.
1711 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1713 * sysdeps/x86_64/preconfigure: Regenerated.
1715 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1718 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1720 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1721 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1723 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1724 * math/libm-test.inc (j0_test): Do not allow one spurious
1725 underflow exception.
1726 (y1_test): Likewise.
1728 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1730 * manual/Makefile (chapters): Add nptl.
1731 * manual/debug.texi (Debugging Support): Add link to Threads
1733 * manual/nptl.texi: New file.
1735 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1737 2013-03-14 Petr Baudis <pasky@ucw.cz>
1739 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1740 for non-NULL pointer before the memory validity test. Pointed
1741 out by Holger Brunck <holger.brunck@keymile.com>.
1743 2013-03-13 Andreas Schwab <schwab@suse.de>
1745 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1748 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1750 * timezone/zic.c: Update from tzcode 2013b.
1752 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1754 * manual/install.texi (Configuring and compiling):
1755 Mention i686 and i586.
1756 * INSTALL: Regenerate.
1758 2013-03-12 Roland McGrath <roland@hack.frob.com>
1760 * sysdeps/init_array/elf-init.c: New file.
1762 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1763 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1765 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1766 __gmon_start__ as global, but as static with a .preinit_array pointer.
1767 * sysdeps/init_array/gmon-start.c: New file. Use that.
1768 * sysdeps/init_array/crti.S: New file, empty except for comments.
1769 * sysdeps/init_array/crtn.S: Likewise.
1771 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1773 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1776 Remove Prefer_SSE_for_memop.
1777 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1778 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1779 HAS_PREFER_SSE_FOR_MEMOP.
1780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1783 Remove bzero, memset ifunc support.
1784 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1785 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1786 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1787 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1789 2013-03-11 Andreas Schwab <schwab@suse.de>
1792 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1795 (GLIBC_2.16): Remove pthread_atfork.
1797 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1799 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1800 (ptestcases.h): Likewise.
1802 2013-03-08 Roland McGrath <roland@hack.frob.com>
1804 * Makeconfig ($(common-objpfx)config.status): Depend on
1805 sysdeps/*/preconfigure{,.in} too.
1807 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1809 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1810 (__free_hook): Use void * instead of __malloc_ptr_t.
1811 (__malloc_hook): Likewise.
1812 (__realloc_hook): Likewise.
1813 (__memalign_hook): Likewise.
1814 (__after_morecore_hook): Likewise.
1815 * malloc/arena.c (save_malloc_hook): Likewise.
1816 (save_free_hook): Likewise.
1817 * malloc/hooks.c (malloc_hook_ini): Likewise.
1818 (realloc_hook_ini): Likewise.
1819 (memalign_hook_ini): Likewise.
1820 * malloc/malloc.c (malloc_hook_ini): Likewise.
1821 (realloc_hook_ini): Likewise.
1822 (memalign_hook_ini): Likewise.
1823 (__free_hook): Likewise.
1824 (__malloc_hook): Likewise.
1825 (__realloc_hook): Likewise.
1826 (__memalign_hook): Likewise.
1827 (__libc_malloc): Likewise.
1828 (__libc_free): Likewise.
1829 (__libc_realloc): Likewise.
1830 (__libc_memalign): Likewise.
1831 (__libc_valloc): Likewise.
1832 (__libc_pvalloc): Likewise.
1833 (__libc_calloc): Likewise.
1834 (__posix_memalign): Likewise.
1835 * malloc/morecore.c (__sbrk): Likewise.
1836 (__default_morecore): Likewise.
1838 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1840 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1841 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1844 * malloc/malloc.h (__malloc_size_t): Remove macro.
1845 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1847 (old_memalign_hook): Likewise.
1848 (old_realloc_hook): Likewise.
1849 (struct hdr): Likewise.
1851 (mallochook): Likewise.
1852 (memalignhook): Likewise.
1853 (reallochook): Likewise.
1854 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1855 (tr_old_realloc_hook): Likewise.
1856 (tr_old_memalign_hook): Likewise.
1857 (tr_mallochook): Likewise.
1858 (tr_reallochook): Likewise.
1859 (tr_memalignhook): Likewise.
1861 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1863 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1864 default_ldbl_pack and using as default implementation.
1865 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1867 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1868 redundant definition.
1869 (ldbl_insert_mantissa): Likewise.
1870 (ldbl_canonicalize): Likewise.
1871 (ldbl_nearbyint): Likewise.
1872 (ldbl_pack): Rename to ldbl_pack_ppc.
1873 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1874 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1875 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1877 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1880 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1881 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1882 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1884 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1885 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1886 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1888 2013-03-07 Andreas Jaeger <aj@suse.de>
1890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1893 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1895 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1896 Include mpa.h and declare __MPEXP.
1897 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1898 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1899 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1900 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1901 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1902 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1903 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1905 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1906 (__slowpow): Use long double EXPL and LOGL functions to
1908 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1909 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1910 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1911 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1912 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1913 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1916 intermediate variable to calculate exponent.
1918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1922 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1923 [!NO__SQR]: Define __sqr.
1924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1925 and NO__SQR. Remove all code except __mul and __sqr. Include
1926 sysdeps/ieee754/dbl-64/mpa.c.
1927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1930 * posix/Makefile (tests): Add tst-pathconf.
1931 * posix/tst-pathconf.c: New test case.
1932 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1934 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1936 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1938 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1940 2013-03-06 Andreas Jaeger <aj@suse.de>
1942 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1943 definition via __MAP_ANONYMOUS.
1945 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1946 it's not part of Linux headers.
1948 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1949 (MAP_HUGE_MASK): Define.
1951 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1953 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1954 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1956 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1957 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1959 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1960 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1962 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1964 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1965 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1966 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1967 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1968 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1969 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1971 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1974 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1975 Handle f2fs and efivarfs.
1977 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1980 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1981 (EFIVARFS_MAGIC): Add.
1982 (F2FS_LINK_MAX): Add.
1984 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1986 * stdio-common/vfprintf.c: Replace __builtin_expect with
1989 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1992 * sysdeps/generic/bp-sym.h: Remove file.
1993 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1994 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1995 <bp-sym.h> and <bp-asm.h>.
1996 (__longjmp): Don't use BP_SYM.
1997 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1999 (memcpy): Don't use BP_SYM.
2000 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2001 <bp-sym.h> and <bp-asm.h>.
2002 (memcpy): Don't use BP_SYM.
2003 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2005 (memcpy): Don't use BP_SYM.
2006 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2008 (memset): Don't use BP_SYM.
2009 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2010 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2011 (__bzero): Don't use BP_SYM.
2012 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2013 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2014 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2015 <bp-sym.h> and <bp-asm.h>.
2016 (memcmp): Don't use BP_SYM. Remove comment about bounded
2018 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2019 <bp-sym.h> and <bp-asm.h>.
2020 (memcpy): Don't use BP_SYM.
2021 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2022 <bp-sym.h> and <bp-asm.h>.
2023 (memset): Don't use BP_SYM.
2024 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2025 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2026 (__bzero): Don't use BP_SYM.
2027 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2028 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2029 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2030 <bp-sym.h> and <bp-asm.h>.
2031 (strncmp): Don't use BP_SYM. Remove comment about bounded
2033 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2034 <bp-sym.h> and <bp-asm.h>.
2035 (memcpy): Don't use BP_SYM.
2036 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2037 <bp-sym.h> and <bp-asm.h>.
2038 (memset): Don't use BP_SYM.
2039 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2040 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2041 (__bzero): Don't use BP_SYM.
2042 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2043 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2044 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2045 <bp-sym.h> and <bp-asm.h>.
2046 (__memchr): Don't use BP_SYM.
2047 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2048 <bp-sym.h> and <bp-asm.h>.
2049 (memcmp): Don't use BP_SYM. Remove comment about bounded
2051 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2052 <bp-sym.h> and <bp-asm.h>.
2053 (memcpy): Don't use BP_SYM.
2054 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2055 <bp-sym.h> and <bp-asm.h>.
2056 (__mempcpy): Don't use BP_SYM.
2057 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2058 <bp-sym.h> and <bp-asm.h>.
2059 (__memrchr): Don't use BP_SYM.
2060 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2061 <bp-sym.h> and <bp-asm.h>.
2062 (memset): Don't use BP_SYM.
2063 (__bzero): Likewise.
2064 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2065 <bp-sym.h> and <bp-asm.h>.
2066 (__rawmemchr): Don't use BP_SYM.
2067 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2068 <bp-sym.h> and <bp-asm.h>.
2069 (__STRCMP): Don't use BP_SYM.
2070 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2071 <bp-sym.h> and <bp-asm.h>.
2072 (strchr): Don't use BP_SYM.
2073 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2074 <bp-sym.h> and <bp-asm.h>.
2075 (__strchrnul): Don't use BP_SYM.
2076 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2077 <bp-sym.h> and <bp-asm.h>.
2078 (strlen): Don't use BP_SYM.
2079 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2080 <bp-sym.h> and <bp-asm.h>.
2081 (strncmp): Don't use BP_SYM. Remove comment about bounded
2083 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2084 <bp-sym.h> and <bp-asm.h>.
2085 (__strnlen): Don't use BP_SYM.
2086 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2087 <bp-sym.h> and <bp-asm.h>.
2088 (__GI__setjmp): Don't use BP_SYM.
2089 (_setjmp): Likewise.
2090 (__sigsetjmp): Likewise.
2091 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2092 (L(start_addresses)): Don't use BP_SYM.
2094 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2096 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2097 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2098 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2099 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2100 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2102 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2103 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2104 about bounded pointers.
2105 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2106 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2107 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2109 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2110 about bounded pointers. Remove GKM FIXME comments.
2111 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2112 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2114 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2115 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2116 Remove GKM FIXME comments.
2117 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2118 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2119 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2121 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2122 about bounded pointers. Remove GKM FIXME comment.
2123 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2125 (strncmp): Don't use BP_SYM. Remove comment about bounded
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2128 <bp-sym.h> and <bp-asm.h>.
2129 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2131 <bp-sym.h> and <bp-asm.h>.
2132 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2135 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2137 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2140 2013-03-05 David S. Miller <davem@davemloft.net>
2142 * po/es.po: Update from translation team.
2144 2013-03-05 Andreas Jaeger <aj@suse.de>
2146 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2147 <bits/mman-linux.h>.
2148 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2150 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2151 <bits/mman-linux.h> to end of file.
2152 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2154 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2155 <bits/mman-linux.h> to end of file.
2156 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2158 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2159 <bits/mman-linux.h> to end of file.
2161 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2162 (MCL_CURRENT, MCL_FUTURE): Define here.
2164 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2167 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2169 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2171 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2173 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2174 fourth parameter needed for rt_sigprocmask syscall.
2175 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2176 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2177 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2178 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2179 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2180 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2182 2013-03-04 Joseph Myers <joseph@codesourcery.com>
2185 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2186 comment about bounded pointers.
2187 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2188 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2190 2013-03-04 Andreas Jaeger <aj@suse.de>
2192 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2195 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2196 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2197 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2198 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2199 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2200 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2202 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2205 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2206 __ieee754_sqrl instead of __sqrl.
2208 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2210 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2211 * sysdeps/powerpc/fpu_control.h: ... here.
2212 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2213 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2214 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2215 * sysdeps/powerpc/bits/mathinline.h: ... here.
2217 2013-03-01 Roland McGrath <roland@hack.frob.com>
2219 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2220 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2221 to just [NEED_DL_SYSINFO_DSO].
2222 * elf/dl-support.c: Likewise.
2223 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2224 * elf/rtld.c (dl_main): Likewise.
2225 * elf/setup-vdso.h (setup_vdso): Likewise.
2226 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2227 * sysdeps/unix/sysv/linux/dl-sysdep.c
2228 (_dl_discover_osversion): Likewise.
2230 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2232 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2233 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2235 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2237 * NEWS: Mention libm performance improvements and non-x86 PI
2240 * csu/libc-start.c (__pthread_initialize_minimal): Change
2242 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2244 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2247 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2248 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2249 <bp-sym.h> and <bp-asm.h>.
2250 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2251 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2253 (memcpy): Don't use BP_SYM.
2254 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2256 (__mpn_add_n): Don't use BP_SYM.
2257 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2258 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2260 (__mpn_addmul_1): Don't use BP_SYM.
2261 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2262 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2264 (_setjmp): Don't use BP_SYM.
2265 (__novmx_setjmp): Likewise.
2266 (__GI__setjmp): Likewise.
2267 (__vmx_setjmp): Likewise.
2268 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2270 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2271 (__bzero): Don't use BP_SYM.
2272 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2273 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2274 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2275 <bp-sym.h> and <bp-asm.h>.
2276 (memcpy): Don't use BP_SYM.
2277 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2278 <bp-sym.h> and <bp-asm.h>.
2279 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2280 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2281 <bp-sym.h> and <bp-asm.h>.
2282 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2283 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2285 (__mpn_lshift): Don't use BP_SYM.
2286 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2287 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2289 (memset): Don't use BP_SYM.
2290 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2291 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2292 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2294 (__mpn_mul_1): Don't use BP_SYM.
2295 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2296 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2297 <bp-sym.h> and <bp-asm.h>.
2298 (memcmp): Don't use BP_SYM.
2299 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2300 <bp-sym.h> and <bp-asm.h>.
2301 (memcpy): Don't use BP_SYM.
2302 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2303 <bp-sym.h> and <bp-asm.h>.
2304 (memset): Don't use BP_SYM.
2305 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2306 <bp-sym.h> and <bp-asm.h>.
2307 (strncmp): Don't use BP_SYM.
2308 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2309 <bp-sym.h> and <bp-asm.h>.
2310 (memcpy): Don't use BP_SYM.
2311 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2312 <bp-sym.h> and <bp-asm.h>.
2313 (memset): Don't use BP_SYM.
2314 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2315 <bp-sym.h> and <bp-asm.h>.
2316 (__memchr): Don't use BP_SYM.
2317 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2318 <bp-sym.h> and <bp-asm.h>.
2319 (memcmp): Don't use BP_SYM.
2320 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2321 <bp-sym.h> and <bp-asm.h>.
2322 (memcpy): Don't use BP_SYM.
2323 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2324 <bp-sym.h> and <bp-asm.h>.
2325 (__mempcpy): Don't use BP_SYM.
2326 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2327 <bp-sym.h> and <bp-asm.h>.
2328 (__memrchr): Don't use BP_SYM.
2329 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2330 <bp-sym.h> and <bp-asm.h>.
2331 (memset): Don't use BP_SYM.
2332 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2333 <bp-sym.h> and <bp-asm.h>.
2334 (__rawmemchr): Don't use BP_SYM.
2335 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2336 <bp-sym.h> and <bp-asm.h>.
2337 (__STRCMP): Don't use BP_SYM.
2338 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2339 <bp-sym.h> and <bp-asm.h>.
2340 (strchr): Don't use BP_SYM.
2341 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2342 <bp-sym.h> and <bp-asm.h>.
2343 (__strchrnul): Don't use BP_SYM.
2344 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2345 <bp-sym.h> and <bp-asm.h>.
2346 (strlen): Don't use BP_SYM.
2347 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2348 <bp-sym.h> and <bp-asm.h>.
2349 (strncmp): Don't use BP_SYM.
2350 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2351 <bp-sym.h> and <bp-asm.h>.
2352 (__strnlen): Don't use BP_SYM.
2353 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2355 (__mpn_rshift): Don't use BP_SYM.
2356 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2357 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2358 <bp-sym.h> and <bp-asm.h>.
2359 (__sigsetjmp): Don't use BP_SYM.
2360 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2361 (L(start_addresses)): Don't use BP_SYM.
2363 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2365 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2366 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2367 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2368 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2370 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2371 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2372 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2373 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2375 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2377 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2378 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2380 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2382 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2383 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2384 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2386 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2388 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2390 (strncmp): Don't use BP_SYM,
2391 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2393 (__mpn_sub_n): Don't use BP_SYM.
2394 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2395 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2397 (__mpn_submul_1): Don't use BP_SYM.
2398 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2400 <bp-sym.h> and <bp-asm.h>.
2401 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2403 <bp-sym.h> and <bp-asm.h>.
2404 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2407 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2410 Use ZK to minimize writes to Z.
2411 (sub_magnitudes): Simplify code a bit.
2412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2413 Use ZK to minimize writes to Z.
2414 (sub_magnitudes): Simplify code a bit.
2416 2013-02-27 Roland McGrath <roland@hack.frob.com>
2418 * csu/gmon-start.c: Add special exception to license text.
2420 2013-02-27 Richard Henderson <rth@redhat.com>
2422 * scripts/config.guess: Update from config.git.
2423 * scripts/config.sub: Likewise.
2425 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2427 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2429 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2431 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2433 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2435 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2437 2013-02-26 Roland McGrath <roland@hack.frob.com>
2439 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2440 [$(build-shared = yes].
2442 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2444 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2445 (__mul): Reduce iterations for calculating mantissa.
2447 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2449 (__mpranred): Likewise.
2452 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2453 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2455 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2457 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2458 Define __attribute__.
2460 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2462 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2464 * posix/regex_internal.h (__attribute): Remove.
2465 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2466 (re_string_context_at): Likewise.
2467 (bitset_not): Use __attribute__ and mark function as possibly
2469 (bitset_merge): Likewise.
2470 (bitset_mask): Likewise.
2471 (re_string_char_size_at): Likewise.
2472 (re_string_wchar_at): Likewise.
2473 (re_string_elem_size_at): Likewise.
2475 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2477 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2481 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2486 (__dbl_mp): Likewise.
2487 (add_magnitudes): Likewise.
2488 (sub_magnitudes): Likewise.
2492 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2495 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2498 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2502 up changes with default code.
2503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2506 2013-02-24 Allan McRae <allan@archlinux.org>
2508 * manual/socket.texi (The Internet Namespace): Order menu items
2509 to match that in the file.
2511 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2512 node listing of the info page menu.
2514 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2517 * sysdeps/i386/bp-asm.h: Remove file.
2518 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2519 (PARMS): Do not use macros from bp-asm.h.
2523 (__mpn_add_n): Do not use BP_SYM
2524 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2526 (PARMS): Do not use macros from bp-asm.h.
2529 (__mpn_addmul_1): Do not use BP_SYM
2530 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2532 (PARMS): Do not use macros from bp-asm.h.
2534 (_setjmp): Likewise. Do not use BP_SYM.
2535 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2537 (PARMS): Do not use macros from bp-asm.h.
2539 (setjmp): Likewise. Do not use BP_SYM.
2540 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2542 (PARMS): Do not use macros from bp-asm.h.
2543 (__frexp): Do not use BP_SYM.
2545 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2547 (PARMS): Do not use macros from bp-asm.h.
2548 (__frexpf): Do not use BP_SYM.
2550 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2552 (PARMS): Do not use macros from bp-asm.h.
2553 (__frexpl): Do not use BP_SYM.
2555 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2557 (PARMS): Do not use macros from bp-asm.h.
2558 (__remquo): Do not use BP_SYM.
2560 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2562 (PARMS): Do not use macros from bp-asm.h.
2563 (__remquof): Do not use BP_SYM.
2564 (remquof): Likewise.
2565 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2567 (PARMS): Do not use macros from bp-asm.h.
2568 (__remquol): Do not use BP_SYM.
2569 (remquol): Likewise.
2570 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2572 (PARMS): Do not use macros from bp-asm.h.
2575 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2576 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2578 (PARMS): Do not use macros from bp-asm.h.
2579 (strlen): Do not use BP_SYM.
2580 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2582 (PARMS): Do not use macros from bp-asm.h.
2586 (__mpn_add_n): Do not use BP_SYM.
2587 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2589 (PARMS): Do not use macros from bp-asm.h.
2592 (__mpn_addmul_1): Do not use BP_SYM.
2593 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2596 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2598 (PARMS): Do not use macros from bp-asm.h.
2601 (__mpn_lshift): Do not use BP_SYM.
2602 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2604 (PARMS): Do not use macros from bp-asm.h.
2608 (memcpy): Likewise. Do not use BP_SYM.
2609 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2610 libc_hidden_def and weak_alias.
2611 (mempcpy): Do not use BP_SYM in weak_alias.
2612 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2614 (PARMS): Do not use macros from bp-asm.h.
2617 [!BZERO_P] (CHR): Likewise.
2618 (memset): Likewise. Do not use BP_SYM.
2619 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2621 (PARMS): Do not use macros from bp-asm.h.
2624 (__mpn_mul_1): Do not use BP_SYM.
2625 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2627 (PARMS): Do not use macros from bp-asm.h.
2630 (__mpn_rshift): Do not use BP_SYM.
2631 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2633 (PARMS): Do not use macros from bp-asm.h.
2636 (strchr): Likewise. Do not use BP_SYM.
2637 (index): Do not use BP_SYM in weak_alias.
2638 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2640 (PARMS): Do not use macros from bp-asm.h.
2643 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2644 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2646 (PARMS): Do not use macros from bp-asm.h.
2647 (strlen): Do not use BP_SYM.
2648 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2650 (PARMS): Do not use macros from bp-asm.h.
2654 (__mpn_sub_n): Do not use BP_SYM.
2655 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2657 (PARMS): Do not use macros from bp-asm.h.
2660 (__mpn_submul_1): Do not use BP_SYM.
2661 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2663 (PARMS): Do not use macros from bp-asm.h.
2667 (__mpn_add_n): Do not use BP_SYM.
2668 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2671 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2673 (PARMS): Do not use macros from bp-asm.h.
2676 (memcmp): Do not use BP_SYM.
2677 (bcmp): Do not use BP_SYM in weak_alias.
2678 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2680 (PARMS): Do not use macros from bp-asm.h.
2684 (memcpy): Likewise. Do not use BP_SYM.
2685 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2687 (PARMS): Do not use macros from bp-asm.h.
2691 (memmove): Likewise. Do not use BP_SYM.
2692 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2694 (PARMS): Do not use macros from bp-asm.h.
2698 (__mempcpy): Likewise. Do not use BP_SYM.
2699 (mempcpy): Do not use BP_SYM in weak_alias.
2700 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2702 (PARMS): Do not use macros from bp-asm.h.
2705 [!BZERO_P] (CHR): Likewise.
2706 (memset): Likewise. Do not use BP_SYM.
2707 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2709 (PARMS): Do not use macros from bp-asm.h.
2711 (strcmp): Do not use BP_SYM.
2712 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2714 (PARMS): Do not use macros from bp-asm.h.
2717 [USE_AS_STRTOK_R] (SAVE): Likewise.
2718 (FUNCTION): Likewise. Do not use BP_SYM.
2719 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2721 (strtok_r): Likewise.
2722 (__GI___strtok_r): Likewise.
2723 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2724 (PARMS): Do not use macros from bp-asm.h.
2727 (__mpn_lshift): Do not use BP_SYM.
2728 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2729 (PARMS): Do not use macros from bp-asm.h.
2732 (__memchr): Do not use BP_SYM.
2733 (memchr): Do not use BP_SYM in weak_alias.
2734 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2735 (PARMS): Do not use macros from bp-asm.h.
2738 (memcmp): Do not use BP_SYM.
2739 (bcmp): Do not use BP_SYM in weak_alias.
2740 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2741 (PARMS): Do not use macros from bp-asm.h.
2744 (__mpn_mul_1): Do not use BP_SYM.
2745 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2747 (PARMS): Do not use macros from bp-asm.h.
2750 (__rawmemchr): Do not use BP_SYM.
2751 (rawmemchr): Do not use BP_SYM in weak_alias.
2752 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2753 (PARMS): Do not use macros from bp-asm.h.
2756 (__mpn_rshift): Do not use BP_SYM.
2757 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2758 (PARMS): Do not use macros from bp-asm.h.
2760 (__sigsetjmp): Likewise. Do not use BP_SYM.
2761 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2762 (_start): Do not use BP_SYM.
2763 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2764 (PARMS): Do not use macros from bp-asm.h.
2767 (__stpcpy): Likewise. Do not use BP_SYM.
2768 (stpcpy): Do not use BP_SYM in weak_alias.
2769 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2771 (PARMS): Do not use macros from bp-asm.h.
2775 (__stpncpy): Likewise. Do not use BP_SYM.
2776 (stpncpy): Do not use BP_SYM in weak_alias.
2777 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2778 (PARMS): Do not use macros from bp-asm.h.
2781 (strchr): Likewise. Do not use BP_SYM.
2782 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2784 (PARMS): Do not use macros from bp-asm.h.
2787 (__strchrnul): Likewise. Do not use BP_SYM.
2788 (strchrnul): Do not use BP_SYM in weak_alias.
2789 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2791 (PARMS): Do not use macros from bp-asm.h.
2793 (strcspn): Do not use BP_SYM.
2794 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2796 (PARMS): Do not use macros from bp-asm.h.
2799 (strpbrk): Likewise. Do not use BP_SYM.
2800 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2802 (PARMS): Do not use macros from bp-asm.h.
2805 (strrchr): Likewise. Do not use BP_SYM.
2806 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2807 (PARMS): Do not use macros from bp-asm.h.
2809 (strspn): Do not use BP_SYM.
2810 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2811 (PARMS): Do not use macros from bp-asm.h.
2815 (FUNCTION): Likewise. Do not use BP_SYM.
2816 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2818 (strtok_r): Likewise.
2819 (__GI___strtok_r): Likewise.
2820 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2821 (PARMS): Do not use macros from bp-asm.h.
2825 (__mpn_sub_n): Do not use BP_SYM.
2826 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2828 (PARMS): Do not use macros from bp-asm.h.
2831 (__mpn_submul_1): Do not use BP_SYM.
2832 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2834 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2836 (PARMS): Do not use macros from bp-asm.h.
2841 (__clone): Do not use BP_SYM.
2842 (clone): Do not use BP_SYM in weak_alias.
2843 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2845 (PARMS): Do not use macros from bp-asm.h.
2847 (__mmap64): Do not use BP_SYM.
2848 (mmap64): Do not use BP_SYM in weak_alias.
2849 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2850 <bp-sym.h> and <bp-asm.h>.
2851 (PARMS): Do not use macros from bp-asm.h.
2852 (__posix_fadvise64_l64): Do not use BP_SYM.
2853 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2854 (PARMS): Do not use macros from bp-asm.h.
2856 (semtimedop): Do not use BP_SYM.
2857 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2860 2013-02-21 Allan McRae <allan@archlinux.org>
2862 * manual/message.texi (Charset conversion in gettext):
2863 Move @end statement to beginning of line.
2865 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2872 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2877 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2879 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2880 tail-call to the resolved function if pltexit isn't needed.
2882 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2885 or Y being zero as being unlikely.
2886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2889 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2891 * manual/nss.texi (System Databases and Name Service Switch):
2892 Remove frobnicate @pxref.
2894 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2896 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2897 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2899 2013-02-20 Petr Machata <pmachata@redhat.com>
2901 * elf/elf.h (R_ARM_TARGET1): New macro.
2902 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2903 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2904 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2905 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2906 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2907 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2908 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2909 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2910 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2911 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2912 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2913 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2914 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2915 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2916 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2917 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2918 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2919 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2920 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2921 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2922 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2923 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2924 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2925 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2926 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2927 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2928 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2929 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2930 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2931 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2932 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2933 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2934 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2935 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2936 (R_ARM_THM_GOT_BREL12): Likewise.
2937 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2938 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2939 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2940 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2941 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2942 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2943 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2944 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2945 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2947 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2949 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2950 __attribute_used__ to __attribute__ ((unused)).
2952 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2954 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2960 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2963 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2965 (ENTER): Remove both macro definitions.
2967 (CHECK_BOUNDS_LOW): Likewise.
2968 (CHECK_BOUNDS_HIGH): Likewise.
2969 (CHECK_BOUNDS_BOTH): Likewise.
2970 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2971 (RETURN_BOUNDED_POINTER): Likewise.
2972 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2973 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2974 (POP_ERRNO_LOCATION_RETURN): Likewise.
2975 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2976 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2977 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2979 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2980 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2981 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2982 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2983 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2984 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2985 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2986 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2987 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2988 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2989 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2990 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2991 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2992 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2994 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2995 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2997 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2998 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2999 * sysdeps/i386/i586/memset.S (memset): Likewise.
3000 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3001 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3002 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3004 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3005 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3006 Change uses of L(2) to L(out).
3007 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3008 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3009 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3010 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3011 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3013 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3014 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3016 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3017 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3018 (RETURN): Do not use macro LEAVE.
3019 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3020 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3021 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3022 * sysdeps/i386/i686/memset.S (memset): Likewise.
3023 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3024 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3025 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3026 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3028 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3029 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3030 L(1_2) and L(1_3) into L(1).
3031 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3032 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3033 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3034 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3035 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3036 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3037 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3038 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3039 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3041 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3042 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3043 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3044 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3045 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3046 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3047 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3048 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3049 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3050 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3051 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3052 * sysdeps/i386/strspn.S (strspn): Likewise.
3053 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3055 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3056 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3057 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3058 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3060 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3061 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3062 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3064 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3066 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3068 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3071 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3073 * math/atest-exp.c (exp_mpn): Remove ROUND.
3074 * math/atest-exp2.c (exp_mpn): Likewise.
3075 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3077 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3078 * stdlib/tst-tls-atexit-lib.c: Likewise.
3079 * stdlib/tst-tls-atexit.c: Likewise.
3081 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3083 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3084 and __attribute_alloc_size__.
3086 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3088 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3089 __attribute_alloc_size__.
3090 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3091 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3093 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3095 * include/programs/xmalloc.h: New file.
3096 * catgets/gencat.c: Include it.
3097 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3098 * elf/pldd.c: Likewise.
3099 * iconv/iconv_charmap.c: Likewise.
3100 * iconv/iconvconfig.c: Likewise.
3101 * iconv/strtab.c: Likewise.
3102 * locale/programs/locale.c: Likewise.
3103 * locale/programs/localedef.h: Likewise.
3104 * locale/programs/simple-hash.c: Likewise.
3105 * nscd/nscd.h: Likewise.
3106 * nss/makedb.c: Likewise.
3107 * sysdeps/generic/ldconfig.h: Likewise.
3109 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3111 * Versions.def: Add GLIBC_2.18.
3112 * include/link.h (struct link_map): New member l_tls_dtor_count.
3113 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3114 (__call_tls_dtors): Likewise.
3115 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3116 __cxa_thread_atexit_impl.
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3125 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3133 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3134 (tests): Add test case tst-tls-atexit.
3135 (modules-names): Add shared library for tst-tls-atexit.
3136 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3137 (GLIBC_PRIVATE): Add __call_tls_dtors.
3138 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3140 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3141 * stdlib/tst-tls-atexit.c: New test case.
3142 * stdlib/tst-tls-atexit-lib.c: New test case.
3144 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3146 * elf/Versions (ld): Add _dl_find_dso_for_object.
3147 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3148 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3149 (dl_open_worker): Use _dl_find_dso_for_object.
3150 * elf/dl-sym.c (do_sym): Likewise.
3151 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3153 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3155 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3156 Syntactic changes only.
3157 (_dl_runtime_profile): Do a tail-call to the resolved function.
3159 2013-02-17 Joseph Myers <joseph@codesourcery.com>
3162 * sysdeps/x86_64/bp-asm.h: Remove file.
3163 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3164 <bp-sym.h> and <bp-asm.h>.
3165 (__clone): Do not use BP_SYM.
3166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3167 <bp-sym.h> and <bp-asm.h>.
3168 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3169 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3171 (_setjmp): Do not use BP_SYM.
3172 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3174 (setjmp): Do not use BP_SYM.
3175 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3177 (mempcpy): Do not use BP_SYM in weak_alias.
3178 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3180 (strchr): Do not use BP_SYM.
3181 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3183 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3184 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3185 (_start): Do not use BP_SYM.
3186 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3188 (strcat): Do not use BP_SYM.
3189 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3191 (STRCMP): Do not use BP_SYM.
3192 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3194 (STRCPY): Do not use BP_SYM.
3195 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3197 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3199 (FUNCTION): Do not use BP_SYM.
3200 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3202 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3204 2013-02-17 Andreas Jaeger <aj@suse.de>
3206 * time/Versions: Sort entries.
3207 * string/Versions: Likewise.
3208 * resolv/Versions: Likewise.
3209 * posix/Versions: Likewise.
3210 * iconv/Versions: Likewise.
3211 * elf/Versions: Likewise.
3212 * wcsmbs/Versions: Likewise.
3214 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3216 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3217 loop termination condition.
3219 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3220 variable to calculate EZ.
3223 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3224 the lower precision input.
3226 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3229 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3230 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3231 (run-via-rtld-prefix): Do not handle %-bp tests.
3232 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3233 (all-object-suffixes): Remove .ob.
3234 (bppfx): Remove variable.
3235 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3236 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3237 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3238 [$(build-bounded) = yes] (libtype.ob): Likewise.
3239 * Makerules (elide-routines.ob): Remove variable.
3240 (do-tests-clean): Do not handle *-bp.out.
3241 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3242 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3243 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3244 (tests): Do not include $(tests-bp.out).
3245 (xtests): Do not include $(xtests-bp.out).
3246 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3247 [$(build-bounded) = yes] ($(addprefix
3248 $(objpfx),$(binaries-bounded))): Remove rule.
3249 ($(objpfx)%-bp.out): Remove rule.
3250 * config.make.in (build-bounded): Remove variable.
3251 * crypt/Makefile [$(build-bounded) = yes]
3252 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3253 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3255 [$(build-bounded) = yes] (install-lib): Likewise.
3256 [$(build-bounded) = yes] (generated): Likewise.
3257 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3259 * intl/Makefile [$(build-bounded) = yes]
3260 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3261 * math/Makefile [$(build-bounded) = yes]
3262 ($(tests:%=$(objpfx)%-bp): Likewise.
3263 * misc/Makefile [$(build-bounded) = yes]
3264 ($(objpfx)tst-tsearch-bp): Likewise.
3265 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3266 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3268 * string/Makefile (o-objects.ob): Remove variable.
3269 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3270 (CFLAGS-.ob): Remove variable.
3271 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3272 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3273 both definitions of variable.
3274 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3275 (ASFLAGS-.ob): Remove variable.
3277 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3280 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3281 Remove __BOUNDED_POINTERS__ from condition.
3282 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3283 * string/bits/string2.h [!__NO_STRING_INLINES &&
3284 !__BOUNDED_POINTERS__]: Likewise.
3285 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3287 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3288 Remove conditional code.
3289 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3290 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3291 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3295 * csu/libc-start.c: Do not include <bp-sym.h>.
3296 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3297 * elf/dl-open.c: Do not include <bp-sym.h>.
3298 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3299 * math/fegetenv.c: Do not include <bp-sym.h>.
3300 (fegetenv): Do not use BP_SYM in versioned symbols.
3301 * nptl/sysdeps/pthread/bits/libc-lockP.h
3302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3305 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3307 (__pthread_mutex_destroy): Likewise.
3308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3309 (__pthread_mutex_lock): Likewise.
3310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3311 (__pthread_mutex_trylock): Likewise.
3312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3313 (__pthread_mutex_unlock): Likewise.
3314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3315 (__pthread_mutexattr_init): Likewise.
3316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3317 (__pthread_mutexattr_destroy): Likewise.
3318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3319 (__pthread_mutexattr_settype): Likewise.
3320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3321 (__pthread_rwlock_init): Likewise.
3322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3323 (__pthread_rwlock_destroy): Likewise.
3324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3325 (__pthread_rwlock_rdlock): Likewise.
3326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3327 (__pthread_rwlock_tryrdlock): Likewise.
3328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3329 (__pthread_rwlock_wrlock): Likewise.
3330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3331 (__pthread_rwlock_trywrlock): Likewise.
3332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3333 (__pthread_rwlock_unlock): Likewise.
3334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3335 (__pthread_key_create): Likewise.
3336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3337 (__pthread_setspecific): Likewise.
3338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3339 (__pthread_getspecific): Likewise.
3340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3343 (_pthread_cleanup_push_defer): Likewise.
3344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3345 (_pthread_cleanup_pop_restore): Likewise.
3346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3347 (pthread_setcancelstate): Likewise.
3348 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3350 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3351 (memchr): Do not use BP_SYM in weak_alias.
3352 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3353 (fegetenv): Do not use BP_SYM in versioned symbols.
3354 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3355 (fesetenv): Do not use BP_SYM in versioned symbols.
3356 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3357 (feupdateenv): Do not use BP_SYM in versioned symbols.
3358 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3359 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3360 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3361 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3362 (open64): Do not use BP_SYM in weak_alias.
3363 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3364 (fegetenv): Do not use BP_SYM in versioned symbols.
3365 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3366 (fesetenv): Do not use BP_SYM in versioned symbols.
3367 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3368 (feupdateenv): Do not use BP_SYM in versioned symbols.
3369 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3370 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3371 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3372 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3373 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3374 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3375 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3377 (__libc_start_main): Do not use BP_SYM.
3379 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3382 redundant return line.
3386 (sub_magnitudes): Likewise.
3392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3396 (sub_magnitudes): Likewise.
3403 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3405 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3406 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3409 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3410 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3411 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3412 of __mul for squares.
3413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3417 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3418 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3420 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3423 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3425 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3426 prototype or function definition. Rename ubp_* variables and
3427 parameters. Remove argv definitions conditional on
3428 [__BOUNDED_POINTERS__].
3429 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3430 * elf/dl-runtime.c (_dl_fixup): Likewise.
3431 * include/set-hooks.h (RUN_HOOK): Likewise.
3432 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3434 * string/strcpy.c (strcpy): Do not use __unbounded.
3435 * sysdeps/generic/frame.h (struct layout): Likewise.
3436 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3437 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3438 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3439 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3440 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3441 (__backtrace): Likewise.
3442 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3444 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3445 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3446 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3448 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3449 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3450 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3451 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3452 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3453 Do not use __unbounded.
3454 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3455 Rename __unboundedrlimits parameter to rlimits in prototype.
3456 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3457 Do not use __unbounded.
3458 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3460 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3461 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3462 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3463 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3464 __ptrvalue or __unbounded.
3465 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3466 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3468 (__new_msgctl): Do not use __ptrvalue.
3469 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3471 (__libc_msgrcv): Do not use __ptrvalue.
3472 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3473 startup_info): Do not use __unbounded.
3474 (__libc_start_main): Likewise. Rename ubp_* variables and
3475 parameters. Remove argv definitions conditional on
3476 [__BOUNDED_POINTERS__].
3477 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3479 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3481 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3483 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3485 (__new_shmctl): Do not use __ptrvalue.
3486 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3487 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3489 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3490 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3491 (__libc_sigaction): Likewise.
3492 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3493 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3495 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3497 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3499 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3501 * string/mempcpy.c: Implement by calling memcpy.
3503 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3505 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3507 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3510 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3511 values in the mantissa.
3513 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3514 minimize writes to Z.
3515 (sub_magnitudes): Simplify code a bit.
3517 2013-02-12 Roland McGrath <roland@hack.frob.com>
3519 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3520 from the message. The linker prefixes all warnings with that already.
3522 2013-02-12 Andreas Schwab <schwab@suse.de>
3525 * posix/regexec.c (extend_buffers): Add parameter min_len.
3526 (check_matching): Pass minimum needed length.
3527 (clean_state_log_if_needed): Likewise.
3528 (get_subexp): Likewise.
3529 * posix/Makefile (tests): Add bug-regex34.
3530 (bug-regex34-ENV): Define.
3531 * posix/bug-regex34.c: New file.
3534 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3535 elements compare against the byte sequence of it, not its name.
3536 * posix/Makefile (tests): Add bug-regex35.
3537 (bug-regex35-ENV): Define.
3538 * posix/bug-regex35.c: New file.
3540 2013-02-11 Tom de Vries <tom@codesourcery.com>
3542 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3544 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3545 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3546 (CHECK_EOL): Add undef.
3548 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3550 * bits/stdlib-bsearch.h: New file.
3551 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3552 * stdlib/stdlib.h: Likewise.
3554 2013-02-11 Roland McGrath <roland@hack.frob.com>
3556 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3557 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3559 * manual/search.texi (Array Search Function): Add missing const in
3561 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3562 declaration to use rlim_t.
3563 (Basic Scheduling Functions): Remove erroneous const from
3564 sched_getparam prototype. Remove erroneous * from
3565 sched_get_priority_max and sched_get_priority_min prototypes.
3566 (Resource Usage): Fix summary @comment on vtimes to refer to
3567 sys/vtimes.h rather than vtimes.h.
3568 Add missing *s in vtimes prototype.
3569 (Limits on Resources): Fix ulimit prototype to return long int.
3570 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3571 prototypes to use long int rather than double.
3572 (BSD Random): Fix initstate and setstate to use char *, not void *.
3573 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3574 prototype to make second argument 'struct aiocb64 *const[]'.
3575 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3576 (Status of AIO Operations): Remove erroneous const in aio_return and
3577 aio_return64 prototypes.
3578 (Synchronizing I/O): Fix sync prototype to return void.
3579 * manual/startup.texi (Suboptions): Remove an erroneous const in
3580 getsubopt prototype.
3581 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3582 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3583 use size_t rather than int.
3584 (Scanning All Users): Likewise for getpwent_r.
3585 (Setting Groups): Add missing const to setgroups prototype.
3586 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3587 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3588 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3589 'const void *' rather than 'const char *'.
3590 (Host Address Functions): Likewise for inet_ntop.
3591 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3592 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3593 ssize_t for return value.
3594 (Sending Data): Likewise for send, sendto, sendmsg.
3595 (Socket Option Functions): Add a missing const in setsockopt prototype.
3596 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3597 use wchar_t for the argument.
3598 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3599 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3601 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3602 double/float/long double for second argument.
3603 Fix return types of significand, significandf, significandl.
3604 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3605 argument in fchmod prototype.
3606 (File Owner): Use uid_t and gid_t in fchown prototype.
3607 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3608 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3609 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3610 use 'const struct dirent **' as argument types to CMP function pointer
3612 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3613 (File Times): Fix summary magic @comment for struct utimbuf and utime
3614 to refer to utime.h, not time.h.
3615 * manual/string.texi (Argz Functions): Add missing const in
3616 argz_extract and argz_next prototypes.
3617 (Finding Tokens in a String): Likewise for basename.
3618 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3619 (Copying and Concatenation): Fix typo in wmemmove prototype.
3620 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3621 (Signal Stack): Remove erroneous const in sigstack prototype.
3622 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3624 (Simple Calendar Time): Likewise for stime.
3625 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3627 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3628 say sys/sysctl.h instead.
3629 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3630 and vsyslog prototypes.
3632 2013-02-11 Tom de Vries <tom@codesourcery.com>
3634 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3637 2013-02-11 Roland McGrath <roland@hack.frob.com>
3639 * misc/sys/mman.h: Fix typo in mremap comment.
3641 2013-02-08 Roland McGrath <roland@hack.frob.com>
3643 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3644 the '\0' terminator.
3646 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3649 * debug/segfault.c: Don't include <bp-checks.h>.
3650 * sysdeps/generic/bp-checks.h: Remove file.
3651 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3652 (__GETDENTS): Don't use CHECK_N.
3653 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3654 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3655 (__getgroups): Don't use CHECK_N.
3656 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3657 (setgroups): Don't use CHECK_N.
3658 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3659 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3660 (__libc_msgrcv): Don't use CHECK_N.
3661 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3662 (__libc_msgsnd): Don't use CHECK_N.
3663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3665 (__libc_pread): Don't use CHECK_N.
3666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3667 include <bp-checks.h>.
3668 (__libc_pread64): Don't use CHECK_N.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3670 include <bp-checks.h>.
3671 (__libc_pwrite): Don't use CHECK_N.
3672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3673 include <bp-checks.h>.
3674 (__libc_pwrite64): Don't use CHECK_N.
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3677 (__libc_pread): Don't use CHECK_N.
3678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3679 include <bp-checks.h>.
3680 (__libc_pread64): Don't use CHECK_N.
3681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3682 include <bp-checks.h>.
3683 (__libc_pwrite): Don't use CHECK_N.
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3685 include <bp-checks.h>.
3686 (__libc_pwrite64): Don't use CHECK_N.
3687 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3688 (do_pread): Don't use CHECK_N.
3689 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3690 (do_pread64): Don't use CHECK_N.
3691 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3692 (do_pwrite): Don't use CHECK_N.
3693 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3694 (do_pwrite64): Don't use CHECK_N.
3695 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3696 (__libc_readv): Don't use CHECK_N.
3697 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3698 (semop): Don't use CHECK_N.
3699 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3701 (semtimedop): Don't use CHECK_N.
3702 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3703 (__libc_pread): Don't use CHECK_N.
3704 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3706 (__libc_pread64): Don't use CHECK_N.
3707 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3709 (__libc_pwrite): Don't use CHECK_N.
3710 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3712 (__libc_pwrite64): Don't use CHECK_N.
3713 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3715 (__libc_msgrcv): Don't use CHECK_N.
3716 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3717 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3718 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3719 (__libc_writev): Don't use CHECK_N.
3721 2013-02-08 Roland McGrath <roland@hack.frob.com>
3723 * string/strcpy.c: Removed unused variable.
3725 * Makeconfig (+sysdep-includes): Define with := rather than =.
3726 Use an existing include/ subdir of each sysdeps dir before it.
3728 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3730 * nscd/connection.c (register_traced_file): Comment function.
3731 [HAVE_INOTIFY] (union __inev): Define.
3732 [HAVE_INOTIFY] (inotify_check_files): New function.
3733 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3734 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3736 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3738 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3740 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3741 loaded if not already and that a failure is permanent.
3743 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3746 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3747 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3749 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3752 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3753 (CHECK_1_NULL_OK): Likewise.
3754 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3755 (__fxstat): Do not use CHECK_1.
3756 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3758 (___fxstat64): Do not use CHECK_1.
3759 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3761 (__fxstatat): Do not use CHECK_1.
3762 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3764 (__fxstatat64): Do not use CHECK_1.
3765 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3767 (__fxstat): Do not use CHECK_1.
3768 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3770 (__fxstatat): Do not use CHECK_1.
3771 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3773 (__getresgid): Do not use CHECK_1.
3774 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3776 (__getresuid): Do not use CHECK_1.
3777 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3779 (__lxstat): Do not use CHECK_1.
3780 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3782 (__old_msgctl): Do not use CHECK_1.
3783 (__new_msgctl): Likewise.
3784 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3786 (__new_setrlimit): Do not use CHECK_1.
3787 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3789 (__old_shmctl): Do not use CHECK_1.
3790 (__new_shmctl): Likewise.
3791 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3793 (__xstat): Do not use CHECK_1.
3794 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3795 (__lxstat): Do not use CHECK_1.
3796 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3798 (___lxstat64): Do not use CHECK_1.
3799 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3800 (__old_msgctl): Do not use CHECK_1.
3801 (__new_msgctl): Likewise.
3802 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3804 (__gettimeofday): Do not use CHECK_1.
3805 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3806 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3807 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3809 (__gettimeofday): Do not use CHECK_1.
3810 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3811 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3812 (__new_shmctl): Do not use CHECK_1.
3813 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3815 (do_sigtimedwait): Do not use CHECK_1.
3816 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3818 (do_sigwaitinfo): Do not use CHECK_1.
3819 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3821 (msgctl): Do not use CHECK_1.
3822 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3824 (shmctl): Do not use CHECK_1.
3825 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3826 (ustat): Do not use CHECK_1.
3827 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3829 (__fxstat): Do not use CHECK_1.
3830 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3832 (__fxstatat): Do not use CHECK_1.
3833 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3835 (__lxstat): Do not use CHECK_1.
3836 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3838 (__xstat): Do not use CHECK_1.
3839 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3840 (__xstat): Do not use CHECK_1.
3841 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3842 (___xstat64): Do not use CHECK_1.
3845 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3847 (CHECK_BOUNDS_HIGH): Likewise.
3848 * string/strcpy.c: Do not include <bp-checks.h>.
3849 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3851 2013-02-07 Roland McGrath <roland@hack.frob.com>
3853 * nscd/nscd-client.h (__nscd_drop_map_ref):
3854 Add __attribute__ ((unused)).
3855 * nis/nss-nisplus.h (niserr2nss): Likewise.
3857 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3858 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3860 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3861 Remove inline keyword.
3862 * include/rounding-mode.h (round_away): Likewise.
3863 * libio/wfileops.c (adjust_wide_data): Likewise.
3864 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3865 (__m128i_strloadu_tolower): Likewise.
3866 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3867 (__m128i_strloadu_tolower): Likewise.
3868 * time/mktime.c (ydhms_diff): Likewise.
3869 * locale/elem-hash.h (elem_hash): Likewise.
3870 * locale/setlocale.c (setdata): Likewise.
3871 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3872 (re_string_wchar_at): Likewise.
3873 (bitset_not, bitset_merge, bitset_mask): Likewise.
3874 [!(__GNUC__ > 3)] (inline): Remove macro.
3875 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3876 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3877 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3878 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3879 * string/memcmp.c (memcmp_bytes): Likewise.
3880 * locale/programs/locarchive.c (compute_hashval): Likewise.
3881 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3882 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3883 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3884 * nss/getent.c (print_rpc, print_protocols): Likewise.
3885 (print_passwd, print_group, print_aliases): Likewise.
3886 * nis/nss-nisplus.h (niserr2nss): Likewise.
3887 * nscd/connections.c (restart_p): Likewise.
3888 Change return type to bool.
3890 2013-02-05 Roland McGrath <roland@hack.frob.com>
3892 * Makeconfig (all-Depend-files): Add existing
3893 $(sorted-subdirs:=/Depend) files.
3894 (all-subdirs): Remove nss.
3895 * sysdeps/unix/inet/Subdirs: Add it here instead.
3896 * hesiod/Depend: New file.
3898 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3899 instead of calling alloca.
3901 * io/lseek.c (__lseek): Rename to __libc_lseek.
3902 Define __lseek as an alias.
3904 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3906 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3908 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3909 else clause and remove check for non-standard endianness.
3911 2013-02-04 David S. Miller <davem@davemloft.net>
3913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3915 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3918 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3919 (__ubp_memchr): Remove prototype.
3920 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3921 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3922 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3923 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3924 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3926 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3927 (__ubp_memchr): Likewise.
3928 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3929 (__ubp_memchr): Likewise.
3930 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3931 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3932 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3933 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3935 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3936 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3937 (__getcwd): Do not use CHECK_STRING.
3938 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3940 (__real_chown): Do not use CHECK_STRING.
3941 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3943 (fchownat): Do not use CHECK_STRING.
3944 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3946 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3948 (__lchown): Do not use CHECK_STRING.
3949 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3950 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3951 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3952 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3954 include <bp-checks.h>.
3955 (truncate64): Do not use CHECK_STRING.
3956 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3958 (__real_chown): Do not use CHECK_STRING.
3959 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3961 (__lchown): Do not use CHECK_STRING.
3962 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3964 (__chown): Do not use CHECK_STRING.
3965 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3967 (truncate64): Do not use CHECK_STRING.
3968 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3970 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3971 (__xmknod): Do not use CHECK_STRING.
3972 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3974 (__xmknodat): Do not use CHECK_STRING.
3975 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3976 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3978 2013-02-04 Andreas Schwab <schwab@suse.de>
3981 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3982 * include/netdb.h: Likewise for h_errno.
3983 * elf/tst-stackguard1.c: Include <tls.h>.
3985 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3987 * elf/link.h (struct link_map): Extend the l_addr comment.
3988 * include/link.h (struct link_map): Likewise.
3990 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3993 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3994 (BOUNDED_1): Remove macro.
3995 * debug/backtrace.c: Don't include <bp-checks.h>.
3996 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3997 (__backtrace): Likewise.
3998 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4000 (__backtrace): Don't use BOUNDED_1.
4001 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4003 (__backtrace): Don't use BOUNDED_1.
4004 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4005 (__backtrace): Don't use BOUNDED_1.
4006 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4007 (shmat): Don't use BOUNDED_N.
4009 2013-01-31 Joseph Myers <joseph@codesourcery.com>
4012 * sysdeps/generic/bp-start.h: Remove file.
4013 * csu/libc-start.c: Don't include <bp-start.h>.
4014 (LIBC_START_MAIN): Set up __environ directly instead of using
4015 INIT_ARGV_and_ENVIRON.
4016 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4020 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4022 (CHECK_FCNTL): Likewise.
4023 (CHECK_N_PAGES): Likewise.
4026 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4028 (CHECK_SIGSET_NULL_OK): Likewise.
4029 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4031 (sigpending): Don't use CHECK_SIGSET.
4032 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4034 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4035 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4037 (do_sigsuspend): Don't use CHECK_SIGSET.
4038 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4040 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4041 (do_sigwait): Don't use CHECK_SIGSET.
4042 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4044 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4045 include <bp-checks.h>.
4046 (sigpending): Don't use CHECK_SIGSET.
4047 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4048 include <bp-checks.h>.
4049 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4050 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4052 (sigpending): Don't use CHECK_SIGSET.
4053 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4055 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4058 * sysdeps/generic/bp-semctl.h: Remove file.
4059 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4060 <bp-checks.h> and <bp-semctl.h>.
4061 (__old_semctl): Don't use CHECK_SEMCTL.
4062 (__new_semctl): Likewise.
4063 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4065 (__old_semctl): Don't use CHECK_SEMCTL.
4066 (__new_semctl): Likewise.
4067 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4068 <bp-checks.h> and <bp-semctl.h>.
4069 (__old_semctl): Don't use CHECK_SEMCTL.
4070 (__new_semctl): Likewise.
4071 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4072 <bp-checks.h> and <bp-semctl.h>.
4073 (semctl): Don't use CHECK_SEMCTL.
4076 * Makerules (elide-bp-thunks): Remove variable.
4077 (elide-routines.oS): Don't use $(elide-bp-thunks).
4078 (elide-routines.os): Likewise.
4079 (elide-routines.o): Likewise.
4080 (elide-routines.op): Likewise.
4081 (elide-routines.og): Likewise.
4082 (objects): Don't use $(bp-thunks).
4083 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4085 (common-generated): Do not add s-proto-bp.d.
4086 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4089 Do not generate makefile rules for bounded-pointer thunks.
4090 * sysdeps/generic/bp-thunks.h: Remove file.
4091 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4092 * sysdeps/unix/s-proto-bp.S: Likewise.
4095 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4096 parts of result separately when argument is not close to line from
4097 -i to i and one part of argument is small.
4098 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4099 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4100 * math/libm-test.inc (cacos_test): Add more tests.
4101 (casin_test): Likewise.
4102 (casinh_test): Likewise.
4103 * sysdeps/i386/fpu/libm-test-ulps: Update.
4104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4106 2013-01-31 David S. Miller <davem@davemloft.net>
4108 * po/de.po: Update from translation team.
4110 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4112 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4114 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4116 * configure.in (_AC_PROG_CC_C89): New definition.
4117 * configure: Regenerate.
4119 * configure.in (AC_PROG_CPP): New definition.
4120 * configure: Regenerate.
4122 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4124 * debug/tst-backtrace.h: New file.
4125 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4126 (ret): Remove variable.
4128 (FAIL): Remove macro.
4129 (NO_INLINE): Likewise.
4130 (fn1): Use match function instead of strstr.
4131 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4132 (ret): Remove variable.
4134 (FAIL): Remove macro.
4135 (NO_INLINE): Likewise.
4136 (fn): Use match function instead of strstr.
4137 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4138 (ret): Remove variable.
4140 (FAIL): Remove macro.
4141 (NO_INLINE): Likewise.
4142 (handle_signal): Use match function instead of strstr.
4143 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4144 (ret): Remove variable.
4146 (FAIL): Remove macro.
4147 (NO_INLINE): Likewise.
4148 (handle_signal): Use match function instead of strstr.
4150 2013-01-23 Roland McGrath <roland@hack.frob.com>
4152 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4154 2013-01-23 David S. Miller <davem@davemloft.net>
4156 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4157 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4158 argument of CAS if possible.
4159 * sysdeps/sparc/sparc64/bits/atomic.h
4160 (__arch_compare_and_exchange_val_32_acq): Likewise.
4161 (__arch_compare_and_exchange_val_64_acq): Likewise.
4163 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4165 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4166 * sysdeps/posix/ulimit.c: ... this.
4168 * sysdeps/unix/bsd/ulimit.c: Remove file.
4170 2013-01-23 Adam Conrad <adconrad@0c3.net>
4172 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4173 (LDFLAGS-tst-array5): Likewise.
4175 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4178 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4179 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4180 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4181 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4183 2013-01-21 David S. Miller <davem@davemloft.net>
4185 * sysdeps/sparc/backtrace.c: New file.
4186 * sysdeps/sparc/sparc32/backtrace.h: New file.
4187 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4188 * sysdeps/sparc/sparc64/backtrace.h: New file.
4189 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4190 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4193 2013-01-21 Andreas Schwab <schwab@suse.de>
4196 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4199 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4205 2013-01-18 Joseph Myers <joseph@codesourcery.com>
4206 Mark Mitchell <mark@codesourcery.com>
4207 Tom de Vries <tom@codesourcery.com>
4208 Paul Pluzhnikov <ppluzhnikov@google.com>
4210 * debug/tst-backtrace2.c: New file.
4211 * debug/tst-backtrace3.c: Likewise.
4212 * debug/tst-backtrace4.c: Likewise.
4213 * debug/tst-backtrace5.c: Likewise.
4214 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4215 (CFLAGS-tst-backtrace3.c): Likewise.
4216 (CFLAGS-tst-backtrace4.c): Likewise.
4217 (CFLAGS-tst-backtrace5.c): Likewise.
4218 (LDFLAGS-tst-backtrace2): Likewise.
4219 (LDFLAGS-tst-backtrace3): Likewise.
4220 (LDFLAGS-tst-backtrace4): Likewise.
4221 (LDFLAGS-tst-backtrace5): Likewise.
4222 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4223 tst-backtrace4 and tst-backtrace5.
4225 2013-01-18 Anton Blanchard <anton@samba.org>
4226 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4228 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4229 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4230 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4231 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4233 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4234 "+r" and remove output regs list as redundant. Add explicit inline
4235 asm to specify register of return val to work around compiler codegen
4236 bug. Remove (int) cast on return value. Add return type parameter to
4237 use in macro so that this macro does not truncate return value for
4239 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4240 pass to INTERNAL_VSYSCALL_NCS.
4241 (INLINE_VSYSCALL): Add 'long int' as return type to
4242 INTERNAL_VSYSCALL_NCS macro invocation.
4243 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4244 INTERNAL_VSYSCALL_NCS macro invocation.
4245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4247 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4250 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4251 Fix application of SIMD FP exception mask.
4253 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4254 mp_no from a power of two.
4255 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4256 __mpexp_twomm1. Use __pow_mp.
4258 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4261 2013-01-17 David S. Miller <davem@davemloft.net>
4263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4265 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4268 * include/complex.h: Condition contents on [!_COMPLEX_H].
4269 (__kernel_casinhf): New prototype.
4270 (__kernel_casinh): Likewise.
4271 (__kernel_casinhl): Likewise.
4272 * math/Makefile (libm_calls): Add k_casinh.
4273 * math/k_casinh.c: New file.
4274 * math/k_casinhf.c: Likewise.
4275 * math/k_casinhl.c: Likewise.
4276 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4277 finite nonzero arguments.
4278 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4279 finite nonzero arguments.
4280 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4281 finite nonzero arguments.
4282 * math/s_casinh.c: Do not include <float.h>.
4283 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4284 * math/s_casinhf.c: Do not include <float.h>.
4285 (__casinhf): Move code for finite nonzero arguments to
4287 * math/s_casinhl.c: Do not include <float.h>.
4288 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4290 (__casinhl): Move code for finite nonzero arguments to
4292 * math/libm-test.inc (cacos_test): Add more tests.
4293 * sysdeps/i386/fpu/libm-test-ulps: Update.
4294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4296 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4298 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4299 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4300 [!HAVE_MREMAP]: Remove [defined linux] case.
4301 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4303 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4305 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4307 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4309 * elf/elf.h (R_386_SIZE32): New relocation.
4310 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4312 (elf_machine_rela): Likewise.
4313 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4314 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4316 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4318 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4319 (FP_FAST_FMA): Do not define.
4320 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4321 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4322 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4323 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4324 !_SOFT_FLOAT]: Likewise.
4325 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4326 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4328 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4329 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4330 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4331 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4332 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4333 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4336 2013-01-16 Andreas Schwab <schwab@suse.de>
4339 * include/stdlib.h (__mktemp): Add declaration.
4340 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4341 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4343 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4345 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4347 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4348 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4349 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4351 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4352 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4354 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4356 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4357 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4358 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4360 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4361 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4363 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4365 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4367 2013-01-15 David S. Miller <davem@davemloft.net>
4369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4370 trunc{,f} to libm-sysdep_routes.
4371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4381 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4382 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4383 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4384 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4385 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4386 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4389 nearbyint{,f} to libm-sysdep_routes.
4390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4401 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4403 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4404 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4406 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4407 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4408 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4410 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4411 libc_feholdexcept and libc_fesetenv.
4413 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4415 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4417 2013-01-14 David S. Miller <davem@davemloft.net>
4419 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4420 (SPARC_ASM_VIS2_IFUNC): Likewise.
4421 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4423 use of 'siam' instruction.
4424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4445 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4457 routines to libm-sysdep_routines.
4458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4461 fdim/fdimf to libm-sysdep_routines.
4462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4470 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4471 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4472 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4473 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4475 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4477 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4480 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4485 local variable MPTWO.
4486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4489 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4491 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4494 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4496 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4498 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4500 * manual/pattern.texi (glob_t): Document gl_flags.
4501 (glob64_t): Likewise.
4503 2013-01-11 David S. Miller <davem@davemloft.net>
4505 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4506 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4507 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4508 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4509 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4510 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4511 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4512 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4513 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4514 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4515 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4516 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4517 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4519 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4520 sparc V9 rather than using V8 code.
4521 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4522 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4524 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4526 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4529 2013-01-11 Roland McGrath <roland@hack.frob.com>
4531 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4532 not in the main loop.
4533 * configure: Regenerated.
4535 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4537 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4538 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4540 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4541 [!__GLIBC_HAVE_LONG_LONG] case.
4542 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4543 condition to just #else.
4544 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4545 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4546 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4547 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4549 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4550 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4551 #elif condition to just #else.
4552 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4553 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4554 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4555 #elif condition to just #else.
4557 2013-01-11 Steve Ellcey <sellcey@mips.com>
4559 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4560 (EF_MIPS_ARCH_64): Fix value.
4561 (EF_MIPS_ARCH_32R2): New.
4562 (EF_MIPS_ARCH_64R2): New.
4564 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4566 * Makeconfig (+link-pie-before-libc): New.
4567 (+link-pie-after-libc): Likewise.
4568 (+link-pie-tests): Likewise.
4569 (+link-pie): Rewritten.
4570 (link-before-libc): Remove $(config-LDFLAGS).
4571 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4572 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4573 (config-LDFLAGS): Renamed to ...
4574 (rtld-LDFLAGS): This.
4575 (rtld-tests-LDFLAGS): New macro.
4576 (link-libc-rpath-link): Likewise.
4577 (link-libc-tests-rpath-link): Likewise.
4578 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4579 (link-libc): Prepand $(link-libc-rpath-link).
4580 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4581 (test-program-prefix): New macro.
4582 (test-via-rtld-prefix): Likewise.
4583 (test-program-cmd): Likewise.
4584 (host-test-program-cmd): Likewise.
4585 * Makefile ($(common-objpfx)testrun.sh): Replace
4586 $(run-program-prefix) with $(test-program-prefix).
4587 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4589 ($(common-objpfx)shlib.lds): Likewise.
4590 (build-module-helper): Likewise.
4591 ($(common-objpfx)format.lds): Likewise.
4592 * Rules (binaries-pie-tests): New.
4593 (binaries-pie-notests): Likewise.
4594 (binaries-pie): Rewritten.
4595 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4596 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4597 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4598 (make-test-out): Replace $(host-built-program-cmd) with
4599 $(host-test-program-cmd).
4600 * config.make.in (build-hardcoded-path-in-tests): New variable.
4601 * configure.in (--enable-hardcoded-path-in-tests): New configure
4603 (hardcoded_path_in_tests): New AC_SUBST.
4604 * configure: Regenerated.
4605 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4606 $(built-program-cmd) with $(test-program-cmd).
4607 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4608 (test_program_cmd): This.
4609 * elf/Makefile ($(objpfx)order.out): Run test with
4610 $(test-program-prefix).
4611 ($(objpfx)order2.out): Likewise.
4612 ($(objpfx)tst-initorder.out): Likewise.
4613 ($(objpfx)tst-initorder2.out): Likewise.
4614 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4615 $(test-program-cmd).
4616 ($(objpfx)tst-array1-static.out): Likewise.
4617 ($(objpfx)tst-array2.out): Likewise.
4618 ($(objpfx)tst-array3.out): Likewise.
4619 ($(objpfx)tst-array4.out): Likewise.
4620 ($(objpfx)tst-array5.out): Likewise.
4621 ($(objpfx)tst-array5-static.out): Likewise.
4622 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4623 $(test-program-cmd).
4624 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4625 $(run-program-prefix) with $(test-program-prefix).
4626 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4627 (test_program_prefix): This.
4628 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4629 $(run-program-prefix) with $(test-program-prefix).
4630 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4631 (test_program_prefix): This.
4632 * iconvdata/tst-tables.sh: Likewise.
4633 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4634 $(run-program-prefix) with $(test-program-prefix).
4635 ($(objpfx)tst-translit.out): Likewise.
4636 ($(objpfx)tst-gettext2.out): Likewise.
4637 ($(objpfx)tst-gettext4.out): Likewise.
4638 ($(objpfx)tst-gettext6.out): Likewise.
4639 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4640 (test_program_prefix): This.
4641 * intl/tst-gettext2.sh: Likewise.
4642 * intl/tst-gettext4.sh Likewise.
4643 * intl/tst-gettext6.sh: Likewise.
4644 * intl/tst-translit.sh: Likewise.
4645 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4646 with $(test-program-cmd).
4647 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4648 $(run-program-prefix) with $(test-program-prefix).
4649 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4650 (test_program_prefix): This.
4651 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4652 $(run-program-prefix) with $(test-program-prefix).
4653 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4654 (test_program_prefix): This.
4655 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4656 * posix/Makefile ($(objpfx)globtest.out): Replace
4657 $(run-via-rtld-prefix) and $(test-wrapper) with
4658 $(test-program-prefix) and $(test-via-rtld-prefix).
4659 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4660 $(test-program-prefix).
4661 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4662 $(host-test-program-cmd).
4663 (tst-spawn-ARGS): Likewise.
4664 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4665 $(test-program-prefix).
4666 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4667 (test_via_rtld_prefix): This.
4668 (test_wrapper): Renamed to ...
4669 (test_program_prefix): This.
4670 (run_program_prefix): Replaced by test_program_prefix.
4671 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4672 (test_program_prefix): This.
4673 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4674 with $(host-test-program-cmd).
4675 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4676 $(run-program-prefix) with $(test-program-prefix).
4677 ($(objpfx)tst-printf.out): Likewise.
4678 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4679 $(test-program-cmd).
4680 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4681 (test_program_prefix): This.
4682 * stdio-common/tst-unbputc.sh: Likewise.
4683 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4684 $(run-program-prefix) with $(test-program-prefix).
4685 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4686 (test_program_prefix): This.
4687 * string/Makefile ($(objpfx)tst-svc.out): Replace
4688 $(built-program-cmd) with $(test-program-cmd).
4690 2013-01-11 Andreas Jaeger <aj@suse.de>
4693 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4694 value. Sync with Linux 3.7.
4696 2013-01-10 David S. Miller <davem@davemloft.net>
4698 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4699 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4700 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4702 2013-01-10 Roland McGrath <roland@hack.frob.com>
4704 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4706 * configure: Regenerated.
4708 2013-01-10 David S. Miller <davem@davemloft.net>
4710 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4711 sparc V9 rather than using V8 code.
4712 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4713 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4715 2013-01-10 Roland McGrath <roland@hack.frob.com>
4717 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4718 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4719 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4720 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4721 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4722 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4723 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4724 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4725 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4726 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4727 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4728 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4729 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4730 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4731 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4732 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4733 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4734 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4735 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4736 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4737 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4738 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4739 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4740 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4741 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4742 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4743 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4745 2013-01-10 David S. Miller <davem@davemloft.net>
4747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4749 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4751 * posix/Makefile (tests-static): New variable.
4752 (tests): Add $(tests-static).
4753 (tst-exec-static-ARGS): New variable.
4754 (tst-spawn-static-ARGS): Likewise.
4755 * posix/tst-exec-static.c: New file.
4756 * posix/tst-spawn-static.c: Likewise.
4757 * posix/tst-exec.c: Support run directly.
4758 * posix/tst-spawn.c: Likewise.
4760 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4762 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4764 * math/bits/mathcalls.h (llrint): Likewise.
4765 (llround): Likewise.
4766 * stdlib/stdlib.h (struct drand48_data): Likewise.
4767 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4768 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4769 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4771 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4773 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4774 (elf_greg_t): Likewise.
4775 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4776 (__jmp_buf): Likewise.
4777 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4779 (llrint): Likewise, for all definitions.
4780 (llrintl): Likewise.
4782 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4783 Remove [__GNUC__] condition.
4784 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4785 condition to just [__USE_ISOC99].
4786 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4788 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4791 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4792 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4794 (_POSIX_V6_ILP32_OFF32): Likewise.
4795 (_XBS5_ILP32_OFF32): Likewise.
4796 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4797 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4799 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4801 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4804 doubles __mpexp_twomm1. Adjust usage.
4805 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4808 2013-01-10 Andreas Schwab <schwab@suse.de>
4811 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4812 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4814 2013-01-09 David S. Miller <davem@davemloft.net>
4817 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4818 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4819 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4820 TCP_FASTOPEN): Define.
4821 (tcp_repair_opt): New structure.
4822 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4824 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4825 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4826 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4827 (tcp_cookie_transactions): New structure.
4829 2013-01-09 Anton Blanchard <anton@samba.org>
4831 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4832 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4833 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4834 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4836 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4838 * include/features.h (__USE_ANSI): Remove.
4840 2013-01-09 Roland McGrath <roland@hack.frob.com>
4842 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4844 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4846 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4848 * sysdeps/s390/fpu/libm-test-ulps: Update.
4850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4852 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4857 (__mp_dbl): Likewise.
4858 (__dbl_mp): Likewise.
4859 (add_magnitudes): Likewise.
4860 (sub_magnitudes): Likewise.
4866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4871 (__mp_dbl): Likewise.
4872 (__dbl_mp): Likewise.
4873 (add_magnitudes): Likewise.
4874 (sub_magnitudes): Likewise.
4880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4885 (__mp_dbl): Likewise.
4886 (__dbl_mp): Likewise.
4887 (add_magnitudes): Likewise.
4888 (sub_magnitudes): Likewise.
4895 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4897 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4898 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4899 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4900 2 && __USE_EXTERN_INLINES]: Likewise.
4902 2013-01-08 Andreas Jaeger <aj@suse.de>
4905 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4907 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4908 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4910 2013-01-07 Anton Blanchard <anton@samba.org>
4912 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4913 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4914 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4915 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4916 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4917 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4918 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4919 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4921 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4922 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4923 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4924 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4926 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4927 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4928 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4929 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4930 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4931 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4932 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4933 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4934 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4935 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4936 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4937 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4938 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4939 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4940 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4941 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4942 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4944 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4945 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4946 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4947 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4948 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4950 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4951 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4952 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4953 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4954 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4956 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4958 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4959 (__MALLOC_PMT): Likewise.
4960 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4961 [__GNUC__], only on [_LIBC].
4962 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4963 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4964 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4965 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4966 forward declaration.
4967 (realloc_hook_ini): Likewise.
4968 (memalign_hook_ini): Likewise.
4969 (__libc_memalign): Do not use __MALLOC_PMT in variable
4971 (__libc_valloc): Likewise.
4972 (__libc_pvalloc): Likewise.
4973 (__libc_calloc): Likewise.
4974 (__posix_memalign): Likewise.
4977 * math/s_casinh.c: Include <float.h>.
4978 (__casinh): Do not do computation with squaring and square root
4979 for large arguments.
4980 * math/s_casinhf.c: Include <float.h>.
4981 (__casinhf): Do not do computation with squaring and square root
4982 for large arguments.
4983 * math/s_casinhl.c: Include <float.h>.
4984 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4985 (__casinhl): Do not do computation with squaring and square root
4986 for large arguments.
4987 * math/libm-test.inc (casin_test): Add more tests.
4988 (casinh_test): Likewise.
4989 * sysdeps/i386/fpu/libm-test-ulps: Update.
4990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4992 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4994 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4995 (__x86_64_raw_data_cache_size): Likewise.
4996 (__x86_64_data_cache_size_half): Likewise.
4997 (__x86_64_raw_data_cache_size_half): Likewise.
4998 (__x86_64_shared_cache_size): Likewise.
4999 (__x86_64_raw_shared_cache_size): Likewise.
5000 (__x86_64_shared_cache_size_half): Likewise.
5001 (__x86_64_raw_shared_cache_size_half): Likewise.
5002 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5004 (__x86_data_cache_size): This.
5005 (__x86_64_raw_data_cache_size): Renamed to ...
5006 (__x86_raw_data_cache_size): This.
5007 (__x86_64_data_cache_size_half): Renamed to ...
5008 (__x86_data_cache_size_half): This.
5009 (__x86_64_raw_data_cache_size_half): Renamed to ...
5010 (__x86_raw_data_cache_size_half): This.
5011 (__x86_64_shared_cache_size): Renamed to ...
5012 (__x86_shared_cache_size): This.
5013 (__x86_64_raw_shared_cache_size): Renamed to ...
5014 (__x86_raw_shared_cache_size): This.
5015 (__x86_64_shared_cache_size_half): Renamed to ...
5016 (__x86_shared_cache_size_half): This.
5017 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5018 (__x86_raw_shared_cache_size_half): This.
5019 * sysdeps/x86_64/memcpy.S: Updated.
5020 * sysdeps/x86_64/memset.S: Likewise.
5021 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5022 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5023 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5025 2013-01-04 David S. Miller <davem@davemloft.net>
5027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5029 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5031 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5032 1 to avoid redefinition warning.
5033 (__USE_GNU): Don't define.
5034 (init_signaling_nan): Protoize.
5036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5038 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5040 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5042 (__cpymn): Likewise.
5043 (norm): Remove commented code.
5045 (__mp_dbl): Likewise.
5047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5048 (__cpymn): Likewise.
5049 (norm): Remove commented code.
5051 (__mp_dbl): Likewise.
5054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5055 mp_no value for 1.0 and 2.0.
5056 (norm): Use RADIXI instead of radixi.d.
5058 (__mul): Use 0.0 instead of zero.d.
5059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5060 mp_no value for 1.0 and 2.0.
5061 (norm): Use RADIXI instead of radixi.d.
5063 (__mul): Use 0.0 instead of zero.d.
5065 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5068 * math/s_casinh.c (__casinh): Reduce finite argument to first
5069 quadrant then set signs of results at the end.
5070 * math/s_casinhf.c (__casinhf): Likewise.
5071 * math/s_casinhl.c (__casinhl): Likewise.
5072 * math/libm-test.inc (casin_test): Add more tests.
5073 (casinh_test): Likewise.
5074 * sysdeps/i386/fpu/libm-test-ulps: Update.
5075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5077 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5079 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5081 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5083 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5086 (__mp_dbl): Likewise.
5089 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5090 and adjust the header comment.
5092 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5093 variable name from declaration.
5095 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5098 Initialize COMMON_CPUID_INDEX_7 element.
5099 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5100 (CPUID_RTM): Likewise.
5101 (HAS_RTM): Likewise.
5102 (COMMON_CPUID_INDEX_7): New enum.
5104 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5107 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5108 size is zero, record memory as freed.
5110 2013-01-03 Andreas Jaeger <aj@suse.de>
5112 * po/ia.po: Add new Interlingua translation.
5114 2012-01-03 Allan McRae <allan@archlinux.org>
5116 * locale/programs/localedef.c: Fix description of '--posix' flag.
5118 2013-01-02 Joseph Myers <joseph@codesourcery.com>
5120 * NEWS: Update dates in second copyright notice.
5121 * README: Update copyright dates in example.
5122 * manual/libc.texinfo: Update copyright dates.
5123 * scripts/test-installation.pl: Update copyright date in --version
5126 * hurd/ctty-input.c: Fix copyright notice formatting.
5127 * hurd/ctty-output.c: Likewise.
5128 * hurd/dtable.c: Likewise.
5129 * hurd/hurd-raise.c: Likewise.
5130 * hurd/hurdprio.c: Likewise.
5131 * hurd/msgportdemux.c: Likewise.
5132 * misc/sys/file.h: Likewise.
5133 * misc/sys/ioctl.h: Likewise.
5134 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5135 * sysdeps/mach/hurd/chdir.c: Likewise.
5136 * sysdeps/mach/hurd/fchdir.c: Likewise.
5137 * sysdeps/mach/hurd/rename.c: Likewise.
5138 * sysdeps/mach/hurd/rmdir.c: Likewise.
5139 * sysdeps/mach/hurd/seekdir.c: Likewise.
5140 * sysdeps/mach/hurd/setsid.c: Likewise.
5141 * sysdeps/posix/wait3.c: Likewise.
5143 * All files with FSF copyright notices: Update copyright dates
5144 using scripts/update-copyrights.
5145 * intl/plural.c: Regenerated.
5146 * locale/programs/charmap-kw.h: Likewise.
5147 * locale/programs/locfile-kw.h: Likewise.
5149 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5151 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5154 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5155 calculation loop and add branch prediction.
5157 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5158 check access beyond bounds of m1np.
5160 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5162 (__inv): Remove local variable MPTWO to use the global
5164 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5165 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5167 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5168 MP3HALFS static const.
5170 2013-01-01 David S. Miller <davem@davemloft.net>
5172 * po/ca.po: Update from translation team.
5174 2013-01-01 Joseph Myers <joseph@codesourcery.com>
5176 * scripts/update-copyrights: New file.
5177 * Makeconfig: Reformat copyright notice.
5178 * ctype/ctype.h: Likewise.
5179 * debug/swprintf_chk.c: Likewise.
5180 * elf/dl-cache.c: Likewise.
5181 * elf/dl-debug.c: Likewise.
5182 * elf/dl-object.c: Likewise.
5183 * grp/initgroups.c: Likewise.
5184 * hurd/Makefile: Likewise.
5185 * hurd/hurd/signal.h: Likewise.
5186 * hurd/hurdfault.c: Likewise.
5187 * hurd/hurdioctl.c: Likewise.
5188 * hurd/hurdlookup.c: Likewise.
5189 * hurd/intr-msg.c: Likewise.
5190 * iconv/gconv_open.c: Likewise.
5191 * libio/swprintf.c: Likewise.
5192 * locale/lc-ctype.c: Likewise.
5193 * locale/nl_langinfo.c: Likewise.
5194 * mach/Machrules: Likewise.
5195 * mach/Makefile: Likewise.
5196 * malloc/obstack.h: Likewise.
5197 * manual/Makefile: Likewise.
5198 * manual/tsort.awk: Likewise.
5199 * misc/bits/stab.def: Likewise.
5200 * nis/nis_print_group_entry.c: Likewise.
5201 * nis/nis_table.c: Likewise.
5202 * nis/nss_compat/compat-pwd.c: Likewise.
5203 * nis/nss_compat/compat-spwd.c: Likewise.
5204 * po/Makefile: Likewise.
5205 * posix/fnmatch.c: Likewise.
5206 * posix/regex.h: Likewise.
5207 * resolv/Makefile: Likewise.
5208 * resolv/nss_dns/dns-network.c: Likewise.
5209 * resolv/res_hconf.c: Likewise.
5210 * scripts/gen-sorted.awk: Likewise.
5211 * soft-fp/soft-fp.h: Likewise.
5212 * stdio-common/printf.h: Likewise.
5213 * stdlib/monetary.h: Likewise.
5214 * stdlib/random.c: Likewise.
5215 * stdlib/random_r.c: Likewise.
5216 * sysdeps/generic/Makefile: Likewise.
5217 * sysdeps/gnu/Makefile: Likewise.
5218 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5222 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5223 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5225 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5226 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5227 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5228 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5229 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5230 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5231 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5232 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5233 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5234 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5235 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5236 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5237 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5238 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5239 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5240 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5241 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5242 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5246 * sysdeps/mach/hurd/errnos.awk: Likewise.
5247 * sysdeps/mach/hurd/fork.c: Likewise.
5248 * sysdeps/mach/hurd/getcwd.c: Likewise.
5249 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5250 * sysdeps/mach/hurd/mmap.c: Likewise.
5251 * sysdeps/mach/hurd/utimes.c: Likewise.
5252 * sysdeps/mach/hurd/xmknod.c: Likewise.
5253 * sysdeps/posix/profil.c: Likewise.
5254 * sysdeps/posix/readdir_r.c: Likewise.
5255 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5256 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5257 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5258 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5260 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5261 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5262 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5264 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5265 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5266 * sysdeps/pthread/lio_listio.c: Likewise.
5267 * sysdeps/sparc/dl-procinfo.h: Likewise.
5268 * sysdeps/unix/i386/sysdep.S: Likewise.
5269 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5270 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5271 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5272 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5274 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5275 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5276 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5277 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5278 * sysdeps/wordsize-32/divdi3.c: Likewise.
5279 * time/sys/time.h: Likewise.
5280 * wcsmbs/Makefile: Likewise.
5282 2013-01-01 David S. Miller <davem@davemloft.net>
5284 * po/fr.po: Update from translation team.
5286 * catgets/gencat.c: Update copyright year.
5287 * csu/version.c: Likewise.
5288 * debug/catchsegv.sh: Likewise.
5289 * debug/pcprofiledump.c: Likewise.
5290 * debug/xtrace.sh: Likewise.
5291 * elf/ldconfig.c: Likewise.
5292 * elf/ldd.bash.in: Likewise.
5293 * elf/pldd.c: Likewise.
5294 * elf/sotruss.ksh: Likewise.
5295 * elf/sprof.c: Likewise.
5296 * iconv/iconv_prog.c: Likewise.
5297 * iconv/iconvconfig.c: Likewise.
5298 * locale/programs/locale.c: Likewise.
5299 * locale/programs/localedef.c: Likewise.
5300 * login/programs/pt_chown.c: Likewise.
5301 * malloc/memusage.sh: Likewise.
5302 * malloc/memusagestat.c: Likewise.
5303 * malloc/mtrace.pl: Likewise.
5304 * nscd/nscd.c: Likewise.
5305 * nss/getent.c: Likewise.
5306 * nss/makedb.c: Likewise.
5307 * posix/getconf.c: Likewise.
5309 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5311 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5314 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5316 * math/bits/mathcalls.h (modf): Use __nonnull.
5318 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5320 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5321 (split): Use macro CN instead of the bare value.
5322 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5324 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5325 instead of the bare value.
5328 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5330 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5332 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5334 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5336 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5337 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5338 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5339 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5341 2012-12-28 Andreas Jaeger <aj@suse.de>
5343 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5344 values are from Linux 3.7.
5346 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5347 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5349 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5351 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5354 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5356 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5357 variables with preprocessor constants.
5358 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5359 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5360 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5362 2012-12-27 Bruno Haible <bruno@clisp.org>
5365 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5368 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5371 and use variable directly.
5372 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5374 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5376 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5377 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5379 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5380 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5381 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5382 include directive. Remove local variable MPONE.
5383 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5384 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5385 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5387 2012-12-25 David S. Miller <davem@davemloft.net>
5389 * version.h (RELEASE): Set to "development".
5390 (VERSION): Set to "2.17.90".
5391 * NEWS: Add 2.18 section.
5393 2012-12-21 David S. Miller <davem@davemloft.net>
5395 * po/hr.po: Update from translation team.
5397 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5399 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5401 2012-12-19 Steve Ellcey <sellcey@mips.com>
5403 * NEWS: Mention new memcpy for MIPS.
5405 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5407 * manual/contrib.texi (Contributors): Spelling correction.
5409 2012-12-15 David S. Miller <davem@davemloft.net>
5411 * po/ru.po: Update from translation team.
5413 2012-12-13 David S. Miller <davem@davemloft.net>
5415 * NEWS: Mention IFUNC testsuite enhancements.
5417 * po/pl.po: Update from translation team.
5418 * po/bg.po: Likewise.
5420 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5421 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5423 2012-12-11 David S. Miller <davem@davemloft.net>
5425 * po/sv.po: Update from translation team.
5427 * po/vi.po: Update from translation team.
5429 * po/cs.po: Update from translation team.
5431 * po/de.po: Update from translation team.
5432 * po/eo.po: Likewise.
5433 * po/nl.po: Likewise.
5435 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5438 * manual/argp.texi (Argp Helper Functions): Move node to follow
5442 * manual/conf.texi (Limits on File System Capacity): Mention if
5443 terminating null is included in the max size.
5445 2012-12-10 Andreas Jaeger <aj@suse.de>
5447 * po/cs.po: Update from translation team.
5449 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5451 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5452 void pointer and cast to uintptr_t.
5453 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5455 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5456 * sysdeps/s390/s390-64/memset.S: Likewise.
5458 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5461 * menual/message.texi (Message Translation): Fix typos.
5462 (Helper programs for gettext): Likewise.
5464 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5467 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5470 2012-12-07 David S. Miller <davem@davemloft.net>
5472 * po/libc.pot: Update.
5474 2012-12-07 Richard Henderson <rth@redhat.com>
5477 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5478 normal/normal case to before the switch.
5479 (_FP_DIV): Likewise.
5481 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5482 Mike Frysinger <vapier@gentoo.org>
5484 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5485 check for __NR_fadvise64_64.
5487 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5489 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5490 0, not just to plain "0" as a statement.
5491 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5494 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5496 * NEWS: Use sourceware.org in Bugzilla URL.
5498 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5501 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5503 * stdio-common/tst-put-error.c (do_test): Add newline to the
5504 padded test to ensure flush.
5506 2012-12-05 Jeff Law <law@redhat.com>
5508 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5510 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5512 * README: Don't refer to ports add-on as distributed separately.
5513 Mention AArch64 in list of systems supported in the ports add-on.
5515 * LICENSES: Add more non-FSF copyright and license notices.
5517 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5520 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5522 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5523 10000 as width of padded output.
5525 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5527 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5529 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5530 variable LX with __attribute__ ((unused)).
5531 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5533 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5534 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5535 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5536 with __attribute__ ((unused)).
5538 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5540 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5542 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5544 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5545 (CFLAGS-nldbl-acos.c): New variable.
5546 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5547 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5548 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5549 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5550 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5551 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5552 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5553 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5554 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5555 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5556 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5557 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5558 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5559 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5560 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5561 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5562 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5563 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5564 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5565 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5566 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5567 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5568 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5569 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5570 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5571 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5572 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5573 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5574 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5575 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5576 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5577 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5578 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5579 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5580 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5581 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5582 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5583 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5584 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5585 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5586 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5587 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5588 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5589 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5590 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5591 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5592 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5593 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5594 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5595 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5596 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5597 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5598 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5599 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5600 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5601 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5602 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5603 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5604 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5605 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5606 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5607 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5608 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5609 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5610 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5611 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5612 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5613 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5614 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5615 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5616 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5617 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5618 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5619 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5620 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5621 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5622 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5623 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5624 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5625 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5626 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5627 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5628 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5629 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5630 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5631 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5632 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5633 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5634 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5635 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5636 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5637 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5638 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5639 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5640 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5641 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5642 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5645 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5648 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5649 whole low double instead of just low 47 bits when splitting values
5652 2012-12-03 Allan McRae <allan@archlinux.org>
5654 * manual/stdio.texi (Predefined Printf Handlers): Remove
5655 @hsep and @vsep usage.
5657 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5659 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5660 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5662 2012-12-03 Jeff Law <law@redhat.com>
5664 * time/sys/time.h (settimeofday): Do not mark TV argument
5667 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5669 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5670 when currently writing and seek to current position when not.
5671 * libio/Makefile (tests): Remove bug-fclose1.
5672 * libio/bug-fclose1.c: Delete.
5674 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5676 * manual/arith.texi (feenableexcept): Fix typo.
5677 (fedisableexcept): Likewise.
5679 2012-11-30 Roland McGrath <roland@hack.frob.com>
5681 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5682 second, differently-typed declaration, rather than a cast.
5684 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5686 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5687 * include/rpc/svc.h: ... here.
5689 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5692 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5693 depending n and resplen2 to catch cases where answer
5696 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5698 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5699 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5701 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5703 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5705 2012-11-29 Roland McGrath <roland@hack.frob.com>
5707 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5709 2012-11-28 Jeff Law <law@redhat.com>
5712 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5713 dataset_temporary. Track alloca usage into alloca_used.
5714 If dataset is large allocate and release it via malloc/free.
5716 2012-06-04 Florian Weimer <fweimer@redhat.com>
5719 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5721 2012-11-28 David S. Miller <davem@davemloft.net>
5723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5725 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5728 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5729 of pi/2 rounded to nearest to 64 bits.
5730 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5732 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5735 2012-11-28 Jeff Law <law@redhat.com>
5736 Martin Osvald <mosvald@redhat.com>
5739 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5740 * sunrpc/svc.c: Include time.h.
5741 (__svc_accept_failed): New function.
5742 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5743 any reason other than EINTR, call __svc_accept_failed.
5744 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5745 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5747 2012-11-28 Andreas Schwab <schwab@suse.de>
5749 * scripts/abilist.awk: Also handle indirect functions in .opd
5752 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5755 * sysdeps/x86/fpu/powl_helper.c: New file.
5756 * sysdeps/x86/fpu/Makefile: Likewise.
5757 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5759 (__ieee754_powl): Use __powl_helper for finite arguments except
5760 integer exponents below 8.
5761 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5763 (__ieee754_powl): Use __powl_helper for finite arguments except
5764 integer exponents below 8.
5765 * math/libm-test.inc (pow_test): Add more tests and enable some
5766 previously disabled tests.
5767 * sysdeps/i386/fpu/libm-test-ulps: Update.
5768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5770 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5771 Carlos O'Donell <carlos_odonell@mentor.com>
5773 * nss/makedb.c (is_prime): Assert that input is odd and greater
5774 than 4. Note that fact in a comment too.
5775 (next_prime): Add 4 to input.
5777 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5780 * libio/Makefile (tests): Add test case tst-fwrite-error.
5781 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5782 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5783 * libio/tst-fwrite-error.c: New test case.
5785 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5787 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5788 before casting to void *.
5789 * include/libc-internal.h (__pointer_type): New macro.
5790 (__integer_if_pointer_type_sub): Likewise.
5791 (__integer_if_pointer_type): Likewise.
5792 (cast_to_integer): Likewise.
5793 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5794 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5795 before casting to atomic64_t.
5796 (atomic_exchange_acq): Likewise.
5797 (__arch_exchange_and_add_body): Likewise.
5798 (__arch_add_body): Likewise.
5799 (atomic_add_negative): Likewise.
5800 (atomic_add_zero): Likewise.
5802 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5804 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5805 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5806 (add_fdes): Likewise.
5807 (linear_search_fdes): Likewise.
5808 (binary_search_unencoded_fdes): Likewise.
5810 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5812 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5814 2012-11-24 Adam Conrad <adconrad@0c3.net>
5816 * configure.in: Autodetect C++ header directories.
5817 * configure: Regenerated.
5819 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5821 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5823 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5827 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5829 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5830 LDBL_MANT_DIG == 106]: Disable some tests.
5831 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5833 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5837 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5838 input for small inputs. Return +/- pi/2 for large inputs.
5839 * math/libm-test.inc (atan_test): Add more tests.
5841 * sysdeps/generic/unwind-dw2-fde-glibc.c
5842 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5843 __attribute__ ((unused)).
5846 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5847 x * y if x and y are nonzero and z is zero.
5850 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5851 nonzero exponents with absolute value below 0x1p-117 to +/-
5855 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5856 up arguments below 2**-450, not just those below 2**-500.
5857 * math/libm-test.inc (hypot_test): Add another test.
5860 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5861 Return a+b for ratio over 2**120, not 2**60.
5862 * math/libm-test.inc (hypot_test): Add another test.
5864 * math/libm-test.inc (clog_test): Use
5865 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5866 (clog10_test): Likewise.
5869 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5871 2012-11-22 Andreas Schwab <schwab@suse.de>
5873 * sysdeps/i386/fpu/libm-test-ulps: Update.
5875 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5877 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5878 printf output with newline.
5880 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5883 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5884 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5885 -z nodlopen, -z initfirst and -z execstack support.
5886 * configure: Regenerated.
5888 * elf/elf.h (DF_1_NODIRECT): New macro.
5889 (DF_1_IGNMULDEF): Likewise.
5890 (DF_1_NOKSYMS): Likewise.
5891 (DF_1_NOHDR): Likewise.
5892 (DF_1_EDITED): Likewise.
5893 (DF_1_NORELOC): Likewise.
5894 (DF_1_SYMINTPOSE): Likewise.
5895 (DF_1_GLOBAUDIT): Likewise.
5896 (DF_1_SINGLETON): Likewise.
5897 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5898 DT_1_SUPPORTED_MASK bits.
5899 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5901 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5903 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5905 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5907 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5910 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5911 (sendmmsg): Move declarations...
5912 * socket/sys/socket.h: ... here.
5913 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5914 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5916 * socket/recvmmsg.c: ... this new file.
5917 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5918 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5919 definition of __sendmmsg hidden.
5920 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5921 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5922 Move ENOSYS stub into and include it from...
5923 * socket/sendmmsg.c: ... this new file.
5924 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5925 (sysdep_routines): Move recvmmsg and sendmmsg...
5926 * socket/Makefile (routines): ... here.
5927 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5928 (GLIBC_PRIVATE): Add __sendmmsg.
5929 * include/sys/socket.h (__sendmmsg): Add declarations.
5930 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5933 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5935 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5936 variable I1 with __attribute__ ((unused)).
5937 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5939 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5941 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5942 DUMMY variables with __attribute__ ((unused)).
5944 * bits/byteswap.h: Include <bits/types.h>.
5945 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5947 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5949 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5950 string_t. Do not manually set errno.
5951 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5952 length with __strnlen. Make sure to both set errno and return it on
5955 2012-11-19 David S. Miller <davem@davemloft.net>
5957 With help from Joseph Myers.
5958 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5959 very large arguments properly.
5960 * math/libm-test.inc (atan_test): New tests.
5961 (atan2_test): New tests.
5962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5965 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5968 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5971 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5972 [POSIX] (EADDRNOTAVAIL): Likewise.
5973 [POSIX] (EAFNOSUPPORT): Likewise.
5974 [POSIX] (EALREADY): Likewise.
5975 [POSIX] (ECONNABORTED): Likewise.
5976 [POSIX] (ECONNREFUSED): Likewise.
5977 [POSIX] (ECONNRESET): Likewise.
5978 [POSIX] (EDESTADDRREQ): Likewise.
5979 [POSIX] (EDQUOT): Likewise.
5980 [POSIX] (EHOSTUNREACH): Likewise.
5981 [POSIX] (EIDRM): Likewise.
5982 [POSIX] (EISCONN): Likewise.
5983 [POSIX] (ELOOP): Likewise.
5984 [POSIX] (EMULTIHOP): Likewise.
5985 [POSIX] (ENETDOWN): Likewise.
5986 [POSIX] (ENETUNREACH): Likewise.
5987 [POSIX] (ENOBUFS): Likewise.
5988 [POSIX] (ENODATA): Likewise.
5989 [POSIX] (ENOLINK): Likewise.
5990 [POSIX] (ENOMSG): Likewise.
5991 [POSIX] (ENOPROTOOPT): Likewise.
5992 [POSIX] (ENOSR): Likewise.
5993 [POSIX] (ENOSTR): Likewise.
5994 [POSIX] (ENOTCONN): Likewise.
5995 [POSIX] (ENOTSOCK): Likewise.
5996 [POSIX] (EOPNOTSUPP): Likewise.
5997 [POSIX] (EOVERFLOW): Likewise.
5998 [POSIX] (EPROTO): Likewise.
5999 [POSIX] (EPROTONOSUPPORT): Likewise.
6000 [POSIX] (EPROTOTYPE): Likewise.
6001 [POSIX] (ESTALE): Likewise.
6002 [POSIX] (ETIME): Likewise.
6003 [POSIX] (ETXTBSY): Likewise.
6004 [POSIX] (EWOULDBLOCK): Likewise.
6005 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6006 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6007 [POSIX] (SEEK_CUR): Likewise.
6008 [POSIX] (SEEK_END): Likewise.
6009 [POSIX || UNIX98] (mode_t): Do not require.
6010 [POSIX] (off_t): Likewise.
6011 [POSIX] (pid_t): Likewise.
6012 [POSIX] (sys/stat.h): Do not allow header.
6013 [POSIX] (unistd.h): Likewise.
6014 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6015 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6016 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6017 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6019 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6020 sigevent): Specify elements.
6021 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6023 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6024 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6026 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6027 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6028 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6029 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6030 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6031 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6032 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6033 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6034 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6035 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6036 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6037 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6038 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6039 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6041 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6043 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6045 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6047 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6048 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6049 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6050 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6051 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6052 Specify lower bound on value.
6053 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6054 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6055 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6056 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6057 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6058 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6059 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6060 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6062 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6064 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6065 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6066 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6067 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6068 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6069 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6070 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6071 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6072 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6073 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6074 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6075 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6076 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6077 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6078 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6079 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6081 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6083 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6084 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6085 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6086 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6087 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6088 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6090 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6091 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6092 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6093 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6094 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6095 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6096 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6098 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6099 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6100 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6101 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6102 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6103 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6104 specify as optional.
6105 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6106 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6107 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6108 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6109 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6110 [XPG3] (NL_LANGMAX): Likewise.
6111 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6112 [POSIX || XPG3] (NL_NMAX): Likewise.
6113 [POSIX || XPG3] (NL_SETMAX): Likewise.
6114 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6115 [XPG3] (NZERO): Likewise.
6116 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6117 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6118 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6119 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6120 (REG_ERANGE): Expect.
6121 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6123 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6124 Use (void) in prototype.
6125 [POSIX] (*_t): Allow.
6126 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6127 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6128 (WRDE_BADVAL): Expect.
6130 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6132 [XPG3 || XPG4] (O_RSYNC): Likewise.
6133 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6135 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6136 [XPG3 || XPG4] (sigqueue): Likewise.
6137 [XPG3 || XPG4] (sigtimedwait): Likewise.
6138 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6139 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6140 [XPG3 || XPG4] (vsnprintf): Likewise.
6141 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6143 [XPG3 || XPG4] (blksize_t): Likewise.
6144 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6146 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6147 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6148 [XPG3 || XPG4] (struct itimerspec): Likewise.
6149 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6150 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6151 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6152 [XPG3 || XPG4] (clockid_t): Likewise.
6153 [XPG3 || XPG4] (timer_t): Likewise.
6154 [XPG3 || XPG4] (clock_getres): Likewise.
6155 [XPG3 || XPG4] (clock_gettime): Likewise.
6156 [XPG3 || XPG4] (clock_settime): Likewise.
6157 [XPG3 || XPG4] (nanosleep): Likewise.
6158 [XPG3 || XPG4] (timer_create): Likewise.
6159 [XPG3 || XPG4] (timer_delete): Likewise.
6160 [XPG3 || XPG4] (timer_gettime): Likewise.
6161 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6162 [XPG3 || XPG4] (timer_settime): Likewise.
6163 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6164 [XPG3 || XPG4] (getlogin_r): Likewise.
6165 [XPG3 || XPG4] (pread): Likewise.
6166 [XPG3 || XPG4] (pthread_atfork): Likewise.
6167 [XPG3 || XPG4] (pwrite): Likewise.
6170 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6173 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6175 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6176 finalizing MALLSTREAM.
6178 * sysdeps/mach/hurd/syncfs.c: New file.
6180 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6183 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6184 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6185 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6186 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6187 (_nss_dns_gethostbyname4_r): Likewise.
6188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6189 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6191 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6194 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6196 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6198 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6199 * elf/cache.c (print_entry): Print ",AArch64" for
6202 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6203 * elf/cache.c (print_entry): Print ",hard-float" for
6206 2012-11-18 David S. Miller <davem@davemloft.net>
6208 With help from Joseph Myers.
6209 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6211 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6213 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6214 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6216 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6217 * math/libm-test.inc (y0_test): New tests.
6218 (y1_test): New tests.
6219 * sysdeps/i386/fpu/libm-test-ulps: Update.
6220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6223 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6225 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6227 * configure: Regenerated.
6229 2012-11-17 David S. Miller <davem@davemloft.net>
6232 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6233 nonzero exponents with absolute value below 0x1p-128 to +/-
6236 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6238 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6240 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6242 * posix/getconf-speclist.c: New file.
6243 * posix/posix-envs.def: Likewise.
6244 * posix/confstr.c (START_ENV_GROUP): New macro.
6245 (END_ENV_GROUP): Likewise.
6246 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6247 (KNOWN_PRESENT_ENV_STRING): Likewise.
6248 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6249 (UNKNOWN_ENVIRONMENT): Likewise.
6250 (confstr): Include posix-envs.def instead of handling
6251 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6252 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6253 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6254 (END_ENV_GROUP): Likewise.
6255 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6256 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6257 (UNKNOWN_ENVIRONMENT): Likewise.
6258 (__sysconf): Include posix-envs.def instead of handling associated
6259 cases directly here.
6260 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6261 preprocessing getconf-speclist.c rather than running getconf or
6262 generating empty file.
6264 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6266 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6268 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6271 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6273 2012-11-16 David S. Miller <davem@davemloft.net>
6275 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6276 smaller than LDBL_EPSILON/2.0L, just return xm1.
6278 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6280 * elf/tst-array1.c (init): Set constructor priority to 1000.
6281 (fini): Set destructor priority to 1000.
6282 * elf/tst-array2dep.c: Likewise.
6284 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6287 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6288 (_IO_new_file_xsputn): Also return EOF if none of the input
6289 data was written when overflow failed.
6290 * libio/iopadn.c (_IO_padn): Likewise.
6291 * libio/iowpadn.c (_IO_wpadn): Likewise.
6292 * stdio-common/tst-put-error.c: Add copyright notice.
6293 (do_test): Add case for printing padded string.
6294 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6295 _IO_padn returned error.
6296 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6297 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6300 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6302 * libio/libioP.h: Add comment note that the references to C++
6303 bits are now obsolete.
6305 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6307 * math/libm-test.inc (check_complex): Use asprintf.
6309 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6311 * debug/pcprofiledump.c (print_version): Update copyright year.
6312 * malloc/memusagestat.c (print_version): Likewise.
6314 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6317 * elf/Makefile (tests): Add tst-audit8.
6318 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6319 ($(objpfx)tst-audit8.out): New target.
6320 (tst-audit8-ENV): New variable.
6321 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6322 audit if l_reloc_result is NULL.
6323 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6324 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6325 * elf/tst-audit8.c: New file.
6327 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6329 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6330 * misc/Makefile (CFLAGS-select.c): Define.
6331 * posix/Makefile (CFLAGS-pause.c): Define.
6333 2012-11-13 David S. Miller <davem@davemloft.net>
6335 * crypt/Makefile: Move test targets after toplevel Rules
6336 inclusion. Grab any necessary sysdep routines when linking.
6337 * crypt/md5.c (md5_process_block): Remove define, we will always
6338 name it __md5_process_block.
6339 (md5_finish_ctx): Update md5_process_block call.
6340 (md5_stream): Likewise.
6341 (md5_process_bytes): Likewise.
6342 (md5_process_block): Rename to __md5_process_block and move to ...
6343 * crypt/md5-block.c: ... here.
6344 * crypt/sha256.c (sha256_process_block): Move to ...
6345 * crypt/sha256-block.c: ... here.
6346 * crypt/sha512.c (sha512_process_block): Move to ...
6347 * crypt/sha512-block.c: ... here.
6348 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6350 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6351 * sysdeps/sparc/sparc64/multiarch/Makefile
6352 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6354 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6355 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6357 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6358 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6359 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6360 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6361 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6362 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6363 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6364 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6365 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6367 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6368 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6370 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6372 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6374 * timezone/tzselect.ksh: Update from tzcode git revision
6375 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6376 * timezone/zdump.c: Likewise.
6377 * timezone/zic.c: Likewise.
6378 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6379 in TZVERSION setting, not $(PKGVERSION).
6380 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6381 REPORT_BUGS_TO settings.
6384 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6387 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6389 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6390 detection to immediately after _FP_ROUND().
6391 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6394 2012-11-11 David S. Miller <davem@davemloft.net>
6396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6398 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6399 __close rather than their public counterparts.
6401 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6403 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6405 [UNIX98] (sem_timedwait): Do not expect.
6406 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6407 [XPG4 || UNIX98] (sockatmark): Do not expect.
6408 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6409 (clock_getcpuclockid): Do not expect.
6410 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6411 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6413 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6414 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6415 [UNIX98] (vwscanf): Likewise.
6416 [UNIX98] (vswscanf): Likewise.
6418 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6420 * timezone/version.h: Remove file.
6421 * timezone/README: Do not refer to version.h.
6422 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6424 ($(objpfx)zdump.o): Likewise.
6425 ($(objpfx)version.h): New target.
6427 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6429 * timezone/README: Don't mention modification to tzselect.ksh.
6430 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6431 work on unmodified tzselect.ksh. Substitute version numbers in
6434 * Makefile (format-me): Remove.
6435 (INSTALL): Adjust indentation. Use commands directly instead of
6438 * aclocal.m4 (ACX_PKGVERSION): New macro.
6439 (ACX_BUGURL): Likewise.
6440 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6441 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6442 (REPORT_BUGS_TO): Likewise.
6443 * configure: Regenerated.
6444 * config.h.in (PKGVERSION): New macro.
6445 (REPORT_BUGS_TO): Likewise.
6446 * config.make.in (PKGVERSION): New variable.
6447 (PKGVERSION_TEXI): Likewise.
6448 (REPORT_BUGS_TO): Likewise.
6449 (REPORT_BUGS_TEXI): Likewise.
6450 * Makefile (format-me): Use -I$(common-objpfx)manual.
6451 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6452 ($(common-objpfx)manual/%): New target.
6453 (manual/%): Remove target.
6454 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6455 (print_version): Use PKGVERSION.
6456 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6457 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6459 ($(objpfx)xtrace): Likewise.
6460 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6461 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6462 (print_version): Use PKGVERSION.
6463 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6464 (do_version): Use PKGVERSION.
6465 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6467 (common-ldd-rewrite): Likewise.
6468 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6469 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6470 (print_version): Use PKGVERSION.
6471 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6472 * elf/pldd.c (argp_program_bug_address): Remove variable.
6473 (more_help): New function.
6474 (argp): Use more_help.
6475 (print_version): Use PKGVERSION.
6476 * elf/sln.c (main): Use PKGVERSION.
6477 (usage): Use REPORT_BUGS_TO.
6478 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6479 (top level): Use PKGVERSION.
6480 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6481 (print_version): Use PKGVERSION.
6482 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6483 (print_version): Use PKGVERSION.
6484 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6485 (print_version): Use PKGVERSION.
6486 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6487 (print_version): Use PKGVERSION.
6488 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6489 (print_version): Use PKGVERSION.
6490 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6491 (print_version): Use PKGVERSION.
6492 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6494 ($(objpfx)memusage): Likewise.
6495 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6496 (do_version): Use PKGVERSION.
6497 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6498 (print_version): Use PKGVERSION.
6499 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6500 ($PKGVERSION): New variable.
6501 ($REPORT_BUGS_TO): Likewise.
6502 (usage): Use $REPORT_BUGS_TO.
6503 (top level): Use $PKGVERSION.
6504 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6505 ($(objpfx)pkgvers.texi): New rule.
6506 ($(objpfx)stamp-pkgvers): Likewise.
6507 * manual/install.texi: Include pkgvers.texi.
6508 (--with-pkgversion): Document new configure option.
6509 (--with-bugurl): Likewise.
6510 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6511 than necessarily for this particular distribution. Use
6512 REPORT_BUGS_TO for where to report bugs.
6513 * INSTALL: Regenerated.
6514 * manual/libc.texinfo: Include pkgvers.texi.
6515 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6516 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6517 (print_version): Use PKGVERSION.
6518 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6519 (print_version): Use PKGVERSION.
6520 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6521 (print_version): Use PKGVERSION.
6522 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6523 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6525 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6526 (print_version): Use PKGVERSION.
6527 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6528 (print_version): Use PKGVERSION.
6529 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6532 * timezone/checktab.awk: Update from tzcode 2012i.
6533 * timezone/ialloc.c: Likewise.
6534 * timezone/private.h: Likewise.
6535 * timezone/scheck.c: Likewise.
6536 * timezone/tzfile.h: Likewise.
6537 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6538 (TZVERSION): Hardcode tzcode version number.
6539 * timezone/zdump.c: Update from tzcode 2012i.
6540 * timezone/zic.c: Likewise.
6541 * timezone/version.h: New file.
6542 * timezone/README: Describe version.h. Update upstream location.
6545 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6546 (mktemp): Enable declaration.
6547 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6548 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6549 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6550 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6552 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6556 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6564 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6565 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6566 for copies of such integer values.
6567 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6568 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6570 2012-11-09 Andreas Jaeger <aj@suse.de>
6572 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6573 definitions and declarations that are provided by
6574 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6576 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6578 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6579 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6580 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6583 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6585 * elf/elf.h: Update comment before AArch64 relocations.
6587 2012-11-07 David S. Miller <davem@davemloft.net>
6589 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6590 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6591 (__start_context): Declare.
6592 (__makecontext_ret): Delete.
6593 (__makecontext): Hook up __start_context instead of
6595 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6596 (sysdep_routines): Add __start_context when in stdlib.
6598 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6600 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6601 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6602 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6604 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6605 (READELF): New variable. Use it instead of hardcoded "readelf".
6607 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6609 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6610 * sysdeps/x86/Makefile: Here.
6611 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6612 * sysdeps/x86/tst-xmmymm.sh: This.
6614 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6616 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6618 [UNIX98] (pthread_barrier_t): Do not expect.
6619 [UNIX98] (pthread_barrierattr_t): Likewise.
6620 [UNIX98] (pthread_spinlock_t): Likewise.
6621 [UNIX98] (pthread_barrier_destroy): Likewise.
6622 [UNIX98] (pthread_barrier_init): Likewise.
6623 [UNIX98] (pthread_barrier_wait): Likewise.
6624 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6625 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6626 [UNIX98] (pthread_barrierattr_init): Likewise.
6627 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6628 [UNIX98] (pthread_getcpuclockid): Likewise.
6629 [UNIX98] (pthread_mutex_timedlock): Likewise.
6630 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6631 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6632 [UNIX98] (pthread_sigmask): Likewise.
6633 [UNIX98] (pthread_spin_destroy): Likewise.
6634 [UNIX98] (pthread_spin_init): Likewise.
6635 [UNIX98] (pthread_spin_lock): Likewise.
6636 [UNIX98] (pthread_spin_trylock): Likewise.
6637 [UNIX98] (pthread_spin_unlock): Likewise.
6638 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6640 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6641 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6642 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6643 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6644 [XPG3 || XPG4] (pthread_key_t): Likewise.
6645 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6646 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6647 [XPG3 || XPG4] (pthread_once_t): Likewise.
6648 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6649 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6650 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6651 [XPG3 || XPG4] (pthread_t): Likewise.
6653 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6655 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6657 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6658 Change function return type to int.
6660 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6661 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6662 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6663 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6664 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6665 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6666 [!POSIX] (posix_madvise): Likewise.
6667 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6669 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6670 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6672 (posix_mem_offset): Likewise.
6673 (posix_typed_mem_get_info): Likewise.
6674 (posix_typed_mem_open): Likewise.
6676 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6677 Change condition to [XOPEN2K8].
6679 * conform/conformtest.pl: Preprocess allow-header data with -x c
6680 instead of from stdin.
6681 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6682 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6683 [C99-based standards] (cerfc): Likewise.
6684 [C99-based standards] (cexp2): Likewise.
6685 [C99-based standards] (cexpm1): Likewise.
6686 [C99-based standards] (clog10): Likewise.
6687 [C99-based standards] (clog1p): Likewise.
6688 [C99-based standards] (clog2): Likewise.
6689 [C99-based standards] (clgamma): Likewise.
6690 [C99-based standards] (ctgamma): Likewise.
6691 [C99-based standards] (cerff): Likewise.
6692 [C99-based standards] (cerfcf): Likewise.
6693 [C99-based standards] (cexp2f): Likewise.
6694 [C99-based standards] (cexpm1f): Likewise.
6695 [C99-based standards] (clog10f): Likewise.
6696 [C99-based standards] (clog1pf): Likewise.
6697 [C99-based standards] (clog2f): Likewise.
6698 [C99-based standards] (clgammaf): Likewise.
6699 [C99-based standards] (ctgammaf): Likewise.
6700 [C99-based standards] (cerfl): Likewise.
6701 [C99-based standards] (cerfcl): Likewise.
6702 [C99-based standards] (cexp2l): Likewise.
6703 [C99-based standards] (cexpm1l): Likewise.
6704 [C99-based standards] (clog10l): Likewise.
6705 [C99-based standards] (clog1pl): Likewise.
6706 [C99-based standards] (clog2l): Likewise.
6707 [C99-based standards] (clgammal): Likewise.
6708 [C99-based standards] (ctgammal): Likewise.
6709 * conform/data/inttypes.h-data [C99-based standards]: Include
6710 stdint.h-data. Remove all expectations for stdint.h contents.
6711 [C99-based standards] (PRI*): Do not allow.
6712 [C99-based standards] (SCN*): Likewise.
6713 [C99-based standards] (*_t): Likewise.
6714 [C99-based-standards] (PRId8): Expect macro.
6715 [C99-based-standards] (PRIi8): Likewise.
6716 [C99-based-standards] (PRIo8): Likewise.
6717 [C99-based-standards] (PRIu8): Likewise.
6718 [C99-based-standards] (PRIx8): Likewise.
6719 [C99-based-standards] (PRIX8): Likewise.
6720 [C99-based-standards] (SCNd8): Likewise.
6721 [C99-based-standards] (SCNi8): Likewise.
6722 [C99-based-standards] (SCNo8): Likewise.
6723 [C99-based-standards] (SCNu8): Likewise.
6724 [C99-based-standards] (SCNx8): Likewise.
6725 [C99-based-standards] (PRIdLEAST8): Likewise.
6726 [C99-based-standards] (PRIiLEAST8): Likewise.
6727 [C99-based-standards] (PRIoLEAST8): Likewise.
6728 [C99-based-standards] (PRIuLEAST8): Likewise.
6729 [C99-based-standards] (PRIxLEAST8): Likewise.
6730 [C99-based-standards] (PRIXLEAST8): Likewise.
6731 [C99-based-standards] (SCNdLEAST8): Likewise.
6732 [C99-based-standards] (SCNiLEAST8): Likewise.
6733 [C99-based-standards] (SCNoLEAST8): Likewise.
6734 [C99-based-standards] (SCNuLEAST8): Likewise.
6735 [C99-based-standards] (SCNxLEAST8): Likewise.
6736 [C99-based-standards] (PRIdFAST8): Likewise.
6737 [C99-based-standards] (PRIiFAST8): Likewise.
6738 [C99-based-standards] (PRIoFAST8): Likewise.
6739 [C99-based-standards] (PRIuFAST8): Likewise.
6740 [C99-based-standards] (PRIxFAST8): Likewise.
6741 [C99-based-standards] (PRIXFAST8): Likewise.
6742 [C99-based-standards] (SCNdFAST8): Likewise.
6743 [C99-based-standards] (SCNiFAST8): Likewise.
6744 [C99-based-standards] (SCNoFAST8): Likewise.
6745 [C99-based-standards] (SCNuFAST8): Likewise.
6746 [C99-based-standards] (SCNxFAST8): Likewise.
6747 [C99-based-standards] (PRId16): Likewise.
6748 [C99-based-standards] (PRIi16): Likewise.
6749 [C99-based-standards] (PRIo16): Likewise.
6750 [C99-based-standards] (PRIu16): Likewise.
6751 [C99-based-standards] (PRIx16): Likewise.
6752 [C99-based-standards] (PRIX16): Likewise.
6753 [C99-based-standards] (SCNd16): Likewise.
6754 [C99-based-standards] (SCNi16): Likewise.
6755 [C99-based-standards] (SCNo16): Likewise.
6756 [C99-based-standards] (SCNu16): Likewise.
6757 [C99-based-standards] (SCNx16): Likewise.
6758 [C99-based-standards] (PRIdLEAST16): Likewise.
6759 [C99-based-standards] (PRIiLEAST16): Likewise.
6760 [C99-based-standards] (PRIoLEAST16): Likewise.
6761 [C99-based-standards] (PRIuLEAST16): Likewise.
6762 [C99-based-standards] (PRIxLEAST16): Likewise.
6763 [C99-based-standards] (PRIXLEAST16): Likewise.
6764 [C99-based-standards] (SCNdLEAST16): Likewise.
6765 [C99-based-standards] (SCNiLEAST16): Likewise.
6766 [C99-based-standards] (SCNoLEAST16): Likewise.
6767 [C99-based-standards] (SCNuLEAST16): Likewise.
6768 [C99-based-standards] (SCNxLEAST16): Likewise.
6769 [C99-based-standards] (PRIdFAST16): Likewise.
6770 [C99-based-standards] (PRIiFAST16): Likewise.
6771 [C99-based-standards] (PRIoFAST16): Likewise.
6772 [C99-based-standards] (PRIuFAST16): Likewise.
6773 [C99-based-standards] (PRIxFAST16): Likewise.
6774 [C99-based-standards] (PRIXFAST16): Likewise.
6775 [C99-based-standards] (SCNdFAST16): Likewise.
6776 [C99-based-standards] (SCNiFAST16): Likewise.
6777 [C99-based-standards] (SCNoFAST16): Likewise.
6778 [C99-based-standards] (SCNuFAST16): Likewise.
6779 [C99-based-standards] (SCNxFAST16): Likewise.
6780 [C99-based-standards] (PRId32): Likewise.
6781 [C99-based-standards] (PRIi32): Likewise.
6782 [C99-based-standards] (PRIo32): Likewise.
6783 [C99-based-standards] (PRIu32): Likewise.
6784 [C99-based-standards] (PRIx32): Likewise.
6785 [C99-based-standards] (PRIX32): Likewise.
6786 [C99-based-standards] (SCNd32): Likewise.
6787 [C99-based-standards] (SCNi32): Likewise.
6788 [C99-based-standards] (SCNo32): Likewise.
6789 [C99-based-standards] (SCNu32): Likewise.
6790 [C99-based-standards] (SCNx32): Likewise.
6791 [C99-based-standards] (PRIdLEAST32): Likewise.
6792 [C99-based-standards] (PRIiLEAST32): Likewise.
6793 [C99-based-standards] (PRIoLEAST32): Likewise.
6794 [C99-based-standards] (PRIuLEAST32): Likewise.
6795 [C99-based-standards] (PRIxLEAST32): Likewise.
6796 [C99-based-standards] (PRIXLEAST32): Likewise.
6797 [C99-based-standards] (SCNdLEAST32): Likewise.
6798 [C99-based-standards] (SCNiLEAST32): Likewise.
6799 [C99-based-standards] (SCNoLEAST32): Likewise.
6800 [C99-based-standards] (SCNuLEAST32): Likewise.
6801 [C99-based-standards] (SCNxLEAST32): Likewise.
6802 [C99-based-standards] (PRIdFAST32): Likewise.
6803 [C99-based-standards] (PRIiFAST32): Likewise.
6804 [C99-based-standards] (PRIoFAST32): Likewise.
6805 [C99-based-standards] (PRIuFAST32): Likewise.
6806 [C99-based-standards] (PRIxFAST32): Likewise.
6807 [C99-based-standards] (PRIXFAST32): Likewise.
6808 [C99-based-standards] (SCNdFAST32): Likewise.
6809 [C99-based-standards] (SCNiFAST32): Likewise.
6810 [C99-based-standards] (SCNoFAST32): Likewise.
6811 [C99-based-standards] (SCNuFAST32): Likewise.
6812 [C99-based-standards] (SCNxFAST32): Likewise.
6813 [C99-based-standards] (PRId64): Likewise.
6814 [C99-based-standards] (PRIi64): Likewise.
6815 [C99-based-standards] (PRIo64): Likewise.
6816 [C99-based-standards] (PRIu64): Likewise.
6817 [C99-based-standards] (PRIx64): Likewise.
6818 [C99-based-standards] (PRIX64): Likewise.
6819 [C99-based-standards] (SCNd64): Likewise.
6820 [C99-based-standards] (SCNi64): Likewise.
6821 [C99-based-standards] (SCNo64): Likewise.
6822 [C99-based-standards] (SCNu64): Likewise.
6823 [C99-based-standards] (SCNx64): Likewise.
6824 [C99-based-standards] (PRIdLEAST64): Likewise.
6825 [C99-based-standards] (PRIiLEAST64): Likewise.
6826 [C99-based-standards] (PRIoLEAST64): Likewise.
6827 [C99-based-standards] (PRIuLEAST64): Likewise.
6828 [C99-based-standards] (PRIxLEAST64): Likewise.
6829 [C99-based-standards] (PRIXLEAST64): Likewise.
6830 [C99-based-standards] (SCNdLEAST64): Likewise.
6831 [C99-based-standards] (SCNiLEAST64): Likewise.
6832 [C99-based-standards] (SCNoLEAST64): Likewise.
6833 [C99-based-standards] (SCNuLEAST64): Likewise.
6834 [C99-based-standards] (SCNxLEAST64): Likewise.
6835 [C99-based-standards] (PRIdFAST64): Likewise.
6836 [C99-based-standards] (PRIiFAST64): Likewise.
6837 [C99-based-standards] (PRIoFAST64): Likewise.
6838 [C99-based-standards] (PRIuFAST64): Likewise.
6839 [C99-based-standards] (PRIxFAST64): Likewise.
6840 [C99-based-standards] (PRIXFAST64): Likewise.
6841 [C99-based-standards] (SCNdFAST64): Likewise.
6842 [C99-based-standards] (SCNiFAST64): Likewise.
6843 [C99-based-standards] (SCNoFAST64): Likewise.
6844 [C99-based-standards] (SCNuFAST64): Likewise.
6845 [C99-based-standards] (SCNxFAST64): Likewise.
6846 [C99-based-standards] (PRIdMAX): Likewise.
6847 [C99-based-standards] (PRIiMAX): Likewise.
6848 [C99-based-standards] (PRIoMAX): Likewise.
6849 [C99-based-standards] (PRIuMAX): Likewise.
6850 [C99-based-standards] (PRIxMAX): Likewise.
6851 [C99-based-standards] (PRIXMAX): Likewise.
6852 [C99-based-standards] (SCNdMAX): Likewise.
6853 [C99-based-standards] (SCNiMAX): Likewise.
6854 [C99-based-standards] (SCNoMAX): Likewise.
6855 [C99-based-standards] (SCNuMAX): Likewise.
6856 [C99-based-standards] (SCNxMAX): Likewise.
6857 [C99-based-standards] (PRIdPTR): Likewise.
6858 [C99-based-standards] (PRIiPTR): Likewise.
6859 [C99-based-standards] (PRIoPTR): Likewise.
6860 [C99-based-standards] (PRIuPTR): Likewise.
6861 [C99-based-standards] (PRIxPTR): Likewise.
6862 [C99-based-standards] (PRIXPTR): Likewise.
6863 [C99-based-standards] (SCNdPTR): Likewise.
6864 [C99-based-standards] (SCNiPTR): Likewise.
6865 [C99-based-standards] (SCNoPTR): Likewise.
6866 [C99-based-standards] (SCNuPTR): Likewise.
6867 [C99-based-standards] (SCNxPTR): Likewise.
6868 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6870 * conform/data/stdint.h-data: Update comments to clarify
6872 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6874 [C99-based standards] (INT8_MAX): Likewise.
6875 [C99-based standards] (INT16_MIN): Likewise.
6876 [C99-based standards] (INT16_MAX): Likewise.
6877 [C99-based standards] (INT32_MIN): Likewise.
6878 [C99-based standards] (INT32_MAX): Likewise.
6879 [C99-based standards] (INT64_MIN): Likewise.
6880 [C99-based standards] (INT64_MAX): Likewise.
6881 [C99-based standards] (UINT8_MAX): Likewise.
6882 [C99-based standards] (UINT16_MAX): Likewise.
6883 [C99-based standards] (UINT32_MAX): Likewise.
6884 [C99-based standards] (UINT64_MAX): Likewise.
6885 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6886 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6887 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6888 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6889 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6890 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6891 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6892 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6893 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6894 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6895 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6896 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6897 [C99-based standards] (INT_FAST8_MIN): Likewise.
6898 [C99-based standards] (INT_FAST8_MAX): Likewise.
6899 [C99-based standards] (INT_FAST16_MIN): Likewise.
6900 [C99-based standards] (INT_FAST16_MAX): Likewise.
6901 [C99-based standards] (INT_FAST32_MIN): Likewise.
6902 [C99-based standards] (INT_FAST32_MAX): Likewise.
6903 [C99-based standards] (INT_FAST64_MIN): Likewise.
6904 [C99-based standards] (INT_FAST64_MAX): Likewise.
6905 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6906 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6907 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6908 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6909 [C99-based standards] (INTPTR_MIN): Likewise.
6910 [C99-based standards] (INTPTR_MAX): Likewise.
6911 [C99-based standards] (UINTPTR_MAX): Likewise.
6912 [C99-based standards] (INTMAX_MIN): Likewise.
6913 [C99-based standards] (INTMAX_MAX): Likewise.
6914 [C99-based standards] (UINTMAX_MAX): Likewise.
6915 [C99-based standards] (PTRDIFF_MIN): Likewise.
6916 [C99-based standards] (PTRDIFF_MAX): Likewise.
6917 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6918 [C99-based standards] (SIZE_MAX): Likewise.
6919 [C99-based standards] (WCHAR_MAX): Likewise.
6920 [C99-based standards] (WINT_MAX): Likewise.
6921 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6922 constraint on value.
6923 [C99-based standards] (WCHAR_MIN): Likewise.
6924 [C99-based standards] (WINT_MIN): Likewise.
6925 [C99-based standards] (*_t): Allow.
6926 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6927 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6928 Include math.h-data and complex.h-data. Remove all expectations
6929 of math.h and complex.h contents.
6930 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6932 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6933 (struct tm): Expect tag.
6934 [C99-based-standards] (wcstof): Expect function.
6935 [C99-based-standards] (wcstold): Likewise.
6936 [C99-based-standards] (wcstoll): Likewise.
6937 [C99-based-standards] (wcstoull): Likewise.
6938 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6939 macro-int-constant. Specify type.
6940 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6941 constraint on value.
6942 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6944 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6946 [ISO C standards]: Do not allow headers.
6947 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6948 wcs[abcdefghijklmnopqrstuvwxyz]*.
6949 [ISO C standards] (*_t): Do not allow.
6950 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6952 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6953 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6955 [ISO C standards]: Do not allow headers.
6956 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6957 is[abcdefghijklmnopqrstuvwxyz]*.
6958 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6959 to[abcdefghijklmnopqrstuvwxyz]*.
6960 [ISO C standards] (*_t): Do not allow.
6961 * conform/data/stdalign.h-data: New file.
6962 * conform/data/stdbool.h-data: Likewise.
6963 * conform/data/stdnoreturn.h-data: Likewise.
6965 2012-11-07 Roland McGrath <roland@hack.frob.com>
6968 * manual/filesys.texi (Directory Entries): Typo fix.
6969 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6971 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6973 * elf/elf.h (EM_AARCH64): New macro.
6974 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6975 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6976 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6977 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6978 (R_AARCH64_TLSDESC): Likewise.
6979 (NT_ARM_TLS): Likewise.
6980 (NT_ARM_HW_BREAK): Likewise.
6981 (NT_ARM_HW_WATCH): Likewise.
6983 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6986 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6987 (__ieee754_powl): Saturate nonzero exponents with absolute value
6988 below 0x1p-79 to +/- 0x1p-79.
6989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6990 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6991 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6992 nonzero exponents with absolute value below 0x1p-32 to +/-
6994 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6995 (__ieee754_powl): Saturate nonzero exponents with absolute value
6996 below 0x1p-79 to +/- 0x1p-79.
6997 * math/libm-test.inc (pow_test): Add more tests.
6999 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7001 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7002 _dl_s390_cap_flags with kernel. Increase string length.
7003 (_dl_s390_platforms): Add z196 and zEC12.
7005 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7007 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7008 Change XOPEN21K to XOPEN2K.
7010 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7012 * string/memmove.c: Use memcpy when possible.
7014 2012-11-06 Andreas Jaeger <aj@suse.de>
7016 * po/eo.po: Update from translation team.
7018 2012-11-06 Joseph Myers <joseph@codesourcery.com>
7021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7022 exponent and small x and y exponents, scale x or y up. Increase
7023 by 2 the exponent used in scaling up.
7024 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7025 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7026 * math/libm-test.inc (fma_test): Add more tests.
7027 (fma_test_towardzero): Likewise.
7028 (fma_test_downward): Likewise.
7029 (fma_test_upward): Likewise.
7031 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7034 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7038 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7039 namespace for names of struct fields.
7040 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7042 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7043 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7045 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7048 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7050 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7052 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7056 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7059 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7063 definitely overflow as x * y not x * y + z.
7064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7066 * math/libm-test.inc (fma_test): Add more tests.
7067 (fma_test_towardzero): Likewise.
7068 (fma_test_downward): Likewise.
7069 (fma_test_upward): Likewise.
7071 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7075 * include/stub-tag.h: Remove file.
7076 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7078 * manual/maint.texi (Porting): Don't reference it.
7079 * Makerules ($(objpfx)stubs): Likewise.
7080 * dirent/closedir.c: Don't include <stub-tag.h>.
7081 * dirent/dirfd.c: Likewise.
7082 * dirent/fdopendir.c: Likewise.
7083 * dirent/getdents.c: Likewise.
7084 * dirent/getdents64.c: Likewise.
7085 * dirent/opendir.c: Likewise.
7086 * dirent/readdir.c: Likewise.
7087 * dirent/readdir64.c: Likewise.
7088 * dirent/readdir64_r.c: Likewise.
7089 * dirent/readdir_r.c: Likewise.
7090 * dirent/rewinddir.c: Likewise.
7091 * dirent/seekdir.c: Likewise.
7092 * dirent/telldir.c: Likewise.
7093 * gmon/profil.c: Likewise.
7094 * grp/setgroups.c: Likewise.
7095 * inet/if_index.c: Likewise.
7096 * io/access.c: Likewise.
7097 * io/chdir.c: Likewise.
7098 * io/chmod.c: Likewise.
7099 * io/chown.c: Likewise.
7100 * io/close.c: Likewise.
7101 * io/dup.c: Likewise.
7102 * io/dup2.c: Likewise.
7103 * io/dup3.c: Likewise.
7104 * io/euidaccess.c: Likewise.
7105 * io/faccessat.c: Likewise.
7106 * io/fchdir.c: Likewise.
7107 * io/fchmod.c: Likewise.
7108 * io/fchmodat.c: Likewise.
7109 * io/fchown.c: Likewise.
7110 * io/fchownat.c: Likewise.
7111 * io/fcntl.c: Likewise.
7112 * io/flock.c: Likewise.
7113 * io/fstatfs.c: Likewise.
7114 * io/fstatfs64.c: Likewise.
7115 * io/fstatvfs.c: Likewise.
7116 * io/fstatvfs64.c: Likewise.
7117 * io/futimens.c: Likewise.
7118 * io/fxstat.c: Likewise.
7119 * io/fxstat64.c: Likewise.
7120 * io/fxstatat.c: Likewise.
7121 * io/fxstatat64.c: Likewise.
7122 * io/getcwd.c: Likewise.
7123 * io/isatty.c: Likewise.
7124 * io/lchmod.c: Likewise.
7125 * io/lchown.c: Likewise.
7126 * io/link.c: Likewise.
7127 * io/linkat.c: Likewise.
7128 * io/lseek.c: Likewise.
7129 * io/lseek64.c: Likewise.
7130 * io/lxstat64.c: Likewise.
7131 * io/mkdir.c: Likewise.
7132 * io/mkdirat.c: Likewise.
7133 * io/mkfifo.c: Likewise.
7134 * io/mkfifoat.c: Likewise.
7135 * io/open.c: Likewise.
7136 * io/open64.c: Likewise.
7137 * io/openat.c: Likewise.
7138 * io/openat64.c: Likewise.
7139 * io/pipe.c: Likewise.
7140 * io/pipe2.c: Likewise.
7141 * io/poll.c: Likewise.
7142 * io/posix_fadvise.c: Likewise.
7143 * io/posix_fadvise64.c: Likewise.
7144 * io/posix_fallocate.c: Likewise.
7145 * io/posix_fallocate64.c: Likewise.
7146 * io/read.c: Likewise.
7147 * io/readlink.c: Likewise.
7148 * io/readlinkat.c: Likewise.
7149 * io/rmdir.c: Likewise.
7150 * io/sendfile.c: Likewise.
7151 * io/sendfile64.c: Likewise.
7152 * io/statfs.c: Likewise.
7153 * io/statfs64.c: Likewise.
7154 * io/statvfs.c: Likewise.
7155 * io/statvfs64.c: Likewise.
7156 * io/symlink.c: Likewise.
7157 * io/symlinkat.c: Likewise.
7158 * io/ttyname.c: Likewise.
7159 * io/ttyname_r.c: Likewise.
7160 * io/umask.c: Likewise.
7161 * io/unlink.c: Likewise.
7162 * io/unlinkat.c: Likewise.
7163 * io/utime.c: Likewise.
7164 * io/utimensat.c: Likewise.
7165 * io/write.c: Likewise.
7166 * io/xmknod.c: Likewise.
7167 * io/xmknodat.c: Likewise.
7168 * io/xstat.c: Likewise.
7169 * io/xstat64.c: Likewise.
7170 * login/getpt.c: Likewise.
7171 * login/grantpt.c: Likewise.
7172 * login/unlockpt.c: Likewise.
7173 * math/e_acoshl.c: Likewise.
7174 * math/e_acosl.c: Likewise.
7175 * math/e_asinl.c: Likewise.
7176 * math/e_atan2l.c: Likewise.
7177 * math/e_atanhl.c: Likewise.
7178 * math/e_coshl.c: Likewise.
7179 * math/e_expl.c: Likewise.
7180 * math/e_fmodl.c: Likewise.
7181 * math/e_gammal_r.c: Likewise.
7182 * math/e_hypotl.c: Likewise.
7183 * math/e_j0l.c: Likewise.
7184 * math/e_j1l.c: Likewise.
7185 * math/e_jnl.c: Likewise.
7186 * math/e_lgammal_r.c: Likewise.
7187 * math/e_log10l.c: Likewise.
7188 * math/e_log2l.c: Likewise.
7189 * math/e_logl.c: Likewise.
7190 * math/e_powl.c: Likewise.
7191 * math/e_rem_pio2l.c: Likewise.
7192 * math/e_sinhl.c: Likewise.
7193 * math/e_sqrtl.c: Likewise.
7194 * math/fclrexcpt.c: Likewise.
7195 * math/fedisblxcpt.c: Likewise.
7196 * math/feenablxcpt.c: Likewise.
7197 * math/fegetenv.c: Likewise.
7198 * math/fegetexcept.c: Likewise.
7199 * math/fegetround.c: Likewise.
7200 * math/feholdexcpt.c: Likewise.
7201 * math/fesetenv.c: Likewise.
7202 * math/fesetround.c: Likewise.
7203 * math/feupdateenv.c: Likewise.
7204 * math/fgetexcptflg.c: Likewise.
7205 * math/fraiseexcpt.c: Likewise.
7206 * math/fsetexcptflg.c: Likewise.
7207 * math/ftestexcept.c: Likewise.
7208 * math/k_cosl.c: Likewise.
7209 * math/k_rem_pio2l.c: Likewise.
7210 * math/k_sinl.c: Likewise.
7211 * math/k_tanl.c: Likewise.
7212 * math/s_asinhl.c: Likewise.
7213 * math/s_atanl.c: Likewise.
7214 * math/s_cbrtl.c: Likewise.
7215 * math/s_erfl.c: Likewise.
7216 * math/s_expm1l.c: Likewise.
7217 * math/s_log1pl.c: Likewise.
7218 * math/s_tanhl.c: Likewise.
7219 * misc/acct.c: Likewise.
7220 * misc/brk.c: Likewise.
7221 * misc/chflags.c: Likewise.
7222 * misc/chroot.c: Likewise.
7223 * misc/fchflags.c: Likewise.
7224 * misc/fgetxattr.c: Likewise.
7225 * misc/flistxattr.c: Likewise.
7226 * misc/fremovexattr.c: Likewise.
7227 * misc/fsetxattr.c: Likewise.
7228 * misc/fsync.c: Likewise.
7229 * misc/ftruncate.c: Likewise.
7230 * misc/futimes.c: Likewise.
7231 * misc/futimesat.c: Likewise.
7232 * misc/getdomain.c: Likewise.
7233 * misc/getdtsz.c: Likewise.
7234 * misc/gethostid.c: Likewise.
7235 * misc/gethostname.c: Likewise.
7236 * misc/getloadavg.c: Likewise.
7237 * misc/getpagesize.c: Likewise.
7238 * misc/getsysstats.c: Likewise.
7239 * misc/getxattr.c: Likewise.
7240 * misc/gtty.c: Likewise.
7241 * misc/ioctl.c: Likewise.
7242 * misc/lgetxattr.c: Likewise.
7243 * misc/listxattr.c: Likewise.
7244 * misc/llistxattr.c: Likewise.
7245 * misc/lremovexattr.c: Likewise.
7246 * misc/lsetxattr.c: Likewise.
7247 * misc/lutimes.c: Likewise.
7248 * misc/madvise.c: Likewise.
7249 * misc/mincore.c: Likewise.
7250 * misc/mlock.c: Likewise.
7251 * misc/mlockall.c: Likewise.
7252 * misc/mmap.c: Likewise.
7253 * misc/mprotect.c: Likewise.
7254 * misc/msync.c: Likewise.
7255 * misc/munlock.c: Likewise.
7256 * misc/munlockall.c: Likewise.
7257 * misc/munmap.c: Likewise.
7258 * misc/preadv.c: Likewise.
7259 * misc/preadv64.c: Likewise.
7260 * misc/ptrace.c: Likewise.
7261 * misc/pwritev.c: Likewise.
7262 * misc/pwritev64.c: Likewise.
7263 * misc/readv.c: Likewise.
7264 * misc/reboot.c: Likewise.
7265 * misc/remap_file_pages.c: Likewise.
7266 * misc/removexattr.c: Likewise.
7267 * misc/revoke.c: Likewise.
7268 * misc/select.c: Likewise.
7269 * misc/setdomain.c: Likewise.
7270 * misc/setegid.c: Likewise.
7271 * misc/seteuid.c: Likewise.
7272 * misc/sethostid.c: Likewise.
7273 * misc/sethostname.c: Likewise.
7274 * misc/setregid.c: Likewise.
7275 * misc/setreuid.c: Likewise.
7276 * misc/setxattr.c: Likewise.
7277 * misc/sstk.c: Likewise.
7278 * misc/stty.c: Likewise.
7279 * misc/swapoff.c: Likewise.
7280 * misc/swapon.c: Likewise.
7281 * misc/sync.c: Likewise.
7282 * misc/syncfs.c: Likewise.
7283 * misc/syscall.c: Likewise.
7284 * misc/truncate.c: Likewise.
7285 * misc/ualarm.c: Likewise.
7286 * misc/usleep.c: Likewise.
7287 * misc/ustat.c: Likewise.
7288 * misc/utimes.c: Likewise.
7289 * misc/vhangup.c: Likewise.
7290 * misc/writev.c: Likewise.
7291 * posix/_exit.c: Likewise.
7292 * posix/alarm.c: Likewise.
7293 * posix/execve.c: Likewise.
7294 * posix/fexecve.c: Likewise.
7295 * posix/fork.c: Likewise.
7296 * posix/fpathconf.c: Likewise.
7297 * posix/getaddrinfo.c: Likewise.
7298 * posix/getegid.c: Likewise.
7299 * posix/geteuid.c: Likewise.
7300 * posix/getgid.c: Likewise.
7301 * posix/getgroups.c: Likewise.
7302 * posix/getlogin.c: Likewise.
7303 * posix/getlogin_r.c: Likewise.
7304 * posix/getpgid.c: Likewise.
7305 * posix/getpid.c: Likewise.
7306 * posix/getppid.c: Likewise.
7307 * posix/getresgid.c: Likewise.
7308 * posix/getresuid.c: Likewise.
7309 * posix/getsid.c: Likewise.
7310 * posix/getuid.c: Likewise.
7311 * posix/glob64.c: Likewise.
7312 * posix/nanosleep.c: Likewise.
7313 * posix/pathconf.c: Likewise.
7314 * posix/pause.c: Likewise.
7315 * posix/posix_madvise.c: Likewise.
7316 * posix/pread.c: Likewise.
7317 * posix/pread64.c: Likewise.
7318 * posix/pwrite.c: Likewise.
7319 * posix/pwrite64.c: Likewise.
7320 * posix/sched_getaffinity.c: Likewise.
7321 * posix/sched_getp.c: Likewise.
7322 * posix/sched_gets.c: Likewise.
7323 * posix/sched_primax.c: Likewise.
7324 * posix/sched_primin.c: Likewise.
7325 * posix/sched_rr_gi.c: Likewise.
7326 * posix/sched_setaffinity.c: Likewise.
7327 * posix/sched_setp.c: Likewise.
7328 * posix/sched_sets.c: Likewise.
7329 * posix/sched_yield.c: Likewise.
7330 * posix/setgid.c: Likewise.
7331 * posix/setlogin.c: Likewise.
7332 * posix/setpgid.c: Likewise.
7333 * posix/setresgid.c: Likewise.
7334 * posix/setresuid.c: Likewise.
7335 * posix/setsid.c: Likewise.
7336 * posix/setuid.c: Likewise.
7337 * posix/sleep.c: Likewise.
7338 * posix/spawni.c: Likewise.
7339 * posix/sysconf.c: Likewise.
7340 * posix/times.c: Likewise.
7341 * posix/wait.c: Likewise.
7342 * posix/wait3.c: Likewise.
7343 * posix/wait4.c: Likewise.
7344 * posix/waitpid.c: Likewise.
7345 * resolv/gai_sigqueue.c: Likewise.
7346 * resource/getpriority.c: Likewise.
7347 * resource/getrlimit.c: Likewise.
7348 * resource/getrusage.c: Likewise.
7349 * resource/nice.c: Likewise.
7350 * resource/setpriority.c: Likewise.
7351 * resource/setrlimit.c: Likewise.
7352 * resource/ulimit.c: Likewise.
7353 * rt/aio_cancel.c: Likewise.
7354 * rt/aio_fsync.c: Likewise.
7355 * rt/aio_read.c: Likewise.
7356 * rt/aio_sigqueue.c: Likewise.
7357 * rt/aio_suspend.c: Likewise.
7358 * rt/aio_write.c: Likewise.
7359 * rt/clock_getres.c: Likewise.
7360 * rt/clock_gettime.c: Likewise.
7361 * rt/clock_nanosleep.c: Likewise.
7362 * rt/clock_settime.c: Likewise.
7363 * rt/lio_listio.c: Likewise.
7364 * rt/mq_close.c: Likewise.
7365 * rt/mq_getattr.c: Likewise.
7366 * rt/mq_notify.c: Likewise.
7367 * rt/mq_open.c: Likewise.
7368 * rt/mq_receive.c: Likewise.
7369 * rt/mq_send.c: Likewise.
7370 * rt/mq_setattr.c: Likewise.
7371 * rt/mq_timedreceive.c: Likewise.
7372 * rt/mq_timedsend.c: Likewise.
7373 * rt/mq_unlink.c: Likewise.
7374 * rt/shm_open.c: Likewise.
7375 * rt/shm_unlink.c: Likewise.
7376 * rt/timer_create.c: Likewise.
7377 * rt/timer_delete.c: Likewise.
7378 * rt/timer_getoverr.c: Likewise.
7379 * rt/timer_gettime.c: Likewise.
7380 * rt/timer_settime.c: Likewise.
7381 * setjmp/__longjmp.c: Likewise.
7382 * setjmp/setjmp.c: Likewise.
7383 * signal/kill.c: Likewise.
7384 * signal/killpg.c: Likewise.
7385 * signal/raise.c: Likewise.
7386 * signal/sigaction.c: Likewise.
7387 * signal/sigaltstack.c: Likewise.
7388 * signal/sigblock.c: Likewise.
7389 * signal/sigignore.c: Likewise.
7390 * signal/sigintr.c: Likewise.
7391 * signal/signal.c: Likewise.
7392 * signal/sigpause.c: Likewise.
7393 * signal/sigpending.c: Likewise.
7394 * signal/sigqueue.c: Likewise.
7395 * signal/sigreturn.c: Likewise.
7396 * signal/sigset.c: Likewise.
7397 * signal/sigsetmask.c: Likewise.
7398 * signal/sigstack.c: Likewise.
7399 * signal/sigsuspend.c: Likewise.
7400 * signal/sigtimedwait.c: Likewise.
7401 * signal/sigvec.c: Likewise.
7402 * signal/sigwait.c: Likewise.
7403 * signal/sigwaitinfo.c: Likewise.
7404 * signal/sysv_signal.c: Likewise.
7405 * socket/accept.c: Likewise.
7406 * socket/accept4.c: Likewise.
7407 * socket/bind.c: Likewise.
7408 * socket/connect.c: Likewise.
7409 * socket/getpeername.c: Likewise.
7410 * socket/getsockname.c: Likewise.
7411 * socket/getsockopt.c: Likewise.
7412 * socket/isfdtype.c: Likewise.
7413 * socket/listen.c: Likewise.
7414 * socket/recv.c: Likewise.
7415 * socket/recvfrom.c: Likewise.
7416 * socket/recvmsg.c: Likewise.
7417 * socket/send.c: Likewise.
7418 * socket/sendmsg.c: Likewise.
7419 * socket/sendto.c: Likewise.
7420 * socket/setsockopt.c: Likewise.
7421 * socket/shutdown.c: Likewise.
7422 * socket/sockatmark.c: Likewise.
7423 * socket/socket.c: Likewise.
7424 * socket/socketpair.c: Likewise.
7425 * stdio-common/ctermid.c: Likewise.
7426 * stdio-common/cuserid.c: Likewise.
7427 * stdio-common/remove.c: Likewise.
7428 * stdio-common/rename.c: Likewise.
7429 * stdio-common/renameat.c: Likewise.
7430 * stdio-common/tempname.c: Likewise.
7431 * stdlib/getcontext.c: Likewise.
7432 * stdlib/makecontext.c: Likewise.
7433 * stdlib/setcontext.c: Likewise.
7434 * stdlib/swapcontext.c: Likewise.
7435 * stdlib/system.c: Likewise.
7436 * streams/fattach.c: Likewise.
7437 * streams/fdetach.c: Likewise.
7438 * streams/getmsg.c: Likewise.
7439 * streams/getpmsg.c: Likewise.
7440 * streams/putmsg.c: Likewise.
7441 * streams/putpmsg.c: Likewise.
7442 * sysdeps/unix/bsd/getpt.c: Likewise.
7443 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7444 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7445 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7448 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7449 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7450 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7451 * sysvipc/msgctl.c: Likewise.
7452 * sysvipc/msgget.c: Likewise.
7453 * sysvipc/msgrcv.c: Likewise.
7454 * sysvipc/msgsnd.c: Likewise.
7455 * sysvipc/semctl.c: Likewise.
7456 * sysvipc/semget.c: Likewise.
7457 * sysvipc/semop.c: Likewise.
7458 * sysvipc/semtimedop.c: Likewise.
7459 * sysvipc/shmat.c: Likewise.
7460 * sysvipc/shmctl.c: Likewise.
7461 * sysvipc/shmdt.c: Likewise.
7462 * sysvipc/shmget.c: Likewise.
7463 * termios/tcdrain.c: Likewise.
7464 * termios/tcflow.c: Likewise.
7465 * termios/tcflush.c: Likewise.
7466 * termios/tcgetattr.c: Likewise.
7467 * termios/tcgetpgrp.c: Likewise.
7468 * termios/tcsendbrk.c: Likewise.
7469 * termios/tcsetattr.c: Likewise.
7470 * termios/tcsetpgrp.c: Likewise.
7471 * time/adjtime.c: Likewise.
7472 * time/clock.c: Likewise.
7473 * time/getitimer.c: Likewise.
7474 * time/gettimeofday.c: Likewise.
7475 * time/setitimer.c: Likewise.
7476 * time/settimeofday.c: Likewise.
7477 * time/stime.c: Likewise.
7478 * time/time.c: Likewise.
7480 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7482 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7485 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7487 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7489 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7493 FE_TONEAREST before applying Dekker multiplication and Knuth
7494 addition. Clear inexact exceptions and check for exact zero
7496 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7497 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7498 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7499 * math/libm-test.inc (fma_test): Add more tests.
7500 (fma_test_towardzero): Likewise.
7501 (fma_test_downward): Likewise.
7502 (fma_test_upward): Likewise.
7503 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7505 (libc_fesetround): New macro.
7506 (libc_fesetroundf): Likewise.
7507 (libc_fesetroundl): Likewise.
7508 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7510 (libc_fesetround_387): Likewise.
7511 (libc_fesetroundf): New macro.
7512 (libc_fesetround): Likewise.
7513 (libc_fesetroundl): Likewise.
7514 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7516 (libc_fesetroundf): New macro.
7517 (libc_fesetround): Likewise.
7518 (libc_fesetroundl): Likewise.
7519 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7520 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7521 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7523 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7524 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7526 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7527 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7529 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7533 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7534 integer constant usable in #if and use that to give value to enum
7536 (FE_DIVBYZERO): Likewise.
7537 (FE_UNDERFLOW): Likewise.
7538 (FE_OVERFLOW): Likewise.
7539 (FE_INVALID): Likewise.
7540 (FE_INVALID_SNAN): Likewise.
7541 (FE_INVALID_ISI): Likewise.
7542 (FE_INVALID_IDI): Likewise.
7543 (FE_INVALID_ZDZ): Likewise.
7544 (FE_INVALID_IMZ): Likewise.
7545 (FE_INVALID_COMPARE): Likewise.
7546 (FE_INVALID_SOFTWARE): Likewise.
7547 (FE_INVALID_SQRT): Likewise.
7548 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7549 (FE_TONEAREST): Likewise.
7550 (FE_TOWARDZERO): Likewise.
7551 (FE_UPWARD): Likewise.
7552 (FE_DOWNWARD): Likewise.
7553 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7554 (FE_DIVBYZERO): Likewise.
7555 (FE_OVERFLOW): Likewise.
7556 (FE_UNDERFLOW): Likewise.
7557 (FE_INEXACT): Likewise.
7558 (FE_TONEAREST): Likewise.
7559 (FE_DOWNWARD): Likewise.
7560 (FE_UPWARD): Likewise.
7561 (FE_TOWARDZERO): Likewise.
7562 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7563 (FE_UNDERFLOW): Likewise.
7564 (FE_OVERFLOW): Likewise.
7565 (FE_DIVBYZERO): Likewise.
7566 (FE_INVALID): Likewise.
7567 (FE_TONEAREST): Likewise.
7568 (FE_TOWARDZERO): Likewise.
7569 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7570 (FE_OVERFLOW): Likewise.
7571 (FE_UNDERFLOW): Likewise.
7572 (FE_DIVBYZERO): Likewise.
7573 (FE_INEXACT): Likewise.
7574 (FE_TONEAREST): Likewise.
7575 (FE_TOWARDZERO): Likewise.
7576 (FE_UPWARD): Likewise.
7577 (FE_DOWNWARD): Likewise.
7578 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7579 (FE_DIVBYZERO): Likewise.
7580 (FE_OVERFLOW): Likewise.
7581 (FE_UNDERFLOW): Likewise.
7582 (FE_INEXACT): Likewise.
7583 (FE_TONEAREST): Likewise.
7584 (FE_DOWNWARD): Likewise.
7585 (FE_UPWARD): Likewise.
7586 (FE_TOWARDZERO): Likewise.
7588 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7590 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7592 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7594 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7595 commands. Quote $PWD.
7596 (blacklist_exports): Don't use remove_newlines. Replace "declare
7598 (remove_newlines): Remove.
7600 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7602 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7603 * stdlib/stdlib.h (atof): Moved to ...
7604 * include/bits/stdlib-float.h: Here. New file.
7605 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7606 * stdlib/bits/stdlib-float.h: New file.
7607 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7609 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7612 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7614 * conform/conformtest.pl (@headers): Add fenv.h.
7615 * conform/data/fenv.h-data: New file.
7616 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7617 include of <math/fenv.h>.
7619 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7620 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7621 && !UNIX98]. Enables tests for XOPEN2K8.
7622 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7623 POSIX2008]: Likewise.
7625 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7626 (struct rusage): Do not expect type or its members.
7629 * math/math.h (FP_NAN): Define macro to integer constant usable in
7630 #if and use that to give value to enum constant.
7631 (FP_INFINITE): Likewise.
7632 (FP_ZERO): Likewise.
7633 (FP_SUBNORMAL): Likewise.
7634 (FP_NORMAL): Likewise.
7636 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7638 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7639 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7642 2012-11-02 Roland McGrath <roland@hack.frob.com>
7644 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7645 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7646 autoconf-time if not.
7647 * configure.in: Remove AC_PREREQ.
7649 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7651 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7652 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7653 of the internal implementation.
7655 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7657 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7658 except include of <misc/sys/syslog.h>.
7660 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7663 function returns with a NULL context exit with zero.
7665 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7667 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7669 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7671 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7672 (run_program_cmd): This.
7673 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7674 (tst_langinfo): New variable. Use it.
7676 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7678 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7679 floating point opcodes.
7681 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7683 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7686 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7688 * sysdeps/mach/hurd/powerpc: Remove directory.
7689 * sysdeps/mach/powerpc: Likewise.
7691 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7693 * scripts/check-local-headers.sh: Ignore c++ headers.
7695 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7697 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7698 __libc_cleanup_region_start argument.
7700 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7705 x * y using scaling, not as x * y + z.
7706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7707 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7708 * math/libm-test.inc (fma_test): Add more tests.
7709 (fma_test_towardzero): Likewise.
7710 (fma_test_downward): Likewise.
7711 (fma_test_upward): Likewise.
7713 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7715 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7717 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7719 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7722 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7724 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7726 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7733 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7736 Fix the order of the list for glibc 2.17.
7737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7740 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7744 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7747 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7748 for low part of x being zero before using __atanl (y).
7749 * math/libm-test.inc (atan2_test): Add another test.
7751 * manual/install.texi (Configuring and compiling): Document
7752 general use of test-wrapper and test-wrapper-env.
7753 * INSTALL: Regenerated.
7755 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7756 (__fma): Do not extract and scale down low bits on after-rounding
7757 systems when result rounded to normal precision would have normal
7759 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7760 (__fmal): Do not extract and scale down low bits on after-rounding
7761 systems when result rounded to normal precision would have normal
7763 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7764 (__fmal): Do not extract and scale down low bits on after-rounding
7765 systems when result rounded to normal precision would have normal
7767 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7769 (fma_test): Add more tests.
7770 (fma_test_towardzero): Likewise.
7771 (fma_test_downward): Likewise.
7772 (fma_test_upward): Likewise.
7774 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7776 * sysdeps/i386/tininess.h: Renamed to ...
7777 * sysdeps/x86/tininess.h: This.
7778 * sysdeps/x86_64/tininess.h: Removed.
7780 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7782 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7783 input. Use $(build-program-cmd).
7784 ($(objpfx)tst-array1-static.out): Likewise.
7785 ($(objpfx)tst-array2.out): Likewise.
7786 ($(objpfx)tst-array3.out): Likewise.
7787 ($(objpfx)tst-array4.out): Likewise.
7788 ($(objpfx)tst-array5.out): Likewise.
7789 ($(objpfx)tst-array5-static.out): Likewise.
7791 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7793 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7796 * nss/nsswitch.h (nss_interface_function): Provide new
7797 macro for use with NSS functions.
7798 * grp/initgroups.c: Use new macro.
7799 * nss/getXXbyYY.c: Likewise.
7800 * nss/getXXbyYY_r.c: Likewise.
7801 * nss/getXXent.c: Likewise.
7802 * nss/getXXent_r.c: Likewise.
7803 * sysdeps/posix/getaddrinfo.c: Likewise.
7805 2012-10-30 Andreas Jaeger <aj@suse.de>
7807 * po/ru.po: Update Russion translation from translation project.
7809 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7814 result and shift together with sticky bit instead of replicating
7815 round-to-nearest rounding.
7816 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7817 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7818 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7819 missing underflow exceptions.
7820 (fma_test_towardzero): Add more tests.
7821 (fma_test_downward): Likewise.
7822 (fma_test_upward): Likewise.
7825 * sysdeps/generic/tininess.h: New file.
7826 * sysdeps/i386/tininess.h: Likewise.
7827 * sysdeps/sh/tininess.h: Likewise.
7828 * sysdeps/x86_64/tininess.h: Likewise.
7829 * stdlib/tst-strtod-underflow.c: Likewise.
7830 * stdlib/tst-tininess.c: Likewise.
7831 * stdlib/strtod_l.c: Include <tininess.h>.
7832 (round_and_return): Do not set errno for exact underflow cases.
7833 Force an underflow exception when setting errno for underflow.
7834 Determine underflow based on rounding to normal precision if
7835 TININESS_AFTER_ROUNDING.
7836 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7837 ERANGE for exact underflow cases.
7838 * stdlib/Makefile (tests): Add tst-tininess and
7839 tst-strtod-underflow.
7840 ($(objpfx)tst-tininess): Use $(link-libm).
7841 ($(objpfx)tst-strtod-underflow): Likewise.
7843 2012-10-30 Andreas Jaeger <aj@suse.de>
7846 * elf/Makefile (tests): Remove conditional for have-initfini-array
7847 since this is now always required and the variable does not exist
7849 (tests-static): Likewise.
7850 (modules-names): Likewise.
7852 * po/eo.po: Add Esperanto translation from translation project.
7854 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7855 merged with constructor/destructor.
7856 (init_array): Likewise.
7857 * elf/tst-array2dep.c (fini_array): Likewise.
7858 (init_array): Likewise.
7860 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7862 * manual/message.texi: Delete @cartouche tags.
7864 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7866 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7868 * sysdeps/mach/hurd/fsync.c: Likewise.
7870 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7871 [_POSIX_REALTIME_SIGNALS]: Change condition to
7872 [_POSIX_REALTIME_SIGNALS > 0].
7874 2012-10-27 Andreas Jaeger <aj@suse.de>
7876 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7877 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7878 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7879 [__WORDSIZE != 64]: Likewise.
7881 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7883 * iconvdata/tst-table.sh: Remove ${SHELL}.
7884 * iconvdata/tst-tables.sh: Likewise.
7886 2012-10-25 David S. Miller <davem@davemloft.net>
7888 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7889 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7895 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7896 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7899 2012-10-25 Roland McGrath <roland@hack.frob.com>
7901 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7902 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7905 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7906 Jim Blandy <jimb@codesourcery.com>
7908 * scripts/cross-test-ssh.sh: New file.
7909 * manual/install.texi (Configuring and compiling): Document use of
7911 * INSTALL: Regenerated.
7913 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7915 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7918 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7920 * Makeconfig (run-program-prefix): Fix comment.
7922 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7923 Jim Blandy <jimb@codesourcery.com>
7925 * Makeconfig (test-wrapper): New variable,
7926 (test-wrapper-env): Likewise.
7927 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7928 (run-built-tests): Define to yes.
7929 (run-program-prefix): Use $(test-wrapper).
7930 (built-program-cmd): Likewise.
7931 * Rules (make-test-out): Use $(test-wrapper-env) and
7932 $(host-built-program-cmd).
7933 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7934 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7936 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7937 $(test-wrapper-env) to tst-rtld-load-self.sh.
7938 ($(objpfx)order2.out): Use $(test-wrapper).
7939 ($(objpfx)tst-initorder.out): Likewise.
7940 ($(objpfx)tst-initorder2.out): Likewise.
7941 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7942 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7943 (test_wrapper_env): New variable. Use it to run ld.so.
7944 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7945 Use it to run ld.so.
7946 (test_wrapper_env): Likewise.
7947 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7948 $(test-wrapper) to run-iconv-test.sh.
7949 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7950 (ICONV): Use $test_wrapper.
7951 * posix/Makefile ($(objpfx)globtest.out): Pass
7952 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7953 globtest.sh, not $(run-program-prefix).
7954 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7955 (test_wrapper): Likewise.
7956 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7957 set together with run_via_rtld_prefix.
7958 (run_program_prefix): Define in terms of test_wrapper and
7959 run_via_rtld_prefix.
7961 2012-10-24 Roland McGrath <roland@hack.frob.com>
7963 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7964 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7968 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7969 Declare __clock_getres, __clock_gettime, __clock_settime,
7970 __clock_nanosleep, and __clock_getcpuclockid.
7971 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7972 Remove librt_hidden_def (clock_gettime).
7973 * sysdeps/unix/clock_gettime.c: Likewise.
7974 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7975 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7976 * rt/clock_getres.c: Define __clock_getres as an alias.
7977 * sysdeps/posix/clock_getres.c: Likewise.
7978 * rt/clock_settime.c: Define __clock_settime as an alias.
7979 * sysdeps/unix/clock_settime.c: Likewise.
7980 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7981 * sysdeps/unix/clock_nanosleep.c: Likewise.
7982 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7983 * rt/clock-compat.c: New file.
7984 * rt/Makefile (librt-routines): Add clock-compat and move
7985 $(clock-routines) to ...
7986 (routines): ... here, new variable.
7987 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7988 Don't add get_clockfreq here.
7989 * rt/Versions (libc: GLIBC_2.17): New version set.
7990 Add clock_* symbols here.
7991 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7992 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7993 (GLIBC_2.17): Add clock_* symbols.
7994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7996 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8005 * NEWS: Mention the move.
8007 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8008 Use __open, __read, __close rather than their public counterparts.
8009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8010 (__get_clockfreq_via_cpuinfo): Likewise.
8011 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8012 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8014 * config.h.in (HAVE_IFUNC): New #undef.
8015 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8017 * configure: Regenerated.
8019 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8021 * configure.in: Move READELF check to start of file.
8022 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8023 libc_cv_asm_gnu_indirect_function in the process.
8024 * configure: Regenerated.
8026 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8028 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8029 send the output to /dev/null.
8030 (libc_cv_cc_with_libunwind): Likewise.
8031 (libc_cv_as_noexecstack): Likewise.
8032 * configure: Regenerate.
8034 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8036 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8038 * posix/globtest.sh (TMPDIR): Do not set.
8039 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8040 (testout): Likewise.
8042 2012-10-24 Andreas Jaeger <aj@suse.de>
8044 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8045 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8046 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8047 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8048 posix_fadvise64, posix_fallocate64.
8050 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8051 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8052 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8054 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8056 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8059 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8060 <bits/fcntl-linux.h>.
8061 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8064 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8065 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8066 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8067 [__WORDSIZE != 64]: Likewise.
8069 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8071 * Makeconfig (run-built-tests): New variable.
8072 * Rules [$(cross-compiling) = yes]: Change condition to
8073 [$(run-built-tests) = no].
8074 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8075 to [$(run-built-tests) = yes].
8076 * elf/Makefile [$(cross-compiling) = no]: Likewise
8077 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8078 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8079 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8080 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8081 * io/Makefile [$(cross-compiling) = no]: Likewise.
8082 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8083 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8084 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8085 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8086 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8087 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8088 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8089 * string/Makefile [$(cross-compiling) = no]: Likewise.
8091 * posix/Makefile ($(objpfx)globtest.out): Pass
8092 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8093 $(rtld-installed-name).
8094 * posix/globtest.sh (elf_objpfx): Remove variable.
8095 (rtld_installed_name): Likewise.
8096 (library_path): Likewise.
8097 (run_program_prefix): New variable. Use for running globtest
8100 2012-10-23 Jim Blandy <jimb@codesourcery.com>
8101 Joseph Myers <joseph@codesourcery.com>
8103 * Makeconfig (host-built-program-cmd): New variable.
8104 * elf/Makefile (tst-stackguard1-ARGS): Use
8105 $(host-built-program-cmd).
8106 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8107 (tst-spawn-ARGS): Likewise.
8108 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8110 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8111 Jim Blandy <jimb@codesourcery.com>
8113 * Makeconfig (run-via-rtld-prefix): New variable.
8114 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8115 (built-program-cmd): Likewise.
8117 2012-10-22 Andreas Jaeger <aj@suse.de>
8119 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8120 __O_RSYNC if it exists, otherwise to O_SYNC.
8122 2012-10-22 Jim Blandy <jimb@codesourcery.com>
8123 Joseph Myers <joseph@codesourcery.com>
8125 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8127 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8129 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8132 2012-10-22 Andreas Jaeger <aj@suse.de>
8134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8136 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8142 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8149 2012-10-21 Jim Blandy <jimb@codesourcery.com>
8150 Joseph Myers <joseph@codesourcery.com>
8152 * config.make.in (NM): New variable.
8154 2012-10-21 Andreas Jaeger <aj@suse.de>
8156 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8157 definitions and declarations that are provided by
8158 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8160 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8163 * elf/Makefile (tests-static): Add tst-leaks1-static.
8164 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8165 ($(objpfx)tst-leaks1-static): New rule.
8166 ($(objpfx)tst-leaks1-static-mem): Likewise.
8167 (tst-leaks1-static-ENV): New macro.
8168 * elf/dl-open.c (dl_open_worker): Check the main application
8169 only if SHARED is defined.
8170 * elf/tst-leaks1-static.c: New file.
8172 2012-10-20 Andreas Jaeger <aj@suse.de>
8174 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8175 generic values for Linux.
8176 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8177 and declarations that are provided by <bits/fcntl-linux.h> and
8178 include <bits/fcntl-linux.h>.
8179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8182 2012-10-20 Roland McGrath <roland@hack.frob.com>
8184 * io/fcntl.h: Move include of <bits/types.h> to the top and
8185 include it unconditionally.
8187 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8189 * wcsmbs/Makefile (tests-ifunc): New variable.
8190 (tests): Add $(tests-ifunc).
8191 * wcsmbs/test-wcschr-ifunc.c: New file.
8192 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8193 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8194 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8195 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8196 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8198 * string/Makefile (tests-ifunc): New variable.
8199 (tests): Add $(tests-ifunc).
8200 * string/test-memccpy.c (TEST_NAME): New macro.
8201 * string/test-memchr.c (TEST_NAME): Likewise.
8202 * string/test-memcmp.c (TEST_NAME): Likewise.
8203 * string/test-memcpy.c (TEST_NAME): Likewise.
8204 * string/test-memmem.c (TEST_NAME): Likewise.
8205 * string/test-memmove.c (TEST_NAME): Likewise.
8206 * string/test-memset.c (TEST_NAME): Likewise.
8207 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8208 * string/test-stpcpy.c (TEST_NAME): Likewise.
8209 * string/test-stpncpy.c (TEST_NAME): Likewise.
8210 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8211 * string/test-strcasestr.c (TEST_NAME): Likewise.
8212 * string/test-strcat.c (TEST_NAME): Likewise.
8213 * string/test-strchr.c (TEST_NAME): Likewise.
8214 * string/test-strcmp.c(TEST_NAME): Likewise.
8215 * string/test-strcpy.c (TEST_NAME): Likewise.
8216 * string/test-strcspn.c (TEST_NAME): Likewise.
8217 * string/test-strlen.c (TEST_NAME): Likewise.
8218 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8219 * string/test-strncmp.c (TEST_NAME): Likewise.
8220 * string/test-strncpy.c (TEST_NAME): Likewise.
8221 * string/test-strnlen.c (TEST_NAME): Likewise.
8222 * string/test-strpbrk.c (TEST_NAME): Likewise.
8223 * string/test-strrchr.c (TEST_NAME): Likewise.
8224 * string/test-strspn.c (TEST_NAME): Likewise.
8225 * string/test-strstr.c (TEST_NAME): Likewise.
8226 * string/test-bcopy-ifunc.c: New file.
8227 * string/test-bzero-ifunc.c: Likewise.
8228 * string/test-memccpy-ifunc.c: Likewise.
8229 * string/test-memchr-ifunc.c: Likewise.
8230 * string/test-memcmp-ifunc.c: Likewise.
8231 * string/test-memcpy-ifunc.c: Likewise.
8232 * string/test-memmem-ifunc.c: Likewise.
8233 * string/test-memmove-ifunc.c: Likewise.
8234 * string/test-mempcpy-ifunc.c: Likewise.
8235 * string/test-memset-ifunc.c: Likewise.
8236 * string/test-rawmemchr-ifunc.c: Likewise.
8237 * string/test-stpcpy-ifunc.c: Likewise.
8238 * string/test-stpncpy-ifunc.c: Likewise.
8239 * string/test-strcasecmp-ifunc.c: Likewise.
8240 * string/test-strcasestr-ifunc.c: Likewise.
8241 * string/test-strcat-ifunc.c: Likewise.
8242 * string/test-strchr-ifunc.c: Likewise.
8243 * string/test-strchrnul-ifunc.c: Likewise.
8244 * string/test-strcmp-ifunc.c: Likewise.
8245 * string/test-strcpy-ifunc.c: Likewise.
8246 * string/test-strcspn-ifunc.c: Likewise.
8247 * string/test-strlen-ifunc.c: Likewise.
8248 * string/test-strncasecmp-ifunc.c: Likewise.
8249 * string/test-strncat-ifunc.c: Likewise.
8250 * string/test-strncmp-ifunc.c: Likewise.
8251 * string/test-strncpy-ifunc.c: Likewise.
8252 * string/test-strnlen-ifunc.c: Likewise.
8253 * string/test-strpbrk-ifunc.c: Likewise.
8254 * string/test-strrchr-ifunc.c: Likewise.
8255 * string/test-strspn-ifunc.c: Likewise.
8256 * string/test-strstr-ifunc.c: Likewise.
8258 * debug/Makefile (tests-ifunc): New variable.
8259 (tests): Add $(tests-ifunc).
8260 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8261 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8262 * debug/test-stpcpy_chk-ifunc.c: New file.
8263 * debug/test-strcpy_chk-ifunc.c: Likewise.
8265 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8268 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8269 header is not read in.
8271 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8273 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8274 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8275 directly. Pass built executable to script as
8276 $(built-program-cmd).
8277 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8278 $testprogram without using LD_LIBRARY_PATH and $ldso.
8280 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8281 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8282 $(rtld-installed-name).
8283 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8284 (rtld_installed_name): Likewise.
8285 (library_path): Likewise.
8286 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8287 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8288 $(run-program-prefix) to tst-tables.sh.
8289 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8290 it to run tst-table-from and tst-table-to.
8291 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8292 Pass it to tst-table.sh.
8293 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8294 $(run-program-prefix) to tst-gettext.sh.
8295 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8297 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8299 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8301 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8302 to run tst-gettext2.
8303 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8304 to run tst-translit.
8305 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8306 $(run-program-prefix) to tst-mtrace.sh.
8307 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8309 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8310 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8311 $(rtld-installed-name).
8312 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8313 (rtld_installed_name): Likewise.
8314 (run_program_prefix): New variable. Use it to run wordexp-test.
8316 * Makeconfig (ARCH): Remove all definitions.
8317 (machine): Likewise.
8318 [ARCH]: Remove conditional code.
8319 [!objdir]: Give error.
8320 [!objdir] (objpfx): Remove.
8321 [!objdir] (common-objpfx): Likewise.
8322 [!objdir] (common-objdir): Likewise.
8323 * configure.in (config_makefile): Remove. Hardcode Makefile in
8324 AC_CONFIG_FILES call.
8325 * configure: Regenerated.
8328 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8330 (testout): Likewise.
8332 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8333 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8334 $(rtld-installed-name).
8335 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8336 (rtld_installed_name): Likwise.
8337 (runit): Remove function.
8338 (run_getconf): New variable, Use it for running getconf binary.
8340 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8343 * string/test-memmem.c (check_result): New function.
8344 (do_one_test): Use it.
8345 (check1): New function.
8346 (test_main): Use it.
8348 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8350 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8352 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8354 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8355 (_G_LSEEK64): Likewise.
8356 (_G_MMAP64): Likewise.
8357 (_G_FSTAT64): Likewise.
8358 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8359 (_G_LSEEK64): Likewise.
8360 (_G_MMAP64): Likewise.
8361 (_G_FSTAT64): Likewise.
8362 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8363 unconditional. Call __mmap64 directly.
8364 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8365 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8367 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8368 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8370 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8371 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8373 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8374 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8376 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8377 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8379 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8380 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8381 __fxstat64 directly.
8382 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8383 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8385 (freopen64) [!_G_OPEN64]: Remove conditional code.
8386 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8388 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8389 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8391 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8392 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8394 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8395 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8397 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8398 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8400 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8401 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8403 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8404 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8406 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8408 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8411 * manual/memory.texi (Malloc Tunable Parameters): Add note
8412 about free list pointers overwriting some perturb bytes.
8413 Wording suggested by Roland McGrath.
8415 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8417 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8418 (lgamma_test): Likewise.
8419 (tgamma_test): Likewise.
8421 2012-10-16 Florian Weimer <fweimer@redhat.com>
8424 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8425 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8427 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8429 * NEWS: Mention BZ #14716.
8430 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8431 when removing AVAILABLE1_USES_J macro.
8433 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8435 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8436 (__bswap_64): __uint64_t for unsigned 64-bit int.
8438 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8440 * include/string.h (memmem): Declare libc hidden alias.
8441 * string/memmem.c (memmem): Define libc hidden alias.
8442 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8443 __read, __close instead of open, read, close.
8445 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8447 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8448 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8450 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8451 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8452 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8454 (__rawmemchr_sse2): Likewise.
8455 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8456 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8457 (__strchr_sse2): Likewise.
8458 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8459 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8460 (__strcasecmp_sse2): Likewise.
8461 (__strncasecmp_sse2): Likewise.
8462 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8463 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8464 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8465 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8466 (__strrchr_sse2): Likewise.
8467 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8469 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8470 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8471 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8472 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8473 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8474 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8475 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8476 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8477 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8478 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8479 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8480 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8481 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8482 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8483 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8484 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8485 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8486 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8487 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8488 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8489 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8490 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8491 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8492 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8493 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8494 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8495 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8496 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8497 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8498 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8500 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8502 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8503 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8504 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8505 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8507 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8509 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8510 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8511 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8512 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8514 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8515 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8516 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8517 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8518 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8519 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8520 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8521 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8522 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8523 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8524 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8525 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8526 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8527 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8528 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8529 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8530 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8531 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8532 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8533 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8534 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8535 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8536 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8537 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8538 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8539 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8540 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8541 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8542 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8543 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8544 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8545 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8546 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8547 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8548 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8549 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8550 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8551 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8552 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8553 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8554 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8556 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8557 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8558 * include/ifunc-impl-list.h: New file.
8559 * misc/ifunc-impl-list.c: Likewise.
8560 * misc/Makefile (routines): Add ifunc-impl-list.
8561 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8562 * string/test-string.h: Include <ifunc-impl-list.h>.
8563 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8564 impl_array): New variables.
8565 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8567 (test_init): Call __libc_ifunc_impl_list to initialize
8568 func_list if TEST_IFUNC and TEST_NAME are defined.
8570 * string/Makefile (strop-tests): Add bcopy and bzero.
8571 * string/test-bcopy.c: New file.
8572 * string/test-bzero.c: Likewise.
8573 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8575 * string/test-memset.c: Support bzero test if TEST_BZERO is
8577 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8579 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8581 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8584 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8586 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8587 * configure: Regenerated.
8589 * Makeconfig (+link-static-before-libc): Don't include
8590 $(link-static-libc).
8592 * libio/libio.h (_IO_pos_t): Remove.
8594 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8596 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8599 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8601 * crypt/crypt-entry.c: Include fips-private.h.
8602 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8603 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8604 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8605 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8607 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8609 * crypt/crypt-private.h: Include stdbool.h.
8610 (_ufc_setup_salt_r): Return bool.
8611 * crypt/crypt-entry.c: Include errno.h.
8612 (__crypt_r): Return NULL with EINVAL for bad salt.
8613 * crypt/crypt_util.c (bad_for_salt): New.
8614 (_ufc_setup_salt_r): Check that salt is long enough and within
8615 the specified alphabet.
8616 * crypt/badsalttest.c: New file.
8617 * crypt/Makefile (tests): Add it.
8618 ($(objpfx)badsalttest): New.
8620 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8622 * NEWS: Add entry for BZ #14602.
8624 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8626 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8628 * math/libm-test.inc: Update comment listing what functions and
8630 (isgreater_test): New function.
8631 (isgreaterequal_test): Likewise.
8632 (isless_test): Likewise.
8633 (islessequal_test): Likewise.
8634 (islessgreater_test): Likewise.
8635 (isunordered_test): Likewise.
8636 (main): Call the new functions.
8638 2012-10-09 Roland McGrath <roland@hack.frob.com>
8640 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8641 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8642 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8643 * sysdeps/i386/configure: Regenerated.
8644 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8645 * sysdeps/mach/configure: Regenerated.
8646 * sysdeps/mach/hurd/configure: Regenerated.
8647 * sysdeps/powerpc/configure: Regenerated.
8648 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8649 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8650 * sysdeps/s390/s390-32/configure: Regenerated.
8651 * sysdeps/s390/s390-64/configure: Regenerated.
8652 * sysdeps/sh/configure: Regenerated.
8653 * sysdeps/sparc/configure: Regenerated.
8654 * sysdeps/unix/sysv/linux/configure: Regenerated.
8655 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8656 * sysdeps/x86_64/configure: Regenerated.
8658 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8659 defined. Don't check if MAP is NULL.
8661 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8663 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8664 (_G_stat64): Likewise.
8665 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8666 (_G_stat64): Likewise.
8667 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8668 instead of struct _G_stat64.
8669 * libio/fileops.c (mmap_remap_check): Likewise.
8670 (decide_maybe_mmap): Likewise.
8671 (_IO_new_file_seekoff): Likewise.
8672 (_IO_file_stat): Likewise.
8673 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8675 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8676 instead of struct _G_stat64.
8677 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8679 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8682 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8684 (CHECK_EOL): New macro.
8685 (two_way_short_needle): Check beginning of haystack for EOL. Use
8687 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8688 Replace with CHECK_EOL.
8689 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8690 Replace with CHECK_EOL.
8692 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8694 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8696 * math/libm-test.inc: Update comment listing what functions and
8698 (finite_test): New function.
8699 (isinf_test): Likewise.
8700 (isnan_test): Likewise.
8701 (fpclassify_test): Test subnormal input.
8702 (isfinite_test): Likewise.
8703 (isnormal_test): Likewise.
8704 (main): Call the new functions.
8706 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8709 * Makerules (%.dynsym): Force C locale when running
8710 $(OBJDUMP) --dynamic-syms.
8712 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8714 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8717 2012-10-06 David S. Miller <davem@davemloft.net>
8719 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8720 upper 32-bits of the length value in %o2 since we use branch-on-register
8721 tests which consider the entire 64-bit register.
8723 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8725 * string/test-strstr.c (check2): Add a test for page boundary.
8727 2012-10-05 David S. Miller <davem@davemloft.net>
8729 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8730 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8732 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8734 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8735 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8736 and bzero when HWCAP_SPARC_CRYPTO is present.
8738 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8741 * string/test-strstr.c (check2): New function.
8742 (test_main): Call check2.
8744 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8746 * string/bug-strcasestr1.c (do_test): Moved to ...
8747 * string/test-strcasestr.c (check1): Here. New function.
8748 (do_one_test): Break out result checking code into ...
8749 (check_result): This. New function.
8750 (do_one_test): Call check_result.
8751 (test_main): Call check1.
8752 * string/bug-strchr1.c (do_test): Moved to ...
8753 * string/test-strchr.c (check1): Here. New function.
8754 (do_one_test): Break out result checking code into ...
8755 (check_result): This. New function.
8756 (do_one_test): Call check_result.
8757 (test_main): Call check1.
8758 * string/bug-strstr1.c (main): Moved to ...
8759 * string/test-strstr.c (check1): Here. New function.
8760 (do_one_test): Break out result checking code into ...
8761 (check_result): This. New function.
8762 (do_one_test): Call check_result.
8763 (test_main): Call check1.
8764 * string/bug-strcasestr1.c: Removed.
8765 * string/bug-strchr1.c: Likewise.
8766 * string/bug-strstr1.c: Likewise.
8768 * elf/Makefile (dl-routines): Add hwcaps.
8769 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8770 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8771 (_dl_important_hwcaps): Moved to ...
8772 * elf/dl-hwcaps.c: Here. New file.
8773 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8776 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8777 if IS_IN_rtld isn't defined.
8779 * elf/dl-support.c (_dl_sysinfo_map): New.
8780 Include "get-dynamic-info.h" and "setup-vdso.h".
8781 (_dl_non_dynamic_init): Call setup_vdso.
8782 * elf/dynamic-link.h: Don't include <assert.h>.
8783 (elf_get_dynamic_info): Moved to ...
8784 * elf/get-dynamic-info.h: Here. New file.
8785 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8786 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8787 * elf/setup-vdso.h: Here. New file.
8788 * elf/rtld.c: Include "setup-vdso.h".
8789 (dl_main): Call setup_vdso.
8791 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8793 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8794 creal in comment listing functions tested. List finite, isinf,
8795 isnan, isless, islessequal, isgreater, isgreaterequal,
8796 islessgreater, isunordered, lgamma_r and pow10 as functions and
8797 macros not tested. Mention which functions not tested are aliases
8798 for other functions. Fix typo. Note that signs of NaNs are not
8801 * scripts/config.guess: Update from config.git.
8802 * scripts/config.sub: Likewise.
8804 2012-10-04 Roland McGrath <roland@hack.frob.com>
8806 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8807 * misc/madvise.c (madvise): Renamed to __madvise.
8808 Make madvise a weak alias.
8809 * include/sys/mman.h: Declare __madvise.
8810 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8811 * sysdeps/unix/syscalls.list
8812 (madvise): Make __madvise the strong name, and madvise a weak alias.
8813 * sysdeps/unix/sysv/linux/syscalls.list
8814 (madvise, mmap): Remove redundant entries.
8815 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8816 * malloc/malloc.c (mtrim): Likewise.
8817 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8819 2012-10-03 Roland McGrath <roland@hack.frob.com>
8821 * sysdeps/mach/hurd/dl-cache.c: File removed.
8822 * config.h.in (USE_LDCONFIG): New #undef.
8823 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8824 * configure: Regenerated.
8825 * elf/Makefile (dl-routines): Add dl-cache only under
8826 [$(use-ldconfig) = yes].
8827 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8828 cache on [USE_LDCONFIG].
8829 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8831 * elf/rtld.c (dl_main): Likewise.
8833 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8835 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8836 _SC_LEVEL4_CACHE_LINESIZE.
8838 2012-10-03 Roland McGrath <roland@hack.frob.com>
8840 * sysdeps/unix/bsd/confstr.h: File removed.
8842 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8844 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8847 2012-10-02 Roland McGrath <roland@hack.frob.com>
8849 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8850 Make 'mapoff' field ElfW(Off) rather than off_t.
8852 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8854 * nscd/Makefile: Remove nscd-cflags and all its users.
8855 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8856 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8859 * malloc.c (malloc_printerr): Clarify error message.
8861 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8865 Set bit_FMA_Usable if FMA is supported.
8866 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8868 (bit_FMA4_Usable): Updated.
8869 (index_FMA_Usable): New macro.
8870 (CPUID_FMA): Likewise
8871 (HAS_FMA): Defined with bit_FMA_Usable.
8873 2012-10-01 Roland McGrath <roland@hack.frob.com>
8875 * bits/types.h (__swblk_t): Type removed.
8876 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8877 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8878 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8879 (__SWBLK_T_TYPE): Likewise.
8880 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8881 (__SWBLK_T_TYPE): Likewise.
8882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8883 (__SWBLK_T_TYPE): Likewise.
8884 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8885 (__SWBLK_T_TYPE): Likewise.
8887 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8888 Honza Horak <hhorak@redhat.com>
8890 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8891 (xdr_mapname): Use YPMAXMAP as maxsize.
8892 (xdr_peername): Use YPMAXPEER as maxsize.
8893 (xdr_keydat): Use YPAXRECORD as maxsize.
8894 (xdr_valdat): Use YPMAXRECORD as maxsize.
8896 2012-10-01 Roland McGrath <roland@hack.frob.com>
8898 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8900 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8901 * csu/init-first.c: ... here.
8902 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8903 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8904 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8905 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8906 * sysdeps/i386/init-first.c: File removed.
8907 * sysdeps/sh/init-first.c: File removed.
8909 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8913 if x * y might underflow to zero and z is zero.
8914 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8915 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8916 * math/libm-test.inc (min_subnorm_value): New variable.
8917 (fma_test): Add more tests.
8918 (fma_test_towardzero): Likewise.
8919 (fma_test_downward): Likewise
8920 (fma_test_upward): Likewise.
8921 (initialize): Set min_subnorm_value.
8923 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8928 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8929 mode for addition resulting in exact zero.
8930 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8933 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8934 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8935 * math/libm-test.inc (fma_test): Add more tests.
8936 (fma_test_towardzero): New function.
8937 (fma_test_downward): Likewise.
8938 (fma_test_upward): Likewise.
8939 (main): Call the new functions.
8941 2012-09-28 David S. Miller <davem@davemloft.net>
8943 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8945 2012-09-28 Roland McGrath <roland@hack.frob.com>
8947 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8950 * sysdeps/gnu/_G_config.h: Moved to ...
8951 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8952 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8953 * sysdeps/generic/_G_config.h: ... here.
8955 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8957 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8959 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8960 Conditionalize target on [libnss_test1.so-version].
8962 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8964 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8965 (elfobjdir): Move out of conditionals.
8967 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8968 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8969 (__nss_lookup_function): Conditionalize label remove_from_tree on
8970 [!DO_STATIC_NSS || SHARED], matching its only use.
8972 2012-09-28 David S. Miller <davem@davemloft.net>
8974 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8975 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8977 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8979 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8981 when HWCAP_SPARC_CRYPTO is present.
8983 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8985 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8987 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8990 * stdio-common/vfprintf.c (process_string_arg): Revert
8993 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8995 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8997 * stdio-common/tst-sprintf.c: Include <locale.h>
8998 (main): Test sprintf's handling of incomplete multibyte
9001 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9003 * elf/dl-runtime.c (VERSYMIDX): Removed.
9004 * elf/dl-version.c (VERSYMIDX): Likewise.
9005 * elf/do-rel.h (VERSYMIDX): Likewise.
9007 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9008 * elf/rtld.c (VALIDX): Likewise.
9009 (ADDRIDX): Likewise.
9010 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9011 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9012 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9013 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9015 (ADDRIDX): Likewise.
9017 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9019 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9021 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9024 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9026 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9027 addresses are in the same scope as 192.0.2/24.
9028 * posix/gai.conf: Document new scope table defaults.
9030 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9033 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9034 for ftell. Compute offsets from write pointers instead.
9035 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9037 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9040 * libio/Makefile (tests): New test case tst-fseek.
9041 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9042 combination works in wide mode.
9043 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9044 state when the external buffer state changes.
9046 2012-09-27 David S. Miller <davem@davemloft.net>
9049 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9050 pass reloc->r_addend in as the 'high' argument to
9051 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9055 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9057 * rt/tst-aio2.c: Include <pthread.h>.
9058 * rt/tst-aio3.c: Likewise.
9060 2012-09-27 Steve Ellcey <sellcey@mips.com>
9062 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9064 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9066 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9067 contents on [SHARED].
9069 2012-09-26 Marek Polacek <polacek@redhat.com>
9073 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9074 for C++ and GCC <4.3 as well as for non GCC compilers.
9076 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9080 2012-09-25 Roland McGrath <roland@hack.frob.com>
9082 * Makefile.in (all, install): Declare with .PHONY.
9083 Reported by Michael Hope <michael.hope@linaro.org>.
9085 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9087 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9088 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9090 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9092 (sydep_routines): Add the new and the internal functions.
9093 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9094 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9096 (GLIBC_2.17): Add the new function.
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9098 (GLIBC_2.17): Likewise.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9100 (GLIBC_2.17): Likewise.
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9102 (GLIBC_2.17): Likewise.
9103 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9105 2012-09-25 Alan Modra <amodra@gmail.com>
9107 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9108 Add release barrier before setting once_control to say
9109 initialisation is done. Add hints on lwarx. Use macro in
9111 (clear_once_control): Add release barrier.
9113 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9116 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9118 * math/s_clog10.c (__clog10): Likewise.
9119 * math/s_clog10f.c (__clog10f): Likewise.
9120 * math/s_clog10l.c (__clog10l): Likewise.
9121 * math/s_clogf.c (__clogf): Likewise.
9122 * math/s_clogl.c (__clogl): Likewise.
9123 * math/Makefile (libm-calls): Add x2y2m1.
9124 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9125 (__x2y2m1): Likewise.
9126 (__x2y2m1l): Likewise.
9127 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9128 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9131 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9132 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9133 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9134 * sysdeps/i386/fpu/libm-test-ulps: Update.
9135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9138 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9139 int as type of variable DEPTH.
9140 (glob): Use size_t instead of int as type of variables NEWCOUNT
9143 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9145 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9147 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9148 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9149 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9150 macros for using routine as __sincosf_ia32.
9151 Use macro for function declaration and weak_alias.
9152 * sysdeps/i386/fpu/libm-test-ulps: Update.
9154 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9157 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9159 * math/s_cexpf.c (__cexpf): Likewise.
9160 * math/s_csinf.c (__csinf): Likewise.
9161 * math/s_csinhf.c (__csinhf): Likewise.
9162 * math/s_ctanf.c (__ctanf): Likewise.
9163 * math/s_ctanhf.c (__ctanhf): Likewise.
9164 * math/s_ccosh.c (__ccoshf): Likewise.
9165 * math/s_cexp.c (__cexpl): Likewise.
9166 * math/s_csin.c (__csin): Likewise.
9167 * math/s_csinh.c (__csinh): Likewise.
9168 * math/s_ctan.c (__ctan): Likewise.
9169 * math/s_ctanh.c (ctanh): Likewise.
9170 * math/s_ccoshl.c (__ccoshl): Likewise.
9171 * math/s_cexpl.c (__cexpl): Likewise.
9172 * math/s_csinl.c (__csinl): Likewise.
9173 * math/s_csinhl.c (__csinhl): Likewise.
9174 * math/s_ctanl.c (__ctanl): Likewise.
9175 * math/s_ctanhl.c (__ctanhl): Likewise.
9177 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9179 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9180 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9181 (_IO_off_t): Define to __off_t, not _G_off_t.
9182 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9183 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9184 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9185 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9186 type of __dummy and __dummy2 fields.
9187 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9188 (_G_ssize_t): Likewise.
9189 (_G_off_t): Likewise.
9190 (_G_pid_t): Likewise.
9191 (_G_uid_t): Likewise.
9192 (_G_wchar_t): Likewise.
9193 (_G_wint_t): Likewise.
9194 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9195 (_G_ssize_t): Likewise.
9196 (_G_off_t): Likewise.
9197 (_G_pid_t): Likewise.
9198 (_G_uid_t): Likewise.
9199 (_G_wchar_t): Likewise.
9200 (_G_wint_t): Likewise.
9201 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9202 (_G_ssize_t): Likewise.
9203 (_G_off_t): Likewise.
9204 (_G_pid_t): Likewise.
9205 (_G_uid_t): Likewise.
9206 (_G_wchar_t): Likewise.
9207 (_G_wint_t): Likewise.
9209 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9211 * malloc/arena.c: Include malloc-sysdep.h.
9212 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9213 is sufficient to shrink the heap or an unmap is needed.
9214 * sysdeps/generic/malloc-sysdep.h: New file. Define
9215 new function check_may_shrink_heap.
9216 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9217 new function check_may_shrink_heap.
9219 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9221 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9224 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9226 * catgets/test-gencat.sh: Add "set -e".
9227 * elf/tst-pathopt.sh: Likewise.
9228 * grp/tst_fgetgrent.sh: Likewise.
9229 * iconvdata/run-iconv-test.sh: Likewise.
9230 * intl/tst-gettext.sh: Likewise.
9231 * intl/tst-gettext2.sh: Likewise.
9232 * intl/tst-gettext4.sh: Likewise.
9233 * intl/tst-gettext6.sh: Likewise.
9234 * intl/tst-translit.sh: Likewise.
9235 * io/ftwtest-sh: Likewise.
9236 * libio/test-freopen.sh: Likewise.
9237 * malloc/tst-mtrace.sh: Likewise.
9238 * posix/globtest.sh: Likewise.
9239 * posix/tst-getconf.sh: Likewise.
9240 * posix/wordexp-tst.sh: Likewise.
9241 * stdio-common/tst-printf.sh: Likewise.
9242 * stdio-common/tst-unbputc.sh: Likewise.
9243 * stdlib/tst-fmtmsg.sh: Likewise.
9244 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9245 * catgets/Makefile: Do not specify -e option when running
9246 testsuite shell scripts.
9247 * elf/Makefile: Likewise.
9248 * grp/Makefile: Likewise.
9249 * iconvdata/Makefile: Likewise.
9250 * intl/Makefile: Likewise.
9251 * io/Makefile: Likewise.
9252 * libio/Makefile: Likewise.
9253 * malloc/Makefile: Likewise.
9254 * posix/Makefile: Likewise.
9255 * stdio-common/Makefile: Likewise.
9256 * stdlib/Makefile: Likewise.
9257 * sysdeps/x86_64/Makefile: Likewise.
9259 * io/ftwtest-sh: Add copyright header.
9260 * posix/globtest.sh: Likewise.
9261 * posix/tst-getconf.sh: Likewise.
9262 * posix/wordexp-tst.sh: Likewise.
9263 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9265 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9268 * Makeconfig (+link): Defined as $(+link-static) if
9269 $(build-shared) isn't yes.
9270 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9272 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9274 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9277 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9278 new chunk size with MALLOC_ALIGN_MASK.
9280 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9283 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9285 (__printf_fphex): Determine rounding using get_rounding_mode and
9287 * stdio-common/tst-printf-round.c (struct hex_test): New
9289 (hex_tests): New variable.
9290 (test_hex_in_one_mode): New function.
9291 (do_test): Also run tests for hex float output.
9293 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9295 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9296 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9297 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9298 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9299 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9300 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9301 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9302 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9304 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9306 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9307 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9308 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9309 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9311 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9314 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9316 * elf/tst-rtld-load-self.sh: New test.
9317 * elf/Makefile: Run it.
9319 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9321 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9322 (tst-writev-ENV): Remove.
9323 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9325 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9327 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9329 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9331 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9333 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9335 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9336 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9337 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9340 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9343 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9344 * config.make.in (have-cpp-asm-debuginfo): Removed.
9345 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9346 * configure: Regenerated.
9348 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9351 * stdio-common/printf_fp.c: Include <stdbool.h> and
9353 (___printf_fp): Determine rounding using get_rounding_mode and
9355 * stdio-common/tst-printf-round.c: New file.
9356 * stdio-common/Makefile (tests): Add tst-printf-round.
9357 (link-libm): New variable.
9358 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9360 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9363 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9364 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9366 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9369 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9371 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9372 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9373 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9374 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9376 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9379 * include/rounding-mode.h: New file.
9380 * sysdeps/generic/get-rounding-mode.h: Likewise.
9381 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9382 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9383 (MAX_VALUE): New macro.
9384 (MIN_VALUE): Likewise.
9385 (overflow_value): New function.
9386 (underflow_value): Likewise.
9387 (round_and_return): Use overflow_value and underflow_value to
9388 determine return values in overflow and underflow cases. Use
9389 round_away to determine rounding depending on rounding mode.
9390 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9391 determine return values in overflow and underflow cases.
9392 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9393 (struct test_results): New structure.
9394 (struct test): Use struct test_results to store expected results
9395 for all rounding modes.
9396 (TEST): Include expected results for all rounding modes.
9397 (test_in_one_mode): New function.
9398 (do_test): Use test_in_one_mode to compute and check results.
9399 Check results for all rounding modes.
9400 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9403 2012-12-09 Allan McRae <allan@archlinux.org>
9405 * sysdeps/i386/fpu/libm-test-ulps: Update
9407 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9409 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9410 (_G_int32_t): Likewise.
9411 (_G_uint16_t): Likewise.
9412 (_G_uint32_t): Likewise.
9413 (_G_HAVE_BOOL): Likewise.
9414 (_G_HAVE_ATEXIT): Likewise.
9415 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9416 (_G_HAVE_IO_FILE_OPEN): Likewise.
9417 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9418 (_G_int32_t): Likewise.
9419 (_G_uint16_t): Likewise.
9420 (_G_uint32_t): Likewise.
9421 (_G_HAVE_BOOL): Likewise.
9422 (_G_HAVE_ATEXIT): Likewise.
9423 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9424 (_G_HAVE_IO_FILE_OPEN): Likewise.
9425 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9426 (_G_int32_t): Likewise.
9427 (_G_uint16_t): Likewise.
9428 (_G_uint32_t): Likewise.
9429 (_G_HAVE_BOOL): Likewise.
9430 (_G_HAVE_ATEXIT): Likewise.
9431 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9432 (_G_HAVE_IO_FILE_OPEN): Likewise.
9434 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9436 * csu/libc-tls.c: Update copyright years.
9438 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9440 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9441 [!_G_USING_THUNKS]: Remove conditional code.
9442 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9443 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9445 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9446 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9447 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9448 (_G_VTABLE_LABEL_PREFIX): Likewise.
9449 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9450 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9451 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9452 (_G_VTABLE_LABEL_PREFIX): Likewise.
9453 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9454 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9455 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9456 (_G_VTABLE_LABEL_PREFIX): Likewise.
9457 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9459 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9461 * libio/Makefile: Include ../Makeconfig before tests.
9462 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9463 only if $(build-shared) is yes.
9465 * iconv/gconv_db.c: Update copyright years.
9467 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9469 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9470 unwind info if defined PIC. Fix special cases description.
9471 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9473 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9475 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9477 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9479 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9481 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9484 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9485 (LDLIBS-tst-chk4): This.
9486 (LDFLAGS-tst-chk5): Renamed to ...
9487 (LDLIBS-tst-chk5): This.
9488 (LDFLAGS-tst-chk6): Renamed to ...
9489 (LDLIBS-tst-chk6): This.
9490 (LDFLAGS-tst-lfschk4): Renamed to ...
9491 (LDLIBS-tst-lfschk4): This.
9492 (LDFLAGS-tst-lfschk5): Renamed to ...
9493 (LDLIBS-tst-lfschk5): This.
9494 (LDFLAGS-tst-lfschk6): Renamed to ...
9495 (LDLIBS-tst-lfschk6): This.
9497 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9498 on $(common-objpfx)soversions.mk.
9500 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9503 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9506 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9508 * malloc/arena.c (arena_get_retry): New function that gets
9509 another arena for the caller to try its request on.
9510 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9511 current arena cannot fulfill the request.
9512 (__libc_memalign): Likewise.
9513 (__libc_memalign): Likewise.
9514 (__libc_pvalloc): Likewise.
9515 (__libc_calloc): Likewise.
9517 2012-09-05 John Tobey <john.tobey@gmail.com>
9520 * manual/arith.texi (Operations on Complex): Fix description
9523 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9526 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9530 * manual/memory.texi (Memory): Make order of menu items match
9533 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9535 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9536 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9537 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9539 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9541 * csu/libc-tls.c (static_dtv): Renamed to ...
9542 (_dl_static_dtv): This. Make it global.
9543 (_dl_initial_dtv): Removed.
9544 (__libc_setup_tls): Updated.
9545 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9546 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9549 2012-09-06 Petr Machata <pmachata@redhat.com>
9551 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9552 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9553 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9554 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9556 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9559 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9560 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9563 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9566 * Makeconfig (link-static-before-libc): Replace $(+prector)
9568 (link-static-after-libc): Replace $(+postctor) with
9570 (link-bounded): Replace $(+prector)/$(+postctor) with
9571 $(+prectorT)/$(+postctorT).
9572 (+prectorT): New macro.
9573 (+postctorT): Likewise.
9575 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9577 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9578 (round_str): Handle values above the maximum for IBM long double
9580 * stdlib/tst-strtod-round.c (tests): Regenerated.
9582 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9584 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9586 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9587 zarch_nohighgprs around the zarch optimized routines.
9588 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9589 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9590 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9593 2012-09-05 David S. Miller <davem@davemloft.net>
9595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9597 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9598 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9599 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9600 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9603 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9605 * malloc/arena.c: Fold copyright years.
9606 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9608 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9610 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9612 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9614 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9616 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9618 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9619 change internal state upon failure.
9621 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9623 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9624 * malloc/memusage.c (mmap): Likewise.
9625 (mmap64, mremap): Likewise. Adjust name in comment.
9627 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9629 * libio/fileops.c: Fix typos in comments.
9630 * libio/oldfileops.c: Likewise.
9631 * libio/wfileops.c: Likewise.
9633 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9636 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9637 (tst-malloc-usable-ENV): Set environment for test case.
9638 * malloc/hooks.c (malloc_check_get_size): New function to get
9640 * malloc/malloc.c (musable): Use malloc_check_get_size.
9641 * malloc/tst-malloc-usable.c: New test case.
9643 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9645 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9647 2012-09-05 Allan McRae <allan@archlinux.org>
9650 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9651 determine header location.
9652 * configure: Regenerated.
9654 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9656 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9658 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9659 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9663 2012-09-04 David S. Miller <davem@davemloft.net>
9665 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9666 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9667 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9669 2012-09-04 Florian Weimer <fweimer@redhat.com>
9671 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9674 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9676 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9679 * libio/iogetdelim.c: Include <limits.h>.
9680 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9681 + len + 1 would overflow.
9683 2012-09-03 Andreas Jaeger <aj@suse.de>
9685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9686 * sysdeps/i386/fpu/libm-test-ulps: Update.
9688 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9690 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9691 Add s_sinf-sse2, s_conf-sse2.
9693 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9694 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9695 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9696 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9698 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9699 for using routine as __sinf_ia32.
9700 Use macro for function declaration and weak_alias.
9701 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9702 for using routine as __cosf_ia32.
9703 Use macro for function declaration and weak_alias.
9705 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9706 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9708 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9709 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9712 * math/libm-test.inc (cos_test): Add more test cases.
9713 (sin_test): Likewise.
9714 (sincos_test): Likewise.
9716 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9718 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9719 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9721 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9723 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9726 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9727 first element of the GOT.
9728 (elf_machine_load_address): Return the difference between
9729 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9731 2012-09-01 Allan McRae <allan@archlinux.org>
9734 * configure.in (AWK): Require gawk version 3.0 or later.
9735 * configure: Regenerated.
9737 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9739 * sysdeps/unix/sysv/linux/kernel-features.h
9740 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9741 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9742 [__NR_clock_getres]: Make code unconditional.
9743 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9744 (clock_getcpuclockid): Remove code left unreachable by removal of
9746 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9748 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9749 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9750 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9751 Make code unconditional.
9752 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9753 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9754 * sysdeps/unix/sysv/linux/clock_settime.c
9755 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9757 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9758 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9760 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9763 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9764 scripts/test-installation.pl.
9766 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9767 and $ld_so_version if it is set.
9769 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9772 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9773 failure if reading from procfs failed.
9774 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9776 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9778 * sysdeps/unix/sysv/linux/kernel-features.h
9779 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9780 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9781 Remove conditional code.
9782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9783 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9784 Remove conditional code.
9785 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9786 * sysdeps/unix/sysv/linux/i386/fxstat.c
9787 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9788 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9789 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9790 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9792 * sysdeps/unix/sysv/linux/i386/lxstat.c
9793 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9794 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9795 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9796 Remove conditional code.
9797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9798 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9799 Remove conditional code.
9800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9801 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9802 <kernel-features.h>.
9803 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9805 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9806 Remove conditional code.
9807 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9808 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9811 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9814 * NEWS: Add fixed bug number.
9816 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9819 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9820 underflowing exponent in case of negative sign.
9821 * stdlib/tst-strtod-round-data: Add more tests.
9822 * stdlib/tst-strtod-round.c (tests): Regenerated.
9825 * stdlib/strtod_l.c (NDIG): Remove.
9826 (HEXNDIG): Likewise.
9827 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9828 smallest representable value.
9829 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9830 lie within an exact representation of 1/2 ulp of the result.
9831 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9833 (TENS_P9_IDX): Define unconditionally.
9834 (TENS_P9_SIZE): Likewise.
9835 (TENS_P10_IDX): Likewise.
9836 (TENS_P10_SIZE): Likewise.
9837 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9838 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9839 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9840 entries for 10^2^13 and 10^2^14.
9841 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9842 (TENS_P13_IDX): Define.
9843 (TENS_P13_SIZE): Likewise.
9844 (TENS_P14_IDX): Likewise.
9845 (TENS_P14_SIZE): Likewise.
9846 (_fpioconst_pow10): Change array size to
9847 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9849 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9850 1024]: Add entries for 10^2^13 and 10^2^14.
9851 [LAST_POW10 > _LAST_POW10]: Remove #error.
9852 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9853 (_fpioconst_pow10): Change array size to
9854 FPIOCONST_POW10_ARRAY_SIZE.
9855 * stdlib/gen-fpioconst.c: New file.
9856 * stdlib/gen-tst-strtod-round.c: Likewise.
9857 * stdlib/tst-strtod-round-data: Likewise.
9858 * stdlib/tst-strtod-round.c: Likewise.
9859 * stdlib/Makefile (tests): Add tst-strtod-round.
9862 * stdlib/strtod_l.c: Include <stdint.h>.
9863 (NDEBUG): Do not define.
9864 (round_and_return): Change EXPONENT parameter to type intmax_t.
9865 Rearrange calculations to avoid internal overflow possibilities.
9866 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9867 Rearrange calculations to avoid internal overflow possibilities.
9868 Assert that number fits inside MPNSIZE limbs.
9869 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9870 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9871 calculations and add assertions to avoid internal overflow
9872 possibilities. Add casts to avoid signed/unsigned operations.
9873 * stdlib/tst-strtod-overflow.c: New file.
9874 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9876 2012-08-25 Marek Polacek <polacek@redhat.com>
9878 * time/time.h: Fix some typos in comments.
9880 2012-08-23 Roland McGrath <roland@hack.frob.com>
9882 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9883 * posix/tst-rfc3484-2.c: Likewise.
9884 * posix/tst-rfc3484-3.c: Likewise.
9886 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9888 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9889 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9891 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9893 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9894 #include of fxstatat64.c.
9896 2012-08-22 Roland McGrath <roland@hack.frob.com>
9898 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9899 * shadow/getspent_r.c: Likewise.
9900 * shadow/getspnam.c: Likewise.
9901 * shadow/getspnam_r.c: Likewise.
9902 * gshadow/getsgent.c: Likewise.
9903 * gshadow/getsgent_r.c: Likewise.
9904 * gshadow/getsgnam.c: Likewise.
9905 * gshadow/getsgnam_r.c: Likewise.
9906 * inet/getnetbyad.c: Likewise.
9907 * inet/getnetbyad_r.c: Likewise.
9908 * inet/getnetbynm.c: Likewise.
9909 * inet/getnetbynm_r.c: Likewise.
9910 * inet/getnetent.c: Likewise.
9911 * inet/getnetent_r.c: Likewise.
9912 * inet/getproto.c: Likewise.
9913 * inet/getproto_r.c: Likewise.
9914 * inet/getprtent.c: Likewise.
9915 * inet/getprtent_r.c: Likewise.
9916 * inet/getprtname.c: Likewise.
9917 * inet/getprtname_r.c: Likewise.
9918 * inet/getrpcbyname.c: Likewise.
9919 * inet/getrpcbyname_r.c: Likewise.
9920 * inet/getrpcbynumber.c: Likewise.
9921 * inet/getrpcbynumber_r.c: Likewise.
9922 * inet/getrpcent.c: Likewise.
9923 * inet/getrpcent_r.c: Likewise.
9924 * inet/getaliasent.c: Likewise.
9925 * inet/getaliasent_r.c: Likewise.
9926 * inet/getaliasname.c: Likewise.
9927 * inet/getaliasname_r.c: Likewise.
9928 * nscd/getgrgid_r.c: Likewise.
9929 * nscd/getgrnam_r.c: Likewise.
9930 * nscd/gethstbyad_r.c: Likewise.
9931 * nscd/gethstbynm3_r.c: Likewise.
9932 * nscd/getpwnam_r.c: Likewise.
9933 * nscd/getpwuid_r.c: Likewise.
9934 * nscd/getsrvbynm_r.c: Likewise.
9935 * nscd/getsrvbypt_r.c: Likewise.
9936 * nscd/gai.c: Likewise.
9938 * configure.in (build_nscd): New substituted variable, set
9939 by --disable-build-nscd and defaults to $use_nscd.
9940 * configure: Regenerated.
9941 * config.make.in (build-nscd): New substituted variable.
9942 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9943 Change conditional to require [$(build-nscd) = yes] as well.
9944 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9947 * configure.in (use_nscd): New substituted variable, set by
9948 --disable-nscd. If enabled, define USE_NSCD.
9949 * configure: Regenerated.
9950 * config.h.in: Add USE_NSCD.
9951 * config.make.in (use-nscd): New substituted variable.
9952 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9953 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9954 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9955 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9956 (CFLAGS-getgrnam_r.c): Likewise.
9957 (CFLAGS-initgroups.c): Likewise.
9958 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9959 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9961 * inet/getnetgrent_r.c
9962 (nscd_setnetgrent): New function, broken out of ...
9963 (setnetgrent): ... here. Call it.
9964 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9965 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9966 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9967 * nscd/Makefile (routines, aux): Move definitions after include of
9968 Makeconfig. Conditionalize on [$(use-nscd) != no].
9969 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9970 Conditionalize on [USE_NSCD].
9971 (is_nscd, nscd_init_cb): Likewise.
9972 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9973 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9974 * nss/nss_db/db-init.c: Likewise.
9975 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9977 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9978 (make_request): Use it.
9979 (cache_valid_p): New function.
9980 (__check_pf): Use it.
9981 * NEWS: Add item for --disable-nscd.
9983 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9985 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9986 to support sed >= 4.2.1-20-ga9bf076.
9987 * configure: Regenerated.
9989 2012-08-22 Roland McGrath <roland@hack.frob.com>
9991 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9992 Conditionalize whole body on [IREL].
9994 2012-08-22 Jeff Law <law@redhat.com>
9997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9998 if the family is PF_UNSPEC.
10000 2012-08-22 Mike Frysinger <vapier@gentoo.org>
10002 * Makerules (lib-version): Rename from V.
10003 (install-lib-nosubdir): Change V to lib-version.
10005 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10008 * powerpc32/power6/wcschr.c: New file.
10009 * powerpc32/power6/wcscpy.c: New file.
10010 * powerpc32/power6/wcsrchr.c: New file.
10011 * powerpc64/power6/wcschr.c: New file.
10012 * powerpc64/power6/wcscpy.c: New file.
10013 * powerpc64/power6/wcsrchr.c: New file.
10015 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10017 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10018 (two_way_short_needle): Use it.
10019 * string/strstr.c (AVAILABLE1_USES_J): Define.
10020 * string/strcasestr.c: Likewise.
10022 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10024 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10027 * NEWS: Add an entry.
10028 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10029 define their defaults.
10030 (two_way_short_needle): Detect end-of-string on-the-fly.
10031 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10032 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10033 * string/bug-strcasestr1.c: New test.
10034 * string/Makefile: Run it.
10036 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10039 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10040 the first character.
10042 2012-08-21 Roland McGrath <roland@hack.frob.com>
10044 * csu/elf-init.c (__libc_csu_irel): Function removed.
10045 * csu/libc-start.c (apply_irel): New function.
10046 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10048 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10050 * sysdeps/unix/sysv/linux/kernel-features.h
10051 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10052 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10053 <kernel-features.h>.
10054 [__NR_fadvise64_64]: Make code unconditional.
10055 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10056 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10057 !__NR_fadvise64_64)]: Likewise.
10058 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10059 !__NR_fadvise64_64))]: Likewise.
10060 [__NR_fadvise64]: Make code unconditional.
10061 [!__NR_fadvise64]: Remove conditional code.
10062 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10063 <kernel-features.h>.
10064 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10066 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10069 not include <kernel-features.h>.
10070 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10072 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10074 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10075 include <kernel-features.h>.
10076 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10078 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10081 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10083 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10084 slight instruction rearrangements per scrollpipe analysis.
10085 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10087 2012-08-20 Roland McGrath <roland@hack.frob.com>
10089 * manual/syslog.texi (syslog; vsyslog, closelog):
10090 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10091 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10093 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10094 DSOCAPS to match condition on defining it.
10096 2012-08-20 Joseph Myers <joseph@codesourcery.com>
10098 * sysdeps/unix/sysv/linux/kernel-features.h
10099 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10101 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10102 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10104 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10105 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10107 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10108 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10110 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10111 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10113 * sysdeps/unix/sysv/linux/kernel-features.h
10114 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10115 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10117 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10118 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10119 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10120 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10121 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10122 Make code unconditional.
10123 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10124 (__mmap64) [!__NR_mmap2]: Likewise.
10125 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10126 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10127 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10128 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10129 [__NR_mmap2]: Make code unconditional.
10130 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10131 (__mmap64) [!__NR_mmap2]: Likewise.
10133 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10135 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10137 2012-08-18 Andreas Jaeger <aj@suse.de>
10139 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10141 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10143 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10144 * include/unistd.h (__have_sock_cloexec): Likewise.
10145 (__have_pipe2): Likewise.
10146 (__have_dup3): Likewise.
10148 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10151 * include/unistd.h (__have_pipe2): Change define into an extern int.
10152 (__have_dup3): Likewise.
10153 * socket/have_sock_cloexec.c: Include fcntl.h.
10154 (__have_pipe2): New variable.
10155 (__have_dup3): Likewise.
10157 2012-08-17 Mike Frysinger <vapier@gentoo.org>
10159 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10161 2012-08-17 Marek Polacek <polacek@redhat.com>
10163 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10164 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10166 2012-08-17 Roland McGrath <roland@hack.frob.com>
10168 * configure.in: Add AC_SUBST for sysheaders.
10169 * configure: Regenerated.
10170 * config.make.in (sysheaders): New substituted variable.
10172 * sysdeps/unix/mkfifo.c: Moved ...
10173 * sysdeps/posix/mkfifo.c: ... here.
10174 * sysdeps/unix/mkfifoat.c: Moved ...
10175 * sysdeps/posix/mkfifoat.c: ... here.
10177 * sysdeps/unix/utime.c: Moved ...
10178 * sysdeps/posix/utime.c: ... here.
10180 * sysdeps/unix/time.c: Moved ...
10181 * sysdeps/posix/time.c: ... here.
10182 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10183 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10185 * sysdeps/unix/nice.c: Moved ...
10186 * sysdeps/posix/nice.c: ... here.
10188 * sysdeps/unix/alarm.c: Moved ...
10189 * sysdeps/posix/alarm.c: ... here.
10191 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10193 2012-08-17 Jeff Law <law@redhat.com>
10195 * intl/Makefile (codeset_mo): New variable.
10196 ($(codeset_mo)): New target.
10197 (tst-codeset.out): Depend on that. Remove explicit rule.
10198 (tst-gettext3.out, tst-gettext5.out): Likewise.
10199 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10200 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10201 * intl/tst-codeset.sh: Remove.
10202 * intl/tst-gettext3.sh: Likewise.
10203 * intl/tst-gettext5.sh: Likewise.
10205 2012-08-17 Roland McGrath <roland@hack.frob.com>
10207 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10208 * sysdeps/unix/syscalls.list: ... here.
10210 * sysdeps/posix/getaddrinfo.c
10211 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10212 (gaiconf_init, gaiconf_reload): Use them.
10213 [!_STATBUF_ST_NSEC]
10214 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10215 Define using time_t rather than struct timespec.
10217 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10218 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10220 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10222 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10223 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10226 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10227 __libc_cleanup_push argument.
10229 * bits/param.h: New file.
10230 * misc/sys/param.h: New file.
10231 * include/sys/param.h: New file.
10232 * misc/Makefile (headers): Add bits/param.h.
10233 * sysdeps/generic/sys/param.h: File removed.
10234 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10235 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10236 * sysdeps/mach/hurd/bits/param.h: New file.
10237 * sysdeps/mach/hurd/sys/param.h: File removed.
10239 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10242 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10244 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10245 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10248 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10249 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10250 rather than -D_IO_MTSAFE_IO conditionally.
10251 * stdio-common/Makefile (CPPFLAGS): Likewise.
10252 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10253 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10254 Use $(libio-mtsafe).
10255 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10256 of -D_IO_MTSAFE_IO.
10257 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10258 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10259 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10260 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10261 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10262 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10263 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10264 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10265 (CFLAGS-fread_u_chk.c): Likewise.
10266 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10267 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10268 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10269 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10270 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10271 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10272 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10273 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10274 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10276 * libio/Makefile: Test [$(libc-reentrant) = yes]
10277 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10280 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10281 * sysdeps/pthread/configure: File removed.
10282 * sysdeps/pthread/Makeconfig: New file.
10283 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10284 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10286 2012-08-16 Gary Benson <gbenson@redhat.com>
10288 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10289 unmapping the first object in a namespace.
10291 2012-08-16 Roland McGrath <roland@hack.frob.com>
10293 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10294 (__internal_setnetgrent): ... this. Add internal_function to
10295 definition. Add libc_hidden_def.
10296 (setnetgrent): Update caller.
10297 (internal_endnetgrent): Renamed to ...
10298 (__internal_endnetgrent): ... this. Add internal_function to
10299 definition. Add libc_hidden_def.
10300 (endnetgrent): Update caller.
10301 (internal_getnetgrent_r): Renamed to ...
10302 (__internal_getnetgrent_r): ... this. Add internal_function to
10303 definition. Add libc_hidden_def.
10304 (__getnetgrent_r): Update caller.
10305 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10307 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10309 * stdlib/longlong.h: Update from GCC.
10311 2012-08-16 Roland McGrath <roland@hack.frob.com>
10313 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10314 on _QL, which is set by umul_ppmm but never used.
10315 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10316 variables, which are set by GMP macros but never used.
10317 * stdio-common/_itowa.c (_itowa): Likewise.
10318 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10319 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10321 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10323 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10324 struct La_sh_regs is not constant.
10325 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10326 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10327 and struct La_sparc64_regs are not constant.
10329 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10331 * sysdeps/unix/sysv/linux/kernel-features.h
10332 (__ASSUME_POSIX_TIMERS): Remove.
10333 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10334 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10335 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10336 Make code unconditional.
10337 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10338 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10339 Make code unconditional.
10340 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10341 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10342 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10343 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10344 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10345 Make code unconditional.
10346 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10347 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10348 (__libc_missing_posix_timers): Remove.
10350 2012-08-15 Roland McGrath <roland@hack.frob.com>
10352 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10353 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10355 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10357 * elf/dl-sym.c: Include <stdlib.h>.
10359 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10360 constants, which avoids warnings in 32-bit builds.
10362 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10363 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10365 * misc/lseek.c: File moved to ...
10366 * io/lseek.c: ... here.
10368 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10370 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10371 shifting LEN more than 31 bits at once.
10373 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10376 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10377 segmentation fault for a case of two empty input strings.
10378 * string/test-strncasecmp.c (check1): Renamed to...
10379 (bz12205): ...this.
10380 (bz14195): Add new testcase for two empty input strings and N > 0.
10381 (test_main): Call new testcase, adapt for renamed function.
10383 2012-08-15 Andreas Jaeger <aj@suse.de>
10386 * crypt/md5test2.c: New test, based on test supplied by Serge
10387 Belyshev <belyshev@depni.sinp.msu.ru>.
10388 * crypt/Makefile (xtests): Add md5test-giant..
10389 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10391 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10394 * crypt/md5.c (md5_process_block): Don't assume the buffer
10395 length is less than 2**32.
10396 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10397 length is less than 2**64.
10399 2012-08-15 Roland McGrath <roland@hack.frob.com>
10401 * string/str-two-way.h: Include <sys/param.h>.
10402 (MAX): Macro removed.
10404 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10405 Move #define and #undef of memmove to just before and after
10406 including <string.h>.
10408 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10409 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10410 and after including <string.h>. Move declarations of
10411 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10412 to before #include "string/memmove.c".
10414 * include/dirent.h: Declare __getdirentries.
10416 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10417 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10419 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10421 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10422 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10423 * sysdeps/i386/configure: Regenerated.
10424 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10425 STABS_CURRENT_FILE, and STABS_FUN.
10426 (END): Remove call to STABS_FUN_END.
10427 (STABS_CURRENT_FILE1): Delete.
10428 (STABS_CURRENT_FILE): Likewise.
10429 (STABS_FUN): Likewise.
10430 (STABS_FUN_END): Likewise.
10431 (STABS_FUN2): Likewise.
10432 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10433 * sysdeps/x86_64/configure: Regenerated.
10435 2012-08-14 Roland McGrath <roland@hack.frob.com>
10437 * elf/dl-open.c: Include <atomic.h>.
10438 * elf/dl-lookup.c: Likewise.
10440 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10442 * sysdeps/unix/sysv/linux/kernel-features.h
10443 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10444 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10446 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10448 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10449 condition on __ASSUME_CLONE_THREAD_FLAGS.
10451 2012-08-14 Andreas Jaeger <aj@suse.de>
10453 * sysdeps/i386/fpu/libm-test-ulps: Update.
10455 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10457 * include/atomic.h (atomic_exchange_and_add): Split into ...
10458 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10461 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10465 2012-08-13 Jeff Law <law@redhat.com>
10467 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10468 null byte in the output string.
10470 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10472 * sysdeps/unix/sysv/linux/kernel-features.h
10473 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10474 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10475 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10476 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10477 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10478 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10479 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10481 2012-08-09 Jeff Law <law@redhat.com>
10484 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10485 When avoid_arena is set, don't retry in the that arena. Pick the
10486 next one, whatever it might be.
10487 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10488 (arena_lock): Pass in new parameter to arena_get2.
10489 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10491 (__libc_malloc): Unify retrying after main arena failure with
10492 __libc_memalign version.
10493 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10495 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10498 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10499 to __redirect_strstr.
10500 (__strstr_sse42): Use typeof __redirect_strstr.
10501 (__strstr_ia32): Likewise.
10502 (__libc_strstr): New prototype.
10503 (strstr): Renamed to ...
10504 (__libc_strstr): This.
10505 (strstr): New strong alias of __libc_strstr.
10506 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10507 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10510 (__libc_time): New prototype.
10511 (time_ifunc): Replace time with __libc_time.
10512 (time): New strong alias and hidden definition of __libc_time.
10513 (__GI_time): Remove strong alias.
10514 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10515 Include <stddef.h>.
10516 (memmove): Redefined to __redirect_memmove.
10517 (__memmove_sse2): Use typeof __redirect_memmove.
10518 (__memmove_ssse3): Likewise.
10519 (__memmove_ssse3_back): Likewise.
10520 (__libc_memmove): New prototype.
10521 (memmove): Renamed to ...
10522 (__libc_memmove): This.
10523 (memmove): New strong alias of __libc_memmove.
10525 2012-08-08 Mark Salter <msalter@redhat.com>
10528 (R_MN10300_TLS_GD): Define.
10529 (R_MN10300_TLS_LD): Likewise.
10530 (R_MN10300_TLS_LDO): Likewise.
10531 (R_MN10300_TLS_GOTIE): Likewise.
10532 (R_MN10300_TLS_IE): Likewise.
10533 (R_MN10300_TLS_LE): Likewise.
10534 (R_MN10300_TLS_DTPMOD): Likewise.
10535 (R_MN10300_TLS_DTPOFF): Likewise.
10536 (R_MN10300_TLS_TPOFF): Likewise.
10537 (R_MN10300_SYM_DIFF): Likewise.
10538 (R_MN10300_ALIGN): Likewise.
10539 (R_MN10300_NUM): Update.
10541 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10543 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10546 2012-08-08 Roland McGrath <roland@hack.frob.com>
10548 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10550 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10551 sysdeps/unix -> sysdeps/posix move.
10552 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10554 2012-08-07 Allan McRae <allan@archlinux.org>
10557 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10558 (SUNOS_CPP): Likewise.
10559 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10561 (open_input): Call CPP using execvp.
10563 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10565 * sysdeps/unix/sysv/linux/kernel-features.h
10566 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10567 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10568 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10569 (__ASSUME_WAITID_SYSCALL): Likewise.
10570 * sysdeps/unix/sysv/linux/dl-execstack.c
10571 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10572 code unconditional.
10573 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10575 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10576 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10577 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10579 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10581 [__ASSUME_WAITID_SYSCALL]: Likewise.
10582 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10584 2012-08-07 Roland McGrath <roland@hack.frob.com>
10586 * sysdeps/unix/closedir.c: Renamed to ...
10587 * sysdeps/posix/closedir.c: ... here.
10588 * sysdeps/unix/dirfd.c: Renamed to ...
10589 * sysdeps/posix/dirfd.c: ... here.
10590 * sysdeps/unix/dirstream.h: Renamed to ...
10591 * sysdeps/posix/dirstream.h: ... here.
10592 * sysdeps/unix/fdopendir.c: Renamed to ...
10593 * sysdeps/posix/fdopendir.c: ... here.
10594 * sysdeps/unix/opendir.c: Renamed to ...
10595 * sysdeps/posix/opendir.c: ... here.
10596 * sysdeps/unix/readdir.c: Renamed to ...
10597 * sysdeps/posix/readdir.c: ... here.
10598 * sysdeps/unix/readdir_r.c: Renamed to ...
10599 * sysdeps/posix/readdir_r.c: ... here.
10600 * sysdeps/unix/rewinddir.c: Renamed to ...
10601 * sysdeps/posix/rewinddir.c: ... here.
10602 * sysdeps/unix/seekdir.c: Renamed to ...
10603 * sysdeps/posix/seekdir.c: ... here.
10604 * sysdeps/unix/telldir.c: Renamed to ...
10605 * sysdeps/posix/telldir.c: ... here.
10606 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10607 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10608 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10609 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10611 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10612 * bits/fcntl.h: ... here.
10614 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10616 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10617 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10618 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10619 (struct flock): Move l_start, l_len to the beginning.
10620 Use __pid_t for l_pid.
10621 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10622 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10623 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10624 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10625 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10626 [__USE_LARGEFILE64] (struct flock64): New type.
10627 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10629 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10630 * bits/dirent.h: ... here.
10632 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10633 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10635 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10637 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10638 Change from 2.6.0 to 2.6.16.
10639 * sysdeps/unix/sysv/linux/configure: Regenerated.
10640 * sysdeps/unix/sysv/linux/kernel-features.h
10641 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10642 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10644 (__ASSUME_UTIMES): Likewise.
10645 (__ASSUME_CLONE_STOPPED): Remove.
10646 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10647 architectures, not kernel version.
10648 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10649 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10650 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10651 (__ASSUME_WAITID_SYSCALL): Likewise.
10652 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10653 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10654 * README: State 2.6.16 as minimum Linux kernel version. Do not
10655 refer to older versions.
10657 2012-08-06 Roland McGrath <roland@hack.frob.com>
10659 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10660 Define alphasort64 as an alias.
10661 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10662 Define versionsort64 as an alias.
10663 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10664 Define scandir64 as an alias.
10665 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10666 Define scandirat64 as an alias.
10667 * dirent/alphasort64.c (alphasort64):
10668 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10669 * dirent/versionsort64.c: Likewise.
10670 * dirent/scandir64.c: Likewise.
10671 * dirent/scandirat64.c: Likewise.
10672 * sysdeps/wordsize-64/alphasort.c: File removed.
10673 * sysdeps/wordsize-64/alphasort64.c: File removed.
10674 * sysdeps/wordsize-64/scandir.c: File removed.
10675 * sysdeps/wordsize-64/scandir64.c: File removed.
10676 * sysdeps/wordsize-64/scandirat.c: File removed.
10677 * sysdeps/wordsize-64/scandirat64.c: File removed.
10678 * sysdeps/wordsize-64/versionsort.c: File removed.
10679 * sysdeps/wordsize-64/versionsort64.c: File removed.
10680 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10681 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10682 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10683 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10684 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10685 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10686 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10687 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10689 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10690 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10691 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10692 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10693 [defined __arch64__ || defined __sparcv9]
10694 (__INO_T_MATCHES_INO64_T): New macro.
10695 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10696 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10697 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10698 * sysdeps/unix/sysv/linux/bits/dirent.h
10699 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10700 (_DIRENT_MATCHES_DIRENT64): New macro.
10702 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10703 Define lockf64 as an alias.
10704 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10705 Define fseeko64 as an alias.
10706 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10707 Define ftello64 as an alias.
10708 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10709 Define _IO_fgetpos64 and fgetpos64 as aliases.
10710 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10711 Define _IO_fsetpos64 and fsetpos64 as aliases.
10712 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10713 Conditionalize body on this.
10714 * libio/fseeko64.c: Likewise.
10715 * libio/ftello64.c: Likewise.
10716 * libio/iofgetpos64.c: Likewise.
10717 * libio/iofsetpos64.c: Likewise.
10718 * sysdeps/wordsize-64/lockf.c: File removed.
10719 * sysdeps/wordsize-64/lockf64.c: File removed.
10720 * sysdeps/wordsize-64/fseeko.c: File removed.
10721 * sysdeps/wordsize-64/fseeko64.c: File removed.
10722 * sysdeps/wordsize-64/ftello.c: File removed.
10723 * sysdeps/wordsize-64/ftello64.c: File removed.
10724 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10725 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10726 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10727 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10728 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10729 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10730 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10731 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10732 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10733 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10734 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10735 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10736 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10737 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10739 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10740 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10741 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10742 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10743 [defined __arch64__ || defined __sparcv9]
10744 (__OFF_T_MATCHES_OFF64_T): New macro.
10745 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10746 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10747 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10748 (__OFF_T_MATCHES_OFF64_T): New macro.
10750 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10752 * stdlib/secure-getenv.c (__secure_getenv): Replace
10753 GLIBC_2_16 with GLIBC_2_17.
10755 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10757 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10758 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10760 2012-08-03 David S. Miller <davem@davemloft.net>
10762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10764 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10766 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10768 (__ASSUME_CORRECT_SI_PID): Likewise.
10769 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10770 (__ASSUME_TMPFS_NAME): Likewise.
10771 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10772 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10773 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10774 (HAVE_AUX_SECURE): Make definition unconditional.
10775 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10776 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10778 2012-08-03 Roland McGrath <roland@hack.frob.com>
10780 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10781 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10782 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10783 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10784 __eloop_threshold instead of SYMLOOP_MAX.
10786 * sysdeps/generic/eloop-threshold.h: New file.
10787 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10789 * elf/chroot_canon.c (chroot_canon): Likewise.
10791 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10794 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10795 Change to 2.6.0 everywhere.
10796 * sysdeps/unix/sysv/linux/configure: Regenerated.
10797 * sysdeps/unix/sysv/linux/kernel-features.h
10798 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10799 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10801 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10802 (__ASSUME_FUTEX_REQUEUE): Remove.
10803 (__ASSUME_STATFS64): Define unconditionally.
10804 (__ASSUME_AT_SECURE): Likewise.
10805 (__ASSUME_CORRECT_SI_PID): Likewise.
10806 (__ASSUME_TGKILL): Define without depending on kernel version for
10808 (__ASSUME_UTIMES): Likewise.
10809 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10811 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10812 (__ASSUME_TMPFS_NAME): Likewise.
10813 * README: Update reference to Linux kernel versions.
10815 2012-08-02 Marek Polacek <polacek@redhat.com>
10818 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10819 libc_cv_asm_type_prefix with %.
10820 * configure: Regenerated.
10821 * include/libc-symbols.h: Remove comment about
10822 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10823 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10824 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10825 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10826 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10827 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10828 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10829 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10830 * elf/tst-unique2mod1.c: Likewise.
10831 * elf/tst-unique1mod2.c: Likewise.
10832 * elf/tst-unique1mod1.c: Likewise.
10833 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10834 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10835 Replace ASM_TYPE_DIRECTIVE with .type.
10836 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10837 * sysdeps/i386/sysdep.h: Likewise.
10838 * sysdeps/x86_64/sysdep.h: Likewise.
10839 * sysdeps/sh/sysdep.h: Likewise.
10840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10841 Do not define ASM_TYPE_DIRECTIVE.
10842 * sysdeps/powerpc/sysdep.h: Likewise.
10843 * sysdeps/powerpc/powerpc32/sysdep.h:
10844 Replace ASM_TYPE_DIRECTIVE with .type.
10845 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10846 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10847 * sysdeps/i386/fpu/e_powf.S: Likewise.
10848 * sysdeps/i386/fpu/e_expl.S: Likewise.
10849 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10850 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10851 * sysdeps/i386/fpu/e_pow.S: Likewise.
10852 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10853 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10854 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10855 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10856 * sysdeps/i386/fpu/e_log2.S: Likewise.
10857 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10858 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10859 * sysdeps/i386/fpu/e_powl.S: Likewise.
10860 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10861 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10862 * sysdeps/i386/fpu/e_logl.S: Likewise.
10863 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10864 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10865 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10866 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10867 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10868 * sysdeps/i386/fpu/e_log.S: Likewise.
10869 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10870 * sysdeps/i386/fpu/e_logf.S: Likewise.
10871 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10872 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10873 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10874 * sysdeps/i386/fpu/e_log10.S: Likewise.
10875 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10876 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10877 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10878 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10879 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10880 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10881 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10882 * sysdeps/i386/i686/strtok.S: Likewise.
10883 * sysdeps/i386/i386-mcount.S: Likewise.
10884 * sysdeps/i386/strtok.S: Likewise.
10885 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10886 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10887 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10888 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10889 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10890 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10891 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10892 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10893 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10894 * sysdeps/x86_64/_mcount.S: Likewise.
10895 * sysdeps/x86_64/strtok.S: Likewise.
10896 * sysdeps/sh/_mcount.S: Likewise.
10898 2012-08-01 Roland McGrath <roland@hack.frob.com>
10900 * libio/iofopen.c: Include <fcntl.h>.
10901 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10902 (_IO_fopen64, fopen64): Define as aliases.
10903 * libio/iofopen64.c: Include <fcntl.h>.
10904 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10905 Conditionalize body on this.
10906 * sysdeps/wordsize-64/iofopen.c: File removed.
10907 * sysdeps/wordsize-64/iofopen64.c: File removed.
10909 2012-08-01 Marek Polacek <polacek@redhat.com>
10911 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10912 Use dlfcn directly instead of a variable.
10913 (binfmt-subdir): Do not define.
10916 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10918 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10919 Remove all definitions.
10920 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10921 <kernel-features.h>.
10922 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10923 (miss_F_GETOWN_EX): Remove all definitions.
10924 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10926 [!__ASSUME_FCNTL64]: Remove conditional code.
10927 [__ASSUME_FCNTL64]: Make code unconditional.
10928 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10929 <kernel-features.h>.
10930 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10931 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10932 (lockf64) [__NR_fcntl64]: Make code unconditional.
10933 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10935 * sysdeps/unix/sysv/linux/kernel-features.h
10936 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10937 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10938 Make code unconditional.
10939 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10940 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10942 [__NR_vfork]: Make code unconditional.
10943 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10944 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10946 [__NR_vfork]: Make code unconditional.
10947 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10948 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10950 2012-08-01 Roland McGrath <roland@hack.frob.com>
10952 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10953 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10955 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10956 Define mkstemp64 as an alias.
10957 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10958 Define mkstemps64 as an alias.
10959 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10960 Define mkostemp64 as an alias.
10961 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10962 Define mkostemps64 as an alias.
10963 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10964 Conditionalize body on this.
10965 * misc/mkostemp64.c: Likewise.
10966 * misc/mkostemps64.c: Likewise.
10967 * misc/mkstemps64.c: Likewise.
10968 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10969 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10970 * sysdeps/wordsize-64/mkostemp.c: File removed.
10971 * sysdeps/wordsize-64/mkstemp.c: File removed.
10972 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10973 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10974 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10975 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10978 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10979 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10980 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10981 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10983 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10984 compat_symbol macros from <shlib-compat.h> rather than the underlying
10985 default_symbol_version and symbol_version macros, so that DEFAULT
10986 lines in shlib-versions are respected.
10987 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10989 2012-08-01 Florian Weimer <fweimer@redhat.com>
10991 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10992 Declare with warn_unused_result.
10993 (setgid, setregid, setegid, setresgid): Likewise.
10994 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10996 * WUR-REPORT: Remove set*id functions.
10998 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11000 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11002 2012-07-31 Roland McGrath <roland@hack.frob.com>
11004 * include/sys/socket.h (__libc_accept, __libc_accept4):
11005 Add attribute_hidden.
11006 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11008 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11010 * inet/getnetgrent_r.c (setup): Likewise.
11012 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11014 2012-07-31 David S. Miller <davem@davemloft.net>
11016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11018 2012-07-31 Joseph Myers <joseph@codesourcery.com>
11021 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11022 value between 1.0 and 2.0 and smaller part has absolute value less
11024 * math/s_clog10.c (__clog10): Likewise.
11025 * math/s_clog10f.c (__clog10f): Likewise.
11026 * math/s_clog10l.c (__clog10l): Likewise.
11027 * math/s_clogf.c (__clogf): Likewise.
11028 * math/s_clogl.c (__clogl): Likewise.
11029 * math/libm-test.inc (clog_test): Add more tests.
11030 (clog10_test): Likewise.
11031 * sysdeps/i386/fpu/libm-test-ulps: Update.
11032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11034 2012-07-31 Florian Weimer <fweimer@redhat.com>
11036 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11037 Exit with zero in case no suitable GID is found, and write a
11038 message to standard error.
11040 2012-07-30 Roland McGrath <roland@hack.frob.com>
11042 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11044 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11045 (MAXPATHLEN): Removed.
11046 (NOGROUP, NODEV): New macros.
11047 (setbit, clrbit, isset, isclr): New macros.
11048 (howmany, roundup, powerof2): New macros.
11049 (DEV_BSIZE): New macro.
11051 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11052 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11054 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11055 definition on [!__NO_LONG_DOUBLE_MATH].
11057 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11058 PTR_MANGLE and PTR_DEMANGLE.
11060 * socket/accept4.c (accept4): Rename to __libc_accept4.
11061 Define accept4 as a weak alias.
11063 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11064 on [_DIRENT_HAVE_D_TYPE].
11065 * io/ftw.c (ftw_dir): Likewise.
11067 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11069 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11071 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11072 Use the BSD numbers rather than the arbitrary ones we had.
11073 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11074 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11075 (SIGXCPU, SIGXFSZ): New macros.
11078 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11079 initializer on [_LIBC_REENTRANT].
11081 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11082 definitions inside [_POSIX_MAPPED_FILES].
11084 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11086 * dirent/opendir.c: Include <fcntl.h>.
11088 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11089 (__libc_getspecific): Likewise.
11090 (__libc_key_create): Likewise.
11092 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11093 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11094 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11095 (tmpfile64): Define as alias.
11096 * sysdeps/wordsize-64/tmpfile.c: File removed.
11097 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11098 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11099 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11101 * stdio-common/vfscanf.c: Include <stdbool.h>.
11102 * nss/makedb.c: Likewise.
11103 * stdio-common/_i18n_number.h: Likewise.
11104 * argp/argp-help.c: Likewise.
11105 * posix/wordexp.c: Likewise.
11106 * sysdeps/posix/spawni.c: Likewise.
11107 * nss/nss_files/files-initgroups.c: Likewise.
11108 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11109 * nss/nss_files/files-initgroups.c: Likewise.
11110 * nss/nss_db/db-netgrp.c: Likewise.
11111 * nss/nss_db/db-initgroups.c: Likewise.
11112 * io/fchmodat.c: Include <sys/stat.h>.
11114 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11115 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11117 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11120 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11121 Add multiple inclusion protection.
11123 2012-07-27 David S. Miller <davem@davemloft.net>
11125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11127 2012-07-27 Gary Benson <gbenson@redhat.com>
11130 * elf/rtld.c: Include <stap-probe.h>.
11131 (dl_main): Added static probes "init_start" and "init_complete".
11132 * elf/dl-load.c: Include <stap-probe.h>.
11133 (lose): Take new parameter "nsid".
11134 Added static probe "map_failed".
11135 (_dl_map_object_from_fd): Pass namespace id to lose.
11136 Added static probe "map_start".
11137 (open_verify): Pass namespace id to lose.
11138 * elf/dl-open.c: Include <stap-probe.h>.
11139 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11140 and "reloc_complete".
11141 * elf/dl-close.c: Include <stap-probe.h>.
11142 (_dl_close_worker): Added static probes "unmap_start" and
11144 * elf/rtld-debugger-interface.txt: New file documenting the above.
11146 2012-07-26 Roland McGrath <roland@hack.frob.com>
11148 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11149 rather than a string variable.
11150 * sunrpc/rpc_main.c (h_output): Likewise.
11151 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11153 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11155 * inet/check_native.c: New file.
11157 2012-07-26 Joseph Myers <joseph@codesourcery.com>
11160 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11161 if larger part has absolute value 1.0.
11162 * math/s_clog10.c (__clog10): Likewise.
11163 * math/s_clog10f.c (__clog10f): Likewise.
11164 * math/s_clog10l.c (__clog10l): Likewise.
11165 * math/s_clogf.c (__clogf): Likewise.
11166 * math/s_clogl.c (__clogl): Likewise.
11167 * math/libm-test.inc (clog_test): Add more tests.
11168 (clog10_test): Likewise.
11169 * sysdeps/i386/fpu/libm-test-ulps: Update.
11170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11172 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11173 (pltexit): Likewise.
11174 (La_regs): Likewise.
11175 (La_retval): Likewise.
11176 (int_retval): Likewise.
11177 Update #error for removed macros to refer only to definitions in
11179 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11181 (pltexit): Likewise.
11182 (La_regs): Likewise.
11183 (La_retval): Likewise.
11184 (int_retval): Likewise.
11185 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11187 (pltexit): Likewise.
11188 (La_regs): Likewise.
11189 (La_retval): Likewise.
11190 (int_retval): Likewise.
11191 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11193 (pltexit): Likewise.
11194 (La_regs): Likewise.
11195 (La_retval): Likewise.
11196 (int_retval): Likewise.
11197 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11199 (pltexit): Likewise.
11200 (La_regs): Likewise.
11201 (La_retval): Likewise.
11202 (int_retval): Likewise.
11203 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11205 (pltexit): Likewise.
11206 (La_regs): Likewise.
11207 (La_retval): Likewise.
11208 (int_retval): Likewise.
11209 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11211 (pltexit): Likewise.
11212 (La_regs): Likewise.
11213 (La_retval): Likewise.
11214 (int_retval): Likewise.
11215 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11216 macro definitions in tst-audit.h.
11217 * sysdeps/i386/tst-audit.h: New file.
11218 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11219 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11220 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11221 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11222 * sysdeps/sh/tst-audit.h: Likewise.
11223 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11224 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11225 * sysdeps/x86_64/tst-audit.h: Likewise.
11227 2012-07-26 Andreas Jaeger <aj@suse.de>
11229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11232 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11233 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11234 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11236 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11237 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11238 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11240 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11243 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11245 (si_call_addr, si_syscall, si_arch): Define new macro.
11246 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11248 (si_call_addr, si_syscall, si_arch): Define new marcro.
11249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11251 (si_call_addr, si_syscall, si_arch): Define new macro.
11252 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11254 (si_call_addr, si_syscall, si_arch): Define new macro.
11256 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11260 Change to 2.4.21 where previously 2.4.1.
11261 * sysdeps/unix/sysv/linux/configure: Regenerated.
11262 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11263 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11264 Linux kernel version.
11265 (__ASSUME_STD_AUXV): Remove.
11266 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11268 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11269 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11270 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11271 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11272 (__ASSUME_NETLINK_SUPPORT): Likewise.
11273 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11274 (__no_netlink_support): Remove conditional definition.
11275 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11277 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11278 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11279 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11280 (if_nameindex_ioctl): Remove.
11281 (if_nameindex_netlink): Do not handle __no_netlink_support.
11282 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11284 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11285 Remove conditional code.
11286 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11288 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11290 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11291 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11292 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11294 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11295 [!__ASSUME_STD_AUXV]: Remove conditional code.
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11297 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11298 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11300 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11301 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11303 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11305 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11306 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11308 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11310 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11313 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11316 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11317 code unconditional.
11318 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11320 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11322 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11325 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11327 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11330 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11331 code unconditional.
11332 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11334 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11336 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11339 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11340 code unconditional.
11341 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11343 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11345 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11348 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11350 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11351 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11352 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11353 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11354 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11355 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11356 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11357 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11358 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11359 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11360 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11361 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11362 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11363 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11364 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11365 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11366 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11367 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11368 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11371 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11372 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11374 2012-07-25 Florian Weimer <fweimer@redhat.com>
11376 * Versions.def: Add GLIBC_2.17.
11377 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11378 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11379 Introduce __libc_secure_getenv.
11380 * stdlib/Versions (2.17): Add secure_getenv
11381 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11382 * stdlib/secure-getenv.c: Rename __secure_getenv to
11383 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11384 symbol __secure_getenv for GLIBC_2.0.
11385 * stdlib/tst-secure-getenv.c: New.
11386 * stdlib/Makefile (tests): Add testcase.
11387 * manual/startup.texi (Environment Access): Document
11389 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11390 __libc_secure_getenv.
11391 * inet/ruserpass.c (ruserpass): Likewise.
11392 * malloc/mtrace.c (mtrace): Likewise.
11393 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11394 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11395 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11396 * sysdeps/posix/tempname.c: Likewise. Evaluate
11397 HAVE_SECURE_GETENV.
11398 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11399 __secure_getenv to __libc_secure_getenv.
11400 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11413 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11415 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11416 (struct La_i86_retval): Likewise.
11417 (struct La_x86_64_regs): Likewise.
11418 (struct La_x86_64_retval): Likewise.
11419 (struct La_x32_regs): Likewise.
11420 (struct La_x32_retval): Likewise.
11421 (struct La_ppc32_regs): Likewise.
11422 (struct La_ppc32_retval): Likewise.
11423 (struct La_ppc64_regs): Likewise.
11424 (struct La_ppc64_retval): Likewise.
11425 (struct La_sh_regs): Likewise.
11426 (struct La_sh_retval): Likewise.
11427 (struct La_s390_32_regs): Likewise.
11428 (struct La_s390_32_retval): Likewise.
11429 (struct La_s390_64_regs): Likewise.
11430 (struct La_s390_64_retval): Likewise.
11431 (struct La_sparc32_regs): Likewise.
11432 (struct La_sparc32_retval): Likewise.
11433 (struct La_sparc64_regs): Likewise.
11434 (struct La_sparc64_retval): Likewise.
11435 (struct audit_ifaces): Remove architecture-specific pltenter and
11437 * sysdeps/i386/ldsodefs.h: New file.
11438 * sysdeps/powerpc/ldsodefs.h: Likewise.
11439 * sysdeps/s390/ldsodefs.h: Likewise.
11440 * sysdeps/sh/ldsodefs.h: Likewise.
11441 * sysdeps/sparc/ldsodefs.h: Likewise.
11442 * sysdeps/x86_64/ldsodefs.h: Likewise.
11444 2012-07-25 Marek Polacek <polacek@redhat.com>
11447 * math/libm-test.inc (yn_test): Add another test.
11448 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11449 to ERANGE when the result is +-Inf.
11450 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11451 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11452 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11453 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11455 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11457 * conform/data/time.h-data (NULL): Use macro-constant. Require
11459 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11461 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11463 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11465 * configure.in <sysdeps resolving>: Correct printing
11467 * configure: Regenerate.
11469 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11471 * math/w_ilogb.c: Include <limits.h>.
11472 * math/w_ilogbl.c: Likewise.
11474 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11476 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11477 va_copy. Document allowing for unavailable va_copy only as
11478 pre-C99 compatibility.
11479 * manual/string.texi (Copying and Concatenation): Use va_copy
11480 instead of __va_copy in concat example.
11482 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11484 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11485 (__sendto): Use create_address_port. Initialize APORT and deallocate
11488 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11489 with O_NOLINK passed to __file_name_lookup.
11491 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11492 with O_NOLINK passed to __file_name_lookup.
11494 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11495 negative N or less than NGIDS.
11497 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11498 type to string_t. Set ERANGE as errno and return it if NAME is not big
11499 enough. Use memcpy instead of strncpy.
11501 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11503 * elf/Makefile (check-data): Remove.
11504 (localplt.data): New vpath directive.
11505 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11506 instead of $(check-data).
11507 * scripts/data/localplt-generic.data: Move to ...
11508 * sysdeps/generic/localplt.data: ... here.
11509 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11510 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11511 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11514 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11517 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11520 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11523 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11526 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11530 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11532 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11533 PPC32 and PPC64 files.
11534 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11535 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11537 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11539 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11540 __makecontext_ret to ...
11541 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11542 ... here and call exit if uc_link is NULL. New file.
11543 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11544 __makecontext_ret.S.
11545 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11546 __makecontext_ret to ...
11547 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11548 ... here and call exit if uc_link is NULL. New file.
11549 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11550 __makecontext_ret.S.
11552 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11554 * elf/elf.h (R_390_IRELATIVE): New definition.
11555 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11556 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11557 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11558 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11559 (elf_machine_lazy_rel): Likewise.
11560 * sysdeps/s390/dl-irel.h: New file.
11561 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11562 * sysdeps/s390/s390-64/memset.S: New asm code.
11563 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11564 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11565 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11566 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11567 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11568 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11569 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11570 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11571 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11572 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11573 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11574 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11575 * sysdeps/s390/s390-32/memset.S: New asm code.
11576 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11578 2012-07-17 Marek Polacek <polacek@redhat.com>
11581 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11582 * sysdeps/s390/s390-64/configure.in: Likewise.
11583 * sysdeps/sparc/configure.in: Likewise.
11584 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11585 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11586 * sysdeps/i386/configure.in: Likewise.
11587 * sysdeps/x86_64/configure.in: Likewise.
11588 * sysdeps/sh/configure.in: Likewise.
11589 * sysdeps/s390/s390-32/configure: Regenerated.
11590 * sysdeps/s390/s390-64/configure: Likewise.
11591 * sysdeps/x86_64/configure: Likewise.
11592 * sysdeps/sh/configure: Likewise.
11593 * sysdeps/powerpc/powerpc64/configure: Likewise.
11594 * sysdeps/powerpc/powerpc32/configure: Likewise.
11595 * sysdeps/sparc/configure: Likwise.
11596 * sysdeps/i386/configure: Likewise.
11598 * elf/dl-open.c: Comment fixes.
11600 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11602 * Makefile [CXX] (check-data): Remove.
11603 [CXX] (c++-types.data): New vpath directive.
11604 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11605 vpath. Do not allow for C++ type data being missing.
11606 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11607 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11608 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11609 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11610 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11611 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11612 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11615 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11618 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11621 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11624 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11627 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11630 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11633 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11636 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11637 definitions to architecture-specific files.
11638 (TLS_IE): Likewise.
11639 (TLS_LD): Likewise.
11640 (TLS_GD): Likewise.
11641 * sysdeps/i386/tls-macros.h: New file.
11642 * sysdeps/powerpc/tls-macros.h: Likewise.
11643 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11644 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11645 * sysdeps/sh/tls-macros.h: Likewise.
11646 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11647 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11648 * sysdeps/x86_64/tls-macros.h: Likewise.
11650 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11652 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11653 zero value for regular exit case.
11655 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11656 (__start_context): Preserve zero value for regular exit case.
11658 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11659 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11661 * manual/setjmp.texi (setcontext): Clarify normal process
11662 termination when uc_link is the null pointer.
11663 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11666 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11668 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11669 preprocessor. Test for each exception mask separately.
11671 2012-07-16 Andreas Jaeger <aj@suse.de>
11673 * po/ru.po: Update from translation team.
11675 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11677 * conform/data/string.h-data (NULL): Use macro-constant. Require
11679 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11680 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11681 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11682 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11683 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11685 2012-07-13 Andreas Jaeger <aj@suse.de>
11687 * po/fr.po: Update from translation team.
11689 2012-07-12 Marek Polacek <polacek@redhat.com>
11692 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11693 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11696 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11699 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11700 Change to 2.4.1 where previously 2.4.0.
11701 * sysdeps/unix/sysv/linux/configure: Regenerated.
11702 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11703 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11705 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11706 (__ASSUME_AT_CLKTCK): Remove.
11707 (__ASSUME_AT_PAGESIZE): Likewise.
11708 (__ASSUME_AT_XID): Likewise.
11709 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11710 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11711 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11713 (HAVE_AUX_PAGESIZE): Likewise.
11714 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11715 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11716 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11718 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11722 the temporary buffer used to invoke __gethostbyname2_r,
11723 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11724 host_data / struct gaih_addrtuple.
11725 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11726 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11727 header file nss/nsswitch.h.
11728 * nss/nsswitch.h (global scope): Add definition of implementation
11729 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11730 resolv/nss_dns/dns-host.c).
11732 2012-07-11 Andreas Jaeger <aj@suse.de>
11734 * po/fr.po: Update from translation team.
11736 * po/sv.po: Update from translation team
11737 * po/fr.po: Another update from translation team.
11739 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11741 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11742 for subnormals or multiply small sinh result by itself.
11743 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11746 2012-07-11 David S. Miller <davem@davemloft.net>
11748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11750 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11753 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11754 (INTERNAL_MARK): Shift it here.
11756 2012-07-10 Marek Polacek <polacek@redhat.com>
11759 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11760 libc_cv_asm_global_directive with .globl.
11761 * configure: Regenerated.
11762 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11764 * sysdeps/i386/configure: Regenerated.
11765 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11767 * sysdeps/x86_64/configure: Regenerated.
11768 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11769 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11770 * elf/tst-unique2mod2.c: Likewise.
11771 * elf/tst-unique2mod1.c: Likewise.
11772 * elf/tst-unique1mod2.c: Likewise.
11773 * elf/tst-unique1mod1.c: Likewise.
11774 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11775 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11776 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11777 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11778 * sysdeps/mach/sysdep.h: Likewise.
11779 * sysdeps/i386/sysdep.h: Likewise.
11780 * sysdeps/i386/i386-mcount.S: Likewise.
11781 * sysdeps/x86_64/_mcount.S: Likewise.
11782 * sysdeps/x86_64/sysdep.h: Likewise.
11783 * sysdeps/sh/_mcount.S: Likewise.
11784 * sysdeps/sh/sysdep.h: Likewise.
11785 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11786 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11787 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11788 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11789 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11790 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11791 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11792 * locale/localeinfo.h: Likewise.
11793 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11794 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11796 2012-07-09 Roland McGrath <roland@hack.frob.com>
11799 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11801 * manual/message.texi (The Uniforum approach): Likewise.
11802 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11803 (glibc iconv Implementation): Likewise.
11805 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11808 * math/s_clog.c (__clog): Avoid scaling a value down where that
11809 could result in underflow.
11810 * math/s_clog10.c (__clog10): Likewise.
11811 * math/s_clog10f.c (__clog10f): Likewise.
11812 * math/s_clog10l.c (__clog10l): Likewise.
11813 * math/s_clogf.c (__clogf): Likewise.
11814 * math/s_clogl.c (__clogl): Likewise.
11815 * math/libm-test.inc (clog_test): Add more tests.
11816 (clog10_test): Likewise.
11817 * sysdeps/i386/fpu/libm-test-ulps: Update.
11818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11820 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11823 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11824 by 7 not 8 to examine high bit of fractional part.
11827 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11828 for call to __mcount_internal.
11829 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11830 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11831 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11833 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11836 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11837 approximation for values within 0x1p-13f of an odd multiple of
11839 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11840 exception. Add more tests.
11841 * sysdeps/i386/fpu/libm-test-ulps: Update.
11844 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11845 inputs and return -1 for them. Do not check for +Inf in case not
11846 reachable for +Inf.
11847 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11848 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11849 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11850 and return -1 for them. Do not check for +Inf in case not
11851 reachable for +Inf.
11852 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11854 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11855 and return -1 for them. Do not check for +Inf in case not
11856 reachable for +Inf.
11857 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11858 spurious underflow.
11859 * sysdeps/i386/fpu/libm-test-ulps: Update.
11860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11862 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11864 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11866 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11870 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11871 could result in spurious underflow. Scale down values above
11872 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11873 * math/s_csqrtf.c (__csqrtf): Likewise.
11874 * math/s_csqrtl.c (__csqrtl): Likewise.
11875 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11876 spurious underflow.
11877 * sysdeps/i386/fpu/libm-test-ulps: Update.
11878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11880 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11882 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11884 * catgets/xopen-msg.awk: New file.
11885 * catgets/xopen-msg.sed: Removed.
11887 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11889 * intl/po2test.awk: New file.
11890 * intl/po2test.sed: Removed.
11892 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11895 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11896 or multiply small sinh result by itself.
11897 * math/s_ctanf.c (__ctanf): Likewise.
11898 * math/s_ctanh.c (__ctanh): Likewise.
11899 * math/s_ctanhf.c (__ctanhf): Likewise.
11900 * math/s_ctanhl.c (__ctanhl): Likewise.
11901 * math/s_ctanl.c (__ctanl): Likewise.
11902 * math/libm-test.inc (ctan_test_tonearest): New function.
11903 (ctan_test_towardzero): Likewise.
11904 (ctan_test_downward): Likewise.
11905 (ctan_test_upward): Likewise.
11906 (ctanh_test_tonearest): Likewise.
11907 (ctanh_test_towardzero): Likewise.
11908 (ctanh_test_downward): Likewise.
11909 (ctanh_test_upward): Likewise.
11910 (main): Call these new functions.
11911 * sysdeps/i386/fpu/libm-test-ulps: Update.
11912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11914 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11916 * .gitignore: Delete /ports entry.
11918 2012-07-03 Andreas Jaeger <aj@suse.de>
11920 * po/bg.po: Update from translation team.
11921 * po/cs.po: Likewise.
11922 * po/de.po: Likewise.
11923 * po/hr.po: Likewise.
11924 * po/nl.pl: Likewise.
11925 * po/pl.po: Likewise.
11926 * po/vi.po: Likewise.
11928 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11930 * Makeconfig [!+link] (+link-before-libc): New variable.
11931 [!+link] (+link-after-libc): Likewise.
11932 [!+link] (+link-tests): Likewise.
11933 [!+link] (+link): Define in terms of $(+link-before-libc) and
11934 $(+link-after-libc).
11935 [!+link-static] (+link-static-before-libc): New variable.
11936 [!+link-static] (+link-static-after-libc): Likewise.
11937 [!+link-static] (+link-static-tests): Likewise.
11938 [!+link-static] (+link-static): Define in terms of
11939 $(+link-static-before-libc) and $(+link-static-after-libc).
11940 [build-shared] (link-libc-before-gnulib): New variable.
11941 [build-shared] (link-libc-tests): Likewise.
11942 [build-shared] (link-libc): Define in terms of
11943 $(link-libc-before-gnulib).
11944 [!build-shared] (link-libc-tests): New variable.
11945 (link-libc-static-tests): New variable.
11946 [!gnulib] (gnulib-arch): New variable.
11947 [!gnulib] (gnulib-tests): Likewise.
11948 [!gnulib] (static-gnulib-arch): Likewise.
11949 [!gnulib] (static-gnulib-tests): Likewise.
11950 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11951 Define with "=" instead of ":=".
11952 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11953 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11954 * Rules (binaries-all-notests): New variable.
11955 (binaries-all-tests): Likewise.
11956 (binaries-static-notests): Likewise.
11957 (binaries-static-tests): Likewise.
11958 (binaries-all): Define using $(binaries-all-notests) and
11959 $(binaries-all-tests).
11960 (binaries-static): Define using $(binaries-static-notests) and
11961 $(binaries-static-tests).
11962 (binaries-shared-tests): New variable.
11963 (binaries-shared-notests): Likewise.
11964 (binaries-shared): Remove variable.
11965 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11966 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11967 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11968 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11969 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11970 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11971 * elf/Makefile (sln-modules): New variable.
11972 (extra-objs): Add $(sln-modules:=.o).
11973 (ldconfig-modules): Add static-stubs.
11974 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11975 * elf/static-stubs.c: New file.
11978 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11979 by 7 not 8 to examine high bit of fractional part. Use volatile
11980 variables when splitting into final array of floats if
11981 __FLT_EVAL_METHOD__ != 0.
11982 * math/libm-test.inc (cos_test): Add another test.
11983 (sin_test): Likewise.
11984 * sysdeps/i386/fpu/libm-test-ulps: Update.
11987 * math/libm-test.inc (cosh_test): Add more tests.
11989 * version.h (RELEASE): Set to "development".
11990 (VERSION): Set to "2.16.90".
11992 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11994 * NEWS: Update copyright. Remove last-updated date.
11995 Mention math library bug fixes and timezone data changes.
11996 * README: Mention GNU/Hurd, x32, and HPPA support status.
11998 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12000 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12002 2012-06-27 Andreas Jaeger <aj@suse.de>
12004 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12006 2012-06-25 Andreas Jaeger <aj@suse.de>
12008 * sysdeps/s390/fpu/libm-test-ulps: Update.
12010 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12011 Thomas Schwinge <thomas@codesourcery.com>
12013 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12014 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12015 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12018 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12020 * sysdeps/mach/start.c: Remove file.
12021 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12022 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12023 * sysdeps/sh/init-first.c: Likewise.
12025 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12026 registers for frame unwinding purposes, add CFI directives.
12027 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12028 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12029 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12032 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12033 __fortify_fail returning.
12034 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12036 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12037 sysdeps/sh/____longjmp_chk.S.
12038 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12039 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12040 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12041 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12043 * sysdeps/sh/abort-instr.h: New file.
12044 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12045 process in case exit returns.
12047 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12048 initialize the GOT register before use.
12050 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12051 calculation of ARGC > 4.
12053 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12054 meaningful names to some local labels.
12056 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12057 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12059 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12060 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12061 (__arch_compare_and_exchange_val_16_acq): Likewise.
12062 (__arch_compare_and_exchange_val_32_acq): Likewise.
12063 (atomic_exchange_and_add): Fix gUSA sequence.
12064 (atomic_add): Likewise.
12065 (atomic_add_negative): Likewise.
12066 (atomic_add_zero): Likewise.
12067 (atomic_bit_test_set): Likewise.
12069 2012-06-22 Andreas Schwab <schwab@redhat.com>
12072 * include/link.h (struct link_map): Add l_free_initfini.
12073 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12075 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12076 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12077 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12080 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12082 * configure.in: Use AC_LANG_SOURCE.
12083 * configure: Regenerate.
12085 2012-06-22 Roland McGrath <roland@hack.frob.com>
12087 * configure.in (libc_cv_localstatedir): New substituted variable.
12088 * configure: Regenerated.
12089 * config.make.in (localstatedir): New variable, substituted from
12090 libc_cv_localstatedir.
12091 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12092 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12093 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12094 * sysdeps/gnu/configure: Regenerated.
12096 2012-06-21 Jeff Law <law@redhat.com>
12099 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12100 free. Simplify list management for _LIBC case.
12102 2012-06-21 Joseph Myers <joseph@codesourcery.com>
12105 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12106 Clear sign bit of 64-bit integer value before comparing against
12109 * sysdeps/mach/configure: Regenerated.
12111 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12114 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12116 2012-06-21 Jeff Law <law@redhat.com>
12119 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12120 uint16_t for elements in the "seen" array to avoid char overflows.
12121 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12122 * elf/dl-open.c (dl_open_worker): Likewise.
12124 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12126 * scripts/list-sources.sh: Scan PORTS for translations.
12127 * po/libc.pot: Regenerated.
12129 2012-06-21 Andreas Jaeger <aj@suse.de>
12132 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12134 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12135 * bits/byteswap-16.h (__bswap_16): Likewise.
12136 * bits/byteswap.h (__bswap_constant_16): Likewise.
12138 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12141 * sysdeps/i386/fpu_control.h: Removed.
12142 * sysdeps/x86_64/fpu_control.h: Moved to ...
12143 * sysdeps/x86/fpu_control.h: Here.
12145 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12146 (_FPU_SETCW): Likewise.
12148 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12151 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12152 * sysdeps/x86/fpu/bits/mathinline.h: This.
12153 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12157 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12158 functions if __x86_64__ is defined.
12160 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12162 * string/endian.h: Add !__ASSEMBLER__ condition for including
12163 conversion interfaces.
12165 2012-06-15 Joseph Myers <joseph@codesourcery.com>
12168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12169 of ABS(x) in calculating zero to negative powers other than odd
12171 * math/libm-test.inc (pow_test): Add more tests.
12173 2012-06-15 Andreas Jaeger <aj@suse.de>
12175 * manual/contrib.texi (Contributors): Update entry of Liubov
12176 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12179 2012-06-15 Cyril Hrubis <metan@ucw.cz>
12181 * string/string.h: Add __wur to GNU version of strerror_r.
12183 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12186 * string/Makefile (tests): Add tst-strtok_r.
12187 * string/tst-strtok_r.c: New file.
12188 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12189 RAX_LP/RDX_LP on SAVE_PTR.
12191 2012-06-14 Roland McGrath <roland@hack.frob.com>
12193 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12195 2012-06-14 Joseph Myers <joseph@codesourcery.com>
12197 * libm_test.inc (csqrt_test): Allow more spurious underflow
12199 (j0_test): Likewise.
12200 (j1_test): Likewise.
12201 (y0_test): Likewise.
12202 (y1_test): Likewise.
12204 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12206 * po/Makefile (libc.pot): Use UTF-8 charset.
12208 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12211 Suppress sign-conversion warning from FD_SET.
12212 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12213 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12214 not unsigned long int.
12215 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12217 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12221 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12222 __extern_always_inline instead of __extern_inline.
12223 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12224 (__signbit): Likewise.
12225 (__signbitl): Support C++ namespace.
12226 (lrintf): New inline function.
12228 (llrintf): Likewise.
12229 (llrint): Likewise.
12239 (floorf): Likewise.
12240 (nearbyint): Likewise.
12241 (nearbyintf): Likewise.
12243 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12245 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12246 non-default versions.
12248 2012-06-11 Roland McGrath <roland@hack.frob.com>
12251 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12253 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12255 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12256 (FE_UPWARD, FE_DOWNWARD): Don't define.
12257 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12258 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12260 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12262 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12263 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12265 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12267 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12268 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12269 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12270 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12272 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12275 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12276 * sysdeps/i386/fpu/Implies: New file.
12277 * sysdeps/x86_64/fpu/Implies: Likewise.
12278 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12279 * sysdeps/x86/fpu/bits/fenv.h: This.
12281 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12284 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12287 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12288 character 0xffff that matches the last element of the
12291 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12293 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12296 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12298 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12299 values higher than 25.6283.
12301 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12303 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12304 subnormal exponent extraction and add some __builtin_expect.
12305 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12306 Fix for subnormal mantissa calculation.
12308 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12310 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12311 cpu2 is -1 and errno is not ENOSYS.
12313 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12316 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12317 * sysdeps/x86/bits/string.h: This.
12318 * sysdeps/x86_64/bits/string.h: Removed.
12320 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12321 if not compiling for x86-64, but compiling for >= i486.
12323 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12324 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12326 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12327 New macro from Linux kernel 3.4.0.
12328 (FP_XSTATE_MAGIC2): Likewise.
12329 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12330 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12331 (struct _fpx_sw_bytes): New struct.
12332 (struct _xsave_hdr): Likewise.
12333 (struct _ymmh_state): Likewise.
12334 (struct _xstate): Likewise.
12336 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12337 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12338 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12339 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12340 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12341 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12343 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12344 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12345 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12346 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12347 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12348 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12350 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12353 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12354 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12355 (sysdep_headers): Include sys/platform/ppc.h.
12356 * sysdeps/powerpc/test-gettimebase.c: Test for
12357 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12358 * manual/Makefile (appendices): Include platform.texi.
12359 * manual/contrib.texi (Contributors): Update @node pointers.
12360 * manual/maint.texi (Maintenance): Likewise.
12361 (Platform): New node.
12362 * manual/platform.texi: New file. Document the new features.
12364 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12365 Jakub Jelinek <jakub@redhat.com>
12368 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12369 where __builtin_expect is unavailable.
12371 2012-06-03 David S. Miller <davem@davemloft.net>
12373 * stdlib/longlong.h: Updated from GCC.
12375 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12378 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12379 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12382 (GLIBC_2.16): Likewise.
12384 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12386 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12388 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12391 (default-abi): New variable.
12392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12393 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12395 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12397 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12399 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12402 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12403 definition. Document in comment.
12405 2012-06-01 David S. Miller <davem@davemloft.net>
12407 * stdlib/longlong.h: Updated from GCC.
12409 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12412 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12413 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12414 sys/debugreg.h sys/io.h here.
12415 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12416 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12418 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12419 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12420 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12421 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12422 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12423 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12425 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12426 Define only if __x86_64__ is defined.
12428 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12431 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12432 Use int64_t for variable i.
12433 * math/libm-test.inc (fmod_test): Add more tests.
12435 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12436 z computation is not scheduled after fetestexcept.
12437 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12438 Use math_force_eval instead of asm to ensure calculation scheduled
12439 before exception test.
12440 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12441 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12443 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12446 computation is not scheduled after fetestexcept.
12448 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12451 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12452 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12454 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12456 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12457 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12459 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12462 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12464 (__WCHAR_MIN): Support __WORDSIZE == 64.
12465 (__WCHAR_MAX): Likewise.
12467 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12468 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12471 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12472 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12475 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12476 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12478 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12479 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12481 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12482 Defined to 1 if __x86_64__ isn't defined.
12483 (_STAT_VER_LINUX_OLD): New.
12484 (st_atime): Remove duplicate.
12485 (st_mtime): Likewise.
12486 (st_ctime): Likewise.
12488 2012-05-31 David S. Miller <davem@davemloft.net>
12490 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12493 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12495 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12499 * elf/dl-reloc.c: Include <_itoa.h>.
12500 (_dl_reloc_bad_type): Remove use of INTUSE.
12501 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12502 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12503 * stdio-common/psiginfo.c (psiginfo): Likewise.
12504 * stdio-common/psignal.c (psignal): Likewise.
12505 * string/strsignal.c (strsignal): Likewise.
12506 * include/signal.h (_sys_siglist): Declare hidden proto.
12507 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12508 INTVARDEF with libc_hidden_data_def.
12509 * stdio-common/itoa-udigits.c: Likewise.
12510 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12511 (_itoa_lower_digits_internal): Remove declaration.
12512 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12513 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12514 (_sys_sigabbrev_internal): Remove aliases.
12515 (_sys_siglist): Define hidden alias.
12517 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12522 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12525 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12526 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12528 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12529 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12530 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12531 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12532 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12533 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12535 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12536 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12537 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12539 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12547 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12548 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12549 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12551 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12552 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12553 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12554 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12555 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12556 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12558 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12559 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12561 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12562 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12564 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12565 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12566 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12568 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12569 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12571 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12573 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12574 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12575 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12577 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12579 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12581 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12583 * math/math.h (M_El): Use two more decimal places.
12584 (M_LOG2El): Likewise.
12585 (M_LOG10El): Likewise.
12586 (M_LN2l): Likewise.
12587 (M_LN10l): Likewise.
12589 (M_PI_2l): Likewise.
12590 (M_PI_4l): Likewise.
12591 (M_1_PIl): Likewise.
12592 (M_2_PIl): Likewise.
12593 (M_2_SQRTPIl): Likewise.
12594 (M_SQRT2l): Likewise.
12595 (M_SQRT1_2l): Likewise.
12597 2012-05-31 David S. Miller <davem@davemloft.net>
12599 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12600 values between float registers.
12601 * sysdeps/sparc/sparc64/memset.S: Likewise.
12602 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12604 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12606 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12607 -D_FORTIFY_SOURCE=1.
12608 (CPPFLAGS-tst-longjmp_chk.c): Define.
12609 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12610 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12611 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12612 CFLAGS-tst-wchar-h.c.
12614 2012-05-31 Marek Polacek <polacek@redhat.com>
12617 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12618 __endmntent_internal): Remove declaration.
12619 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12620 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12621 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12623 2012-05-30 David S. Miller <davem@davemloft.net>
12625 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12626 (___Q_simulate_exceptions): Use real FP ops rather than writing
12628 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12631 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12634 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12635 * sysdeps/x86/bits/xtitypes.h: This.
12637 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12638 * sysdeps/x86/bits/wordsize.h: This.
12640 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12641 * sysdeps/x86/bits/huge_vall.h: This.
12643 * sysdeps/i386/bits/select.h: Removed.
12644 * sysdeps/x86_64/bits/select.h: Renamed to ...
12645 * sysdeps/x86/bits/select.h: This.
12647 * sysdeps/i386/bits/setjmp.h: Removed.
12648 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12649 * sysdeps/x86/bits/setjmp.h: This.
12651 * sysdeps/i386/bits/mathdef.h: Removed.
12652 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12653 * sysdeps/x86/bits/mathdef.h: This.
12655 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12658 * include/sys/socket.h (__connect_internal)
12659 (__libc_sa_len_internal): Remove declaration.
12660 (__connect, __libc_sa_len): Declare hidden_proto.
12661 (SA_LEN): Remove use of INTUSE.
12662 * socket/connect.c: Add libc_hidden_def.
12663 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12664 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12665 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12667 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12668 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12669 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12670 of adding _internal alias.
12672 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12675 * sysdeps/i386/bits/link.h: Removed.
12676 * sysdeps/i386/bits/linkmap.h: Likewise.
12677 * sysdeps/x86_64/bits/link.h: Renamed to ...
12678 * sysdeps/x86/bits/link.h: This.
12679 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12680 * sysdeps/x86/bits/linkmap.h: This.
12682 * sysdeps/i386/bits/endian.h: Removed.
12683 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12684 * sysdeps/x86/bits/endian.h: This.
12686 * sysdeps/i386/bits/byteswap.h: Removed.
12687 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12688 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12689 * sysdeps/x86/bits/byteswap.h: This.
12690 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12691 * sysdeps/x86/bits/byteswap-16.h: This.
12692 * sysdeps/i386/Implies: Add x86.
12693 * sysdeps/x86_64/Implies: Likewise.
12695 2012-05-30 David S. Miller <davem@davemloft.net>
12697 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12698 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12699 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12700 (FP_TRAPPING_EXCEPTIONS): Define.
12701 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12702 (FP_TRAPPING_EXCEPTIONS): Define.
12703 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12704 subnormals only when inexact has been signalled or underflow
12705 exceptions are enabled.
12706 (_FP_PACK_CANONICAL): Likewise.
12708 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12711 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12712 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12714 2012-05-30 Richard Henderson <rth@twiddle.net>
12716 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12717 with #ifndef NOT_IN_libc.
12719 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12720 marked to avoid plt entry.
12722 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12725 * Makeconfig (default-abi): New macro.
12726 (abi-includes): Likewise.
12727 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12728 $(abi-$(default-abi)-lib-soname) for soname if defined.
12729 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12731 * Makefile (installed-stubs): Likewise.
12732 * include/stubs-biarch.h: Removed.
12733 * scripts/lib-names.awk: Only handle one library at a time.
12734 * scripts/soversions.awk: Remove WORDSIZE support.
12735 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12737 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12739 (syscall-list-default-condition): Likewise.
12740 (syscall-list-default-condition): Likewise.
12741 (syscall-list-includes): Likewise.
12742 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12743 syscall-list-* with abi-*. Handle undefined abi-variants.
12744 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12745 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12746 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12747 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12748 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12749 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12751 (syscall-list-32-options): Likewise.
12752 (syscall-list-32-condition): Likewise.
12753 (syscall-list-64-options): Likewise.
12754 (syscall-list-64-condition): Likewise.
12755 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12757 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12760 (abi-64-ld-soname): New macro.
12761 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12762 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12765 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12766 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12768 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12770 * sysdeps/unix/sysv/linux/kernel-features.h
12771 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12772 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12773 include <kernel-features.h>.
12774 [!__NR_ftruncate64]: Remove conditional code.
12775 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12776 [__NR_ftruncate64]: Make code unconditional.
12777 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12778 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12779 include <kernel-features.h>.
12780 [!__NR_ftruncate64]: Remove conditional code.
12781 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12782 [__NR_ftruncate64]: Make code unconditional.
12783 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12785 include <kernel-features.h>.
12786 [!__NR_ftruncate64]: Remove conditional code.
12787 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12788 [__NR_ftruncate64]: Make code unconditional.
12789 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12791 include <kernel-features.h>.
12792 [!__NR_ftruncate64]: Remove conditional code.
12793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12794 [__NR_ftruncate64]: Make code unconditional.
12795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12797 * configure.in (libc_cv_fpie): Weaken to a compile test using
12798 LIBC_TRY_CC_OPTION.
12799 * configure: Regenerated.
12801 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12816 2012-05-27 David S. Miller <davem@davemloft.net>
12818 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12820 (__Q_simulate_exceptions): Return void. Change to simulate
12821 exceptions by writing into the %fsr.
12822 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12823 (__Qp_handle_exceptions): Likewise.
12825 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12826 __Qp_handle_exceptions.
12827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12828 __Qp_handle_exceptions.
12829 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12830 as unused and give dummy FP_RND_NEAREST initializer.
12831 (FP_INHIBIT_RESULTS): Define.
12832 (___Q_simulate_exceptions): Update declaration.
12833 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12835 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12836 as unused and give dummy FP_RND_NEAREST initializer.
12837 (__Qp_handle_exceptions): Update declaration.
12838 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12841 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12843 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12844 the temporary FPU control word.
12845 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12846 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12847 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12848 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12849 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12850 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12851 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12852 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12853 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12854 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12855 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12857 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12859 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12862 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12864 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12865 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12866 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12867 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12869 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12870 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12873 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12875 * po/h.po: Update from translation team.
12877 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12879 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12881 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12882 handling of denormals.
12883 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12884 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12885 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12886 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12887 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12889 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12892 2012-05-26 Marek Polacek <polacek@redhat.com>
12895 * math/libm-test.inc (fma_test): Don't always expect underflow
12898 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12901 * elf/tst-execstack.c: Include stackinfo.h.
12902 (do_test): Adjust test case to ensure that pthread_getattr_np
12903 behaviour remains the same after marking stack executable.
12905 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12907 * sysdeps/unix/sysv/linux/kernel-features.h
12908 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12909 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12911 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12912 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12913 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12915 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12916 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12918 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12920 * configure.in: Define the default includes to being none.
12921 * configure: Regenerated.
12923 2012-05-25 Roland McGrath <roland@hack.frob.com>
12925 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12926 * sysdeps/x86_64/setjmp.S: Likewise.
12927 * sysdeps/i386/bsd-setjmp.S: Likewise.
12928 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12929 * sysdeps/i386/setjmp.S: Likewise.
12930 * sysdeps/i386/__longjmp.S: Likewise.
12931 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12932 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12934 * include/stap-probe.h: New file.
12935 * configure.in: Handle --enable-systemtap.
12936 * configure: Regenerated.
12937 * config.h.in (USE_STAP_PROBE): New #undef.
12938 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12939 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12940 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12942 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12945 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12946 to 2.4.0 where earlier.
12947 * sysdeps/unix/sysv/linux/configure: Regenerated.
12948 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12949 <kernel-features.h>.
12950 [__ASSUME_32BITUIDS]: Make code unconditional.
12951 [!__ASSUME_32BITUIDS]: Remove conditional code.
12952 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12953 <kernel-features.h>.
12954 [__ASSUME_32BITUIDS]: Make code unconditional.
12955 [!__ASSUME_32BITUIDS]: Remove conditional code.
12956 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12957 [__ASSUME_32BITUIDS]: Make code unconditional.
12958 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12959 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12960 <kernel-features.h>.
12961 [__ASSUME_32BITUIDS]: Make code unconditional.
12962 [!__ASSUME_32BITUIDS]: Remove conditional code.
12963 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12964 <kernel-features.h>.
12965 [__ASSUME_32BITUIDS]: Make code unconditional.
12966 [!__ASSUME_32BITUIDS]: Remove conditional code.
12967 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12968 <kernel-features.h>.
12969 [__ASSUME_32BITUIDS]: Make code unconditional.
12970 [!__ASSUME_32BITUIDS]: Remove conditional code.
12971 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12972 <kernel-features.h>.
12973 [__ASSUME_32BITUIDS]: Make code unconditional.
12974 [!__ASSUME_32BITUIDS]: Remove conditional code.
12975 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12976 <kernel-features.h>.
12977 [__ASSUME_32BITUIDS]: Make code unconditional.
12978 [!__ASSUME_32BITUIDS]: Remove conditional code.
12979 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12980 <kernel-features.h>.
12981 [__ASSUME_32BITUIDS]: Make code unconditional.
12982 [!__ASSUME_32BITUIDS]: Remove conditional code.
12983 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12984 <kernel-features.h>.
12985 [__ASSUME_32BITUIDS]: Make code unconditional.
12986 [!__ASSUME_32BITUIDS]: Remove conditional code.
12987 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12988 <kernel-features.h>.
12989 [__ASSUME_32BITUIDS]: Make code unconditional.
12990 [!__ASSUME_32BITUIDS]: Remove conditional code.
12991 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12992 <kernel-features.h>.
12993 [__ASSUME_32BITUIDS]: Make code unconditional.
12994 [!__ASSUME_32BITUIDS]: Remove conditional code.
12995 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12996 <kernel-features.h>.
12997 [__ASSUME_32BITUIDS]: Make code unconditional.
12998 [!__ASSUME_32BITUIDS]: Remove conditional code.
12999 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13000 <kernel-features.h>.
13001 [__NR_setresgid] (__setresgid): Do not declare.
13002 [__ASSUME_32BITUIDS]: Make code unconditional.
13003 [!__ASSUME_32BITUIDS]: Remove conditional code.
13004 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13005 <kernel-features.h>.
13006 [__NR_setresuid] (__setresuid): Do not declare.
13007 [__ASSUME_32BITUIDS]: Make code unconditional.
13008 [!__ASSUME_32BITUIDS]: Remove conditional code.
13009 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13010 <kernel-features.h>.
13011 [__ASSUME_32BITUIDS]: Make code unconditional.
13012 [!__ASSUME_32BITUIDS]: Remove conditional code.
13013 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13014 <kernel-features.h>.
13015 [__ASSUME_32BITUIDS]: Make code unconditional.
13016 [!__ASSUME_32BITUIDS]: Remove conditional code.
13017 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13018 <kernel-features.h>.
13019 [__ASSUME_32BITUIDS]: Make code unconditional.
13020 [!__ASSUME_32BITUIDS]: Remove conditional code.
13021 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13022 <kernel-features.h>.
13023 [__ASSUME_32BITUIDS]: Make code unconditional.
13024 [!__ASSUME_32BITUIDS]: Remove conditional code.
13025 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13026 <kernel-features.h>.
13027 [__ASSUME_32BITUIDS]: Make code unconditional.
13028 [!__ASSUME_32BITUIDS]: Remove conditional code.
13029 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13030 <kernel-features.h>.
13031 [__ASSUME_32BITUIDS]: Make code unconditional.
13032 [!__ASSUME_32BITUIDS]: Remove conditional code.
13033 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13034 <kernel-features.h>.
13035 [__ASSUME_32BITUIDS]: Make code unconditional.
13036 [!__ASSUME_32BITUIDS]: Remove conditional code.
13037 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13038 <kernel-features.h>.
13039 [__ASSUME_32BITUIDS]: Make code unconditional.
13040 [!__ASSUME_32BITUIDS]: Remove conditional code.
13041 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13042 <kernel-features.h>.
13043 [__ASSUME_32BITUIDS]: Make code unconditional.
13044 [!__ASSUME_32BITUIDS]: Remove conditional code.
13045 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13046 <kernel-features.h>.
13047 [__ASSUME_32BITUIDS]: Make code unconditional.
13048 [!__ASSUME_32BITUIDS]: Remove conditional code.
13049 * sysdeps/unix/sysv/linux/kernel-features.h
13050 (__ASSUME_SETRESUID_SYSCALL): Remove.
13051 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13052 (__ASSUME_32BITUIDS): Likewise.
13053 (__ASSUME_LDT_WORKS): Likewise.
13054 (__ASSUME_O_DIRECTORY): Likewise.
13055 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13056 architecture but not kernel version.
13057 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13058 (__ASSUME_MMAP2_SYSCALL): Likewise.
13059 (__ASSUME_STAT64_SYSCALL): Likewise.
13060 (__ASSUME_IPC64): Likewise.
13061 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13062 <kernel-features.h>.
13063 [__ASSUME_32BITUIDS]: Make code unconditional.
13064 [!__ASSUME_32BITUIDS]: Remove conditional code.
13065 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13066 <kernel-features.h>.
13067 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13068 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13069 132096]: Remove conditional code.
13070 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13071 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13072 <kernel-features.h>.
13073 [__ASSUME_32BITUIDS]: Make code unconditional.
13074 [!__ASSUME_32BITUIDS]: Remove conditional code.
13075 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13076 <kernel-features.h>.
13077 [__ASSUME_32BITUIDS]: Make code unconditional.
13078 [!__ASSUME_32BITUIDS]: Remove conditional code.
13079 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13080 <kernel-features.h>.
13081 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13083 (__setresgid): Do not declare.
13084 [__ASSUME_32BITUIDS]: Make code unconditional.
13085 [!__ASSUME_32BITUIDS]: Remove conditional code.
13086 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13087 <kernel-features.h>.
13088 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13090 (__setresuid): Do not declare.
13091 [__ASSUME_32BITUIDS]: Make code unconditional.
13092 [!__ASSUME_32BITUIDS]: Remove conditional code.
13093 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13094 <kernel-features.h>.
13095 [__ASSUME_32BITUIDS]: Make code unconditional.
13096 [!__ASSUME_32BITUIDS]: Remove conditional code.
13097 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13098 <kernel-features.h>.
13099 [__ASSUME_32BITUIDS]: Make code unconditional.
13100 [!__ASSUME_32BITUIDS]: Remove conditional code.
13102 2012-05-25 Richard Henderson <rth@twiddle.net>
13104 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13105 dl_hwcap to ifunc resolver.
13106 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13108 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13109 dl_hwcap to ifunc resolver.
13110 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13112 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13115 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13116 for |x| <= 2**-26, not 2**-57.
13117 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13120 2012-05-24 Jeff Law <law@redhat.com>
13122 * stdio-common/Makefile (tests): Add bug25.
13123 * stdio-common/bug25.c: New test.
13125 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13128 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13129 multiple of MALLOC_ALIGNMENT in size.
13130 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13132 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13134 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13136 (FILENAME_MAX): Use macro-int-constant.
13137 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13138 (_IOFBF): Use macro-int-constant.
13139 (_IOLBF): Likewise.
13140 (_IONBF): Likewise.
13141 (SEEK_CUR): Likewise.
13142 (SEEK_END): Likewise.
13143 (SEEK_SET): Likewise.
13144 (TMP_MAX): Likewise.
13145 (EOF): Use macro-int-constant. Require < 0.
13146 (NULL): Use macro-constant. Require == 0.
13147 (stdin): Require type to be FILE *.
13148 (stdout): Likewise.
13149 (stderr): Likewise.
13150 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13151 macro-int-constant.
13152 (EXIT_SUCCESS): Likewise.
13153 (NULL): Use macro-constant. Require == 0.
13154 (RAND_MAX): Use macro-int-constant.
13155 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13156 [C99-based standards] (strtof): Require function.
13157 [C99-based standards] (strtold): Likewise.
13158 [C99-based standards] (strtoll): Likewise.
13159 [C99-based standards] (strtoull): Likewise.
13160 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13161 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13162 [ISO || ISO99 || ISO11] (math.h): Likewise.
13163 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13164 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13165 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13167 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13170 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13171 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13172 * intl/dgettext.c (DCGETTEXT): Likewise.
13173 * intl/gettext.c (DCGETTEXT): Likewise.
13174 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13175 * posix/regex_internal.h (gettext): Likewise.
13176 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13177 Remove declaration.
13178 * include/argz.h (__argz_count_internal)
13179 (__argz_stringify_internal): Remove declaration.
13180 (__argz_count, __argz_stringify): Declare hidden proto.
13181 * intl/dcgettext.c: Remove use of INTDEF.
13182 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13183 * string/argz-stringify.c: Likewise.
13184 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13185 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13186 Declare hidden proto.
13187 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13188 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13189 Declare hidden proto.
13190 * include/stdio.h (__asprintf_internal): Don't declare.
13191 (__asprintf): Don't define as macro. Declare hidden proto.
13192 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13193 (__fsetlocking): Declare hidden proto.
13194 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13195 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13197 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13198 (_IO_setlinebuf): Remove use of INTUSE.
13199 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13200 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13201 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13202 Remove declaration.
13203 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13204 (_IO_do_flush): Remove use of INTUSE.
13205 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13206 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13207 (_IO_adjust_column, _IO_least_wmarker)
13208 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13209 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13210 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13211 (_IO_default_doallocate, _IO_wdefault_doallocate)
13212 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13213 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13214 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13215 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13216 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13217 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13218 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13219 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13220 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13221 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13222 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13223 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13224 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13226 (_IO_flush_all_internal, _IO_adjust_column_internal)
13227 (_IO_default_uflow_internal, _IO_default_finish_internal)
13228 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13229 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13230 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13231 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13232 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13233 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13234 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13235 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13236 (_IO_file_close_internal, _IO_file_close_it_internal)
13237 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13238 (_IO_file_init_internal, _IO_file_attach_internal)
13239 (_IO_file_fopen_internal, _IO_file_read_internal)
13240 (_IO_file_sync_internal, _IO_file_seek_internal)
13241 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13242 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13243 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13244 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13245 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13246 (_IO_list_all_internal, _IO_link_in_internal)
13247 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13248 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13249 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13250 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13251 (_IO_do_write_internal, _IO_padn_internal)
13252 (_IO_getline_info_internal, _IO_getline_internal)
13253 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13254 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13255 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13256 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13257 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13258 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13259 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13260 with libc_hidden_ver, remove use of INTUSE.
13261 * libio/genops.c: Likewise.
13262 * libio/freopen.c: Likewise.
13263 * libio/freopen64.c: Likewise.
13264 * libio/iofclose.c: Likewise.
13265 * libio/iofdopen.c: Likewise.
13266 * libio/iofflush.c: Likewise.
13267 * libio/iofflush_u.c: Likewise.
13268 * libio/iofgets.c: Likewise.
13269 * libio/iofgets_u.c: Likewise.
13270 * libio/iofopen.c: Likewise.
13271 * libio/iofopncook.c: Likewise.
13272 * libio/iofread.c: Likewise.
13273 * libio/iofread_u.c: Likewise.
13274 * libio/ioftell.c: Likewise.
13275 * libio/iofwrite.c: Likewise.
13276 * libio/iogetline.c: Likewise.
13277 * libio/iogets.c: Likewise.
13278 * libio/iogetwline.c: Likewise.
13279 * libio/iopadn.c: Likewise.
13280 * libio/iopopen.c: Likewise.
13281 * libio/ioseekoff.c: Likewise.
13282 * libio/ioseekpos.c: Likewise.
13283 * libio/iosetbuffer.c: Likewise.
13284 * libio/iosetvbuf.c: Likewise.
13285 * libio/ioungetc.c: Likewise.
13286 * libio/ioungetwc.c: Likewise.
13287 * libio/iovdprintf.c: Likewise.
13288 * libio/iovsprintf.c: Likewise.
13289 * libio/iovsscanf.c: Likewise.
13290 * libio/memstream.c: Likewise.
13291 * libio/obprintf.c: Likewise.
13292 * libio/oldfileops.c: Likewise.
13293 * libio/oldiofclose.c: Likewise.
13294 * libio/oldiofdopen.c: Likewise.
13295 * libio/oldiofopen.c: Likewise.
13296 * libio/oldiopopen.c: Likewise.
13297 * libio/oldstdfiles.c: Likewise.
13298 * libio/putc.c: Likewise.
13299 * libio/setbuf.c: Likewise.
13300 * libio/setlinebuf.c: Likewise.
13301 * libio/stdfiles.c: Likewise.
13302 * libio/strops.c: Likewise.
13303 * libio/vasprintf.c: Likewise.
13304 * libio/vscanf.c: Likewise.
13305 * libio/vsnprintf.c: Likewise.
13306 * libio/vswprintf.c: Likewise.
13307 * libio/wfiledoalloc.c: Likewise.
13308 * libio/wfileops.c: Likewise.
13309 * libio/wgenops.c: Likewise.
13310 * libio/wmemstream.c: Likewise.
13311 * libio/wstrops.c: Likewise.
13312 * libio/__fpurge.c: Likewise.
13313 * libio/__fsetlocking.c: Likewise.
13314 * assert/assert.c: Likewise.
13315 * debug/fgets_chk.c: Likewise.
13316 * debug/fgets_u_chk.c: Likewise.
13317 * debug/fread_chk.c: Likewise.
13318 * debug/fread_u_chk.c: Likewise.
13319 * debug/gets_chk.c: Likewise.
13320 * debug/obprintf_chk.c: Likewise.
13321 * debug/vasprintf_chk.c: Likewise.
13322 * debug/vdprintf_chk.c: Likewise.
13323 * debug/vsnprintf_chk.c: Likewise.
13324 * debug/vsprintf_chk.c: Likewise.
13325 * malloc/mtrace.c: Likewise.
13326 * misc/error.c: Likewise.
13327 * misc/syslog.c: Likewise.
13328 * stdio-common/asprintf.c: Likewise.
13329 * stdio-common/fxprintf.c: Likewise.
13330 * stdio-common/getw.c: Likewise.
13331 * stdio-common/isoc99_fscanf.c: Likewise.
13332 * stdio-common/isoc99_scanf.c: Likewise.
13333 * stdio-common/isoc99_vfscanf.c: Likewise.
13334 * stdio-common/isoc99_vscanf.c: Likewise.
13335 * stdio-common/isoc99_vsscanf.c: Likewise.
13336 * stdio-common/printf-prs.c: Likewise.
13337 * stdio-common/printf_fp.c: Likewise.
13338 * stdio-common/printf_fphex.c: Likewise.
13339 * stdio-common/printf_size.c: Likewise.
13340 * stdio-common/putw.c: Likewise.
13341 * stdio-common/scanf.c: Likewise.
13342 * stdio-common/sprintf.c: Likewise.
13343 * stdio-common/tmpfile.c: Likewise.
13344 * stdio-common/vfprintf.c: Likewise.
13345 * stdio-common/vfscanf.c: Likewise.
13346 * stdlib/strfmon_l.c: Likewise.
13347 * sunrpc/openchild.c: Likewise.
13348 * sunrpc/xdr_stdio.c: Likewise.
13349 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13350 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13352 2012-05-24 Roland McGrath <roland@hack.frob.com>
13354 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13356 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13357 in the third column, to generate for the shared library an IFUNC
13358 that uses _dl_vdso_vsym.
13359 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13360 * Makeconfig (object-suffixes-noshared): New variable.
13362 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13363 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13364 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13365 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13368 * include/sys/time.h (__gettimeofday): Remove macro.
13369 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13370 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13372 (__gettimeofday): Add libc_hidden_def.
13373 (gettimeofday): Add libc_hidden_weak.
13374 * sysdeps/mach/gettimeofday.c: Likewise.
13375 * sysdeps/posix/gettimeofday.c: Likewise.
13376 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13377 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13379 (__gettimeofday_internal): Remove strong_alias.
13380 (__gettimeofday): Add libc_hidden_def.
13381 (gettimeofday): Add libc_hidden_weak.
13382 * sysdeps/unix/syscalls.list (gettimeofday):
13383 Remove __gettimeofday_internal alias.
13385 2012-05-24 Daniel Jacobowitz <drow@false.org>
13386 H.J. Lu <hongjiu.lu@intel.com>
13389 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13390 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13391 (largebin_index_32_big): New.
13392 (largebin_index): Use it for 16-byte alignment.
13393 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13394 correction with front_misalign.
13396 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13424 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13425 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13427 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13431 * math/libm-test.inc (exp_test): Add test from bug 14036.
13432 (pow_test): Add test from bug 10846.
13434 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13436 (special_function): Do not include flags in test name.
13437 (parse_args): Likewise.
13438 * sysdeps/i386/fpu/libm-test-ulps: Update.
13439 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13440 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13441 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13444 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13446 * math/libm-test.inc ("Philosophy"): Update comment about
13448 (UNDERFLOW_EXCEPTION): New macro.
13449 (UNDERFLOW_EXCEPTION_OK): Likewise.
13450 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13451 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13452 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13453 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13454 (INVALID_EXCEPTION_OK): Update value.
13455 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13456 (OVERFLOW_EXCEPTION_OK): Likewise.
13457 (IGNORE_ZERO_INF_SIGN): Likewise.
13458 (test_exceptions): Handle underflow exceptions.
13459 (acos_test): Update for underflow exception expectations.
13460 (cexp_test): Likewise.
13461 (clog_test): Likewise.
13462 (clog10_test): Likewise.
13463 (csqrt_test): Likewise.
13464 (ctan_test): Likewise.
13465 (ctanh_test): Likewise.
13466 (exp_test): Likewise.
13467 (exp10_test): Likewise.
13468 (exp2_test): Likewise.
13469 (expm1_test): Likewise.
13470 (fma_test): Likewise.
13471 (j0_test): Likewise.
13472 (jn_test): Likewise.
13473 (nexttoward_test): Likewise.
13474 (pow_test): Likewise.
13475 (scalbn_test): Likewise.
13476 (scalbln_test): Likewise.
13477 (tan_test): Likewise.
13478 (y1_test): Likewise.
13479 * sysdeps/i386/fpu/libm-test-ulps: Update.
13480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13482 2012-05-23 David S. Miller <davem@davemloft.net>
13484 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13485 (__libc_sigaction): Remove unused local variables.
13487 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13489 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13491 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13493 mktime: avoid signed integer overflow
13494 * time/mktime.c (__mktime_internal): Do not mishandle the case
13495 where diff == INT_MIN.
13497 mktime: simplify computation of average
13498 * time/mktime.c (ranged_convert): Use new time_t_avg function
13499 instead of rolling our own (probably-slower) code.
13501 mktime: do not assume signed right shift propagates sign bit
13502 * time/mktime.c (isdst_differ): New static function.
13503 (__mktime_internal): No need to normalize tm_isdst now.
13504 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13507 mktime: merge another wrapv change from gnulib
13508 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13509 from some compilers.
13511 mktime: remove incorrect attempt at unusual arithmetics
13512 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13513 The code didn't really work on such machines anyway.
13514 (TYPE_MINIMUM): Assume two's complement.
13515 (twos_complement_arithmetic): Verify that long_int and time_t
13516 are two's complement (or unsigned, in the latter case).
13518 mktime: check signed shifts on long_int and time_t, too
13519 * time/mktime.c (SHR): Check that shifts work as desired
13520 on the types long_int and time_t too, as SHR is used on
13523 mktime: do not assume 'long' is wide enough
13524 * time/mktime.c (verify): Move decl up.
13525 (long_int): New type.
13526 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13527 to remove assumption in the code that 'long' is wide enough to
13528 store year values. This assumption is not true on x32 and on
13529 some non-glibc platforms.
13531 mktime: merge wrapv change from gnulib
13532 * time/mktime.c (WRAPV): New macro.
13533 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13534 (guess_time_tm, __mktime_internal): Do not assume that signed
13535 integer overflow wraps around; modern compilers generate code
13536 where this assumption is no longer valid.
13538 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13540 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13541 Replace "jmp L(pseudo_end)" with "ret".
13542 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13545 2012-05-23 Andreas Jaeger <aj@suse.de>
13547 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13548 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13550 2012-05-23 Andreas Jaeger <aj@suse.de>
13551 Maximilian Attems <max@stro.at>
13553 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13556 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13558 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13559 code so that pseudo_end is just ret and the stack pointer is
13560 correct also for static library in error case.
13562 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13564 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13565 move to syscalls.list.
13566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13571 * manual/install.texi (Running make install): Do not mention Linux
13572 kernel version for which pt_chown is not needed.
13573 (Linux): Do not mention problems with nscd with 2.0 kernels.
13574 * INSTALL: Regenerated.
13576 2012-05-23 Andreas Jaeger <aj@suse.de>
13578 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13579 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13581 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13582 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13583 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13584 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13585 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13586 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13587 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13588 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13589 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13590 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13591 * sysdeps/unix/sysv/linux/bits/in.h
13592 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13594 2012-05-22 Roland McGrath <roland@hack.frob.com>
13596 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13597 (PREPARE_VERSION): Just use assert instead, it will be elided
13598 under [NDEBUG] anyway.
13600 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13602 * sysdeps/unix/sysv/linux/Makefile: Include
13603 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13604 (sysdep_routines): Remove sysctl.
13605 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13606 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13607 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13608 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13609 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13611 2012-05-22 Andreas Jaeger <aj@suse.de>
13613 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13614 that pseudo_end is just ret and the stack pointer is correct also
13615 for static library in error case.
13617 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13620 * nss/nsswitch.c (defconfig_entries): New variable.
13621 (__nss_database_lookup): Don't leak defconfig entries.
13622 (nss_parse_service_list): Don't leak on error paths.
13623 (free_database_entries): New function.
13624 (free_defconfig): New function.
13625 (free_mem): Move common code to free_database_entries.
13627 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13629 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13631 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13633 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13634 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13637 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13638 (INTERNAL_SYSCALL_TYPES): Likewise.
13639 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13640 (LOAD_REGS_TYPES_[1-6]): Likewise.
13641 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13642 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13644 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13646 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13647 copysignl for GLIBC_2_0.
13648 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13649 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13650 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13651 logbl for GLIBC_2_0.
13652 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13653 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13655 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13658 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13660 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13663 * time/mktime.c: Update copyright years.
13665 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13667 mktime: merge comment-quoting-style change from gnulib
13668 * time/mktime.c: Quote 'like this' in comments.
13669 The GNU coding standards suggest that we no longer quote `like this',
13670 as "`" and "'" are typically rendered asymmetrically nowadays.
13671 The typical gnulib style is to quote 'like this' when quoting
13672 code, and "like this" when quoting English.
13674 * time/mktime.c (compile-command): Add "-I.".
13676 mktime: merge mktime-internal.h change from gnulib
13677 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13679 mktime: merge time_r change from gnulib
13680 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13682 mktime: merge DEBUG change from gnulib
13683 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13684 case system <time.h> has a #define.
13686 mktime: merge <sys/types.h> change from gnulib
13687 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13688 since <time.t> is now guaranteed to define time_t.
13690 mktime: merge HAVE_CONFIG_H change from gnulib
13691 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13693 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13698 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13700 (struct rusage): Use anonymous union to pad each field to
13703 2012-05-21 David S. Miller <davem@davemloft.net>
13705 * Makefules (o-iterator): Remove .s cases.
13706 (compile-command.s): Delete.
13707 (COMPILE.s): Delete.
13708 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13710 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13712 * configure.in (libc_cv_predef_stack_protector): Only consider
13713 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13714 * configure: Regenerated.
13716 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13719 New macro. Use R*LP on int and pointer.
13720 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13721 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13722 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13723 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13725 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13726 [__WORDSIZE_TIME64_COMPAT32] instead of
13727 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13728 (struct utmp): Likewise.
13729 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13730 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13732 (__WORDSIZE_TIME64_COMPAT32): This.
13733 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13734 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13735 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13736 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13737 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13738 (__WORDSIZE_TIME64_COMPAT32): New macro.
13740 2012-05-21 Andreas Jaeger <aj@suse.de>
13742 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13743 only if [SHARED]. Add prototype for __wcschr_ia32.
13745 2012-05-21 Roland McGrath <roland@hack.frob.com>
13747 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13748 of %rbp unmolested in the jmp_buf while mangling the low bits.
13749 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13750 unmolested high bits of %rbp while demangling the low bits.
13751 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13753 2012-05-21 Andreas Jaeger <aj@suse.de>
13755 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13756 * sunrpc/svc_simple.c: Use it for registerrpc.
13757 * sunrpc/xcrypt.c: Use it for passwd2des.
13759 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13761 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13763 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13764 Don't define if [__SYSCALL_WORDSIZE != 32].
13765 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13768 2012-05-21 Bruno Haible <bruno@clisp.org>
13769 Andreas Jaeger <aj@suse.de>
13771 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13772 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13773 inptr and inend for must_buffer_ch.
13774 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13775 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13776 * stdio-common/Makefile (tests): Remove bug15.
13777 (bug15-ENV): Remove macro.
13778 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13781 2012-05-19 Andreas Jaeger <aj@suse.de>
13782 Roland McGrath <roland@hack.frob.com>
13784 * manual/contrib.texi: Completely rewritten. It contains now an
13785 alphabetical list of contributors and their contributions.
13787 2012-05-21 Richard Henderson <rth@twiddle.net>
13789 * misc/getauxval.c (__getauxval): Use unsigned long int.
13790 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13791 (getauxval): Use unsigned long int.
13793 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13795 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13797 2012-05-21 Roland McGrath <roland@hack.frob.com>
13799 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13800 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13801 __alignof__ (long double).
13803 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13807 2012-05-20 Richard Henderson <rth@twiddle.net>
13809 * misc/getauxval.c: New file.
13810 * misc/sys/auxv.h: New file.
13811 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13812 (routines): Add getauxval.
13813 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13814 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13815 * elf/dl-sysdep.c (_dl_auxv): Remove.
13816 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13817 * elf/dl-support.c (_dl_auxv): New variable.
13818 (_dl_aux_init): Initialize it.
13819 * manual/startup.texi (Auxiliary Vector): New node.
13820 * sysdeps/generic/bits/hwcap.h: New file.
13821 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13822 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13823 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13824 * sysdeps/sparc/sysdep.h: ... here. Include it.
13825 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13826 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13838 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13842 2012-05-19 David S. Miller <davem@davemloft.net>
13844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13846 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13849 * math/s_ccosh.c: Include <float.h>
13850 (__ccosh): Avoid internal overflow calculating sinh and cosh
13851 values before multiplying by sin and cos values.
13852 * math/s_ccoshf.c: Likewise.
13853 * math/s_ccoshl.c: Likewise.
13854 * math/s_csin.c: Likewise.
13855 * math/s_csinf.c: Likewise.
13856 * math/s_csinl.c: Likewise.
13857 * math/s_csinh.c: Likewise.
13858 * math/s_csinhf.c: Likewise.
13859 * math/s_csinhl.c: Likewise.
13860 * math/libm-test.inc (ccos_test): Add more tests.
13861 (ccosh_test): Likewise.
13862 (csin_test): Likewise.
13863 (csinh_test): Likewise.
13864 * sysdeps/i386/fpu/libm-test-ulps: Update.
13865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13867 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13869 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13870 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13872 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13874 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13876 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13877 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13878 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13879 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13880 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13881 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13882 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13883 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13884 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13885 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13886 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13887 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13888 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13889 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13890 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13891 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13892 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13893 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13894 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13895 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13896 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13897 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13898 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13899 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13900 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13901 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13902 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13903 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13904 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13905 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13906 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13908 2012-05-18 Andreas Jaeger <aj@suse.de>
13910 * csu/.gitignore: Delete.
13912 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13914 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13915 (timex): Use __syscall_slong_t.
13917 2012-05-18 Andreas Jaeger <aj@suse.de>
13918 Carlos O'Donell <carlos_odonell@mentor.com>
13920 * manual/install.texi (Configuring and compiling): Update
13921 description about files modified in the source directory.
13922 * INSTALL: Regenerated.
13924 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13926 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13927 value. Use "or" to set return value to -1.
13928 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13929 negate return value.
13931 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13933 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13934 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13935 failure if the compiler has Graphite support disabled.
13936 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13938 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13939 CFLAGS-memmove.c): Likewise.
13940 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13943 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13945 * sysdeps/x86_64/x32/_itoa.h: New file.
13947 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13948 getdents system call only if kernel and user dirents have the
13949 same d_ino and d_off.
13951 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13952 LLONG_MAX != LONG_MAX.
13953 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13954 (_fitoa_word): Likewise.
13956 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13958 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13959 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13960 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13962 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13963 include <bits/wordsize.h>. Check __x86_64__ instead of
13965 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13966 if __x86_64__ is defined. Use anonymous union on fpstate.
13968 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13971 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13973 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13974 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13975 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13976 Refer to _rtld_local_ro instead of _rtld_global_ro.
13977 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13979 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13981 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13983 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13984 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13985 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13987 * sysdeps/powerpc/powerpc32/dl-machine.c
13988 (__elf_machine_runtime_setup) [PROF]: Don't reference
13991 2012-05-18 Andreas Jaeger <aj@suse.de>
13993 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13994 function only available for GCCs before 3.4 since GCC 3.4
13995 introduced a builtin.
13997 (llrintf): Likewise.
13998 (llrint): Likewise.
14005 (nearbyint): Likewise.
14006 (nearbyintf): Likewise.
14010 (floorf): Likewise.
14012 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14014 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14015 on both fields and cast pointer to __syscall_ulong_t.
14017 * bits/types.h (__fsword_t): New type.
14018 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14019 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14020 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14021 (__FSWORD_T_TYPE): Likewise.
14022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14023 (__FSWORD_T_TYPE): Likewise.
14024 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14025 (__FSWORD_T_TYPE): Likewise.
14026 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14027 (__FSWORD_T_TYPE): Likewise.
14028 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14029 __SWORD_TYPE with __fsword_t.
14030 (statfs64): Likewise.
14032 2012-05-17 David S. Miller <davem@davemloft.net>
14034 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14036 2012-05-17 Andreas Jaeger <aj@suse.de>
14038 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14041 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14043 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14045 2012-05-17 Andreas Jaeger <aj@suse.de>
14047 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14050 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14052 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14054 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14056 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14057 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14059 2012-05-17 Andreas Jaeger <aj@suse.de>
14060 Carlos O'Donell <carlos_odonell@mentor.com>
14063 * sysdeps/x86_64/multiarch/init-arch.h
14064 (bit_YMM_Usable): Rename to...
14065 (bit_AVX_Usable): ... this.
14066 (bit_FMA4_Usable): New macro.
14067 (bit_XMM_state): New macro.
14068 (bit_YMM_state): New macro.
14069 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14070 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14071 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14072 (CPUID_OSXSAVE): New macro.
14073 (CPUID_AVX): New macro.
14074 (CPUID_FMA4): New macro.
14075 (index_YMM_Usable): Rename to...
14076 (index_AVX_Usable): ... this.
14077 (HAS_AVX): Use HAS_ARCH_FEATURE.
14078 (HAS_FMA4): Likewise.
14079 (HAS_YMM_USABLE): Remove.
14080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14081 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14083 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14084 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14085 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14086 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14087 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14089 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14091 * math/libm-test.c: Support platforms without multiple rounding modes.
14092 * math/bug-nextafter.c: Support platforms without FP exceptions.
14093 * math/bug-nexttoward.c: Likewise.
14094 * math/test-fenv.c: Likewise.
14095 * math/test-misc.c: Likewise.
14096 * stdlib/bug-getcontext.c: Likewise.
14098 2012-05-17 Andreas Jaeger <aj@suse.de>
14100 * manual/examples/search.c (critter_cmp): Change signature to
14102 * manual/string.texi (Collation Functions): Likewise.
14104 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14106 * bits/types.h: Fold copyright years.
14107 * bits/typesizes.h: Likewise.
14108 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14109 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14110 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14112 * time/time.h: Likewise.
14114 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14117 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14118 in instead of returning them. Return void.
14119 (__libc_mallinfo): Accumulate over all arenas.
14120 (__malloc_stats): Adjust for change in int_mallinfo interface.
14122 2012-05-16 Roland McGrath <roland@hack.frob.com>
14125 * configure.in (NM): Add AC_CHECK_TOOL for it.
14126 (libc_extra_cflags): New substituted variable.
14127 Check for -fstack-protector being used implicitly.
14128 * configure: Regenerated.
14129 * config.make.in (config-extra-cflags): New variable,
14130 gets @libc_extra_cflags@.
14131 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14134 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14135 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14136 * configure: Regenerated.
14137 * config.make.in (CPPUNDEFS): New substituted variable.
14138 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14139 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14140 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14142 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14144 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14145 (mq_attr): Use __syscall_slong_t.
14147 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14149 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14150 Check __x86_64__ instead of __WORDSIZE.
14151 (_STAT_VER_LINUX): Likewise.
14152 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14153 __syscall_ulong_t and __syscall_slong_t.
14154 (stat64): Likewise.
14156 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14158 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14160 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14162 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14164 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14166 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14169 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14170 include <bits/wordsize.h>. Check __x86_64__ instead of
14172 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14174 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14176 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14177 include <bits/wordsize.h>. Check __x86_64__ instead of
14179 (user_regs_struct): Use "__extension__ unsigned long long"
14180 instead of "unsigned long" if __x86_64__ is defined.
14181 (user): Likewise. Pad after pointer field if __ILP32__ is
14184 2012-05-16 Joseph Myers <joseph@codesourcery.com>
14186 * configure.in (makeinfo): Require version 4.5 or later. Allow
14188 * configure: Regenerated.
14189 * manual/install.texi (texinfo): Increase version requirement to
14191 * INSTALL: Regenerated.
14193 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14195 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14197 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14199 * sysdeps/x86_64/x32/ffs.c: New file.
14201 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14203 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14204 defined. Use __syscall_ulong_t.
14205 (shminfo): Use __syscall_ulong_t.
14206 (shm_info): Likewise.
14208 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14211 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14213 (msgqnum_t): Use __syscall_ulong_t.
14214 (msglen_t): Likewise.
14215 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14218 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14219 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14221 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14223 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14224 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14226 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14229 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14230 include <bits/wordsize.h>. Check __x86_64__ instead of
14233 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14234 "unsigned long long int" if __x86_64__ is defined.
14235 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14237 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14238 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14239 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14241 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14243 (GET_PC): Cast to uintptr_t first.
14244 (GET_FRAME): Likewise.
14245 (GET_STACK): Likewise.
14247 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14248 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14249 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14250 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14251 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14252 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14253 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14254 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14255 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14256 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14257 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14258 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14259 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14260 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14261 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14262 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14263 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14264 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14265 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14266 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14267 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14268 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14269 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14270 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14271 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14272 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14273 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14274 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14275 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14277 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14279 * Makerules (+depfiles): Also collect depfiles from .oS in
14281 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14282 .oS, $(libnldbl-routines)).
14284 * Makerules (native-compile-mkdep-flags): Define.
14285 * sunrpc/Makefile (extra-objs): Add $(addprefix
14286 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14287 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14288 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14289 calling $(make-target-directory).
14291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14293 * bits/types.h (__snseconds_t): Removed.
14294 * time/time.h (struct timespec): Replace __snseconds_t with
14296 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14297 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14300 (__SNSECONDS_T_TYPE): Likewise.
14301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14302 (__SNSECONDS_T_TYPE): Likewise.
14303 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14304 (__SNSECONDS_T_TYPE): Likewise.
14306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14308 * sysdeps/mach/hurd/bits/typesizes.h
14309 (__SYSCALL_SLONG_TYPE): New macro.
14310 (__SYSCALL_ULONG_TYPE): Likewise.
14312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14314 * bits/types.h (__syscall_slong_t): New type.
14315 (__syscall_ulong_t): Likewise.
14317 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14318 (__SYSCALL_ULONG_TYPE): Likewise.
14319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14320 (__SYSCALL_SLONG_TYPE): Likewise.
14321 (__SYSCALL_ULONG_TYPE): Likewise.
14322 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14323 (__SYSCALL_SLONG_TYPE): Likewise.
14324 (__SYSCALL_ULONG_TYPE): Likewise.
14325 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14326 (__SYSCALL_SLONG_TYPE): Likewise.
14327 (__SYSCALL_ULONG_TYPE): Likewise.
14329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14331 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14332 Add sigaltstack-offsets.sym.
14333 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14334 <sigaltstack-offsets.h>.
14335 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14336 longjmp_msg pointer.
14337 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14338 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14340 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14342 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14344 * elf/stackguard-macros.h: Remove file.
14345 * sysdeps/generic/stackguard-macros.h: New file.
14346 * sysdeps/i386/stackguard-macros.h: Likewise.
14347 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14348 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14349 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14350 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14351 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14352 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14353 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14354 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14355 <elf/stackguard-macros.h>.
14358 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14359 __aligned__ in attribute.
14360 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14361 (gregset_t): Likewise.
14363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14365 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14366 * sysdeps/x86_64/64/Implies-after: Here. New file.
14367 * sysdeps/x86_64/x32/Implies-after: New file.
14369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14371 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14372 and access return value for _dl_profile_fixup. Use R10_LP to
14375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14377 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14379 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14381 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14382 * sysdeps/x86_64/x32/sysdep.h: New file.
14384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14386 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14387 * sysdeps/x86_64/setjmp.S: Likewise.
14389 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14392 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14393 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14394 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14395 remove unused global constant.
14397 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14399 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14400 include of <not-cancel.h>.
14402 2012-05-15 Roland McGrath <roland@hack.frob.com>
14404 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14406 2012-05-15 Jeff Law <law@redhat.com>
14407 Andreas Jaeger <aj@suse.de>
14410 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14412 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14413 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14414 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14415 code changing __hst_map_handle.map.
14417 2012-05-15 Roland McGrath <roland@hack.frob.com>
14419 * configure.in (sysnames): Look for Implies-before and Implies-after
14421 * configure: Regenerated.
14423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14425 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14426 8-byte data alignment with LP_SIZE alignment.
14428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14430 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14435 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14439 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14440 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14441 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14443 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14447 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14448 (stackinfo_sub_sp): Likewise.
14450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14452 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14455 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14457 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14462 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14467 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14471 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14472 into R11_LP and load __x86_64_shared_cache_size_half into
14475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14477 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14480 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14484 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14486 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14488 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14489 powerpc32/power7/fpu/s_logb.c via #include.
14490 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14491 powerpc32/power7/fpu/s_logbf.c via #include.
14492 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14493 powerpc32/power7/fpu/s_logbl.c via #include.
14495 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14497 * README.libm: Remove file.
14499 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14501 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14502 count for x32. Use R*_LP and omit operand-size suffix.
14504 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14506 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14507 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14508 * sysdeps/x86_64/x32/shlib-versions: New file.
14510 2012-05-14 Roland McGrath <roland@hack.frob.com>
14512 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14513 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14514 Use _dl_fatal_printf instead.
14516 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14518 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14519 set if not set by the user. Do not allow for being unset.
14520 * sysdeps/unix/sysv/linux/configure: Regenerated.
14522 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14524 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14525 the `q' suffix from lea and replace .quad with ASM_ADDR.
14527 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14530 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14532 (PTR_DEMANGLE): Likewise.
14534 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14536 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14538 (ASM_ADDR): Likewise.
14539 (RAX_LP): Likewise.
14540 (RBP_LP): Likewise.
14541 (RBX_LP): Likewise.
14542 (RCX_LP): Likewise.
14543 (RDI_LP): Likewise.
14544 (RSI_LP): Likewise.
14545 (RSP_LP): Likewise.
14548 (R10_LP): Likewise.
14549 (R10_LP): Likewise.
14550 (R11_LP): Likewise.
14551 (R12_LP): Likewise.
14552 (R13_LP): Likewise.
14553 (R14_LP): Likewise.
14554 (R15_LP): Likewise.
14556 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14558 * sysdeps/x86_64/x32/dl-machine.h: New file.
14560 2012-05-14 Andreas Jaeger <aj@suse.de>
14562 * manual/Makefile (subdir): Remove export of subdir.
14563 (all): Remove target.
14564 (.PHONY): Remove all from list.
14565 (mkinstalldirs): Remove.
14566 (.PHONY): Remove installdirs from list.
14567 ($(inst_infodir)/libc.info): Use make-target-directory.
14568 (installdirs): Remove.
14569 (subdir_%): Remove.
14570 (glibc-targets): Remove.
14573 ($(objpfx)stubs ../po/manual.pot): Remove.
14574 ($(objpfx)stamp%): Remove.
14575 (make-target-directory): Remove.
14576 (subdir_install): Remove.
14577 (routines): Remove.
14584 * manual/.gitignore: Remove, it's not needed anymore.
14585 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14587 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14589 (texis): Renamed to $(objpfx)texis.
14590 (texis-path): New, contains path to generated files.
14591 (chapters.%): Use texis-path for complete path, add extra argument
14593 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14594 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14595 (summary,texi, stamp-summary): Use complete path of
14596 files. Generate files in build dir.
14597 (dir-add.texi): Build in build dir.
14598 (libm-err.texi,stamp-libm-err): Likewise.
14599 (version.texi, stamp-version): Likewise.
14600 (.%c.texi): Likewise.
14601 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14602 (mostlyclean): Remove target.
14603 (realclean): Remove target.
14604 (generated): Add new variable with contents from mostlyclean and
14605 realclean, remove entries duplicated in common-mostlyclean, add
14606 stamp-libm-err and stamp-version.
14607 (generated-dirs): Add libc directory.
14608 ($(inst_infodir)/libc.info): Install files from build dir.
14610 * manual/install.texi (Configuring and compiling): Adjust since
14611 the info files are not part of the tar ball anymore.
14613 2012-05-14 Andreas Jaeger <aj@suse.de>
14615 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14618 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14621 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14622 to 2.2.0 where earlier.
14623 * sysdeps/unix/sysv/linux/configure: Regenerated.
14624 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14625 Remove conditional code.
14626 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14627 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14628 Remove conditional code.
14629 [!__NR_lchown]: Likewise.
14630 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14631 [__NR_lchown]: Likewise.
14632 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14633 comment referencing __ASSUME_LCHOWN_SYSCALL.
14634 * sysdeps/unix/sysv/linux/i386/sigaction.c
14635 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14636 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14637 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14638 Remove conditional code.
14639 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14640 (__protocol_available): Remove #if 0 code.
14641 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14643 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14644 * sysdeps/unix/sysv/linux/kernel-features.h
14645 (__ASSUME_GETCWD_SYSCALL): Don't define.
14646 (__ASSUME_REALTIME_SIGNALS): Likewise.
14647 (__ASSUME_PREAD_SYSCALL): Likewise.
14648 (__ASSUME_PWRITE_SYSCALL): Likewise.
14649 (__ASSUME_POLL_SYSCALL): Likewise.
14650 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14651 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14653 (__ASSUME_SIOCGIFNAME): Don't define.
14654 (__ASSUME_MSG_NOSIGNAL): Likewise.
14655 (__ASSUME_SENDFILE): Define unconditionally.
14656 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14657 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14659 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14660 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14661 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14662 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14663 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14664 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14665 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14667 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14670 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14673 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14674 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14676 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14679 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14680 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14682 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14685 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14688 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14690 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14691 Remove conditional code.
14692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14693 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14694 Remove conditional code.
14695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14696 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14697 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14698 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14699 Remove conditional code.
14700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14701 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14702 Remove conditional code.
14703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14704 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14705 Remove conditional code.
14706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14707 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14708 Remove conditional code.
14709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14710 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14711 Remove conditional code.
14712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14713 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14714 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14716 * sysdeps/unix/sysv/linux/sigaction.c
14717 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14718 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14719 * sysdeps/unix/sysv/linux/sigpending.c
14720 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14721 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14722 * sysdeps/unix/sysv/linux/sigprocmask.c
14723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14725 * sysdeps/unix/sysv/linux/sigsuspend.c
14726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14728 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14729 (__libc_missing_rt_sigs): Remove.
14730 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14731 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14732 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14733 Remove conditional code.
14734 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14735 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14737 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14738 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14739 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14740 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14742 2012-05-14 Andreas Jaeger <aj@suse.de>
14744 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14745 it's not used in glibc.
14746 (__coshm1): Likewise.
14747 (__acosh1p): Likewise.
14750 * manual/string.texi (Copying and Concatenation): Add missing
14751 variable in concat example.
14752 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14754 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14757 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14758 __builtin_clzl with __builtin_clzll.
14760 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14763 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14766 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14768 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14769 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14770 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14771 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14773 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14775 * NEWS: Update ia64 info.
14777 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14779 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14782 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14784 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14785 * sysdeps/unix/syscalls.list (dup3): Likewise.
14786 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14787 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14789 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14791 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14792 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14794 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14796 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14798 (TLS_IE): Use mov/add instead of movq/addq to load thread
14800 (TLS_GD_PREFIX): New.
14803 2012-05-11 David S. Miller <davem@davemloft.net>
14805 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14806 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14807 (_FPU_SETCW): Likewise.
14809 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14811 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14812 is 32-byte aligned.
14814 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14817 * iconvdata/gb18030.c: Update tables.
14818 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14819 characters specially.
14820 (BODY for TO_LOOP): Add encoding of missing ranges.
14822 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14825 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14826 * sysdeps/mach/hurd/dup3.c: Likewise.
14827 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14828 * sysdeps/powerpc/memmove.c:: Likewise.
14830 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14832 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14833 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14835 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14837 * elf/elf.h (R_X86_64_RELATIVE64): New.
14838 (R_X86_64_NUM): Updated.
14839 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14840 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14841 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14842 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14843 tst-quad1pie tst-quad2pie
14844 (modules-names): Add tst-quadmod1 tst-quadmod2.
14845 ($(objpfx)tst-quad1): New dependency.
14846 ($(objpfx)tst-quad2): Likewise.
14847 ($(objpfx)tst-quad1pie): Likewise.
14848 ($(objpfx)tst-quad2pie): Likewise.
14849 * sysdeps/x86_64/tst-quad1.c: New file.
14850 * sysdeps/x86_64/tst-quad1pie.c: New file.
14851 * sysdeps/x86_64/tst-quad2.c: Likewise.
14852 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14853 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14854 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14855 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14856 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14858 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14860 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14861 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14862 * streams/stropts.h (t_scalar_t): Define type.
14864 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14865 (_PATH_PRESERVE): Set to "/var/lib".
14866 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14868 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14871 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14872 if __dir_mkfile succeeded.
14874 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14875 checking for _hurd_dtablesize. Unlock it right after having
14876 finished _hurd_dtable allocation.
14878 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14880 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14881 * sysdeps/mach/hurd/configure: Regenerated.
14882 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14883 special-casing to...
14884 * sysdeps/gnu/configure.in: ... this new file.
14885 * sysdeps/unix/sysv/linux/configure: Regenerated.
14886 * sysdeps/gnu/configure: New generated file.
14888 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14889 for Linux: use nsec instead of usec, as well as:
14890 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14891 members of type struct timespec.
14892 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14894 (struct stat64): Likewise.
14895 (_STATBUF_ST_NSEC): New macro.
14896 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14898 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14899 __strtoul_internal rather than strtoul.
14901 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14903 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14906 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14908 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14909 which preserves existing values.
14910 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14912 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14914 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14915 TIMEOUT values. Return EINVAL for NFDS values either negative or
14916 greater than FD_SETSIZE.
14918 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14920 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14921 allocated, call __vm_protect to finish enabling the existing space, and
14922 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14923 allocate the remainder.
14925 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14927 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14928 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14930 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14932 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14933 sysdeps/mach/hurd/readlink.c.
14935 * posix/tst-sysconf.c (posix_options): Only use
14936 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14937 _POSIX_SYNCHRONIZED_IO when they are defined
14938 * sysdeps/mach/hurd/bits/posix_opt.h:
14939 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14940 (_XOPEN_REALTIME): Undefine macro.
14941 (_XOPEN_REALTIME_THREADS): Undefine macro.
14942 (_XOPEN_SHM): Undefine macro.
14943 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14945 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14947 (_POSIX_ASYNC_IO): Undefine macro.
14948 (_POSIX_PRIORITIZED_IO): Undefine macro.
14949 (_POSIX_SPIN_LOCKS): Define macro to -1.
14951 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14952 SA_NODEFER, SA_RESETHAND.
14953 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14954 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14957 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14959 * elf/Makefile (pldd-modules): Define unconditionally.
14961 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14963 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14965 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14967 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14968 Return ENOENT when name is empty.
14969 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14971 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14973 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14975 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14977 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14979 Fix mlock in all cases except non-readable pages.
14980 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14981 instead of VM_PROT_ALL as parameter to __vm_wire function.
14983 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14984 (__mkdir): When path is `/', just fail with EEXIST.
14985 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14987 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14989 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14990 <sys/uio.h> (for writev).
14991 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14992 and <sys/param.h> (for MIN).
14994 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14996 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14997 REQUESTED_TIME. Properly set the remaining time and return EINTR
15000 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15002 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15003 Depend on against $(link-rpcuserlibs).
15005 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15007 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15008 (__libc_stack_end): Do not use attribute_relro.
15009 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15010 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15011 to libthread-provided value.
15012 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15015 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15018 * bits/libc-lock.h (__libc_once_get): New macro.
15019 * sysdeps/mach/bits/libc-lock.h: Likewise.
15020 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15021 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15022 instead of using implementation details.
15024 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15025 * libio/freopen.c: Likewise.
15026 * libio/freopen64.c: Likewise.
15027 * misc/syslog.c: Likewise.
15028 * nscd/connections.c: Likewise.
15029 * nscd/netgroupcache.c: Likewise.
15030 * sysdeps/posix/getcwd.c: Likewise.
15032 2012-05-10 Roland McGrath <roland@hack.frob.com>
15034 * math/w_ilogbf.c: Add #include <limits.h>.
15036 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15038 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15039 path instead of returning without unlocking.
15041 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15042 immediate-write ioctls.
15043 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15045 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15047 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15048 __builtin_frame_address instead of making assumptions about the
15049 location of the return address relative to DATA. Force early load of
15050 the return address.
15051 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15052 __builtin_frame_address.
15055 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15056 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15057 implement dup3 and do some further code clean-ups.
15058 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15059 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15061 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15063 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15065 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15066 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15067 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15068 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15069 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15072 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15073 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15074 when handler == SIG_ERR, not when handler != SIG_ERR.
15076 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15078 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15079 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15082 accept4 for GNU Hurd.
15083 * include/sys/socket.h (__libc_accept4): New prototype.
15084 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15085 to implement __libc_accept4.
15086 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15088 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15090 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15091 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15092 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15093 signal-defines.sym.
15095 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15097 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15099 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15101 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15102 assertion on O_CLOEXEC flag.
15103 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15104 * hurd/intern-fd.c: Likewise.
15105 * hurd/port2fd.c: Likewise.
15107 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15110 * bits/in.h (IPV6_PKTINFO): Define new macro.
15111 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15113 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15118 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15119 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15120 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15121 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15123 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15124 * math/libm-test.inc (logb_test) : Additional logb tests.
15126 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15127 Andreas Jaeger <aj@suse.de>
15129 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15130 * configure: Regenerated.
15131 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15132 * config.make.in (link-obsolete-rpc): New substituted variable.
15133 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15134 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15135 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15136 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15137 so that libc.a contains the symbols.
15138 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15139 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15140 * sunrpc/auth_none.c: Likewise.
15141 * sunrpc/auth_unix.c: Likewise.
15142 * sunrpc/authdes_prot.c: Likewise.
15143 * sunrpc/authuxprot.c: Likewise.
15144 * sunrpc/clnt_gen.c: Likewise.
15145 * sunrpc/clnt_perr.c: Likewise.
15146 * sunrpc/clnt_raw.c: Likewise.
15147 * sunrpc/clnt_simp.c: Likewise.
15148 * sunrpc/clnt_tcp.c: Likewise.
15149 * sunrpc/clnt_udp.c: Likewise.
15150 * sunrpc/clnt_unix.c: Likewise.
15151 * sunrpc/des_crypt.c: Likewise.
15152 * sunrpc/des_soft.c: Likewise.
15153 * sunrpc/get_myaddr.c: Likewise.
15154 * sunrpc/key_call.c: Likewise.
15155 * sunrpc/key_prot.c: Likewise.
15156 * sunrpc/netname.c: Likewise.
15157 * sunrpc/pm_getmaps.c: Likewise.
15158 * sunrpc/pm_getport.c: Likewise.
15159 * sunrpc/pmap_clnt.c: Likewise.
15160 * sunrpc/pmap_prot.c: Likewise.
15161 * sunrpc/pmap_prot2.c: Likewise.
15162 * sunrpc/pmap_rmt.c: Likewise.
15163 * sunrpc/publickey.c: Likewise.
15164 * sunrpc/rpc_cmsg.c: Likewise.
15165 * sunrpc/rpc_common.c: Likewise.
15166 * sunrpc/rpc_dtable.c: Likewise.
15167 * sunrpc/rpc_prot.c: Likewise.
15168 * sunrpc/rpc_thread.c: Likewise.
15169 * sunrpc/rtime.c: Likewise.
15170 * sunrpc/svc.c: Likewise.
15171 * sunrpc/svc_auth.c: Likewise.
15172 * sunrpc/svc_raw.c: Likewise.
15173 * sunrpc/svc_run.c: Likewise.
15174 * sunrpc/svc_tcp.c: Likewise.
15175 * sunrpc/svc_udp.c: Likewise.
15176 * sunrpc/svc_unix.c: Likewise.
15177 * sunrpc/svcauth_des.c: Likewise.
15178 * sunrpc/xcrypt.c: Likewise.
15179 * sunrpc/xdr.c: Likewise.
15180 * sunrpc/xdr_array.c: Likewise.
15181 * sunrpc/xdr_float.c: Likewise.
15182 * sunrpc/xdr_intXX_t.c: Likewise.
15183 * sunrpc/xdr_mem.c: Likewise.
15184 * sunrpc/xdr_rec.c: Likewise.
15185 * sunrpc/xdr_ref.c: Likewise.
15186 * sunrpc/xdr_sizeof.c: Likewise.
15187 * sunrpc/xdr_stdio.c: Likewise.
15189 2012-05-10 Roland McGrath <roland@hack.frob.com>
15191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15192 change. Update copyright years.
15194 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15196 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15198 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15199 Joseph Myers <joseph@codesourcery.com>
15200 Paul Pluzhnikov <ppluzhnikov@google.com>
15203 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15205 [cross-compiling] (extra-libs): Likewise.
15206 [cross-compiling] (extra-libs-others): Likewise.
15207 [cross-compiling] (librpcsvc-routines): Likewise.
15208 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15209 [cross-compiling] (omit-deps): Likewise.
15210 (sunrpc-CPPFLAGS): New variable.
15211 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15212 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15213 (cross-rpcgen-objs): New variable.
15214 (extra-objs): Append $(cross-rpcgen-objs).
15215 ($(cross-rpcgen-objs)): New rule.
15216 ($(objpfx)cross-rpcgen): Likewise.
15217 (rpcgen-cmd): Define to use $(built-program-file). Expand
15219 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15220 ($(objpfx)x%.stmp): Likewise.
15221 * sunrpc/proto.h [IS_IN_build] (_): Define.
15222 [IS_IN_build] (_libc_intl_domainname): Likewise.
15224 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15226 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15227 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15228 and R_X86_64_TPOFF64.
15230 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15232 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15233 sysdeps/unix/sysv/syscalls.list.
15236 * sysdeps/unix/sysv/syscalls.list: Remove file.
15238 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15241 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15242 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15243 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15244 (__LC_IDENTIFICATION): Make these macros useful in #if
15245 expressions, as required by C99.
15247 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15249 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15250 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15253 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15255 * stdlib/longlong.h: Updated from GCC.
15257 2012-05-09 Andreas Jaeger <aj@suse.de>
15259 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15260 default is first entry.
15261 (run_mode): Set type.
15262 (main): Remove informal message about syslog.
15263 (options): Fix typo.
15266 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15269 (llrintf): Likewise.
15270 (llrint): Likewise.
15273 (nearbyint): Likewise.
15274 (nearbyintf): Likewise.
15276 2012-05-09 Andreas Jaeger <aj@suse.de>
15277 Pedro Alves <palves@redhat.com>
15279 * nscd/nscd.c (run_mode): Use enum.
15280 (main): Cleanup coding style issue.
15282 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15283 Andreas Jaeger <aj@suse.de>
15285 * nscd/nscd.c (go_background): Replaced with...
15286 (run_mode): ... this.
15287 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15288 (options): Add -F --foreground.
15289 (main): Implement it.
15290 (parse_opt): Parse it.
15292 2012-05-09 Andreas Jaeger <aj@suse.de>
15295 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15296 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15297 -Wconversion warning.
15298 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15301 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15303 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15305 (LC_ALL): Use macro-int-constant.
15306 (LC_COLLATE): Likewise.
15307 (LC_CTYPE): Likewise.
15308 (LC_MESSAGES): Likewise.
15309 (LC_MONETARY): Likewise.
15310 (LC_NUMERIC): Likewise.
15311 (LC_TIME): Likewise.
15312 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15313 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15314 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15315 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15317 [C99-based standards] (float_t): Expect type.
15318 [C99-based standards] (double_t): Expect type.
15319 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15321 [C99-based standards] (HUGE_VALL): Likewise.
15322 [C99-based standards] (INFINITY): Likewise.
15323 [C99-based standards] (NAN): Likewise.
15324 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15325 [C99-based standards] (FP_NAN): Likewise.
15326 [C99-based standards] (FP_NORMAL): Likewise.
15327 [C99-based standards] (FP_SUBNORMAL): Likewise.
15328 [C99-based standards] (FP_ZERO): Likewise.
15329 [C99-based standards] (FP_FAST_FMA): Use
15330 optional-macro-int-constant. Specify type. Require == 1.
15331 [C99-based standards] (FP_FAST_FMAF): Likewise.
15332 [C99-based standards] (FP_FAST_FMAL): Likewise.
15333 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15334 [C99-based standards] (FP_ILOGBNAN): Likewise.
15335 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15337 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15338 [C99-based standards] (math_errhandling): Specify type.
15339 [ISO99 || ISO11] (signgam): Do not allow.
15340 [non-C99-based standards] (copysignf): Do not allow.
15341 [non-C99-based standards] (exp2f): Likewise.
15342 [non-C99-based standards] (log2f): Likewise.
15343 [non-C99-based standards] (modff): Allow.
15344 [non-C99-based standards] (erff): Do not allow.
15345 [non-C99-based standards] (erfcf): Likewise.
15346 [non-C99-based standards] (gammaf): Likewise.
15347 [non-C99-based standards] (hypotf): Likewise.
15348 [non-C99-based standards] (j0f): Likewise.
15349 [non-C99-based standards] (j1f): Likewise.
15350 [non-C99-based standards] (jnf): Likewise.
15351 [non-C99-based standards] (lgammaf): Likewise.
15352 [non-C99-based standards] (tgammaf): Likewise.
15353 [non-C99-based standards] (y0f): Likewise.
15354 [non-C99-based standards] (y1f): Likewise.
15355 [non-C99-based standards] (ynf): Likewise.
15356 [non-C99-based standards] (isnanf): Likewise.
15357 [non-C99-based standards] (acoshf): Likewise.
15358 [non-C99-based standards] (asinhf): Likewise.
15359 [non-C99-based standards] (atanhf): Likewise.
15360 [non-C99-based standards] (cbrtf): Likewise.
15361 [non-C99-based standards] (expm1f): Likewise.
15362 [non-C99-based standards] (ilogbf): Likewise.
15363 [non-C99-based standards] (log1pf): Likewise.
15364 [non-C99-based standards] (logbf): Likewise.
15365 [non-C99-based standards] (nextafterf): Likewise.
15366 [non-C99-based standards] (remainderf): Likewise.
15367 [non-C99-based standards] (rintf): Likewise.
15368 [non-C99-based standards] (scalbf): Likewise.
15369 [non-C99-based standards] (copysignl): Likewise.
15370 [non-C99-based standards] (exp2l): Likewise.
15371 [non-C99-based standards] (log2l): Likewise.
15372 [non-C99-based standards] (modfl): Allow.
15373 [non-C99-based standards] (erfl): Do not allow.
15374 [non-C99-based standards] (erfcl): Likewise.
15375 [non-C99-based standards] (gammal): Likewise.
15376 [non-C99-based standards] (hypotl): Likewise.
15377 [non-C99-based standards] (j0l): Likewise.
15378 [non-C99-based standards] (j1l): Likewise.
15379 [non-C99-based standards] (jnl): Likewise.
15380 [non-C99-based standards] (lgammal): Likewise.
15381 [non-C99-based standards] (tgammal): Likewise.
15382 [non-C99-based standards] (y0l): Likewise.
15383 [non-C99-based standards] (y1l): Likewise.
15384 [non-C99-based standards] (ynl): Likewise.
15385 [non-C99-based standards] (isnanl): Likewise.
15386 [non-C99-based standards] (acoshl): Likewise.
15387 [non-C99-based standards] (asinhl): Likewise.
15388 [non-C99-based standards] (atanhl): Likewise.
15389 [non-C99-based standards] (cbrtl): Likewise.
15390 [non-C99-based standards] (expm1l): Likewise.
15391 [non-C99-based standards] (ilogbl): Likewise.
15392 [non-C99-based standards] (log1pl): Likewise.
15393 [non-C99-based standards] (logbl): Likewise.
15394 [non-C99-based standards] (nextafterl): Likewise.
15395 [non-C99-based standards] (remainderl): Likewise.
15396 [non-C99-based standards] (rintl): Likewise.
15397 [non-C99-based standards] (scalbl): Likewise.
15398 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15399 [non-C99-based standards] (FP_*): Do not allow.
15400 [C99-based standards] (FP_*): Change to
15401 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15402 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15404 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15405 (SIG_ERR): Likewise.
15406 [X/Open-based standards] (SIG_HOLD): Likewise.
15407 (SIG_IGN): Likewise.
15408 (SIGABRT): Use macro-int-constant. Specify type. Require
15410 (SIGFPE): Likewise.
15411 (SIGILL): Likewise.
15412 (SIGINT): Likewise.
15413 (SIGSEGV): Likewise.
15414 (SIGTER): Likewise.
15415 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15416 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15417 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15418 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15419 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15420 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15421 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15422 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15423 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15424 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15425 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15426 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15427 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15428 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15429 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15430 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15431 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15432 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15433 [X/Open-based standards] (SIGTRAP): Likewise.
15434 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15435 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15436 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15437 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15438 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15441 2012-05-08 Ian Wienand <ianw@vmware.com>
15444 * time/tzset.c (__tzset_parse_tz): Update default rules for
15445 daylight time changes in the Energy Policy Act of 2005.
15447 2012-05-09 Andreas Jaeger <aj@suse.de>
15450 * elf/ldconfig.c (parse_conf): Change string to make clear that
15451 ldconfig only issued a warning if ld.so.conf does not exist.
15453 2012-05-08 David S. Miller <davem@davemloft.net>
15455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15456 movxtod instead of popping the value on the stack.
15458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15460 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15462 * config.h.in: Add HAVE_ARM_PCS_VFP.
15464 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15467 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15468 checking but the checks are disabled for any reason.
15470 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15472 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15473 and ELF64_R_TYPE with ELFW(R_TYPE).
15475 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15477 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15478 (ulimit): Likewise.
15480 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15481 (settimeofday): Likewise.
15483 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15485 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15486 a struct th_u2 inside the union, and move tu_block/tu_code into
15487 a new th_u3 union of tu_block/tu_code inside of that. Move
15488 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15489 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15490 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15491 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15492 (th_stuff): Change to th_u1.tu_stuff.
15494 (th_msg): Change to th_u1.th_u2.tu_data.
15496 2012-05-07 David S. Miller <davem@davemloft.net>
15498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15501 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15502 (SETUP_PIC_REG): Use it.
15503 (SETUP_PIC_REG_LEAF): Use it.
15505 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15509 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15511 (EXPL_FINITE): Likewise.
15512 (FLDLOG): Likewise.
15513 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15514 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15516 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15518 (EXPL_FINITE): Likewise.
15519 (FLDLOG): Likewise.
15520 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15521 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15523 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15524 test of -max_value argument for long double.
15525 * sysdeps/i386/fpu/libm-test-ulps: Update.
15526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15528 2012-05-06 David S. Miller <davem@davemloft.net>
15530 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15531 quad soft-float symbols whose references which are compiler
15533 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15535 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15539 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15541 (EXPL_FINITE): Likewise.
15542 (FLDLOG): Likewise.
15545 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15546 Adjust comments for base varying.
15547 (__expl_finite): Change alias to EXPL_FINITE.
15548 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15550 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15551 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15553 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15554 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15556 (EXPL_FINITE): Likewise.
15557 (FLDLOG): Likewise.
15560 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15561 Adjust comments for base varying.
15562 (__expl_finite): Change alias to EXPL_FINITE.
15563 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15568 * math/libm-test.inc (check_float_internal): Correct ulp
15569 calculation for subnormal expected results.
15571 2012-05-06 Andreas Jaeger <aj@suse.de>
15573 * Makeconfig (+math-flags): New, set to -frounding-math.
15574 (+cflags): Add +math-flags so that all of glibc gets compiled with
15577 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15579 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15581 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15587 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15588 (__ieee754_expl): Allow for and saturate large arguments.
15589 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15590 (u_threshold): Likewise.
15591 (__exp): Call __ieee754_exp before checking for overflow and
15593 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15594 (u_threshold): Likewise.
15595 (__expf): Call __ieee754_expf before checking for overflow and
15597 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15598 (u_threshold): Likewise.
15599 (__expl): Call __ieee754_expl before checking for overflow and
15601 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15602 (__ieee754_expl): Allow for and saturate large arguments.
15603 * math/libm-test.inc (exp_test): Add another test. Do not allow
15604 missing overflow exception on overflow.
15605 (expm1_test): Do not allow missing overflow exception on overflow.
15607 * sysdeps/i386/fpu/e_expl.c: Move to ...
15608 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15609 rather than using inline asm.
15610 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15611 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15612 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15614 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15617 (signal): Likewise.
15621 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15623 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15624 sysdeps/unix/common/syscalls.list.
15625 (fchmod): Likewise.
15626 (fchown): Likewise.
15627 (ftruncate): Likewise.
15628 (getrusage): Likewise.
15629 (gettimeofday): Likewise.
15630 (setpgid): Likewise.
15631 (setregid): Likewise.
15632 (setreuid): Likewise.
15633 (sigaction): Likewise.
15634 (truncate): Likewise.
15635 (vhangup): Likewise.
15636 * sysdeps/unix/common/syscalls.list: Remove file.
15637 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15638 * sysdeps/unix/sysv/linux/Implies: Likewise.
15640 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15642 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15644 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15648 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15651 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15654 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15657 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15660 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15663 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15666 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15670 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15674 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15677 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15681 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15685 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15687 * sysdeps/unix/common/bits/dirent.h: Remove file.
15688 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15690 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15691 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15692 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15693 * sysdeps/unix/bsd/isatty.c: Likewise.
15694 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15695 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15696 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15698 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15701 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15702 long double comparison inaccuracies.
15703 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15706 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15708 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15709 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15711 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15714 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15715 nonzero digits before rounding a hex value.
15716 * stdlib/tst-strtod.c (tests): Add another test.
15718 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15720 * sysdeps/s390/fpu/libm-test-ulps: Update.
15722 2012-05-03 Andreas Jaeger <aj@suse.de>
15724 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15725 does not get optimized out.
15726 (malloc_opt_barrier): New.
15728 2012-05-03 Andreas Jaeger <aj@suse.de>
15729 Roland McGrath <roland@hack.frob.com>
15731 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15732 intermediate file deletion.
15733 (generated): Add .symlist files.
15735 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15738 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15739 Redirect under this condition.
15740 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15741 [__USE_GNU] (__dprintf_chk): Not under this condition.
15742 [__USE_GNU] (__vdprintf_chk): Likewise.
15743 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15744 under this condition.
15745 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15746 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15747 [__USE_XOPEN2K8] (vdprintf): Likewise.
15748 [__USE_GNU] (__dprintf_chk): Not under this condition.
15749 [__USE_GNU] (__vdprintf_chk): Likewise.
15750 [__USE_GNU] (dprintf): Likewise.
15751 [__USE_GNU] (vdprintf): Likewise.
15753 2012-05-03 Roland McGrath <roland@hack.frob.com>
15755 * elf/Makefile (common-generated): Set this instead of generated for
15756 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15757 $(all-built-dso)-derived lists.
15759 2012-05-03 Andreas Jaeger <aj@suse.de>
15761 * sysdeps/i386/fpu/libm-test-ulps: Update.
15764 * FAQ.in: Likewise.
15765 * scripts/gen-FAQ.pl: Likewise.
15766 * manual/install.texi (Installation): Point to online location of
15768 * Makefile (files-for-dist): Remove FAQ.
15771 2012-05-02 Allan McRae <allan@archlinux.org>
15773 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15774 (LDFLAGS-reldepmod5.so): Likewise.
15775 (LDFLAGS-reldep6mod1.so): Likewise.
15776 (LDFLAGS-reldep6mod4.so): Likewise.
15777 (LDFLAGS-reldep8mod3.so): Likewise.
15778 (LDFLAGS-unload4mod1.so): Likewise.
15779 (LDFLAGS-unload4mod2.so): Likewise.
15780 (LDFLAGS-tst-initorder): Likewise.
15781 (LDFLAGS-tst-initordera2.so): Likewise.
15782 (LDFLAGS-tst-initordera3.so): Likewise.
15783 (LDFLAGS-tst-initordera4.so): Likewise.
15784 (LDFLAGS-tst-initorderb2.so): Likewise.
15785 (LDFLAGS-noload): Likewise.
15786 (LDFLAGS-next): Likewise.
15787 (LDFLAGS-order2mod1.so): Likewise.
15788 (LDFLAGS-order2mod2.so): Likewise.
15789 (LDFLAGS-tst-initorder2): Likewise.
15790 (LDFLAGS-tst-initorder2a.so): Likewise.
15791 (LDFLAGS-tst-initorder2b.so): Likewise.
15792 (LDFLAGS-tst-initorder2c.so): Likewise.
15793 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15795 2012-05-02 David S. Miller <davem@davemloft.net>
15797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15799 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15802 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15804 2012-05-02 Andreas Jaeger <aj@suse.de>
15806 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15807 since we manipulate rounding mode.
15808 (CPPFLAGS-test-idouble.c): Likewise.
15809 (CPPFLAGS-test-ifloat.c): Likewise.
15810 (CFLAGS-test-ldouble.c): Likewise.
15811 (CFLAGS-test-double.c): Likewise.
15812 (CFLAGS-test-float.c): Likewise.
15813 (CFLAGS-test-misc.c): Likewise.
15814 (CFLAGS-test-test-fenv.c): Likewise.
15816 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15820 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15821 comparisons to determine direction to adjust input.
15823 2012-05-01 Roland McGrath <roland@hack.frob.com>
15825 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15826 output to the target.
15828 * scripts/localplt.awk: New file.
15829 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15830 (check-localplt-CFLAGS): Variable removed.
15831 ($(all-built-dso:=.jmprel)): New static pattern rule.
15832 (generated): Add those targets.
15833 (localplt-built-dso): New variable.
15834 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15836 * elf/check-localplt.c: File removed.
15838 * scripts/check-execstack.awk: New file.
15839 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15840 (check-execstack-CFLAGS): Variable removed.
15841 ($(objpfx)check-execstack.h): Target removed.
15842 ($(objpfx)execstack-default): New target.
15843 (generated): Add that instead of check-execstack.h.
15844 ($(all-built-dso:=.phdr)): New static pattern rule.
15845 (generated): Add those targets.
15846 * elf/check-execstack.c: File removed.
15848 * scripts/check-textrel.awk: New file.
15849 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15850 (check-textrel-CFLAGS): Variable removed.
15851 (all-built-dso): Use := to define.o
15852 ($(all-built-dso:=.dyn)): New static pattern rule.
15853 (generated): Add those targets.
15854 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15855 * config.make.in (READELF): New substituted variable.
15856 * elf/check-textrel.c: File removed.
15858 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15860 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15862 * conform/data/ctype.h-data [C99-based standards] (isblank):
15864 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15865 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15866 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15867 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15868 Specify type. Require positive value.
15869 (EILSEQ): Likewise.
15870 (ERANGE): Likewise.
15871 [ISO || POSIX] (EILSEQ): Do not expect.
15872 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15873 Specify type. Require positive value.
15874 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15875 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15876 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15877 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15878 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15879 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15880 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15881 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15882 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15883 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15884 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15885 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15886 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15887 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15888 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15889 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15890 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15891 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15892 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15893 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15894 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15895 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15896 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15897 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15898 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15899 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15900 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15901 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15902 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15903 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15904 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15905 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15906 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15907 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15908 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15909 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15910 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15911 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15912 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15913 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15914 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15915 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15916 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15917 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15918 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15919 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15920 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15921 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15922 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15923 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15924 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15925 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15926 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15927 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15928 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15929 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15930 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15931 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15932 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15933 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15934 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15935 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15936 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15937 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15938 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15939 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15940 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15941 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15942 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15943 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15944 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15945 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15946 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15947 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15948 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15949 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15950 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15952 (FLT_ROUNDS): Expect as macro, not constant.
15953 (FLT_MANT_DIG): Use macro-int-constant.
15954 (DBL_MANT_DIG): Likewise.
15955 (LDBL_MANT_DIG): Likewise.
15956 (FLT_DIG): Likewise.
15957 (DBL_DIG): Likewise.
15958 (LDBL_DIG): Likewise.
15959 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15960 (DBL_MIN_EXP): Likewise.
15961 (LDBL_MIN_EXP): Likewise.
15962 (FLT_MAX_EXP): Use macro-int-constant.
15963 (DBL_MAX_EXP): Likewise.
15964 (LDBL_MAX_EXP): Likewise.
15965 (FLT_MAX_10_EXP): Likewise.
15966 (DBL_MAX_10_EXP): Likewise.
15967 (LDBL_MAX_10_EXP): Likewise.
15968 (FLT_MAX): Use macro-constant.
15969 (DBL_MAX): Likewise.
15970 (LDBL_MAX): Likewise.
15971 (FLT_EPSILON): Use macro-constant. Give upper bound.
15972 (DBL_EPSILON): Likewise.
15973 (LDBL_EPSILON): Likewise.
15974 (FLT_MIN): Likewise.
15975 (DBL_MIN): Likewise.
15976 (LDBL_MIN): Likewise.
15977 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15978 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15979 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15980 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15981 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15982 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15983 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15984 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15985 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15986 [ISO11] (FLT_TRUE_MIN): Likewise.
15987 [ISO11] (LDBL_TRUE_MIN): Likewise.
15988 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15989 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15990 (SCHAR_MIN): Use macro-int-constant. Specify type.
15991 (SCHAR_MAX): Likewise.
15992 (UCHAR_MAX): Likewise.
15993 (CHAR_MIN): Likewise.
15994 (CHAR_MAX): Likewise.
15995 (MB_LEN_MAX): Use macro-int-constant.
15996 (SHRT_MIN): Use macro-int-constant. Specify type.
15997 (SHRT_MAX): Likewise.
15998 (USHRT_MAX): Likewise.
15999 (INT_MAX): Likewise.
16000 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16002 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16004 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16006 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16007 bound negative. Suffix upper bound with "L".
16008 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16010 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16012 [C99-based standards] (LLONG_MAX): Likewise.
16013 [C99-based standards] (ULLONG_MAX): Likewise.
16014 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16016 [ISO11] (max_align_t): Require type.
16017 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16019 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16020 from $CFLAGS, without defining away __attribute__ calls.
16021 (checknamespace): Use $CFLAGS_namespace.
16023 * conform/conformtest.pl (@keywords): Only include C99 keywords
16024 for standards based on C99 or C11.
16026 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16028 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16031 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16032 usability of symbols in #if.
16034 * conform/conformtest.pl: If macro or constant types start
16035 "promoted:", expect the symbol to be of the following type
16036 promoted by the integer promotions.
16038 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16039 in one place. Also handle "macro-constant".
16041 * conform/conformtest.pl: Only accept expected macro values with
16042 "==". Parse all "macro" lines in one place.
16043 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16045 * conform/conformtest.pl: Handle braced types on "constant" lines
16046 instead of handling "typed-constant".
16047 * conform/data/signal.h-data: Use "constant" instead of
16050 * conform/conformtest.pl: Handle "optional-" at start of lines in
16051 one place rather than duplicating several cases. Handle each
16052 format of "macro" line with initial "optional-".
16054 * conform/conformtest.pl: Only accept expected constant or
16055 optional-constant values with "==". Parse all "constant" lines in
16056 one place. Parse all "optional-constant" lines in one place.
16057 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16058 * conform/data/fmtmsg.h-data: Likewise.
16059 * conform/data/netinet/in.h-data: Likewise.
16060 * conform/data/tar.h-data: Likewise.
16061 * conform/data/limits.h-data: Use "==" form on "constant" and
16062 "optional-constant" lines.
16064 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16065 Use -std=c99 for XOPEN2K.
16066 (@knownproblems): Remove.
16067 (newtoken): Don't check %isknown.
16069 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16070 Do not expect macro.
16071 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16072 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16073 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16074 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16075 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16076 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16077 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16078 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16079 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16080 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16081 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16082 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16083 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16084 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16085 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16086 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16087 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16088 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16089 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16090 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16091 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16092 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16093 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16094 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16095 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16096 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16097 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16098 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16099 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16100 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16101 [XPG3] (acosh): Likewise.
16102 [XPG3] (asinh): Likewise.
16103 [XPG3] (atanh): Likewise.
16104 [XPG3] (cbrt): Likewise.
16105 [XPG3] (expm1): Likewise.
16106 [XPG3] (ilogb): Likewise.
16107 [XPG3] (log1p): Likewise.
16108 [XPG3] (logb): Likewise.
16109 [XPG3] (nextafter): Likewise.
16110 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16111 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16112 [XPG3] (remainder): Likewise.
16113 [XPG3] (rint): Likewise.
16114 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16115 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16116 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16117 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16118 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16119 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16120 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16121 [UNIX98 || XOPEN2K] (scalb): Expect.
16122 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16123 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16124 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16125 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16126 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16127 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16128 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16129 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16130 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16131 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16132 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16133 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16134 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16135 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16136 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16137 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16138 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16139 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16140 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16141 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16142 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16143 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16144 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16145 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16146 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16147 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16148 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16149 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16150 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16151 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16152 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16153 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16154 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16155 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16156 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16157 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16158 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16159 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16160 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16161 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16162 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16163 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16164 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16165 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16166 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16167 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16168 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16169 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16170 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16171 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16172 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16173 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16174 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16175 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16176 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16177 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16178 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16179 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16180 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16181 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16182 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16183 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16184 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16185 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16186 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16187 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16188 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16189 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16190 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16191 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16192 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16193 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16194 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16195 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16196 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16197 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16198 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16199 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16200 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16201 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16202 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16203 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16204 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16205 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16206 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16207 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16208 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16209 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16210 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16211 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16212 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16213 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16214 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16215 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16216 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16217 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16218 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16219 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16220 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16221 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16222 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16223 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16224 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16225 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16226 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16227 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16228 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16229 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16230 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16231 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16232 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16233 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16234 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16235 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16236 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16237 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16238 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16239 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16240 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16241 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16242 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16243 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16244 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16245 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16246 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16247 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16248 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16249 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16250 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16251 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16252 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16253 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16254 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16255 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16256 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16257 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16258 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16260 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16261 _XOPEN_SOURCE_EXTENDED for XPG4.
16263 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16265 * Makeconfig (localtime): Remove variable.
16266 (inst_localtime-file): Likewise.
16268 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16289 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16293 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16294 comparisons to determine direction to adjust input.
16295 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16296 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16297 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16299 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16301 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16303 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16304 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16306 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16308 * math/libm-test.inc (nexttoward_test): Add more tests.
16310 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16313 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16314 in version GLIBC_2.1, not GLIBC_2.0.
16315 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16318 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16321 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16323 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16324 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16325 * math/libm-test.inc (acos_test): Add more tests.
16326 (asin_test): Likewise.
16327 * sysdeps/i386/fpu/libm-test-ulps: Update.
16328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16331 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16333 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16334 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16335 * math/libm-test.inc (acos_test_tonearest): New function.
16336 (acos_test_towardzero): Likewise.
16337 (acos_test_downward): Likewise.
16338 (acos_test_upward): Likewise.
16339 (asin_test_tonearest): Likewise.
16340 (asin_test_towardzero): Likewise.
16341 (asin_test_downward): Likewise.
16342 (asin_test_upward): Likewise.
16343 (main): Call the new functions.
16344 * sysdeps/i386/fpu/libm-test-ulps: Update.
16345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16349 * math/e_exp10.c: Include <float.h>.
16350 (__ieee754_exp10): Handle underflow here rather than multiplying
16351 large negative argument by M_LN10.
16352 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16354 * math/e_exp10l.c: Include <float.h>.
16355 (__ieee754_exp10l): Handle underflow here rather than multiplying
16356 large negative argument by M_LN10l.
16357 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16358 spurious overflow exception on underflow.
16360 2012-04-29 Marek Polacek <polacek@redhat.com>
16362 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16363 (__fortify_function): New macro.
16364 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16365 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16366 __extern_always_inline.
16367 * libio/bits/stdio2.h: Likewise.
16368 * libio/bits/stdio.h: Likewise.
16369 * string/string.h: Likewise.
16370 * string/bits/string3.h: Likewise.
16371 * include/stdio.h: Likewise.
16372 * stdlib/bits/stdlib.h: Likewise.
16373 * stdlib/stdlib.h: Likewise.
16374 * rt/bits/mqueue2.h: Likewise.
16375 * rt/mqueue.h: Likewise.
16376 * posix/bits/unistd.h: Likewise.
16377 * posix/unistd.h: Likewise.
16378 * io/bits/poll2.h: Likewise.
16379 * io/bits/fcntl2.h: Likewise.
16380 * io/fcntl.h: Likewise.
16381 * io/sys/poll.h: Likewise.
16382 * misc/bits/syslog.h: Likewise.
16383 * misc/bits/syslog-ldbl.h: Likewise.
16384 * misc/sys/syslog.h: Likewise.
16385 * socket/bits/socket2.h: Likewise.
16386 * socket/sys/socket.h: Likewise.
16387 * debug/tst-chk1.c: Likewise.
16388 * wcsmbs/bits/wchar2.h: Likewise.
16389 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16390 * wcsmbs/wchar.h: Likewise.
16392 2012-04-29 Andreas Jaeger <aj@suse.de>
16394 * Makerules (tests): Remove enable-check-abi protection.
16395 (check-abi-warn): Remove.
16396 (check-abi-%): Remove check-abi-warn usage.
16398 * configure.in: Remove check-abi configure option.
16399 * configure: Regenerated.
16400 * config.make.in (enable-check-abi): Remove.
16402 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16405 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16406 double functions to double *_finite functions.
16409 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16410 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16412 * stdio-common/Makefile (tests): Add tst-sprintf3.
16413 * stdio-common/tst-sprintf3.c: New file.
16415 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16416 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16418 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16420 * conform/conformtest.pl: Remove duplicate typed-constant
16423 2012-04-28 David S. Miller <davem@davemloft.net>
16425 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16426 (check-abi-%): Remove AWK script prerequisite and explicit
16428 (check-abi): Rewrite to just diff the symlist with the abilist.
16429 (config-tls, config-abi-config): Delete, no longer used.
16430 (update-abi-%): Remove AWK script and explicit abilist directory.
16431 (update-abi): Rewrite to simply compare and conditionally copy the
16432 symlist and the sysdep abilist file. Remove update-abi-config
16434 * abilist/ld.abilist: Remove.
16435 * abilist/libBrokenLocale.abilist: Remove.
16436 * abilist/libanl.abilist: Remove.
16437 * abilist/libcrypt.abilist: Remove.
16438 * abilist/libdl.abilist: Remove.
16439 * abilist/librt.abilist: Remove.
16440 * abilist/libthread_db.abilist: Remove.
16441 * abilist/libutil.abilist: Remove.
16442 * scripts/extract-abilist.awk: Remove.
16443 * scripts/merge-abilist.awk: Remove.
16444 * sysdeps/generic/libcidn.abilist: New file.
16445 * sysdeps/generic/libnss_compat.abilist: New file.
16446 * sysdeps/generic/libnss_db.abilist: New file.
16447 * sysdeps/generic/libnss_dns.abilist: New file.
16448 * sysdeps/generic/libnss_files.abilist: New file.
16449 * sysdeps/generic/libnss_hesiod.abilist: New file.
16450 * sysdeps/generic/libnss_nis.abilist: New file.
16451 * sysdeps/generic/libnss_nisplus.abilist: New file.
16452 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16453 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16454 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16456 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16457 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16458 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16459 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16460 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16461 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16462 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16463 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16464 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16466 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16467 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16468 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16469 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16471 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16472 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16473 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16474 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16475 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16476 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16478 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16479 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16480 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16482 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16585 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16586 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16587 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16590 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16591 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16592 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16593 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16594 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16595 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16596 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16597 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16598 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16650 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16652 * conform/conformtest.pl: Fix typo in handling typed-constant from
16655 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16657 * README: Cut down references to pre-2.6 Linux kernels and
16658 Linuxthreads. Update lists of configurations in libc and ports
16659 and sort alphabetically. Say "or newer" with Linux kernel version
16662 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16664 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16667 * math/libm-test.inc (logb_test_downward): New test to expose
16668 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16671 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16674 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16676 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16677 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16679 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16681 * sysdeps/unix/i386/brk.S: Remove file.
16682 * sysdeps/unix/i386/dl-brk.S: Likewise.
16683 * sysdeps/unix/i386/pipe.S: Likewise.
16684 * sysdeps/unix/i386/sigreturn.S: Likewise.
16685 * sysdeps/unix/i386/syscall.S: Likewise.
16686 * sysdeps/unix/i386/vfork.S: Likewise.
16687 * sysdeps/unix/i386/wait.S: Likewise.
16689 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16690 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16692 * configure.in (arm*-none*): Do not allow without
16693 --enable-hacker-mode.
16694 (netbsd*): Remove case setting base_os.
16695 (386bsd*): Likewise.
16696 (freebsd*): Likewise.
16699 (sunos*): Likewise.
16700 (ultrix*): Likewise.
16701 (newsos*): Likewise.
16702 (dynix*): Likewise.
16708 (minix*): Likewise.
16709 (irix4*): Likewise.
16710 (irix6*): Likewise.
16711 (solaris[2-9]*): Likewise.
16713 * configure: Regenerated.
16715 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16718 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16719 overflow or cancellation in calculating denominator.
16720 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16721 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16722 down expression to avoid unexpected rounding in newer GCCs.
16723 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16725 2012-04-26 David S. Miller <davem@davemloft.net>
16727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16728 long-double compat symbols.
16729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16743 2012-04-25 David S. Miller <davem@davemloft.net>
16745 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16746 HWCAP_* values only after the memory barriers have been defined.
16747 (atomic_full_barrier): Define.
16748 (atomic_read_barrier): Define.
16749 (atomic_write_barrier): Define.
16751 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16753 * shlib-versions: Add libgcc_s version information.
16754 * sysdeps/generic/libgcc_s.h: Remove.
16755 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16757 * sysdeps/gnu/unwind-resume.c: Likewise.
16758 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16760 2012-04-25 David S. Miller <davem@davemloft.net>
16762 * sysdeps/unix/sparc/brk.S: Delete.
16763 * sysdeps/unix/sparc/dl-brk.S: Delete.
16764 * sysdeps/unix/sparc/pipe.S: Delete.
16765 * sysdeps/unix/sparc/sysdep.S: Delete.
16766 * sysdeps/unix/sparc/sysdep.h: Delete.
16767 * sysdeps/unix/sparc/vfork.S: Delete.
16768 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16769 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16770 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16771 ret_ERRVAL, r0, r1, MOVE): Define.
16772 (JUMPTARGET): Remove.
16773 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16774 sysdeps/unix/sparc/sysdep.h
16775 (ENTRY, END): Remove.
16776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16778 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16780 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16781 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16784 * timezone/README: Update upstream location and email address for
16786 * timezone/zdump.c: Update from tzcode 2012b.
16787 * timezone/zic.c: Likewise.
16789 * configure.in (libc_cv_as_needed): Remove test.
16790 * configure: Regenerated.
16791 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16792 conditional definition.
16793 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16794 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16795 * config.make.in (have-as-needed): Remove variable.
16797 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16798 Paul Pluzhnikov <ppluzhnikov@google.com>
16800 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16803 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16805 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16806 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16807 * sysdeps/sh/strlen.S: Likewise.
16809 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16811 * sysdeps/unix/fork.S: Remove file.
16812 * sysdeps/unix/i386/fork.S: Likewise.
16813 * sysdeps/unix/sparc/fork.S: Likewise.
16815 * sysdeps/unix/system.c: Remove file.
16816 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16818 * sysdeps/unix/getegid.S: Remove file.
16819 * sysdeps/unix/geteuid.S: Likewise.
16821 2012-04-24 Roland McGrath <roland@hack.frob.com>
16823 * scripts/check-localplt.awk: New file.
16824 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16826 * scripts/data/localplt-generic.data: Add a comment.
16828 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16829 NODE when __dir_mkfile failed.
16830 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16831 Reported by Ludovic Courtès <ludo@gnu.org>.
16833 2012-04-24 Andreas Jaeger <aj@suse.de>
16835 * Makerules (common-clean): Also remove gen-as-const-headers
16838 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16840 * Makerules (native-compile): Do not change working directory for
16841 build. Use $(OUTPUT_OPTION) in command.
16842 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16844 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16847 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16848 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16849 * math/libm-test.inc (floor_test): Add more tests.
16850 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16852 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16854 * sysdeps/unix/getdents.c: Remove file.
16855 * sysdeps/unix/sysv/getdents.c: Likewise.
16856 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16858 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16859 sysdeps/unix/mman/syscalls.list.
16861 (mprotect): Likewise.
16863 (munmap): Likewise.
16864 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16865 * sysdeps/unix/mman/syscalls.list: Remove.
16866 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16868 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16869 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16870 * configure: Regenerated.
16871 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16872 $(libgcc_s_suffix).
16873 * config.make.in (libgcc_s_suffix): Remove variable.
16875 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16877 * sysdeps/unix/sysv/gethostname.c: Move to ...
16878 * sysdeps/posix/gethostname.c: ... here.
16880 * sysdeps/unix/execve.S: Remove file.
16882 * sysdeps/unix/_exit.S: Remove file.
16884 2012-04-23 Andreas Jaeger <aj@suse.de>
16887 * manual/Makefile: Remove make dist support, there's no
16888 need for a stand-alone documentation tar ball.
16889 (TEXI2DVI): Define always, it's not in Makeconfig.
16892 (edition): Removed.
16893 (glibc-doc-$(edition).tar): Removed
16897 (ETAGS): Remove, it's in Makeconfig.
16898 (move-if-change): Remove, it's in Makeconfig.
16900 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16903 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16904 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16905 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16906 (strtod_l, strtof_l, strtold_l): Remove __wur.
16907 It is not necessarily an error to ignore strtol's return value.
16908 One can reliably look at the stored endptr to decide whether
16909 the number had valid syntax.
16911 2012-04-21 Andreas Jaeger <aj@suse.de>
16914 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16916 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16918 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16919 * sysdeps/unix/sysv/Versions: Remove file.
16921 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16926 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16929 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16930 version from __vm86.
16932 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16934 * sysdeps/unix/common/lxstat.c: Remove file.
16935 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16937 * sysdeps/unix/sysv/Makefile: Remove file.
16939 * sysdeps/unix/sysv/direct.h: Remove file.
16941 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16942 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16943 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16944 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16945 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16946 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16947 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16949 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16951 * sysdeps/unix/xmknod.c: Remove file.
16952 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16954 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16956 * sysdeps/unix/sysv/i386/time.S: Remove file.
16958 * sysdeps/unix/fxstat.c: Remove file.
16959 * sysdeps/unix/xstat.c: Likewise.
16960 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16962 * sysdeps/unix/sysv/sigaction.c: Remove file.
16964 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16965 (sysdep_headers): Remove variable.
16966 [termio.h not in sysdep_headers] (generated): Likewise.
16967 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16968 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16969 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16970 * sysdeps/unix/sysv/tcflow.c: Likewise.
16971 * sysdeps/unix/sysv/tcflush.c: Likewise.
16972 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16973 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16974 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16975 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16976 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16978 * sysdeps/unix/siglist.c: Remove file.
16980 * sysdeps/unix/getppid.S: Remove file.
16982 * sysdeps/unix/mkdir.c: Remove file.
16983 * sysdeps/unix/rmdir.c: Likewise.
16985 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16987 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16989 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16990 errlist-compat value.
16992 2012-04-18 David S. Miller <davem@davemloft.net>
16994 * sysdeps/generic/memcopy.h (reg_char): Delete.
16995 * debug/strcat_chk.c: Use char, not reg_char.
16996 * debug/strcpy_chk.c: Likewise.
16997 * debug/strncat_chk.c: Likewise.
16998 * debug/strncpy_chk.c: Likewise.
16999 * string/memchr.c: Likewise.
17000 * string/memrchr.c: Likewise.
17001 * string/rawmemchr.c: Likewise.
17002 * string/strcat.c: Likewise.
17003 * string/strchr.c: Likewise.
17004 * string/strchrnul.c: Likewise.
17005 * string/strcmp.c: Likewise.
17006 * string/strcpy.c: Likewise.
17007 * string/strncat.c: Likewise.
17008 * string/strncmp.c: Likewise.
17009 * string/strncpy.c: Likewise.
17011 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17013 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17014 __builtin_memcopy is called when src and dest ranges are known to not
17017 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17019 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17020 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17021 fwd_align_merge macro call.
17022 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17023 bwd_align_merge macro call.
17024 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17026 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17028 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17029 bwd_align_merge macros.
17030 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17031 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17032 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17034 2012-04-18 David S. Miller <davem@davemloft.net>
17036 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17038 2012-04-18 Andreas Jaeger <aj@suse.de>
17041 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17042 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17043 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17046 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17047 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17049 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17050 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17051 Adjust for changed ldbl-128 files.
17053 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17054 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17055 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17057 2012-04-17 David S. Miller <davem@davemloft.net>
17059 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17061 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17063 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17064 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17065 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17066 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17067 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17068 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17070 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17073 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17074 * math/libm-test.inc: Add ilogb errno and exception tests.
17075 * math/w_ilogb.c: New file: ilogb wrapper.
17076 * math/w_ilogbf.c: New file: ilogbf wrapper.
17077 * math/w_ilogbl.c: New file: ilogbl wrapper.
17078 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17079 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17080 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17081 exception being thrown with 0.0 as argument.
17082 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17083 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17084 exception being thrown with 0.0 as argument.
17085 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17086 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17087 exception being thrown with 0.0 as argument.
17088 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17089 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17090 exception being thrown with 0.0 as argument.
17091 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17092 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17093 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17094 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17095 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17096 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17097 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17098 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17099 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17101 2012-04-17 Petr Baudis <pasky@ucw.cz>
17103 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17106 2012-04-16 Marek Polacek <polacek@redhat.com>
17108 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17110 2012-04-16 Marek Polacek <polacek@redhat.com>
17112 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17113 operands of fdivp instruction.
17115 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17117 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17118 * elf/tst-auditmod3b.c: Likewise.
17119 * elf/tst-auditmod4b.c: Likewise.
17120 * elf/tst-auditmod5b.c: Likewise.
17121 * elf/tst-auditmod6b.c: Likewise.
17122 * elf/tst-auditmod6c.c: Likewise.
17123 * elf/tst-auditmod7b.c: Likewise.
17124 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17125 * sysdeps/x86_64/preconfigure.in: Likewise.
17126 * sysdeps/x86_64/preconfigure: Regenerated.
17128 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17130 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17133 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
17135 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17136 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17138 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17141 * locale/iso-639.def: Fix gl language name. Spotted by
17144 2012-04-12 Roland McGrath <roland@hack.frob.com>
17147 * libio/libio.h (__io_write_fn): Update comment.
17149 2012-04-12 Petr Baudis <pasky@ucw.cz>
17152 * stdio.texi (Hook Functions): The user provided writer function
17153 is not allowed to return -1.
17155 2012-04-11 David S. Miller <davem@davemloft.net>
17157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17159 2012-04-11 Mike Frysinger <vapier@gentoo.org>
17161 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17162 Add a leading slash to rtkaio.
17164 2012-04-11 Jim Meyering <meyering@redhat.com>
17167 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17168 It is not necessarily an error to ignore fwrite's return
17169 value. One can reliably use ferror to test for errors after
17172 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17174 * bits/types.h (__snseconds_t): New type.
17175 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17177 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17179 (__SNSECONDS_T_TYPE): Likewise.
17180 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17181 (__SNSECONDS_T_TYPE): Likewise.
17182 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17183 (__SNSECONDS_T_TYPE): Likewise.
17185 2012-04-10 Andreas Jaeger <aj@suse.de>
17188 * manual/time.texi (Processor Time): Return type of times is
17189 elapsed real time since an arbitrary point in the past.
17190 (CPU Time): Move CLK_TCK from here...
17191 (Processor Time): ...to here. Correct description.
17192 * manual/conf.texi (Constants for Sysconf): Correct description of
17195 2012-04-10 David S. Miller <davem@davemloft.net>
17198 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17199 where the is a gap between DT_REL(A) and DT_JMPREL.
17201 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17203 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17204 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17205 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17207 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17209 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17210 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17211 (dl_main): Handle --inhibit-cache.
17212 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17214 * elf/dl-load.c (_dl_map_object): Use it.
17215 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17217 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17220 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17221 (__ieee754_powl): Saturate large exponents rather than testing for
17222 overflow of y*log2(x).
17223 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17224 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17228 * math/s_ctan.c: Include <float.h>.
17229 (__ctan): Avoid internal overflow or cancellation in calculating
17231 * math/s_ctanf.c: Likewise.
17232 * math/s_ctanl.c: Likewise.
17233 * math/s_ctanh.c: Likewise.
17234 * math/s_ctanhf.c: Likewise.
17235 * math/s_ctanhl.c: Likewise.
17236 * math/libm-test.inc (ctan_test): Add more tests.
17237 (ctanh_test): Likewise.
17238 * sysdeps/i386/fpu/libm-test-ulps: Update.
17239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17241 2012-04-09 Andreas Jaeger <aj@suse.de>
17244 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17245 is an optional BSD extension.
17248 * manual/stdio.texi (Opening Streams): Document additional fopen
17251 2012-04-09 Roland McGrath <roland@hack.frob.com>
17253 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17254 %eax without telling the compiler.
17256 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17259 * manual/install.texi: Use sourceware.org.
17261 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17264 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17265 (__ieee754_pow): Generate overflow and underflow using huge*huge
17266 and tiny*tiny rather than just returning constant infinity or zero
17267 for large exponents.
17268 * math/libm-test.inc (pow_test): Require overflow exceptions for
17269 applicable cases of large exponents.
17272 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17273 (__ieee754_pow): Use iterative multiplication algorithm only for
17274 integer exponents with absolute value below 1024. Check for odd
17275 integer exponents when using algorithm for real exponents.
17276 * math/libm-test.inc (pow_test): Add more tests.
17277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17279 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17282 * math/libm-test.inc (exp_test): Do not allow overflow exception
17285 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17288 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17289 instead of __kernel_standard_f.
17291 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17293 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17294 * sysdeps/x86_64/memset_chk.S: Likewise.
17296 2012-04-08 Andreas Jaeger <aj@suse.de>
17299 * manual/startup.texi (Environment Access): Describe return value
17300 for putenv and setenv.
17303 * manual/filesys.texi (Directory Entries): Add description for
17307 * manual/filesys.texi (Directory Entries): Clarify that it's file
17308 system not operating system in the description of DT_UNKNOWN.
17311 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17313 2012-04-08 Stephen Compall <s11@member.fsf.org>
17316 * manual/llio.texi (Opening and Closing Files): Add cross
17317 reference to explain mode argument.
17319 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17321 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17322 * sysdeps/x86_64/memset_chk.S: Likewise.
17324 2012-04-07 David S. Miller <davem@davemloft.net>
17326 * elf/elf.h (R_SPARC_WDISP10): Define.
17327 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17330 R_SPARC_SIZE64 and R_SPARC_H34.
17332 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17334 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17335 conditions and remove no longer applicable assertion.
17337 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17339 * bits/byteswap.h: Include <features.h>.
17340 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17341 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17343 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17345 * bits/byteswap.h (__bswap_16): Removed.
17346 Include <bits/byteswap-16.h> to get __bswap_16.
17347 * sysdeps/i386/bits/byteswap.h: Likewise.
17348 * sysdeps/s390/bits/byteswap.h: Likewise.
17349 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17350 * bits/byteswap-16.h: New file.
17351 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17352 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17353 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17354 * string/Makefile (headers): Add bits/byteswap-16.h.
17356 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17359 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17361 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17362 * nss/tst-nss-static.c: New.
17364 2012-04-06 Robert Millan <rmh@gnu.org>
17367 * manual/llio.texi (File Position Primitive): lseek
17368 refers to WHENCE when it really means OFFSET.
17370 2012-04-06 Andreas Jaeger <aj@suse.de>
17372 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17373 strncmp declarations.
17375 * abilist/libc.abilist: Add __poll and __ppoll.
17377 2012-04-05 David S. Miller <davem@davemloft.net>
17379 * scripts/check-local-headers.sh: Accept a host triplet in the
17380 path matched by the exclude regexp.
17382 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17384 * sysdeps/powerpc/powerpc32/dl-machine.h
17385 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17386 * sysdeps/s390/s390-32/dl-machine.h
17387 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17388 * sysdeps/sparc/sparc32/dl-machine.h
17389 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17390 * sysdeps/sparc/sparc64/dl-machine.h
17391 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17393 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17395 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17396 undefined symbol errors.
17398 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17401 2012-04-05 Michael Matz <matz@suse.de>
17404 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17406 2012-04-05 Andreas Jaeger <aj@suse.de>
17409 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17412 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17414 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17415 which ROUND is no valid rounding mode.
17417 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17419 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17421 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17423 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17425 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17426 an exception using FPU order intentionally.
17428 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17430 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17431 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17432 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17433 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17435 2012-04-05 Simon Josefsson <simon@josefsson.org>
17438 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17439 EINVAL when BUFLEN is too smal.
17441 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17444 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17445 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17447 2012-04-03 Andreas Jaeger <aj@suse.de>
17450 * manual/setjmp.texi (System V contexts): Fix sentence.
17453 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17454 New macro for this case.
17455 [!__GNUC__] (__bswap_64): New inline function for this case.
17456 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17457 * bits/byteswap.h: Likewise.
17458 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17459 ull, guard with __GLIBC_HAVE_LONG_LONG.
17461 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17462 __GLIBC_HAVE_LONG_LONG.
17464 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17465 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17467 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17470 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17471 inptr and inend, rather than using last_ch.
17473 2012-04-02 David S. Miller <davem@davemloft.net>
17475 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17476 * stdio-common/printf-parse.h (read_int): Change return type to
17477 'int', return -1 on INT_MAX overflow.
17478 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17479 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17480 overflows INT_MAX. Check for overflow of in-format-string precision
17481 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17482 SIZE_MAX not INT_MAX for integer overflow test.
17483 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17484 skip the construct in the format string but do not record anything.
17485 * stdio-common/bug22.c: Adjust to test both width/prevision
17486 INT_MAX overflow as well as total length INT_MAX overflow. Check
17487 explicitly for proper errno values.
17489 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17491 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17493 * string/test-strcmp.c [! WIDE]: Likewise.
17494 * time/tst-mktime2.c: Likewise for INT_MAX.
17495 * string/test-string.h: #include <sys/param.h> for MIN.
17497 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17498 * sysdeps/i386/init-first.c (init): Likewise.
17499 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17500 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17501 * sysdeps/sh/init-first.c (init): Likewise.
17503 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17505 * po/ru.po: Update from translation team.
17506 * po/vi.po: Likewise.
17508 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17510 * resolv/nss_dns/dns-host.c: Merge copyright years.
17512 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17515 Optimize memcpy with prefetch if
17516 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17517 src, dst pointers have unequal 16 byte alignments.
17519 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17522 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17523 from a CNAME entry and return the minimum ttl for the query.
17524 (gaih_getanswer_slice): Likewise.
17526 2012-03-30 Jeff Law <law@redhat.com>
17528 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17530 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17531 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17533 * resolv/nss_dns/dns-host.c: Update copyright year.
17535 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17537 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17538 requests to save a system call. Fix check that all bytes are sent.
17540 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17541 comments for sendmmsg.
17543 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17546 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17547 with only 1 character between 0x0041 and 0x01b0.
17548 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17549 * wcsmbs/tst-mbsnrtowcs.c: New file.
17551 2012-03-29 David S. Miller <davem@davemloft.net>
17553 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17554 small copies by hand.
17556 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17559 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17560 _nss_compat_initgroups_dyn): Fall back to malloc/free
17561 for large group memberships.
17563 2012-03-28 David S. Miller <davem@davemloft.net>
17565 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17566 that branches into memcpy.
17567 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17568 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17569 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17570 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17571 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17573 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17574 implementation too.
17575 * sysdeps/sparc/mempcpy.S: New file.
17577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17578 the IFUNC routine in the libc case.
17579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17581 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17582 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17583 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17584 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17585 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17586 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17587 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17588 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17590 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17591 loop to 256 bytes instead of 64 bytes and fix test signedness.
17593 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17594 * sysdeps/sparc/sparc32/Makefile: rather than here...
17595 * sysdeps/sparc/sparc64/Makefile: and here.
17597 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17599 * malloc/mallocbug.c: Avoid warnings about unused variables.
17601 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17604 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17605 in the right place. Discard and retry query if response is
17606 larger than input buffer size.
17608 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17613 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17614 x for large integer exponent.
17615 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17616 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17617 sign of result as needed afterwards.
17618 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17619 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17620 result for underflowing pow the same as for overflow.
17621 (__kernel_standard_l): Handle powl overflow and underflow here
17622 rather than calling __kernel_standard.
17623 * math/libm-test.inc (pow_test): Add more tests.
17638 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17639 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17640 (__kernel_standard_l): New function.
17641 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17643 * math/w_acosl.c (__acosl): Likewise.
17644 * math/w_asinl.c (__asinl): Likewise.
17645 * math/w_atan2l.c (__atan2l): Likewise.
17646 * math/w_atanhl.c (__atanhl): Likewise.
17647 * math/w_coshl.c (__coshl): Likewise.
17648 * math/w_exp10l.c (__exp10l): Likewise.
17649 * math/w_exp2l.c (__exp2l): Likewise.
17650 * math/w_fmodl.c (__fmodl): Likewise.
17651 * math/w_hypotl.c (__hypotl): Likewise.
17652 * math/w_j0l.c (__j0l, __y0l): Likewise.
17653 * math/w_j1l.c (__j1l, __y1l): Likewise.
17654 * math/w_jnl.c (__jnl, __ynl): Likewise.
17655 * math/w_lgammal.c (__lgammal): Likewise.
17656 * math/w_log10l.c (__log10l): Likewise.
17657 * math/w_log2l.c (__log2l): Likewise.
17658 * math/w_logl.c (__logl): Likewise.
17659 * math/w_powl.c (__powl): Likewise.
17660 * math/w_remainderl.c (__remainderl): Likewise.
17661 * math/w_scalbl.c (sysv_scalbl): Likewise.
17662 * math/w_sinhl.c (__sinhl): Likewise.
17663 * math/w_sqrtl.c (__sqrtl): Likewise.
17664 * math/w_tgammal.c (__tgammal): Likewise.
17665 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17666 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17667 * math/libm-test.inc (acos_test): Add more tests.
17668 (acosh_test): Likewise.
17669 (asin_test): Likewise.
17670 (atanh_test): Likewise.
17671 (exp_test): Likewise.
17672 (exp10_test): Likewise.
17673 (exp2_test): Likewise.
17674 (expm1_test): Likewise.
17675 (lgamma_test): Likewise.
17676 (log_test): Likewise.
17677 (log10_test): Likewise.
17678 (log1p_test): Likewise.
17679 (log2_test): Likewise.
17680 (pow_test): Do not allow some spurious overflow exceptions.
17681 (sqrt_test): Add more tests.
17682 (tgamma_test): Likewise.
17683 (y0_test): Likewise.
17684 (y1_test): Likewise.
17685 (yn_test): Likewise.
17687 2012-03-27 Anton Blanchard <anton@samba.org>
17689 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17691 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17692 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17695 2012-03-27 David S. Miller <davem@davemloft.net>
17697 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17699 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17700 have-as-vis3 check.
17702 2012-03-27 Andreas Jaeger <aj@suse.de>
17704 * sysdeps/x86_64/elf/configure.in: Moved to ...
17705 * sysdeps/x86_64/configure.in: ... here.
17706 * sysdeps/x86_64/elf/start.S: Moved to ...
17707 * sysdeps/x86_64/start.S: ... here.
17708 * sysdeps/x86_64/elf/configure: Delete.
17710 * sysdeps/x86_64/configure.in: Merge contents from
17711 sysdeps/i386/configure.in (without i686 check).
17713 * sysdeps/i386/elf/Versions: Merge into ...
17714 * sysdeps/i386/Versions: ... this.
17715 * sysdeps/i386/elf/Versions: Delete file.
17716 * sysdeps/i386/elf/start.S: Moved to ...
17717 * sysdeps/i386/start.S: ...here.
17718 * sysdeps/i386/elf/configure.in: Merge into...
17719 * sysdeps/i386/configure.in: ...here.
17720 * sysdeps/i386/elf/configure.in: Delete file.
17721 * sysdeps/i386/elf/configure: Delete file.
17723 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17724 * debug/backtracesyms.c: ... here.
17725 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17726 * debug/backtracesymsfd.c: ... here.
17727 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17728 * sysdeps/generic/ifunc-sel.h: ... here.
17730 * sysdeps/unix/i386/start.c: Delete file.
17731 * sysdeps/unix/sparc/start.c: Delete file.
17732 * sysdeps/unix/start.c: Delete file.
17734 * sysdeps/sh/elf/configure.in: Moved to ...
17735 * sysdeps/sh/configure.in: ... here.
17736 * sysdeps/sh/elf/start.S: Moved to ...
17737 * sysdeps/sh/start.S: ... here.
17738 * sysdeps/sh/elf/configure: Delete file.
17740 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17741 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17742 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17743 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17744 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17745 * sysdeps/powerpc/powerpc64/start.S: here.
17746 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17747 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17748 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17749 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17750 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17752 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17753 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17754 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17755 * sysdeps/powerpc/powerpc32/start.S: ... here.
17756 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17757 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17758 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17760 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17761 * sysdeps/powerpc/ifunc-sel.h: ... here.
17762 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17763 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17765 * sysdeps/sparc/elf/configure.in: Moved to ...
17766 * sysdeps/sparc/configure.in: ... here.
17767 * sysdeps/sparc/elf/configure: Delete file.
17768 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17769 * sysdeps/sparc/sparc32/start.S: ... here.
17770 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17771 * sysdeps/sparc/sparc64/start.S: ... here.
17772 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17773 * sysdeps/sparc/sparc32/Makefile: ... this.
17774 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17775 * sysdeps/sparc/sparc64/Makefile: ... this.
17777 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17778 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17779 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17780 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17781 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17782 * sysdeps/s390/s390-32/setjmp.S: ... here.
17783 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17784 * sysdeps/s390/s390-32/configure.in: ... here.
17785 * sysdeps/s390/s390-32/elf/configure: Delete file.
17786 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17787 * sysdeps/s390/s390-32/start.S: ... here.
17789 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17790 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17791 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17792 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17793 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17794 * sysdeps/s390/s390-64/setjmp.S: ... here.
17795 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17796 * sysdeps/s390/s390-64/configure.in: ... here
17797 * sysdeps/s390/s390-64/elf/configure: Delete file.
17798 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17799 * sysdeps/s390/s390-64/start.S: ... here.
17800 * sysdeps/s390/s390-64/elf/configure: Delete.
17802 * configure.in: Remove support for elf directories in sysdeps.
17804 * configure: Regenerated.
17805 * sysdeps/i386/configure: Regenerated.
17806 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17807 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17808 * sysdeps/s390/s390-32/configure: Regenerated.
17809 * sysdeps/s390/s390-64/configure: Regenerated.
17810 * sysdeps/sh/configure: Regenerated.
17811 * sysdeps/sparc/configure: Regenerated.
17812 * sysdeps/x86_64/configure: Regenerated.
17814 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17818 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17819 denormal result into account.
17821 2012-03-25 Roland McGrath <roland@hack.frob.com>
17823 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17824 Reported by Allan McRae <allan@archlinux.org>.
17826 2012-03-23 Jeff Law <law@redhat.com>
17828 * nss/getnssent.c (__nss_getent): Fix typo.
17830 2012-03-23 David S. Miller <davem@davemloft.net>
17832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17834 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17836 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17837 to pad to uint64_t for each field.
17838 (dl_tls_index): Replace unsigned long with uint64_t.
17840 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17841 Paul Pluzhnikov <ppluzhnikov@google.com>
17844 * grp/Makefile (otherlibs): Don't set it.
17845 * inet/Makefile (otherlibs): Likewise.
17846 * login/Makefile (otherlibs): Likewise.
17847 * nscd/Makefile (otherlibs): Likewise.
17848 * posix/Makefile (otherlibs): Likewise.
17849 * pwd/Makefile (otherlibs): Likewise.
17850 * rt/Makefile (otherlibs): Likewise.
17851 * sunrpc/Makefile (otherlibs): Likewise.
17852 * nss/Makefile (otherlibs): Likewise.
17853 Add libnss_files to routines and static-only-routines.
17854 ($(objpfx)getent): Remove rule.
17855 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17856 static-only-routines.
17858 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17861 * math/s_cexp.c: Include <float.h>.
17862 (__cexp): Handle exp result overflowing not necessarily
17863 overflowing both real and imaginary parts of result.
17864 * math/s_cexpf.c: Likewise.
17865 * math/s_cexpl.c: Likewise.
17866 * math/libm-test.inc (cexp_test): Add more tests.
17867 * sysdeps/i386/fpu/libm-test-ulps: Update.
17868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17870 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17872 * include/link.h (ELFW): New macro.
17873 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17874 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17876 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17878 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17881 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17883 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17885 (struct La_x32_retval): Likewise.
17887 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17889 * sysdeps/x86_64/preconfigure.in: New file.
17890 * sysdeps/x86_64/preconfigure: New generated file.
17892 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17895 * math/e_exp2l.c: Include <float.h>.
17896 (__ieee754_exp2l): Handle overflow and underflow cases
17897 separately. Only pass fractional part of argument to
17899 * math/libm-test.inc (exp2_test): Add more tests.
17901 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17902 negating x to take absolute value.
17903 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17905 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17906 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17908 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17909 computing low part if x was negated.
17910 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17912 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17914 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17915 la_x32_gnu_pltexit.
17916 (pltexit): Cast int_retval to ptrdiff_t.
17917 * elf/tst-auditmod3b.c: Likewise.
17918 * elf/tst-auditmod4b.c: Likewise.
17919 * elf/tst-auditmod5b.c: Likewise.
17920 * elf/tst-auditmod6b.c: Likewise.
17921 * elf/tst-auditmod6c.c: Likewise.
17922 * elf/tst-auditmod7b.c: Likewise.
17924 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17925 and x32_gnu_pltexit.
17927 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17928 __ELF_NATIVE_CLASS.
17929 (La_x32_regs): New macro.
17930 (La_x32_retval): Likewise.
17931 (la_x32_gnu_pltenter): New function prototype.
17932 (la_x32_gnu_pltexit): Likewise.
17934 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17936 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17941 * configure.in (libc_cv_cc_nofma): Check for option to disable
17942 generation of FMA instructions.
17943 * configure: Regenerate.
17944 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17945 * sysdeps/ieee754/dbl-64/Makefile: New file.
17946 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17947 Remove brandred-fma4.
17948 (CFLAGS-brandred-fma4.c): Remove.
17949 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17950 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17952 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17955 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17957 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17958 LLONG_MAX != LONG_MAX.
17959 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17960 (_fitoa_word): Likewise.
17961 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17962 LLONG_MAX != LONG_MAX.
17963 * stdio-common/_itowa.h: Include <_itoa.h>.
17964 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17965 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17966 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17967 only if not defined.
17968 (_ITOA_WORD_TYPE): Likewise.
17969 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17970 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17972 2012-03-21 David S. Miller <davem@davemloft.net>
17974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17976 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17978 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17979 of x86_64 when setting libc_cv_slibdir, libdir and
17981 * sysdeps/unix/sysv/linux/configure: Regenerated.
17983 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17985 * manual/lang.texi (Old Varargs): Remove section.
17986 (How Variadic): Update menu.
17987 (va_start): Do not mention varargs.h.
17989 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17990 Joseph Myers <joseph@codesourcery.com>
17992 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17994 * configure: Regenerated.
17996 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17998 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17999 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18002 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18005 * Makefile (files-for-dist): Remove NOTES.
18006 (NOTES): Remove rule.
18007 * README: Don't refer to NOTES.
18008 * manual/creature.texi: Don't include macros.texi.
18009 * manual/intro.texi (creature.texi): Remove comment referring to
18012 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18013 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18014 * configure: Regenerated.
18015 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18016 LIBC_TRY_CC_OPTION.
18017 (libc_cv_as_i686): Likewise.
18018 (libc_cv_cc_avx): Likewise.
18019 (libc_cv_cc_sse2avx): Likewise.
18020 (libc_cv_cc_fma4): Likewise.
18021 (libc_cv_cc_novzeroupper): Likewise.
18022 * sysdeps/i386/configure: Regenerated.
18025 * sysdeps/i386/fpu/s_cexp.S: Remove.
18026 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18027 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18028 * math/libm-test.inc (cexp_test): Add more tests.
18029 * sysdeps/i386/fpu/libm-test-ulps: Update.
18030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18032 2012-03-21 Allan McRae <allan@archlinux.org>
18034 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18036 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18039 * math/w_exp2.c: Do not include <float.h>.
18040 (o_threshold, u_threshold): Remove.
18041 (__exp2): Calculate result before checking finiteness and calling
18043 * math/w_exp2f.c: Likewise.
18044 * math/w_exp2l.c: Likewise.
18045 * math/libm-test.inc (exp2_test): Require overflow exception for
18049 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18050 range of signed 64-bit integers before using fistpll. Remove
18051 checks for whether integers fit in mantissa bits.
18052 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18053 the range of signed 32-bit integers before using fistpl. Remove
18054 checks for whether integers fit in mantissa bits.
18055 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18056 (__ieee754_powl): Test for y outside the range of signed 64-bit
18057 integers before using fistpll. Reduce 64-bit values to 63-bit
18059 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18060 divide-by-zero is raised for zero to large negative powers.
18061 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18062 (__ieee754_powl): Test for y outside the range of signed 64-bit
18063 integers before using fistpll. Reduce 64-bit values to 63-bit
18065 * math/libm-test.inc (pow_test): Add more tests.
18067 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18069 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18070 <stdio-common/_itoa.h>.
18071 * debug/segfault.c: Likewise.
18072 * elf/dl-cache.c: Likewise.
18073 * elf/dl-minimal.c: Likewise.
18074 * elf/dl-misc.c: Likewise.
18075 * elf/dl-sysdep.c: Likewise.
18076 * elf/dl-version.c: Likewise.
18077 * elf/rtld.c: Likewise.
18078 * hurd/hurdsock.c: Likewise.
18079 * hurd/lookup-retry.c: Likewise.
18080 * malloc/malloc.c: Likewise.
18081 * malloc/mtrace.c: Likewise.
18082 * nscd/nscd_getgr_r.c: Likewise.
18083 * nscd/nscd_getpw_r.c: Likewise.
18084 * nscd/nscd_getserv_r.c: Likewise.
18085 * posix/getopt_init.c: Likewise.
18086 * posix/wordexp.c: Likewise.
18087 * stdio-common/_itoa.c: Likewise.
18088 * stdio-common/printf_fphex.c: Likewise.
18089 * stdio-common/vfprintf.c: Likewise.
18090 * string/_strerror.c: Likewise.
18091 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18092 * sysdeps/i386/i686/hp-timing.h: Likewise.
18093 * sysdeps/mach/_strerror.c: Likewise.
18094 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18095 * sysdeps/mach/hurd/sethostid.c: Likewise.
18096 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18097 * sysdeps/mach/xpg-strerror.c: Likewise.
18098 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18099 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18100 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18101 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18102 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18103 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18104 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18105 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18106 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18107 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18108 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18109 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18110 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18111 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18112 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18113 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18114 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18115 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18116 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18117 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18118 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18120 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18122 * stdio-common/_itoa.h: Moved to ...
18123 * sysdeps/generic/_itoa.h: Here.
18125 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18127 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18128 instead of "_itoa.h" and "_itowa.h".
18129 * stdio-common/vfprintf.: Likewise.
18131 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18133 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18135 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18136 (__signbit): Likwise.
18137 (llrintf): Likwise.
18140 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18142 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18145 2012-03-20 Joseph Myers <joseph@codesourcery.com>
18147 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18148 OVERFLOW_EXCEPTION_OK.
18149 * math/libm-test.inc ("Philosophy"): Update comment about
18151 (OVERFLOW_EXCEPTION): Define.
18152 (OVERFLOW_EXCEPTION_OK): Likewise.
18153 (INVALID_EXCEPTION_OK): Renumber.
18154 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18155 (IGNORE_ZERO_INF_SIGN): Likewise.
18156 (test_exceptions): Handle FE_OVERFLOW.
18157 (exp10_test): Expect overflow exceptions.
18158 (exp2_test): Likewise.
18159 (expm1_test): Likewise.
18160 (nextafter_test): Likewise.
18161 (pow_test): Likewise.
18162 (scalbn_test): Likewise.
18163 (scalbln_test): Likewise.
18165 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18167 * sysdeps/x86_64/bits/atomic.h
18168 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18170 (atomic_exchange_acq): Likewise.
18171 (__arch_exchange_and_add_body): Likewise.
18172 (__arch_add_body): Likewise.
18173 (atomic_add_negative): Likewise.
18174 (atomic_add_zero): Likewise.
18176 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18178 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18179 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18181 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18183 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18184 Check __x86_64__ instead of __WORDSIZE.
18186 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18188 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18190 2012-03-19 David S. Miller <davem@davemloft.net>
18192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18194 * sysdeps/sparc/fpu/fenv_private.h: New file.
18195 * sysdeps/sparc/fpu/math_private.h: Use it.
18196 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18198 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18199 (libc_feholdexcept_setroundl): Remove.
18200 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18202 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18203 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18205 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18207 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18208 int64_t instead of long int.
18209 (INSERT_WORDS64): Likwise.
18211 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18213 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18214 _Unwind_GetCFA return to _Unwind_Ptr first.
18216 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18219 * math/s_clog.c: Include <float.h>.
18220 (__clog): Scale large or subnormal inputs.
18221 * math/s_clogf.c: Likewise.
18222 * math/s_clogl.c: Likewise.
18223 * math/s_clog10.c: Include <float.h>.
18224 (M_LOG10_2): Define.
18225 (__clog10): Scale large or subnormal inputs.
18226 * math/s_clog10f.c: Likewise.
18227 * math/s_clog10l.c: Likewise.
18228 * math/libm-test.inc (clog_test): Add more tests.
18229 (clog10_test): Likewise.
18230 * sysdeps/i386/fpu/libm-test-ulps: Update.
18231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18234 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18236 * math/libm-test.inc (atan2_test): Add another test.
18238 * Makerules (common-objdir-compile): Remove.
18239 * sysdeps/unix/Makefile (config-generated): Do not add
18240 $(unix-generated) to variable.
18241 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18242 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18244 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18246 [generic bits/local_lim.h] (before-compile): Do not append to
18248 [generic bits/local_lim.h] (common-generated): Likewise.
18249 [generic sys/param.h] (before-compile): Do not append to variable.
18250 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18251 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18252 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18253 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18255 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18256 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18257 [generic sys/param.h] ($(addprefix
18258 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18259 [generic sys/param.h] (common-generated): Do not append to
18261 [generic sys/param.h] (sysdep_headers): Likewise.
18262 [generic bits/errno.h] (before-compile): Do not append to
18264 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18266 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18267 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18268 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18269 [generic bits/errno.h] (common-generated): Do not append to
18271 [generic bits/ioctls.h] (before-compile): Do not append to
18273 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18275 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18276 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18277 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18279 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18280 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18281 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18282 [generic bits/ioctls.h] (common-generated): Do not append to
18284 [generic sys/syscall.h] (syscall.h): Remove variable.
18285 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18287 [generic sys/syscall.h] (before-compile): Do not append to
18289 [generic sys/syscall.h] (common-generated): Likewise.
18290 * sysdeps/unix/errnos-tmpl.c: Remove file.
18291 * sysdeps/unix/errnos.awk: Likewise.
18292 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18293 * sysdeps/unix/ioctls.awk: Likewise.
18294 * sysdeps/unix/mk-local_lim.c: Likewise.
18295 * sysdeps/unix/snarf-ioctls: Likewise.
18297 2012-03-19 Richard Henderson <rth@twiddle.net>
18299 * sysdeps/i386/fpu/fenv_private.h: New file.
18300 * sysdeps/i386/fpu/math_private.h: Use it.
18301 (math_opt_barrier, math_force_eval): Remove.
18302 (libc_feholdexcept_setround_53bit): Remove.
18303 (libc_feupdateenv_53bit): Remove.
18304 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18305 (math_opt_barrier, math_force_eval): Remove.
18306 (libc_feholdexcept): Remove.
18307 (libc_feholdexcept_setround): Remove.
18308 (libc_fetestexcept, libc_fesetenv): Remove.
18309 (libc_feupdateenv_test): Remove.
18310 (libc_feupdateenv, libc_feholdsetround): Remove.
18311 (libc_feresetround): Remove.
18313 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18314 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18316 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18317 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18318 (libc_feupdateenv_testl): New.
18319 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18320 (libc_feupdateenv_testf): New.
18321 (libc_feupdateenv): Use libc_feupdateenv_test.
18322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18323 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18325 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18326 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18327 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18328 (libc_feresetround_noex): New.
18329 (libc_feresetround_noexf): New.
18330 (libc_feresetround_noexl): New.
18331 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18332 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18333 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18334 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18336 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18337 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18339 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18340 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18341 SET_RESTORE_ROUND_NOEX.
18342 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18343 SET_RESTORE_ROUND_NOEXF.
18344 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18345 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18346 (libc_feholdsetroundf): New.
18347 (libc_feresetround, libc_feresetroundf): New.
18349 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18350 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18351 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18353 * sysdeps/generic/math_private.h: Include <fenv.h>.
18354 (default_libc_feholdexcept): New.
18355 (default_libc_feholdexcept_setround): New.
18356 (default_libc_fesetenv, default_libc_feupdateenv): New.
18357 (libc_feholdexcept): Only define if undefined.
18358 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18359 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18360 (libc_feholdexcept_setroundl): Likewise.
18361 (libc_feholdexcept_setround_53bit): Likewise.
18362 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18363 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18364 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18365 (libc_feupdateenv_53bit): Likewise.
18366 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18367 (libc_feholdexcept): Convert from macro to inline function.
18368 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18369 (libc_fesetenv, libc_feupdateenv): Likewise.
18371 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18372 not previously defined.
18373 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18374 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18375 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18376 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18377 * sysdeps/ieee754/flt-32/math_private.h: New file.
18378 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18379 math_private.h below SET_FLOAT_WORD.
18380 (__isnan, __isinf_ns, __finite): Remove.
18381 (__isnanf, __isinf_nsf, __finitef): Remove.
18383 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18387 2012-03-17 David S. Miller <davem@davemloft.net>
18390 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18393 2012-03-16 David S. Miller <davem@davemloft.net>
18395 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18399 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18401 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18402 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18403 sysdep_routines when subdir is sysvipc.
18404 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18405 __getshmlba helper.
18407 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18409 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18411 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18414 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18416 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18417 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18418 (__lround): Renamed to ...
18419 (__llround): This. Replace long int with long long int.
18420 Define lround functions as aliases of llround functions.
18421 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18423 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18425 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18426 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18427 adresses to uintptr_t. Replace "long int" and "unsigned long
18428 int" with "greg_t" on va_arg.
18430 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18432 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18433 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18435 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18436 Move e_machine check before EI_CLASS check. Handle x32
18437 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18438 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18439 SKIP_EM_IA_64 and include
18440 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18442 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18443 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18444 (add_system_dir): New macro.
18446 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18447 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18449 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18460 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18462 * math/w_j0f.c (j0f): Likewise.
18464 * math/w_j0l.c (__j0l): Likewise.
18466 * math/w_j1.c (j1): Likewise.
18468 * math/w_j1f.c (j1f): Likewise.
18470 * math/w_j1l.c (__j1l): Likewise.
18472 * math/w_jn.c (jn): Likewise.
18474 * math/w_jnf.c (jnf): Likewise.
18476 * math/w_jnl.c (__jnl): Likewise.
18478 * math/libm-test.inc (j0_test): Add more tests.
18479 (j1_test): Likewise.
18480 (jn_test): Likewise. Add trailing semicolon to existing test.
18481 (y0_test): Likewise.
18482 (y1_test): Likewise.
18483 * sysdeps/i386/fpu/libm-test-ulps: Update.
18484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18488 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18489 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18490 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18491 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18492 (__tanl): Set errno for infinite argument.
18493 * sysdeps/i386/fpu/mptan.c: Remove.
18494 * sysdeps/i386/fpu/s_tan.S: Likewise.
18495 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18496 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18497 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18498 * math/libm-test.inc (tan_test): Add more tests and enable more
18499 tests for double and long double.
18500 * sysdeps/i386/fpu/libm-test-ulps: Update.
18501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18503 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18505 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18506 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18508 2012-03-16 Roland McGrath <roland@hack.frob.com>
18510 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18511 * configure.in: Use it for both main tree and add-ons.
18512 * configure: Regenerated.
18514 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18516 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18518 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18520 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18524 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18525 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18526 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18527 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18528 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18530 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18531 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18532 != 0 for prec == 2.
18533 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18534 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18535 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18536 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18537 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18538 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18539 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18540 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18541 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18542 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18543 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18544 * math/libm-test.inc (cos_test): Add more tests and enable more
18545 tests for long double.
18546 (sin_test): Likewise.
18547 (sincos_test): Likewise.
18548 * sysdeps/i386/fpu/libm-test-ulps: Update.
18549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18551 2012-03-16 David S. Miller <davem@davemloft.net>
18553 * sysdeps/sparc/fpu/math_private.h: New file.
18555 2012-03-15 David S. Miller <davem@davemloft.net>
18557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18567 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18571 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18572 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18574 * sysdeps/sparc/sparc-ifunc.h: New file.
18575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18613 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18614 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18615 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18616 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18617 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18618 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18620 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18622 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18626 2012-03-15 Andreas Jaeger <aj@suse.de>
18629 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18630 ieee754/flt-32 implementation for sin, cos and sincos.
18631 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18632 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18633 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18634 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18635 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18636 ieee754/flt-32 implementation for tan.
18638 * math/libm-test.inc (cos_test): Enable some large input tests for
18640 (sin_test): Likewise.
18641 (sincos_test): Likewise.
18642 (tan_test): Add tests for large input.
18644 * sysdeps/i386/fpu/libm-test-ulps: Update.
18646 2012-03-15 Andreas Jaeger <aj@suse.de>
18649 * math/libm-test.inc (cos_test): Add more test cases.
18650 (sin_test): Likewise.
18651 (sincos_test): Likewise.
18653 2012-03-15 Andreas Jaeger <aj@suse.de>
18656 * math/libm-test.inc (cos_test): Add a test case for large input
18658 (sin_test): Likewise.
18659 (sincos_test): Likewise.
18661 2012-03-15 Andreas Jaeger <aj@suse.de>,
18662 Joseph Myers <joseph@codesourcery.com>
18665 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18666 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18667 * sysdeps/i386/fpu/branred.c: Likewise.
18668 * sysdeps/i386/fpu/dosincos.c: Likewise.
18669 * sysdeps/i386/fpu/mpa.c: Likewise.
18670 * sysdeps/i386/fpu/s_cos.S: Likewise.
18671 * sysdeps/i386/fpu/s_sin.S: Likewise.
18672 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18673 * sysdeps/i386/fpu/sincos32.c: Likewise.
18675 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18677 (libc_feupdateenv_53bit): Define.
18678 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18680 (libc_feupdateenv_53bit): Define.
18682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18683 53 bit (without extend i386 double precision).
18685 * math/libm-test.inc (sincos_test): Add tests for large input.
18689 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18691 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18695 2012-03-15 David S. Miller <davem@davemloft.net>
18697 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18698 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18699 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18700 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18724 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18725 fmin/fmax sysdep routines.
18726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18728 2012-03-14 David S. Miller <davem@davemloft.net>
18730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18732 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18734 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18735 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18736 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18737 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18740 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18741 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18750 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18751 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18752 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18753 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18755 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18802 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18807 * sysdeps/sparc/configure.in: New file.
18808 * sysdeps/sparc/configure: Generate.
18809 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18810 * configure: Regenerate.
18811 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18812 * config.make.in (have-as-vis3): New.
18813 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18814 available use -Av9d instead of -Av9a.
18815 * sysdeps/sparc/sparc64/Makefile: Likewise.
18816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18825 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18826 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18827 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18828 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18829 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18831 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18832 fzeros/fnegs to load 0x80000000 into a float register instead of
18834 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18836 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18840 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18841 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18842 ($(inst_includedir)/bits/syscall.h): Remove rule.
18843 ($(objpfx)bits/syscall.d): Include instead of
18844 $(objpfx)syscall-list.d.
18845 (generated): Change syscall-list.h and syscall-list.d to
18846 bits/syscall.h and bits/syscall.d.
18848 2012-03-14 Roland McGrath <roland@hack.frob.com>
18851 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18853 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18856 * math/s_csqrt.c: Include <float.h>.
18857 (__csqrt): Scale large or subnormal inputs.
18858 * math/s_csqrtf.c: Likewise.
18859 * math/s_csqrtl.c: Likewise.
18860 * math/libm-test.inc (csqrt_test): Add more tests.
18861 * sysdeps/i386/fpu/libm-test-ulps: Update.
18862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18865 * math/libm-test.inc (hypot_test): Add more tests.
18867 2012-03-13 David S. Miller <davem@davemloft.net>
18870 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18871 double-precision for the calculation instead of scaling.
18873 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18875 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18876 manipulate bits before adding and subtracting TWO52[sx].
18877 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18878 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18880 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18882 2012-03-13 David S. Miller <davem@davemloft.net>
18884 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18885 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18886 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18887 rtld-global-offsets.h
18888 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18890 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18893 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18895 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18896 'err' in the ifdef scope in which it is actually used.
18898 * nss/nss_db/db-init.c: Include string.h
18900 2012-03-12 David S. Miller <davem@davemloft.net>
18902 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18903 masking out of the most significant byte of random value used.
18904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18905 Fix coding style in previous change.
18907 * sysdeps/unix/sysv/linux/kernel-features.h
18908 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18909 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18911 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18914 2012-03-11 David S. Miller <davem@davemloft.net>
18916 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18917 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18918 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18919 for 'resultvar' otherwise things get truncated on 64-bit.
18921 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18922 Fix masking out of the most significant byte of random value used.
18924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18926 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18930 2012-03-09 David S. Miller <davem@davemloft.net>
18932 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18933 variables with appropriate CPP guards.
18934 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18935 frame pointer, not the stack pointer. Correct layout comments. Fix test
18936 on resulting framesize and the management of the outregs buffer for pltexit.
18937 Preserve floating point return values across _dl_call_pltexit call.
18938 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18939 framesize and the management of the outregs buffer for pltexit.
18940 Preserve floating point return values across _dl_call_pltexit
18942 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18943 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18944 (print_exit): Fix format string for return register value.
18946 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18948 * sunrpc/Makefile (others): Add rpcgen.
18949 ($(objpfx)rpcgen): Remove special build rule and dependency on
18951 * sunrpc/rpcgen.c: New file.
18953 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18956 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18957 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18958 * sysdeps/i386/crti.S: Likewise.
18959 * sysdeps/i386/crtn.S: Likewise.
18960 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18961 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18962 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18963 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18964 * sysdeps/sh/crti.S: Likewise.
18965 * sysdeps/sh/crtn.S: Likewise.
18966 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18969 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18971 * locale/programs/locfile-kw.gperf: Likewise.
18972 * locale/programs/charmap-kw.h: Regenerated.
18973 * locale/programs/locfile-kw.h: Likewise.
18976 * intl/plural.y: Replace FSF snail mail address with URL.
18977 * intl/plural.c: Regenerated.
18979 2012-03-09 Richard Henderson <rth@twiddle.net>
18981 * include/math_private.h: Remove file.
18982 * math/math_private.h: Move file ...
18983 * sysdeps/generic/math_private.h: ... here.
18985 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18986 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18987 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18989 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18990 and <math_private.h>.
18991 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18992 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18993 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18994 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18995 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18996 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18997 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18999 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19000 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19002 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19003 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19004 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19005 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19006 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19007 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19008 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19009 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19010 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19012 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19013 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19014 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19015 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19016 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19017 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19018 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19020 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19021 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19022 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19023 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19024 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19025 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19026 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19027 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19028 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19029 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19030 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19031 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19032 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19034 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19035 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19036 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19037 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19038 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19039 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19040 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19041 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19042 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19043 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19044 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19045 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19046 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19047 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19048 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19049 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19050 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19051 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19052 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19054 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19055 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19056 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19057 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19058 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19059 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19060 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19062 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19063 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19064 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19065 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19068 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19069 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19070 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19071 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19072 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19073 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19074 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19075 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19077 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19078 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19079 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19080 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19081 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19082 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19083 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19084 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19085 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19086 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19087 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19088 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19089 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19090 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19091 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19092 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19093 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19094 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19095 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19096 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19097 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19098 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19099 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19100 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19101 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19102 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19103 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19104 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19105 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19106 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19107 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19108 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19109 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19110 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19111 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19112 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19113 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19114 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19115 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19116 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19117 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19118 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19119 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19120 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19121 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19122 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19123 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19124 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19125 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19126 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19127 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19128 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19129 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19130 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19131 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19132 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19133 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19134 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19135 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19136 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19137 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19138 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19139 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19140 * sysdeps/ieee754/k_standard.c: Likewise.
19141 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19142 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19144 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19145 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19146 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19147 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19148 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19151 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19152 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19153 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19154 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19155 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19156 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19157 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19158 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19159 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19160 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19161 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19162 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19163 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19164 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19165 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19166 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19167 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19168 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19169 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19170 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19171 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19172 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19173 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19174 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19175 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19176 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19177 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19178 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19179 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19180 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19181 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19182 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19183 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19184 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19185 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19186 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19187 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19188 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19189 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19190 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19191 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19192 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19193 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19194 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19195 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19196 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19197 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19198 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19199 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19200 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19201 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19202 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19203 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19204 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19208 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19210 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19211 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19212 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19213 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19214 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19215 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19216 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19217 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19218 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19219 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19220 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19221 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19222 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19223 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19224 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19225 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19226 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19227 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19228 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19229 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19230 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19231 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19232 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19233 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19234 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19235 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19236 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19237 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19238 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19239 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19240 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19242 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19243 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19244 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19245 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19246 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19247 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19248 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19249 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19250 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19251 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19252 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19253 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19254 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19255 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19256 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19257 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19258 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19259 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19260 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19261 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19262 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19263 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19264 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19265 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19266 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19267 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19268 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19269 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19270 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19271 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19272 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19273 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19274 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19275 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19276 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19277 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19278 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19279 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19280 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19281 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19282 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19283 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19284 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19285 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19286 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19287 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19288 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19289 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19290 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19291 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19292 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19293 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19294 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19295 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19296 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19297 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19298 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19299 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19300 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19301 * sysdeps/ieee754/s_lib_version.c: Likewise.
19302 * sysdeps/ieee754/s_matherr.c: Likewise.
19303 * sysdeps/ieee754/s_signgam.c: Likewise.
19304 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19305 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19306 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19307 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19308 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19309 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19310 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19311 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19312 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19313 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19314 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19315 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19316 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19317 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19318 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19319 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19320 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19321 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19322 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19323 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19324 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19326 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19328 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19329 * sunrpc/rpc_main.c: Likewise.
19330 * sunrpc/rpc_svcout.c: Likewise.
19332 2012-03-09 David S. Miller <davem@davemloft.net>
19334 * include/math_private.h: New file.
19336 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19338 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19339 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19340 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19341 from <bits/socket_type.h>.
19342 (enum __socket_type): Don't define here.
19343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19345 bits/socket_type.h.
19348 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19349 checking __USE_GNU.
19351 * Makerules ($(inst_includedir)/%.h): New rule.
19352 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19353 (install-others): Remove variable setting.
19354 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19356 2012-03-08 Richard Henderson <rth@twiddle.net>
19358 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19359 from macro to inline function; merge with the
19360 !__LIBC_INTERNAL_MATH_INLINES version.
19361 (__ieee754_sqrtf): Likewise.
19363 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19364 to inline function.
19365 (__rintf, __floor, __floorf): Likewise.
19367 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19368 macro to inline function.
19369 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19371 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19372 not <math/math_private.h>.
19374 2012-03-08 David S. Miller <davem@davemloft.net>
19376 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19378 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19380 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19382 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19384 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19385 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19387 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19389 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19390 be defined individually, they must be defined as a block. Define
19391 S for printing a string instead of hidint the different by using a
19392 macro for adding the 'l'.
19393 * stdio-common/tst-fphex-wide.c: Adjust.
19395 2012-03-07 Marek Polacek <polacek@redhat.com>
19397 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19399 2012-03-08 Marek Polacek <polacek@redhat.com>
19402 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19403 * stdio-common/tst-fphex.c: Define a few macros to make the
19404 test reusable. Use them.
19405 * stdio-common/tst-fphex-wide.c: New file.
19407 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19410 * manual/macros.texi (gnusystems): New macro.
19411 (nongnusystems): Likewise.
19412 (gnulinuxhurdsystems): Likewise.
19413 (gnuhurdsystems): Likewise..
19414 (gnulinuxsystems): Likewise.
19415 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19416 variants of the GNU system, not "GNU system".
19417 * manual/conf.texi: Likewise.
19418 * manual/errno.texi: Likewise. Update example of errno macro
19420 * manual/filesys.texi: Likewise.
19421 (getumask): Document as specific to GNU/Hurd.
19422 * manual/install.texi: Likewise. Reword some references to
19424 * manual/intro.texi: Likewise.
19425 * manual/io.texi: Likewise.
19426 (File Name Portability): Detail which constraints are inapplicable
19427 to all GNU systems and which are only inapplicable to GNU/Hurd.
19428 * manual/job.texi: Likewise.
19429 * manual/llio.texi: Likewise.
19430 (O_NOCTTY): Document as present on GNU/Linux.
19431 * manual/maint.texi: Likewise.
19432 * manual/memory.texi: Likewise.
19433 * manual/pattern.texi: Likewise.
19434 * manual/pipe.texi: Likewise.
19435 * manual/process.texi: Likewise.
19436 * manual/resource.texi: Likewise.
19437 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19439 * manual/setjmp.texi: Likewise.
19440 * manual/signal.texi: Likewise.
19441 * manual/startup.texi: Likewise.
19442 * manual/stdio.texi: Likewise.
19443 * manual/terminal.texi: Likewise.
19444 (ONLCR): Document as POSIX.
19445 (OXTABS): Document availability on GNU/Linux as XTABS.
19446 (ONOEOT): Document availability separately from other bits.
19447 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19448 * manual/time.texi: Likewise.
19449 * manual/users.texi: Likewise.
19450 * INSTALL: Regenerated.
19451 * sysdeps/gnu/errlist.c: Regenerated.
19453 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19454 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19455 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19457 * configure: Regenerated.
19459 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19461 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19462 default includes instead of AC_HEADER_CHECK.
19463 * sysdeps/i386/configure: Regenerated.
19466 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19467 * math/s_cacoshf.c (__cacoshf): Likewise.
19468 * math/s_cacoshl.c (__cacoshl): Likewise.
19469 * math/s_casinh.c (__casinh): Set signs of result from argument.
19470 * math/s_casinhf.c (__casinhf): Likewise.
19471 * math/s_casinhl.c (__casinhl): Likewise.
19472 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19473 (casinh_test): Add more tests.
19474 * sysdeps/i386/fpu/libm-test-ulps: Update.
19475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19477 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19479 * po/zh_TW.po: Update from translation team.
19481 * login/Makefile (distribute): Remove variable.
19482 * catgets/Makefile: Likewise.
19483 * mach/Makefile: Likewise.
19484 * malloc/Makefile: Likewise.
19485 * misc/Makefile: Likewise.
19486 * iconv/Makefile: Likewise.
19487 * nscd/Makefile: Likewise.
19488 * hurd/Makefile: Likewise.
19489 * manual/Makefile: Likewise.
19490 * locale/Makefile: Likewise.
19491 * intl/Makefile: Likewise.
19492 * conform/Makefile: Likewise.
19493 * nss/Makefile: Likewise.
19494 * time/Makefile: Likewise.
19495 * soft-fp/Makefile: Likewise.
19496 * dirent/Makefile: Likewise.
19497 * gmon/Makefile: Likewise.
19498 * po/Makefile: Likewise.
19499 * rt/Makefile: Likewise.
19500 * socket/Makefile: Likewise.
19501 * math/Makefile: Likewise.
19502 * signal/Makefile: Likewise.
19503 * debug/Makefile: Likewise.
19504 * elf/Makefile: Likewise.
19505 * timezone/Makefile: Likewise.
19506 * stdlib/Makefile: Likewise.
19507 * iconvdata/Makefile: Likewise.
19508 * sunrpc/Makefile: Likewise.
19509 * io/Makefile: Likewise.
19510 * argp/Makefile: Likewise.
19511 * inet/Makefile: Likewise.
19512 * hesiod/Makefile: Likewise.
19513 * grp/Makefile: Likewise.
19514 * csu/Makefile: Likewise.
19515 * wctype/Makefile: Likewise.
19516 * crypt/Makefile: Likewise.
19517 * libio/Makefile: Likewise.
19518 * string/Makefile: Likewise.
19519 * nis/Makefile: Likewise.
19520 * resolv/Makefile: Likewise.
19521 * stdio-common/Makefile: Likewise.
19522 * wcsmbs/Makefile: Likewise.
19523 * dlfcn/Makefile: Likewise.
19524 * posix/Makefile: Likewise.
19527 * timezone/Makefile: Don't install timezone files, just the programs
19530 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19532 * nss/databases.def: Add missing gshadow entry.
19534 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19536 2012-03-06 Marek Polacek <polacek@redhat.com>
19539 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19540 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19541 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19542 * stdio-common/tst-long-dbl-fphex.c: New file.
19544 2012-03-06 David S. Miller <davem@davemloft.net>
19546 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19547 (set_obp_int): New function.
19548 (get_obp_int): New function.
19549 (__get_clockfreq_via_dev_openprom): Likewise.
19550 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19551 Avoid unused variable warnings on 'val' and use builtin_expect.
19552 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19554 (INLINE_CLONE_SYSCALL): Likewise.
19556 2012-03-05 David S. Miller <davem@davemloft.net>
19558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19560 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19564 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19565 only for |x| >= 40.
19566 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19568 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19570 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19571 Replace gettimeofday with __vdso_gettimeofday.
19573 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19574 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19575 __vdso_clock_gettime and __vdso_getcpu.
19577 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19578 time with __vdso_time.
19580 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19582 * manual/lang.texi (size_t): Note types to which size_t may be
19583 equivalent with the GNU C Library, but do not describe when
19584 differences between them are significant.
19586 2012-03-05 Andreas Jaeger <aj@suse.de>
19588 * sysdeps/i386/fpu/libm-test-ulps: Update.
19590 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19593 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19594 (__ieee754_pow): Save and restore rounding mode and use
19595 round-to-nearest for main computations.
19596 * math/libm-test.inc (pow_test_tonearest): New function.
19597 (pow_test_towardzero): Likewise.
19598 (pow_test_downward): Likewise.
19599 (pow_test_upward): Likewise.
19600 (main): Call the new functions.
19601 * sysdeps/i386/fpu/libm-test-ulps: Update.
19602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19605 * math/libm-test.inc (cosh_test_tonearest): New function.
19606 (cosh_test_towardzero): Likewise.
19607 (cosh_test_downward): Likewise.
19608 (cosh_test_upward): Likewise.
19609 (sinh_test_tonearest): Likewise.
19610 (sinh_test_towardzero): Likewise.
19611 (sinh_test_downward): Likewise.
19612 (sinh_test_upward): Likewise.
19613 (main): Call the new functions.
19614 * sysdeps/i386/fpu/libm-test-ulps: Update.
19615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19617 2012-03-05 Tom de Vries <tom@codesourcery.com>
19619 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19620 default stack guard is set in last bytes.
19621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19623 2012-03-05 Kees Cook <keescook@chromium.org>
19625 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19628 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19629 possibly allocate from heap instead of stack.
19630 * stdio-common/bug-vfprintf-nargs.c: New file.
19631 * stdio-common/Makefile (tests): Add nargs overflow test.
19633 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19637 2012-03-03 Marek Polacek <polacek@redhat.com>
19639 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19640 * math/math_private.h: Likewise.
19641 * stdlib/tst-strtod.c: Likewise.
19642 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19643 * sysdeps/x86_64/bits/atomic.h: Likewise.
19645 2012-03-02 David S. Miller <davem@davemloft.net>
19647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19651 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19652 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19653 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19654 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19656 2012-03-02 Roland McGrath <roland@hack.frob.com>
19659 * manual/examples/README: New file, says the example source files
19660 can be used under GPL>=2.
19661 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19662 line containing just "*/".
19663 * manual/examples/add.c: Add copyright header (GPL>=2).
19664 * manual/examples/argp-ex1.c: Likewise.
19665 * manual/examples/argp-ex2.c: Likewise.
19666 * manual/examples/argp-ex3.c: Likewise.
19667 * manual/examples/argp-ex4.c: Likewise.
19668 * manual/examples/atexit.c: Likewise.
19669 * manual/examples/db.c: Likewise.
19670 * manual/examples/dir.c: Likewise.
19671 * manual/examples/dir2.c: Likewise.
19672 * manual/examples/execinfo.c: Likewise.
19673 * manual/examples/filecli.c: Likewise.
19674 * manual/examples/filesrv.c: Likewise.
19675 * manual/examples/fmtmsgexpl.c: Likewise.
19676 * manual/examples/genpass.c: Likewise.
19677 * manual/examples/inetcli.c: Likewise.
19678 * manual/examples/inetsrv.c: Likewise.
19679 * manual/examples/isockad.c: Likewise.
19680 * manual/examples/longopt.c: Likewise.
19681 * manual/examples/memopen.c: Likewise.
19682 * manual/examples/memstrm.c: Likewise.
19683 * manual/examples/mkfsock.c: Likewise.
19684 * manual/examples/mkisock.c: Likewise.
19685 * manual/examples/mygetpass.c: Likewise.
19686 * manual/examples/pipe.c: Likewise.
19687 * manual/examples/popen.c: Likewise.
19688 * manual/examples/rprintf.c: Likewise.
19689 * manual/examples/search.c: Likewise.
19690 * manual/examples/select.c: Likewise.
19691 * manual/examples/setjmp.c: Likewise.
19692 * manual/examples/sigh1.c: Likewise.
19693 * manual/examples/sigusr.c: Likewise.
19694 * manual/examples/stpcpy.c: Likewise.
19695 * manual/examples/strdupa.c: Likewise.
19696 * manual/examples/strftim.c: Likewise.
19697 * manual/examples/strncat.c: Likewise.
19698 * manual/examples/subopt.c: Likewise.
19699 * manual/examples/swapcontext.c: Likewise.
19700 * manual/examples/termios.c: Likewise.
19701 * manual/examples/testopt.c: Likewise.
19702 * manual/examples/testpass.c: Likewise.
19703 * manual/examples/timeval_subtract.c: Likewise.
19706 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19708 * manual/timeval_subtract.c.texi: ... here, new file.
19710 2012-03-02 David S. Miller <davem@davemloft.net>
19712 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19714 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19717 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19718 (__sin): Save and restore rounding mode and use round-to-nearest
19719 for all computations.
19720 (__cos): Save and restore rounding mode and use round-to-nearest
19721 for all computations.
19722 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19724 (tan): Save and restore rounding mode and use round-to-nearest for
19726 * math/libm-test.inc (cos_test_tonearest): New function.
19727 (cos_test_towardzero): Likewise.
19728 (cos_test_downward): Likewise.
19729 (cos_test_upward): Likewise.
19730 (sin_test_tonearest): Likewise.
19731 (sin_test_towardzero): Likewise.
19732 (sin_test_downward): Likewise.
19733 (sin_test_upward): Likewise.
19734 (tan_test_tonearest): Likewise.
19735 (tan_test_towardzero): Likewise.
19736 (tan_test_downward): Likewise.
19737 (tan_test_upward): Likewise.
19738 (main): Call the new functions.
19739 * sysdeps/i386/fpu/libm-test-ulps: Update.
19740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19743 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19744 small n, then large n, before computing and testing k+n.
19745 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19746 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19750 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19751 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19752 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19753 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19754 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19755 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19756 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19757 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19758 * math/libm-test.inc (scalbn_test): Add more tests.
19759 (scalbln_test): Likewise.
19761 * manual/filesys.texi (mode_t): Describe constraints on size and
19762 signedness, not exact equivalence to a particular type.
19764 (ino64_t): Likewise.
19766 (nlink_t): Likewise.
19767 (blkcnt_t): Likewise.
19768 (blkcnt64_t): Likewise.
19769 * manual/llio.texi (off_t): Likewise.
19772 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19773 (__ieee754_exp): Save and restore rounding mode and use
19774 round-to-nearest for all computations.
19775 * math/libm-test.inc (exp_test_tonearest): New function.
19776 (exp_test_towardzero): Likewise.
19777 (exp_test_downward): Likewise.
19778 (exp_test_upward): Likewise.
19779 (main): Call the new functions.
19780 * sysdeps/i386/fpu/libm-test-ulps: Update.
19781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19783 2012-03-01 Chris Demetriou <cgd@google.com>
19785 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19786 have predictable order.
19788 2012-03-01 David S. Miller <davem@davemloft.net>
19790 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19792 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19793 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19794 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19795 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19797 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19798 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19799 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19801 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19802 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19803 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19804 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19805 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19809 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19810 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19811 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19813 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19814 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19815 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19816 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19817 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19818 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19819 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19820 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19821 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19822 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19823 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19824 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19826 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19827 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19829 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19830 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19831 * sysdeps/sparc/elf/configure: Regenerated.
19833 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19835 * configure.in (AS, LD): Require binutils 2.20 or later.
19836 * configure: Regenerated.
19837 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19838 as required minimum version.
19839 * INSTALL: Regenerated.
19843 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19844 before squaring exponent.
19845 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19846 bottom long double and 27 bits of top long double before squaring
19848 * math/libm-test.inc (erfc_test): Add more tests.
19849 * sysdeps/i386/fpu/libm-test-ulps: Update.
19850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19853 2012-03-01 Kai Tietz <ktietz@redhat.com>
19855 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19856 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19857 containing bit-fields.
19858 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19859 * soft-fp/single.h (_FP_UNION_S): Likewise.
19860 * soft-fp/double.h (_FP_UNION_D): Likewise.
19862 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19865 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19866 not include ../strcmp.S.
19867 [USE_AS_STRNCASECMP_L]: Likewise.
19868 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19869 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19870 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19871 (__strncasecmp_l_ia32): Define as alias to
19872 __strncasecmp_l_nonascii.
19875 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19876 * sysdeps/i386/fpu/libm-test-ulps: Update.
19877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19879 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19882 2012-02-29 Jeff Law <law@redhat.com>
19884 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19885 out of bounds read.
19887 2012-02-29 Marek Polacek <polacek@redhat.com>
19890 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19891 * elf/Makefile: Add rules to run tst-unused-dep.out.
19893 2012-02-28 David S. Miller <davem@davemloft.net>
19895 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19896 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19898 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19899 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19900 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19902 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19904 * math/libm-test.inc (llround_test): Move one test from
19905 lround_test. Use TEST_f_L in moved test.
19906 (lround_test): Move misplaced test to llround_test. Add testcase
19909 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19911 * sysdeps/x86_64/fpu/e_expf.S: New file.
19912 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19914 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19917 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19918 of remain_len that may cause incomplete multi-byte character and
19920 * posix/bug-regex33.c: New file.
19921 * posix/Makefile (tests): Add bug-regex33.
19923 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19925 * manual/macros.texi: New file.
19926 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19927 * manual/libc.texinfo: Include macros.texi.
19928 * manual/creatute.texi: Likewise.
19929 * manual/install.texi: Likewise.
19930 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19931 @glibcadj{} in references to the GNU C Library.
19932 * manual/charset.texi: Likewise.
19933 * manual/conf.texi: Likewise.
19934 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19935 when not using those macros.
19936 * manual/creature.texi: Likewise.
19937 * manual/crypt.texi: Likewise.
19938 * manual/errno.texi: Likewise.
19939 * manual/filesys.texi: Likewise.
19940 * manual/header.texi: Likewise.
19941 * manual/install.texi: Likewise.
19942 * manual/intro.texi: Likewise.
19943 * manual/io.texi: Likewise.
19944 * manual/job.texi: Likewise.
19945 * manual/lang.texi: Likewise.
19946 * manual/libc.texiinfo: Likewise.
19947 * manual/llio.texi: Likewise.
19948 * manual/locale.texi: Likewise.
19949 * manual/maint.texi: Likewise.
19950 * manual/math.texi: Likewise.
19951 * manual/memory.texi: Likewise.
19952 * manual/message.texi: Likewise.
19953 * manual/nss.texi: Likewise.
19954 * manual/pattern.texi: Likewise.
19955 * manual/process.texi: Likewise.
19956 * manual/resource.texi: Likewise.
19957 * manual/search.texi: Likewise.
19958 * manual/setjmp.texi: Likewise.
19959 * manual/signal.texi: Likewise.
19960 * manual/socket.texi: Likewise.
19961 * manual/startup.texi: Likewise.
19962 * manual/stdio.texi: Likewise.
19963 * manual/string.texi: Likewise.
19964 * manual/sysinfo.texi: Likewise.
19965 * manual/syslog.texi: Likewise.
19966 * manual/terminal.texi: Likewise.
19967 * manual/time.texi: Likewise.
19968 * manual/users.texi: Likewise.
19969 * INSTALL: Regenerated.
19970 * NOTES: Regenerated.
19971 * sysdeps/gnu/errlist.c: Regenerated.
19973 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19975 * include/dirent.h: Include <dirstream.h> before
19978 2012-02-28 David S. Miller <davem@davemloft.net>
19980 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19981 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19982 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19983 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19985 2012-02-27 David S. Miller <davem@davemloft.net>
19987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19989 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19990 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19993 frame pointer instead of stack pointer relative arg slot.
19994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19995 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19996 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19998 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20001 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20003 2012-02-27 David S. Miller <davem@davemloft.net>
20005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20009 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20010 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20011 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20012 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20014 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20016 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20017 later. Allow versions 5-9.
20018 * configure: Regenerated.
20019 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20020 required minimum version and 4.6 as recommended version. Do not
20021 mention bugs in GCC 2.7 and 2.8.
20022 * INSTALL: Regenerated.
20024 2012-02-27 David S. Miller <davem@davemloft.net>
20026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20030 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20031 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20032 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20033 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20035 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20036 manipulate bits before adding and subtracting TWO112[sx].
20037 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20039 2012-02-27 Roland McGrath <roland@hack.frob.com>
20042 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20043 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20044 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20045 being in POSIX, because they are in 1003.1-2008.
20047 * rt/tst-aio.c: Include <fcntl.h>.
20048 * rt/tst-aio7.c: Likewise.
20049 * rt/tst-aio64.c: Likewise.
20051 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20053 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20055 * manual/install.texi (--with-headers): Describe headers as
20056 interface headers, not private headers.
20057 (Specific advice for GNU/Linux systems): Describe use of headers
20058 from "make headers_install", not private headers from older
20060 * INSTALL: Regenerated.
20061 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20063 * sysdeps/unix/sysv/linux/configure: Regenerated.
20065 * manual/llio.texi (fclean): Remove documentation.
20067 * manual/Makefile (libc-texi-generated): New variable. Include
20069 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20070 $(libc-texi-generated), not duplicated list of files.
20071 (version.texi, stamp-version): New rules.
20072 (realclean): Remove $(libc-texi-generated), not individual files
20073 from that list. Do not remove dir-add.texinfo.
20074 * manual/libc.texinfo: Comment out uses of edition numbers and
20075 references to printed manual. Remove last-updated dates.
20076 (EDITION): Comment out.
20078 (VERSION, UPDATED): Remove.
20079 (version.texi): Include.
20081 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20083 * sysdeps/posix/spawni.c: Include <signal.h>.
20084 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20085 * sysdeps/pthread/aio_fsync.c: Likewise.
20087 2012-02-26 Ulrich Drepper <drepper@gmail.com>
20089 * conform/Makefile (tests): Run only when not cross-compiling and
20090 when fast-check is not defined.
20092 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20093 * conform/data/limits.h-data: Fixes for POSIX2008.
20094 * conform/run-conformtest.sh: Run all tests.
20095 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20097 * include/bits/dlfcn.h: Likewise.
20098 * include/langinfo.h: Likewise.
20099 * include/monetary.h: Likewise.
20100 * include/sys/poll.h: Likewise.
20102 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20104 * posix/spawn.h: Define __need_sigset_t.
20105 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20106 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20107 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20108 to get sigevent_t only.
20109 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20110 only for __USE_GNU.
20111 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20112 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20113 process_vm_writev only for __USE_GNU.
20114 * termios/termios.h: Declare tcgetsid also for POSIX2008.
20116 * conform/Makefile: For now ignore errors from run-conformtest.
20117 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20118 POSIX to avoid namespace pollution. Don't prepend headers.
20119 * conform/data/aio.h-data: Fixes for POSIX testing.
20120 * conform/data/fcntl.h-data: Likewise.
20121 * conform/data/glob.h-data: Likewise.
20122 * conform/data/grp.h-data: Likewise.
20123 * conform/data/pthread.h-data: Likewise.
20124 * conform/data/pwd.h-data: Likewise.
20125 * conform/data/signal.h-data: Likewise.
20126 * conform/data/spawn.h-data: Likewise.
20127 * conform/data/stdio.h-data: Likewise.
20128 * conform/data/stdlib.h-data: Likewise.
20129 * conform/data/stropts.h-data: Likewise.
20130 * conform/data/sys/mman.h-data: Likewise.
20131 * conform/data/sys/stat.h-data: Likewise.
20132 * conform/data/sys/types.h-data: Likewise.
20133 * conform/data/sys/wait.h-data: Likewise.
20134 * conform/data/time.h-data: Likewise.
20135 * conform/data/unistd.h-data: Likewise.
20136 * conform/data/utime.h-data: Likewise.
20138 * io/sys/stat.h: fchmod was always in POSIX.
20139 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20140 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20141 * rt/aio.h: Define __need_timespec before including <time.h>.
20142 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20143 struct. Add forward declaration of pthread_attr_t and use it in
20145 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20146 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20147 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20148 always remove CLK_TCK definition.
20150 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20152 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20154 2012-02-25 Ulrich Drepper <drepper@gmail.com>
20156 * conform/run-conformtest.sh: New file.
20157 * conform/Makefile: Run run-conformtest for tests.
20158 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20161 * conform/data/uchar.h-data: New file.
20162 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20163 * conform/data/arpa/inet.h-data: Likewise.
20164 * conform/data/assert.h-data: Likewise.
20165 * conform/data/complex.h-data: Likewise.
20166 * conform/data/cpio.h-data: Likewise.
20167 * conform/data/ctype.h-data: Likewise.
20168 * conform/data/dirent.h-data: Likewise.
20169 * conform/data/dlfcn.h-data: Likewise.
20170 * conform/data/errno.h-data: Likewise.
20171 * conform/data/fcntl.h-data: Likewise.
20172 * conform/data/float.h-data: Likewise.
20173 * conform/data/fmtmsg.h-data: Likewise.
20174 * conform/data/fnmatch.h-data: Likewise.
20175 * conform/data/ftw.h-data: Likewise.
20176 * conform/data/glob.h-data: Likewise.
20177 * conform/data/grp.h-data: Likewise.
20178 * conform/data/iconv.h-data: Likewise.
20179 * conform/data/inttypes.h-data: Likewise.
20180 * conform/data/langinfo.h-data: Likewise.
20181 * conform/data/libgen.h-data: Likewise.
20182 * conform/data/limits.h-data: Likewise.
20183 * conform/data/locale.h-data: Likewise.
20184 * conform/data/math.h-data: Likewise.
20185 * conform/data/monetary.h-data: Likewise.
20186 * conform/data/mqueue.h-data: Likewise.
20187 * conform/data/ndbm.h-data: Likewise.
20188 * conform/data/net/if.h-data: Likewise.
20189 * conform/data/netdb.h-data: Likewise.
20190 * conform/data/netinet/in.h-data: Likewise.
20191 * conform/data/nl_types.h-data: Likewise.
20192 * conform/data/poll.h-data: Likewise.
20193 * conform/data/pthread.h-data: Likewise.
20194 * conform/data/pwd.h-data: Likewise.
20195 * conform/data/regex.h-data: Likewise.
20196 * conform/data/sched.h-data: Likewise.
20197 * conform/data/search.h-data: Likewise.
20198 * conform/data/semaphore.h-data: Likewise.
20199 * conform/data/setjmp.h-data: Likewise.
20200 * conform/data/signal.h-data: Likewise.
20201 * conform/data/spawn.h-data: Likewise.
20202 * conform/data/stdarg.h-data: Likewise.
20203 * conform/data/stdio.h-data: Likewise.
20204 * conform/data/stdlib.h-data: Likewise.
20205 * conform/data/string.h-data: Likewise.
20206 * conform/data/strings.h-data: Likewise.
20207 * conform/data/stropts.h-data: Likewise.
20208 * conform/data/sys/ipc.h-data: Likewise.
20209 * conform/data/sys/mman.h-data: Likewise.
20210 * conform/data/sys/msg.h-data: Likewise.
20211 * conform/data/sys/resource.h-data: Likewise.
20212 * conform/data/sys/select.h-data: Likewise.
20213 * conform/data/sys/sem.h-data: Likewise.
20214 * conform/data/sys/shm.h-data: Likewise.
20215 * conform/data/sys/socket.h-data: Likewise.
20216 * conform/data/sys/stat.h-data: Likewise.
20217 * conform/data/sys/statvfs.h-data: Likewise.
20218 * conform/data/sys/time.h-data: Likewise.
20219 * conform/data/sys/timeb.h-data: Likewise.
20220 * conform/data/sys/times.h-data: Likewise.
20221 * conform/data/sys/types.h-data: Likewise.
20222 * conform/data/sys/uio.h-data: Likewise.
20223 * conform/data/sys/un.h-data: Likewise.
20224 * conform/data/sys/utsname.h-data: Likewise.
20225 * conform/data/sys/wait.h-data: Likewise.
20226 * conform/data/syslog.h-data: Likewise.
20227 * conform/data/tar.h-data: Likewise.
20228 * conform/data/termios.h-data: Likewise.
20229 * conform/data/utime.h-data: Likewise.
20230 * conform/data/utmpx.h-data: Likewise.
20231 * conform/data/varargs.h-data: Likewise.
20232 * conform/data/wchar.h-data: Likewise.
20233 * conform/data/wctype.h-data: Likewise.
20234 * conform/data/wordexp.h-data: Likewise.
20236 * include/stropts.h: New file.
20237 * include/uchar.h: New file.
20238 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20239 * include/assert.h: Likewise.
20240 * include/ctype.h: Likewise.
20241 * include/dirent.h: Likewise.
20242 * include/dlfcn.h: Likewise.
20243 * include/fcntl.h: Likewise.
20244 * include/fnmatch.h: Likewise.
20245 * include/glob.h: Likewise.
20246 * include/grp.h: Likewise.
20247 * include/libio.h: Likewise.
20248 * include/locale.h: Likewise.
20249 * include/math.h: Likewise.
20250 * include/net/if.h: Likewise.
20251 * include/netdb.h: Likewise.
20252 * include/netinet/in.h: Likewise.
20253 * include/pthread.h: Likewise.
20254 * include/pwd.h: Likewise.
20255 * include/regex.h: Likewise.
20256 * include/sched.h: Likewise.
20257 * include/search.h: Likewise.
20258 * include/setjmp.h: Likewise.
20259 * include/signal.h: Likewise.
20260 * include/stdio.h: Likewise.
20261 * include/stdlib.h: Likewise.
20262 * include/string.h: Likewise.
20263 * include/sys/cdefs.h: Likewise.
20264 * include/sys/mman.h: Likewise.
20265 * include/sys/msg.h: Likewise.
20266 * include/sys/resource.h: Likewise.
20267 * include/sys/select.h: Likewise.
20268 * include/sys/socket.h: Likewise.
20269 * include/sys/stat.h: Likewise.
20270 * include/sys/statvfs.h: Likewise.
20271 * include/sys/time.h: Likewise.
20272 * include/sys/times.h: Likewise.
20273 * include/sys/uio.h: Likewise.
20274 * include/sys/utsname.h: Likewise.
20275 * include/sys/wait.h: Likewise.
20276 * include/termios.h: Likewise.
20277 * include/time.h: Likewise.
20278 * include/ulimit.h: Likewise.
20279 * include/unistd.h: Likewise.
20280 * include/utime.h: Likewise.
20281 * include/wchar.h: Likewise.
20282 * include/wctype.h: Likewise.
20283 * include/wordexp.h: Likewise.
20285 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20287 * time/time.h: TIME_UTC must be a macro.
20288 Make timespec_get available for ISO C11 only as well.
20290 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20292 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20293 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20295 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20297 * configure.in: Use -o not -a in test for unsupported multi-arch.
20299 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20301 * manual/texinfo.tex: Update to version 2012-01-19.16.
20303 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20305 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20307 2012-02-24 Roland McGrath <roland@hack.frob.com>
20310 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20311 * manual/fdl-1.3.texi: New file.
20312 * manual/fdl-1.1.texi: File removed.
20315 * manual/libc.texinfo (FDL_VERSION): New @set.
20316 Use it for mention of FDL in cover text.
20317 (Documentation License): Use it in @include file name.
20319 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20320 Roland McGrath <roland@hack.frob.com>
20323 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20324 not LONG_LONG_MAX and LONG_LONG_MIN.
20325 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20326 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20328 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20330 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20334 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20335 manipulate bits before adding and subtracting TWO23[sx].
20336 * math/libm-test.inc (nearbyint_test): Add more tests.
20338 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20341 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20342 bits before adding and subtracting TWO23[sx].
20343 * math/libm-test.inc (rint_test): Add more tests.
20344 (rint_test_tonearest): Likewise.
20345 (rint_test_towardzero): Likewise.
20346 (rint_test_downward): Likewise.
20347 (rint_test_upward: Likewise.
20349 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20352 * include/stdc-predef.h: New file. Extracted from features.h.
20353 * include/features.h: Include stdc-predef.h.
20354 * Makefile (headers): Add stdc-predef.h.
20355 * CONFORMANCE (Compiler limitations): Update.
20357 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20359 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20361 2012-02-21 David S. Miller <davem@davemloft.net>
20363 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20364 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20366 2012-02-20 David S. Miller <davem@davemloft.net>
20368 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20369 using a normal save/restore sequence, rather than allocating a
20370 dummy stack frame just to store a frame pointer and restore.
20371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20373 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20375 * manual/install.texi: Fix stray word in line-wrapped comment.
20377 2012-02-20 David S. Miller <davem@davemloft.net>
20379 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20380 both binutils and gcc support GOTDATA.
20382 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20383 "rd %pc" in the PIC register setup sequences.
20385 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20386 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20387 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20388 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20389 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20390 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20392 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20394 (SYSCALL_ERROR_HANDLER): Likewise.
20395 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20396 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20398 (SYSCALL_ERROR_HANDLER): Likewise.
20400 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20401 (HAVE_GCC_GOTDATA): New.
20402 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20403 relocation support in both binutils and gcc.
20404 * sysdeps/sparc/elf/configure: Regenerate.
20406 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20407 * sysdeps/sparc/sparc32/elf/configure: Delete.
20408 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20409 * sysdeps/sparc/sparc64/elf/configure: Delete.
20410 * sysdeps/sparc/elf/configure.in: New file.
20411 * sysdeps/sparc/elf/configure: Generate.
20413 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20414 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20415 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20416 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20417 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20419 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20421 * manual/install.texi: Do not mention specific glibc version
20423 * manual/libc.texinfo (VERSION, UPDATED): Update.
20424 (@copying): Use @copyright{} and range of years.
20426 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20429 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20430 [crti.S not in sysdirs] (generated): Do not append.
20431 [crti.S not in sysdirs] (omit-deps): Likewise.
20432 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20433 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20434 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20435 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20436 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20438 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20439 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20440 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20441 * csu/defs.awk: Remove file.
20442 * sysdeps/generic/initfini.c: Likewise.
20443 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20445 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20448 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20450 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20451 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20452 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20453 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20454 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20455 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20457 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20458 (__EPOLL_PACKED): Define to empty if not defined by
20460 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20464 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20466 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20467 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20468 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20469 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20471 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20475 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20477 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20479 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20480 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20481 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20484 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20486 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20487 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20489 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20491 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20492 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20494 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20496 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20499 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20501 * math/w_acos.c: Use non-signaling floating-point comparisons.
20502 * math/w_acosf.c: Likewise.
20503 * math/w_acosh.c: Likewise.
20504 * math/w_acoshf.c: Likewise.
20505 * math/w_acoshl.c: Likewise.
20506 * math/w_acosl.c: Likewise.
20507 * math/w_asin.c: Likewise.
20508 * math/w_asinf.c: Likewise.
20509 * math/w_asinl.c: Likewise.
20510 * math/w_atanh.c: Likewise.
20511 * math/w_atanhf.c: Likewise.
20512 * math/w_atanhl.c: Likewise.
20513 * math/w_exp2.c: Likewise.
20514 * math/w_exp2f.c: Likewise.
20515 * math/w_exp2l.c: Likewise.
20516 * math/w_j0.c: Likewise.
20517 * math/w_j0f.c: Likewise.
20518 * math/w_j0l.c: Likewise.
20519 * math/w_j1.c: Likewise.
20520 * math/w_j1f.c: Likewise.
20521 * math/w_j1l.c: Likewise.
20522 * math/w_jn.c: Likewise.
20523 * math/w_jnf.c: Likewise.
20524 * math/w_log.c: Likewise.
20525 * math/w_log10.c: Likewise.
20526 * math/w_log10f.c: Likewise.
20527 * math/w_log10l.c: Likewise.
20528 * math/w_log2.c: Likewise.
20529 * math/w_log2f.c: Likewise.
20530 * math/w_log2l.c: Likewise.
20531 * math/w_logf.c: Likewise.
20532 * math/w_logl.c: Likewise.
20533 * math/w_sqrt.c: Likewise.
20534 * math/w_sqrtf.c: Likewise.
20535 * math/w_sqrtl.c: Likewise.
20536 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20537 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20538 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20539 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20540 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20542 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20545 * manual/string.texi (strnlen): Use correct parameter name in
20546 equivalent expression.
20548 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20551 * manual/users.texi (seteuid): Consistently use neweuid for
20554 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20557 * manual/nss.texi (Services in the NSS configuration): Correct
20558 list of services in example configuration file.
20560 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20563 * manual/arith.texi: Remove statements about negative zero
20564 behaving identically to zero.
20566 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20569 * manual/install.texi: Do not document upgrading from libc5.
20571 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20574 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20576 2012-02-18 David S. Miller <davem@davemloft.net>
20578 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20579 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20580 %o7 across the call.
20581 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20584 SETUP_PIC_REG_LEAF.
20585 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20586 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20587 * sysdeps/sparc/crtn.S: Likewise.
20589 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20591 * aout/Makefile: Remove.
20593 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20596 * manual/examples/argp-ex1.c (main): Format definition in GNU
20598 * manual/examples/argp-ex2.c (main): Likewise.
20599 * manual/examples/argp-ex3.c (main): Likewise.
20600 * manual/examples/argp-ex4.c (main): Likewise.
20601 * manual/examples/longopt.c (main): Use new-style prototype
20603 * manual/examples/strncat.c (main): Specify return type and use
20604 (void) for arguments.
20605 * manual/examples/subopt.c (main): Use char **argv argument.
20607 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20610 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20613 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20616 * manual/string.texi (strchr): Change when strchrnul is
20619 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20622 * manual/locale.texi (setlocale): Document LOCPATH.
20624 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20627 * manual/process.texi (execle): Move @dots{} before last argument.
20629 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20632 * manual/charset.texi (Generic Charset Conversion): Fix typo
20633 (LC_TYPE -> LC_CTYPE).
20635 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20638 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20639 (scalbnf): Likewise.
20640 (scalbnl): Likewise.
20641 (scalbln): Likewise.
20642 (scalblnf): Likewise.
20643 (scalblnl): Likewise.
20644 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20645 (vwarnx): Likewise.
20648 * manual/filesys.texi (telldir): Use braces around return type.
20649 * manual/llio.texi (mmap): Add space after comma.
20650 (mmap64): Likewise.
20651 * manual/math.texi (jn): Use @var{} on parameter names.
20657 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20659 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20661 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20662 (sched_get_priority_max): Likewise.
20663 * manual/signal.texi (sigvec): Add space after comma.
20664 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20666 (if_indextoname): Likewise.
20667 (if_freenameindex): Likewise.
20668 (sendto): Use ',' instead of '.' in prototype.
20669 * manual/startup.texi (syscall): Use @dots{} instead of literal
20671 * manual/stdio.texi (__fpending): Separate initial words of
20672 paragraph from @deftypefun line.
20673 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20675 (vsyslog): Use @var{} on parameter names.
20676 * manual/terminal.texi (stty): Use @var{} on parameter names.
20677 * manual/users.texi (getutmp): Use @var{} on parameter names.
20678 (getutmpx): Likewise.
20680 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20683 * manual/stdio.texi (fopen): Fix typos in description of
20686 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20689 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20690 get clock_id definition.
20692 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20695 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20696 (madvise): Cast every argument to void on its own.
20698 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20701 * manual/startup.texi (Exit Status): Fix typo.
20703 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20706 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20707 * manual/examples/argp-ex2.c: Likewise.
20708 * manual/examples/argp-ex3.c: Likewise.
20710 2012-02-16 Richard Henderson <rth@redhat.com>
20712 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20713 * sysdeps/s390/s390-32/initfini.c: Remove.
20714 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20715 * sysdeps/s390/s390-64/initfini.c: Remove.
20717 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20719 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20720 compiler output for sysdeps/generic/initfini.c.
20721 * sysdeps/sh/elf/initfini.c: Remove file.
20723 2012-02-16 David S. Miller <davem@davemloft.net>
20726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20728 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20729 * sysdeps/sparc/crti.S: New file.
20730 * sysdeps/sparc/crtn.S: New file.
20731 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20732 * sysdeps/sparc/sparc64/Makefile: Likewise.
20734 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20737 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20739 2012-02-15 Roland McGrath <roland@hack.frob.com>
20742 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20744 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20745 (write, read, close): Likewise.
20746 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20748 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20750 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20751 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20752 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20753 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20755 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20759 2012-02-14 Marek Polacek <polacek@redhat.com>
20761 * sysdeps/x86_64/crti.S: New file.
20762 * sysdeps/x86_64/crtn.S: New file.
20763 * sysdeps/x86_64/elf/initfini.c: Remove file.
20765 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20767 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20768 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20769 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20770 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20772 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20776 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20778 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20779 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20780 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20781 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20783 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20787 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20789 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20790 __feraiseexcept instead of feraiseexcept.
20792 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20793 nanosleep invocations.
20794 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20795 strings, and add error checking for a nanosleep invocations.
20797 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20799 Replace FSF snail mail address with URLs, as per GNU coding standards.
20800 Most of the snail mail addresses were wrong anyway, and omitting
20801 them makes the source code easier to maintain. Almost all of the
20802 changes are to license notices and to locale LC_IDENTIFICATION
20803 addresses, except for this one:
20804 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20805 not its snail mail address.
20807 2012-02-09 Richard Henderson <rth@twiddle.net>
20809 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20810 of kernel-features.h.
20812 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20814 2012-02-08 Marek Polacek <polacek@redhat.com>
20816 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20817 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20818 * sysdeps/gnu/_G_config.h: Likewise.
20819 * sysdeps/generic/_G_config.h: Likewise.
20821 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20823 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20827 * sysdeps/powerpc/powerpc32/crti.S: New file.
20828 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20829 * sysdeps/powerpc/powerpc64/crti.S: New file.
20830 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20832 * Makeconfig (have-initfini): Don't set.
20833 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20834 * configure.in (nopic_initfini): Don't substitute.
20835 * config.h.in (HAVE_INITFINI): Don't #undef.
20836 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20837 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20839 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20841 Support crti.S and crtn.S provided directly by architectures.
20842 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20843 [crti.S in sysdirs] (omit-deps): Likewise.
20844 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20845 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20846 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20847 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20848 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20849 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20850 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20851 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20852 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20853 compiler output for sysdeps/generic/initfini.c.
20854 * sysdeps/i386/elf/Makefile: Remove file.
20855 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20857 2012-02-07 Marek Polacek <polacek@redhat.com>
20859 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20860 * sysdeps/gnu/_G_config.h: Likewise.
20861 * sysdeps/mach/hurd/_G_config.h: Likewise.
20863 2012-02-07 Marek Polacek <polacek@redhat.com>
20865 * math/Makefile (tests): Add tst-CMPLX2.
20866 * math/tst-CMPLX2.c: New file.
20868 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20870 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20872 * math/libm-test.inc (jn_test): Add missing L suffix.
20874 2012-02-06 Marek Polacek <polacek@redhat.com>
20876 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20877 * sysdeps/i386/fpu/e_powf.S: Likewise.
20878 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20879 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20880 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20881 * sysdeps/i386/fpu/e_pow.S: Likewise.
20882 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20883 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20884 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20885 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20886 * sysdeps/i386/fpu/e_log2.S: Likewise.
20887 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20888 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20889 * sysdeps/i386/fpu/e_powl.S: Likewise.
20890 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20891 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20892 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20893 * sysdeps/i386/fpu/e_logl.S: Likewise.
20894 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20895 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20896 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20897 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20898 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20899 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20900 * sysdeps/i386/fpu/e_log.S: Likewise.
20901 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20902 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20903 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20904 * sysdeps/i386/fpu/e_logf.S: Likewise.
20905 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20906 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20907 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20908 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20909 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20910 * sysdeps/i386/fpu/e_log10.S: Likewise.
20911 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20912 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20913 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20914 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20915 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20916 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20917 * sysdeps/i386/asm-syntax.h: Likewise.
20918 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20919 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20920 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20921 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20922 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20923 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20924 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20925 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20926 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20927 * sysdeps/powerpc/sysdep.h: Likewise.
20928 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20929 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20931 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20934 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20936 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20938 * sysdeps/i386/sysdep.h: Include <features.h>.
20939 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20942 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20944 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20946 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20949 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20951 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20952 (SETUP_PIC_REG): Use GET_PC_THUNK.
20953 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20956 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20958 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20959 for non-PIC compilation.
20960 (SETUP_PIC_REG): Add .p2align directive.
20961 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20962 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20963 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20964 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20965 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20966 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20967 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20968 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20969 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20970 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20971 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20972 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20973 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20974 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20975 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20976 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20977 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20978 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20979 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20980 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20981 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20982 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20983 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20984 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20985 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20987 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20988 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20989 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20990 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20991 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20992 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20993 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20994 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20995 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20996 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20997 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20998 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20999 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21000 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21001 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21003 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21005 * math/tst-CMPLX.c: Include <stdio.h>.
21007 2012-01-31 Joseph Myers <joseph@codesourcery.com>
21009 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21011 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21012 * sysdeps/sparc/bits/mathdef.h: Likewise.
21014 2012-01-31 Marek Polacek <polacek@redhat.com>
21016 * libio/libio.h: Don't define _PARAMS.
21017 * locale/programs/config.h: Don't define PARAMS.
21018 * stdlib/strtol_l.c: Likewise.
21019 (__strtol_l): Remove PARAMS from the prototype.
21021 2012-01-31 Ulrich Drepper <drepper@gmail.com>
21023 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21024 names. Just use the correct names. Remove unnecessary wrapper
21026 * malloc/arena.c: Likewise.
21027 * malloc/hooks.c: Likewise.
21029 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21030 ARENA_TEST says not to. Simplify test for creation of a new arena.
21031 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21033 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21035 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21037 (update_get_addr): New function.
21038 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21039 GET_ADDR_MODULE parameter.
21041 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21043 * crypt/cert.c: Remove __STDC__ conditionals.
21044 * crypt/crypt-entry.c: Likewise.
21045 * crypt/crypt_util.c: Likewise.
21046 * libio/filedoalloc.c: Likewise.
21047 * libio/fileops.c: Likewise.
21048 * libio/genops.c: Likewise.
21049 * libio/iofclose.c: Likewise.
21050 * libio/iofdopen.c: Likewise.
21051 * libio/iofopen.c: Likewise.
21052 * libio/iofopen64.c: Likewise.
21053 * libio/iogetdelim.c: Likewise.
21054 * libio/iopopen.c: Likewise.
21055 * libio/obprintf.c: Likewise.
21056 * libio/oldfileops.c: Likewise.
21057 * libio/oldiofclose.c: Likewise.
21058 * libio/oldiofdopen.c: Likewise.
21059 * libio/oldiofopen.c: Likewise.
21060 * libio/oldiopopen.c: Likewise.
21061 * libio/wfiledoalloc.c: Likewise.
21062 * libio/wgenops.c: Likewise.
21063 * locale/programs/xmalloc.c: Likewise.
21064 * misc/syslog.c: Likewise.
21065 * stdio-common/xbug.c: Likewise.
21066 * string/memchr.c: Likewise.
21067 * string/memcmp.c: Likewise.
21068 * string/memrchr.c: Likewise.
21069 * string/rawmemchr.c: Likewise.
21070 * sysdeps/posix/getcwd.c: Likewise.
21071 * time/strftime_l.c: Likewise.
21073 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21075 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21076 * config.make.in (config-cflags-sse2avx): Define.
21077 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21080 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21082 * scripts/config.guess: Update from upstream config git repository.
21083 * scripts/config.sub: Likewise.
21085 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21087 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21089 (R_TILEPRO_*, R_TILEGX_*): New macros.
21091 * scripts/firstversions.awk: Fix bug in version range handling.
21093 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21095 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21097 * include/sys/epoll.h: New file.
21098 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21101 2012-01-28 Ulrich Drepper <drepper@gmail.com>
21103 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21104 Avoid unnecessary __WORDSIZE == 64 test.
21105 (fmaxf): Use VEX format if possible.
21110 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21111 * math/math_private.h: Remove libc_fegetround* and
21113 * sysdeps/i386/configure.in: Check for -msse2avx.
21114 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21115 also if SSE2AVX is defined.
21116 Remove libc_fegetround* and libc_fesetround*.
21117 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21118 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21119 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21121 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21122 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21123 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21124 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21125 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21127 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21129 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21131 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21133 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21135 2012-01-27 Ulrich Drepper <drepper@gmail.com>
21138 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21140 * Makeconfig (libm): Define.
21141 * elf/Makefile: Add rules to build and run tst-relsort1.
21142 * elf/tst-relsort1.c: New file.
21143 * elf/tst-relsort1mod1.c: New file.
21144 * elf/tst-relsort1mod2.c: New file.
21146 2012-01-27 Joseph Myers <joseph@codesourcery.com>
21148 * math/s_ldexp.c: Remove __STDC__ conditionals.
21149 * math/s_ldexpf.c: Likewise.
21150 * math/s_ldexpl.c: Likewise.
21151 * math/s_nextafter.c: Likewise.
21152 * math/s_nexttowardf.c: Likewise.
21153 * math/s_significand.c: Likewise.
21154 * math/s_significandf.c: Likewise.
21155 * math/s_significandl.c: Likewise.
21156 * math/w_jnl.c: Likewise.
21157 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21158 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21159 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21160 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21161 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21163 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21164 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21165 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21167 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21176 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21177 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21178 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21179 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21180 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21181 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21182 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21183 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21184 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21185 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21186 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21187 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21188 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21189 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21190 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21191 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21192 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21193 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21194 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21195 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21196 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21197 * sysdeps/ieee754/k_standard.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21230 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21233 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21234 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21239 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21241 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21242 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21244 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21245 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21246 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21247 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21248 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21249 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21250 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21251 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21252 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21253 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21254 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21255 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21256 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21257 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21258 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21259 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21260 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21261 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21262 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21263 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21264 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21265 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21266 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21267 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21268 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21269 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21270 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21271 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21272 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21273 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21274 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21275 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21276 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21277 * sysdeps/ieee754/s_matherr.c: Likewise.
21278 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21279 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21281 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21283 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21285 * crypt/md5.h: Remove __STDC__ conditionals.
21286 * libio/libioP.h: Likewise.
21287 * locale/programs/config.h: Likewise.
21288 * sysdeps/generic/sysdep.h: Likewise.
21289 * sysdeps/i386/asm-syntax.h: Likewise.
21290 * sysdeps/s390/asm-syntax.h: Likewise.
21291 * sysdeps/unix/sysdep.h: Likewise.
21292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21295 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21297 * libio/libio.h: Remove __STDC__ conditionals.
21298 * malloc/obstack.h: Likewise.
21299 * math/complex.h: Likewise.
21300 * math/math.h: Likewise.
21301 * sysdeps/generic/_G_config.h: Likewise.
21302 * sysdeps/gnu/_G_config.h: Likewise.
21303 * sysdeps/mach/hurd/_G_config.h: Likewise.
21304 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21305 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21306 * sysdeps/sparc/bits/mathdef.h: Likewise.
21308 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21311 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21312 Clean up HAS_* macros.
21313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21314 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21316 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21318 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21319 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21320 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21321 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21322 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21324 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21326 * elf/tst-unique3.cc (gets): Remove declaration.
21327 * elf/tst-unique3lib.cc (gets): Likewise.
21328 * elf/tst-unique3lib2.cc (gets): Likewise.
21329 * elf/tst-unique4.cc (gets): Likewise.
21331 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21333 * include/stdio.h: Add C++ protection. Add gets declarations and
21335 * debug/tst-chk1.c: Don't declare gets here.
21336 * stdio-common/tst-gets.c: Likewise.
21338 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21340 * posix/glob: Remove directory.
21342 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21344 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21346 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21348 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21349 of the non-standard EPFNOSUPPORT.
21351 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21353 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21354 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21355 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21357 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21359 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21361 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21363 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21365 * nscd/grpcache.c (cache_addgr): Likewise.
21366 * nscd/hstcache.c (cache_addhst): Likewise.
21367 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21368 * nscd/pwdcache.c (cache_addpw): Likewise.
21369 * nscd/servicescache.c (cache_addserv): Likewise.
21371 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21373 * malloc/malloc.c: Various cleanups.
21374 * malloc/hooks.c: Likewise.
21376 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21377 * stdlib/bug-fmtmsg1.c: New file.
21379 * stdlib/fmtmsg.c (init): Add missing unlock.
21380 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21382 2012-01-12 Marek Polacek <polacek@redhat.com>
21384 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21387 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21389 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21390 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21391 macro to ensure uniqueness of label name.
21392 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21393 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21395 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21397 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21399 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21400 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21401 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21404 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21406 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21408 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21409 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21410 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21412 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21414 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21415 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21416 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21419 * math/bits/math-finite.h: Add ldexp support.
21421 2012-01-10 Marek Polacek <polacek@redhat.com>
21423 * locale/programs/localedef.h (show_archive_content): Add noreturn
21426 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21428 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21430 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21432 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21434 * io/Makefile (headers): Add bits/poll2.h.
21436 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21439 typo #include statement.
21441 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21443 * include/sys/cdefs.h: Define __attribute_alloc_size.
21444 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21445 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21446 * elf/pldd.c: Likewise.
21447 * iconv/iconv_charmap.c: Likewise.
21448 * iconv/iconvconfig.c: Likewise.
21449 * iconv/strtab.c: Likewise.
21450 * locale/programs/locale.c: Likewise.
21451 * locale/programs/localedef.h: Likewise.
21452 * locale/programs/simple-hash.c: Likewise.
21453 * nscd/nscd.h: Likewise.
21454 * nss/makedb.c: Likewise.
21455 * sysdeps/generic/ldconfig.h: Likewise.
21456 * locale/programs/localedef.c: Remove xmalloc prototype.
21457 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21459 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21461 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21464 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21466 * math/Makefile (tests): Add tst-CMPLX.
21467 * math/tst-CMPLX.c: New file.
21469 * math/complex.h (CMPLXL): Fix typo.
21471 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21472 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21474 * debug/tst-chk1.c: Add poll and ppoll tests.
21475 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21476 * include/sys/poll.h: Add hidden proto for ppoll.
21477 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21478 * sysdeps/mach/hurd/ppoll.c: Likewise.
21479 * io/ppoll.c: Likewise.
21480 * debug/poll_chk.c: New file.
21481 * debug/ppoll_chk.c: New file.
21482 * include/bits/poll2.h: New file.
21483 * io/bits/poll2.h: New file.
21486 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21488 * configure.in: static is always set to yes. Remove.
21489 * config.make.in: Don't set build-static.
21490 * Makeconfig: Remove use of build-static.
21491 * dlfcn/Makefile: Likewise.
21492 * elf/Makefile: Likewise.
21493 * math/Makefile: Likewise.
21494 * misc/Makefile: Likewise.
21495 * nptl/Makefile: Likewise.
21496 * sysdeps/mach/hurd/Makefile: Likewise.
21498 * configure.in: PWD_P is not used anymore.
21499 * config.make.in: Remove PWD_P entry.
21501 * configure.in: Remove last remnants of RANLIB.
21502 No need to check for signed size_t anymore.
21503 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21505 Remove __builtin_expect test because we require at least gcc 3.4.
21506 * aclocal.m4: Likewise.
21508 * wcsmbs/mbrtoc16.c: Implement using towc function.
21509 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21510 * wcsmbs/wcsmbsload.c: Likewise.
21511 * iconv/gconv_simple.c: Likewise.
21512 * iconv/gconv_int.h: Likewise.
21513 * iconv/gconv_builtin.h: Likewise.
21514 * iconv/iconv_prog.c: Remove CHAR16 handling.
21516 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21518 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21520 * configure.in: Remove --with-elf and --enable-bounded options.
21521 Dont set base_machine for ia64. More non-ELF conditions removed.
21522 Remove testing and setting of leading underscore information.
21523 * config.make.in (build-bounded): Set to no.
21524 * config.h.in: Remove NO_UNDERSCORES entry.
21525 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21527 * csu/start.c: Remove !NO_UNDERSCORE code.
21528 * locale/localeinfo.h: Likewise.
21529 * sysdeps/generic/machine-gmon.h: Likewise.
21530 * sysdeps/generic/sysdep.h: Likewise.
21531 * sysdeps/i386/sysdep.h: Likewise.
21532 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21533 * sysdeps/mach/sysdep.h: Likewise.
21534 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21535 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21536 * sysdeps/sh/sysdep.h: Likewise.
21537 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21538 * sysdeps/unix/i386/sysdep.S: Likewise.
21539 * sysdeps/unix/sparc/start.c: Likewise.
21540 * sysdeps/unix/sparc/sysdep.S: Likewise.
21541 * sysdeps/unix/sparc/sysdep.h: Likewise.
21542 * sysdeps/unix/start.c: Likewise.
21543 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21544 * sysdeps/x86_64/sysdep.h: Likewise.
21546 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21549 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21551 * argp/argp-fmtstream.h: Use const instead __const.
21552 * argp/argp.h: Likewise.
21553 * assert/assert.h: Likewise.
21554 * bits/fenv.h: Likewise.
21555 * bits/sched.h: Likewise.
21556 * bits/sigset.h: Likewise.
21557 * bits/sigthread.h: Likewise.
21558 * catgets/nl_types.h: Likewise.
21559 * conform/data/pthread.h-data: Likewise.
21560 * crypt/crypt-private.h: Likewise.
21561 * crypt/crypt.h: Likewise.
21562 * crypt/crypt_util.c: Likewise.
21563 * ctype/ctype.h: Likewise.
21564 * debug/execinfo.h: Likewise.
21565 * debug/mbsnrtowcs_chk.c: Likewise.
21566 * debug/mbsrtowcs_chk.c: Likewise.
21567 * debug/wcsnrtombs_chk.c: Likewise.
21568 * debug/wcsrtombs_chk.c: Likewise.
21569 * debug/wcstombs_chk.c: Likewise.
21570 * dirent/dirent.h: Likewise.
21571 * dlfcn/dlfcn.h: Likewise.
21572 * elf/neededtest4.c: Likewise.
21573 * grp/grp.h: Likewise.
21574 * gshadow/gshadow.h: Likewise.
21575 * iconv/gconv.h: Likewise.
21576 * iconv/gconv_int.h: Likewise.
21577 * iconv/gconv_simple.c: Likewise.
21578 * iconv/iconv.h: Likewise.
21579 * iconv/loop.c: Likewise.
21580 * iconv/skeleton.c: Likewise.
21581 * include/aio.h: Likewise.
21582 * include/aliases.h: Likewise.
21583 * include/argz.h: Likewise.
21584 * include/arpa/inet.h: Likewise.
21585 * include/assert.h: Likewise.
21586 * include/dirent.h: Likewise.
21587 * include/dlfcn.h: Likewise.
21588 * include/execinfo.h: Likewise.
21589 * include/fcntl.h: Likewise.
21590 * include/fenv.h: Likewise.
21591 * include/glob.h: Likewise.
21592 * include/grp.h: Likewise.
21593 * include/libintl.h: Likewise.
21594 * include/mntent.h: Likewise.
21595 * include/netdb.h: Likewise.
21596 * include/pwd.h: Likewise.
21597 * include/rpc/netdb.h: Likewise.
21598 * include/sched.h: Likewise.
21599 * include/search.h: Likewise.
21600 * include/shadow.h: Likewise.
21601 * include/signal.h: Likewise.
21602 * include/stdio.h: Likewise.
21603 * include/stdlib.h: Likewise.
21604 * include/string.h: Likewise.
21605 * include/sys/socket.h: Likewise.
21606 * include/sys/stat.h: Likewise.
21607 * include/sys/statfs.h: Likewise.
21608 * include/sys/statvfs.h: Likewise.
21609 * include/sys/syslog.h: Likewise.
21610 * include/sys/time.h: Likewise.
21611 * include/sys/uio.h: Likewise.
21612 * include/time.h: Likewise.
21613 * include/unistd.h: Likewise.
21614 * include/utmp.h: Likewise.
21615 * include/wchar.h: Likewise.
21616 * include/wctype.h: Likewise.
21617 * inet/aliases.h: Likewise.
21618 * inet/arpa/inet.h: Likewise.
21619 * inet/netinet/ether.h: Likewise.
21620 * inet/netinet/in.h: Likewise.
21621 * intl/libintl.h: Likewise.
21622 * io/bits/fcntl2.h: Likewise.
21623 * io/fcntl.h: Likewise.
21624 * io/ftw.h: Likewise.
21625 * io/sys/poll.h: Likewise.
21626 * io/sys/stat.h: Likewise.
21627 * io/sys/statfs.h: Likewise.
21628 * io/sys/statvfs.h: Likewise.
21629 * io/utime.h: Likewise.
21630 * libio/bits/stdio.h: Likewise.
21631 * libio/bits/stdio2.h: Likewise.
21632 * libio/libio.h: Likewise.
21633 * libio/libioP.h: Likewise.
21634 * libio/stdio.h: Likewise.
21635 * locale/lc-ctype.c: Likewise.
21636 * locale/locale.h: Likewise.
21637 * login/utmp.h: Likewise.
21638 * malloc/arena.c: Likewise.
21639 * malloc/malloc.c: Likewise.
21640 * malloc/malloc.h: Likewise.
21641 * malloc/mcheck.c: Likewise.
21642 * malloc/mtrace.c: Likewise.
21643 * math/bits/mathcalls.h: Likewise.
21644 * math/fenv.h: Likewise.
21645 * math/math_private.h: Likewise.
21646 * misc/bits/error.h: Likewise.
21647 * misc/bits/syslog.h: Likewise.
21648 * misc/err.h: Likewise.
21649 * misc/error.h: Likewise.
21650 * misc/fstab.h: Likewise.
21651 * misc/mntent.h: Likewise.
21652 * misc/regexp.h: Likewise.
21653 * misc/search.h: Likewise.
21654 * misc/sgtty.h: Likewise.
21655 * misc/sys/mman.h: Likewise.
21656 * misc/sys/syslog.h: Likewise.
21657 * misc/sys/uio.h: Likewise.
21658 * misc/sys/xattr.h: Likewise.
21659 * misc/ttyent.h: Likewise.
21660 * nis/rpcsvc/ypclnt.h: Likewise.
21661 * nss/nss.h: Likewise.
21662 * posix/bits/unistd.h: Likewise.
21663 * posix/fnmatch.h: Likewise.
21664 * posix/glob.h: Likewise.
21665 * posix/sched.h: Likewise.
21666 * posix/spawn.h: Likewise.
21667 * posix/sys/wait.h: Likewise.
21668 * posix/unistd.h: Likewise.
21669 * posix/wordexp.h: Likewise.
21670 * pwd/pwd.h: Likewise.
21671 * resolv/netdb.h: Likewise.
21672 * resource/sys/resource.h: Likewise.
21673 * rt/aio.h: Likewise.
21674 * rt/bits/mqueue2.h: Likewise.
21675 * rt/mqueue.h: Likewise.
21676 * shadow/shadow.h: Likewise.
21677 * signal/signal.h: Likewise.
21678 * socket/send.c: Likewise.
21679 * socket/sendto.c: Likewise.
21680 * socket/sys/socket.h: Likewise.
21681 * stdio-common/printf.h: Likewise.
21682 * stdlib/bits/stdlib.h: Likewise.
21683 * stdlib/fmtmsg.h: Likewise.
21684 * stdlib/monetary.h: Likewise.
21685 * stdlib/stdlib.h: Likewise.
21686 * stdlib/ucontext.h: Likewise.
21687 * streams/stropts.h: Likewise.
21688 * string/argz.h: Likewise.
21689 * string/bits/string2.h: Likewise.
21690 * string/string.h: Likewise.
21691 * string/strings.h: Likewise.
21692 * sunrpc/rpc/auth.h: Likewise.
21693 * sunrpc/rpc/auth_des.h: Likewise.
21694 * sunrpc/rpc/clnt.h: Likewise.
21695 * sunrpc/rpc/netdb.h: Likewise.
21696 * sunrpc/rpc/pmap_clnt.h: Likewise.
21697 * sunrpc/rpc/xdr.h: Likewise.
21698 * sysdeps/generic/inttypes.h: Likewise.
21699 * sysdeps/generic/net/if.h: Likewise.
21700 * sysdeps/generic/sys/swap.h: Likewise.
21701 * sysdeps/gnu/net/if.h: Likewise.
21702 * sysdeps/gnu/utmpx.h: Likewise.
21703 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21704 * sysdeps/i386/i486/bits/string.h: Likewise.
21705 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21706 * sysdeps/s390/bits/string.h: Likewise.
21707 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21708 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21709 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21710 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21711 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21712 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21713 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21714 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21715 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21716 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21717 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21718 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21719 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21720 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21721 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21722 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21723 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21725 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21726 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21727 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21728 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21729 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21730 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21731 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21732 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21733 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21734 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21735 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21736 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21737 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21738 * sysvipc/sys/ipc.h: Likewise.
21739 * sysvipc/sys/msg.h: Likewise.
21740 * sysvipc/sys/sem.h: Likewise.
21741 * sysvipc/sys/shm.h: Likewise.
21742 * termios/termios.h: Likewise.
21743 * time/sys/time.h: Likewise.
21744 * time/time.h: Likewise.
21745 * wcsmbs/bits/wchar2.h: Likewise.
21746 * wcsmbs/uchar.h: Likewise.
21747 * wcsmbs/wchar.h: Likewise.
21748 * wctype/wctype.h: Likewise.
21751 * Makeconfig: Remove all but ELF support including AIX support.
21752 * Makerules: Likewise.
21753 * config.h.in: Likewise.
21754 * config.make.in: Likewise.
21755 * configure: Likewise.
21756 * configure.in: Likewise.
21757 * csu/Makefile: Likewise.
21758 * csu/version.c: Likewise.
21759 * debug/Makefile: Likewise.
21760 * dlfcn/Makefile: Likewise.
21761 * elf/Makefile: Likewise.
21762 * extra-lib.mk: Likewise.
21763 * iconv/Makefile: Likewise.
21764 * include/libc-symbols.h: Likewise.
21765 * include/shlib-compat.h: Likewise.
21766 * resolv/Makefile: Likewise.
21767 * resolv/res_libc.c: Likewise.
21768 * rt/Makefile: Likewise.
21769 * sysdeps/i386/asm-syntax.h: Likewise.
21770 * sysdeps/i386/sysdep.h: Likewise.
21771 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21772 * sysdeps/mach/sysdep.h: Likewise.
21773 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21774 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21775 * sysdeps/s390/asm-syntax.h: Likewise.
21776 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21777 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21778 * sysdeps/sh/sysdep.h: Likewise.
21779 * sysdeps/unix/sparc/sysdep.h: Likewise.
21780 * sysdeps/wordsize-32/divdi3.c: Likewise.
21781 * sysdeps/x86_64/sysdep.h: Likewise.
21783 * argp/Versions: Remove _argp_unlock_xxx.
21786 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21787 * abilist/libBrokenLocale.abilist: Likewise.
21788 * abilist/libanl.abilist: Likewise.
21789 * abilist/libc.abilist: Likewise.
21790 * abilist/libcrypt.abilist: Likewise.
21791 * abilist/libdl.abilist: Likewise.
21792 * abilist/libm.abilist: Likewise.
21793 * abilist/libnsl.abilist: Likewise.
21794 * abilist/libpthread.abilist: Likewise.
21795 * abilist/libresolv.abilist: Likewise.
21796 * abilist/librt.abilist: Likewise.
21797 * abilist/libthread_db.abilist: Likewise.
21798 * abilist/libutil.abilist: Likewise.
21799 * abilist/libnss_db.abilist: New file.
21801 * scripts/abilist.awk: Add support for indirect functions.
21803 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21805 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21807 * shlib-versions: Remove entries for ports architectures.
21809 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21811 * elf/stackguard-macros.h: Remove support for IA-64.
21812 * elf/tst-auditmod1.c: Likewise.
21813 * sysdeps/generic/ldsodefs.h: Likewise.
21815 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21816 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21820 * configure.in: Remove --enable-omitfp support.
21822 * config.make.in: Likewise.
21823 * Makeconfig: Likewise.
21824 * manual/install.texi: Likewise.
21826 In case anyone cares, the IA-64 architecture could move to ports.
21827 * sysdeps/ia64/*: Removed.
21828 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21829 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21832 * configure.in: Remove entries for unsupported architectures.
21835 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21836 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21838 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21839 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21840 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21841 fall back to using wcrtomb.
21842 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21843 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21845 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21846 * wcsmbs/tst-c16c32-1.c: New file.
21848 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21851 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21853 * elf/tst-unique3.cc: Add explicit declaration of gets.
21854 * elf/tst-unique3lib.cc: Likewise.
21855 * elf/tst-unique3lib2.cc: Likewise.
21856 * elf/tst-unique4.cc: Likewise.
21858 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21860 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21863 * assert/assert.h (static_assert): Don't define for C++.
21864 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21865 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21867 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21869 * iconv/loop.c (single loop): Fix assertion in storing of
21872 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21874 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21876 * posix/getconf.c: Update copyright year.
21877 * nss/getent.c: Likewise.
21878 * nss/makedb.c: Likewise.
21879 * iconv/iconvconfig.c: Likewise.
21880 * iconv/iconv_prog.c: Likewise.
21881 * elf/ldconfig.c: Likewise.
21882 * elf/pldd.c: Likewise.
21883 * elf/sotruss.ksh: Likewise.
21884 * catgets/gencat.c: Likewise.
21885 * csu/version.c: Likewise.
21886 * elf/ldd.bash.in: Likewise.
21887 * elf/sprof.c (print_version): Likewise.
21888 * locale/programs/locale.c: Likewise.
21889 * locale/programs/localedef.c: Likewise.
21890 * login/programs/pt_chown.c: Likewise.
21891 * nscd/nscd.c (print_version): Likewise.
21892 * debug/xtrace.sh: Likewise.
21893 * malloc/memusage.sh: Likewise.
21894 * malloc/mtrace.pl: Likewise.
21895 * debug/catchsegv.sh: Likewise.
21897 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21899 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21902 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21905 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21906 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21908 * iconv/gconv_int.h: Likewise.
21909 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21910 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21911 from libc for GLIBC_2.16.
21912 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21913 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21914 * wcsmbs/uchar.h: Really define mbstate_t.
21915 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21916 * wcsmbs/c16rtomb.c: New file.
21917 * wcsmbs/mbrtoc16.c: New file.
21918 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21919 for C/POSIX locale.
21920 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21921 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21923 * wcsmbs/wchar.h: Add missing __restrict.
21925 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21928 * time/Makefile (routines): Add timespec_get.
21929 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21930 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21931 timespec for ISO C11.
21932 * time/timespec_get.c: New file.
21933 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21934 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21937 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21938 * stdlib/stdlib.h: Declare aligned_alloc.
21939 * Versions.def: Add GLIBC_2.16 for libc.
21940 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21943 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21946 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21950 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21953 * assert/assert.h (static_assert): Define.
21955 * version.h: Update for 2.16 development version.
21958 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21961 * version.h (RELEASE): Bump for 2.15 release.
21962 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21964 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21965 Patch by Marek Polacek <mpolacek@redhat.com>.
21967 * bits/byteswap.h: Protect long long constants with __extension__.
21968 * sysdeps/i386/bits/byteswap.h: Likewise.
21969 * sysdeps/ia64/bits/byteswap.h: Likewise.
21970 * sysdeps/s390/bits/byteswap.h: Likewise.
21971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21973 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21976 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21977 destination buffer.
21978 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21980 2011-12-23 Marek Polacek <polacek@redhat.com>
21982 * elf/dl-addr.c (determine_info): Add inline keyword.
21983 * elf/tst-auditmod4b.c (check_avx): Likewise.
21984 * elf/tst-auditmod6b.c (check_avx): Likewise.
21985 * elf/tst-auditmod6c.c (check_avx): Likewise.
21986 * elf/tst-auditmod7b.c (check_avx): Likewise.
21988 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21990 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21993 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21996 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21997 processing for last bytes.
21999 2011-08-06 Bruno Haible <bruno@clisp.org>
22002 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22003 U+0385, not to U+1FEE.
22006 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22007 entry for U+00A5 U+0301.
22009 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22012 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22013 buffer for the output is too small.
22015 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22019 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22020 SSE flags if possible.
22022 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22026 processing for last bytes.
22028 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22030 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22031 (syscall-list-default-options, syscall-list-default-condition)
22032 (syscall-list-includes): Define.
22033 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22034 list of ABIs and options and #if conditions for each ABI. Do not
22035 handle common syscalls between ABIs specially.
22036 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22038 (syscall-list-variants, syscall-list-32bit-options)
22039 (syscall-list-32bit-condition, syscall-list-64bit-options)
22040 (syscall-list-64bit-condition): Define.
22041 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22042 (syscall-list-variants, syscall-list-32bit-options)
22043 (syscall-list-32bit-condition, syscall-list-64bit-options)
22044 (syscall-list-64bit-condition): Define.
22045 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22047 (syscall-list-variants, syscall-list-32bit-options)
22048 (syscall-list-32bit-condition, syscall-list-64bit-options)
22049 (syscall-list-64bit-condition): Define.
22050 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22052 (syscall-list-variants, syscall-list-32bit-options)
22053 (syscall-list-32bit-condition, syscall-list-64bit-options)
22054 (syscall-list-64bit-condition): Define.
22056 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22058 * locale/iso-639.def: Add brx entry.
22061 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22062 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22064 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22065 __feraiseexcept_renamed.
22067 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22070 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22071 EPOLLET with unsigned values.
22072 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22073 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22075 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22076 to large cancellation.
22077 * math/s_cacoshf.c: Likewise.
22078 * math/s_cacoshl.c: Likewise.
22080 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22084 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22085 * math/s_cacoshf.c: Likewise.
22086 * math/s_cacoshl.c: Likewise.
22088 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22091 * iconv/gconv.h: Define __GCONV_SWAP.
22092 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22093 * iconvdata/utf-16.c: Likewise.
22094 * iconvdata/utf-32.c: Likewise.
22096 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22099 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22100 numerator after shifting it by one limb.
22102 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22104 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22105 under [__USE_EXTERN_INLINES].
22107 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22110 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22112 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22114 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22115 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22117 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22118 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22119 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22120 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22121 for strncasecmp/strncasecmp_l compilation.
22122 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22123 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22125 2011-12-08 Marek Polacek <mpolacek@redhat.com>
22128 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22131 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22134 * time/tzfile.c (__tzfile_read): Check values from file header.
22136 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22138 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22139 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22140 * powerpc/powerpc32/dl-start.S: Likewise.
22141 * powerpc/powerpc32/elf/start.S: Likewise.
22142 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22143 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22144 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22145 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22146 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22147 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22148 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22149 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22150 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22151 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22152 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22153 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22154 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22155 * powerpc/powerpc32/memset.S: Likewise.
22156 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22157 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22158 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22159 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22160 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22161 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22162 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22163 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22164 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22165 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22166 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22167 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22168 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22170 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22172 * math/libm-test.inc: Added more nearbyint tests.
22173 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22174 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22176 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22178 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22180 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22183 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22185 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22186 Add wcscpy-ssse3 wcscpy-c.
22187 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22188 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22189 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22190 * sysdeps/x86_64/wcschr.S: New file.
22191 * sysdeps/x86_64/wcsrchr.S: New file.
22192 * string/test-strcmp.c: Remove checking of wcscmp function for
22194 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22195 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22196 wcsrchr-sse2 wcsrchr-c.
22197 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22198 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22199 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22200 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22201 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22202 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22203 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22204 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22205 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22206 * wcsmbc/wcschr.c (WCSCHR): New macro.
22208 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22210 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22211 * wcsmbs/test-wcsrchr.c: New file.
22212 * string/test-strrchr.c: Add wcsrchr support.
22214 * wcsmbs/test-wcscpy.c: New file.
22215 * string/test-strcpy.c: Add wcscpy support.
22218 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22220 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22223 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22226 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22228 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22230 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22231 Minor optimizations.
22233 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22234 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22235 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22237 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22239 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22240 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22241 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22242 for gcc to avoid warnings.
22243 * inet/Makefile (tests): Add tst-checks.
22244 * inet/tst-checks.c: New file.
22246 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22249 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22252 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22253 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22255 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22257 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22259 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22262 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22264 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22266 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22267 conditional on GCC version.
22268 (__arch_compare_and_exchange_val_8_acq)
22269 (__arch_compare_and_exchange_val_16_acq)
22270 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22271 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22272 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22274 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22276 * sysdeps/sh/backtrace.c: New file.
22278 2011-12-02 Andreas Schwab <schwab@redhat.com>
22280 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22283 2011-12-01 Andreas Schwab <schwab@redhat.com>
22285 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22286 falling back to utime.
22288 2011-11-30 Andreas Schwab <schwab@redhat.com>
22290 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22291 expectations for float.
22293 2011-11-29 Andreas Schwab <schwab@redhat.com>
22295 * locale/weight.h (findidx): Add parameter len.
22296 * locale/weightwc.h (findidx): Likewise.
22297 * posix/fnmatch_loop.c (FCT): Adjust caller.
22298 * posix/regcomp.c (build_equiv_class): Likewise.
22299 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22300 * posix/regexec.c (check_node_accept_bytes): Likewise.
22301 * string/strcoll_l.c (STRCOLL): Likewise.
22302 * string/strxfrm_l.c (STRXFRM): Likewise.
22304 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22306 * Makefile.in: Remove CVSOPT handling.
22307 * configure.in: Remove use of AC_REVISION.
22308 * iconvdata/Makefile (distribute): No need to filter out CVS.
22309 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22312 2011-11-16 Andreas Schwab <schwab@redhat.com>
22314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22315 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22316 [USE_AS_STRNCASECMP_L]: Likewise.
22317 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22318 NO_TLS_DIRECT_SEG_REFS.
22319 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22320 Fix argument offsets for non-PIC.
22321 [USE_AS_STRNCASECMP_L]: Likewise.
22322 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22323 NO_TLS_DIRECT_SEG_REFS.
22325 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22327 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22329 * locale/loadlocale.c (_nl_load_locale): Likewise.
22331 2011-11-15 Andreas Schwab <schwab@redhat.com>
22333 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22334 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22335 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22336 (SYSCALL_GETTIME): Set errno on error.
22338 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22339 count references to noai6ai_cached.
22341 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22343 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22345 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22346 FD_CLOEXEC for /proc/self/maps.
22348 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22349 FD_CLOEXEC for /proc/meminfo.
22351 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22354 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22355 FD_CLOEXEC for given file.
22357 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22359 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22360 FD_CLOEXEC for /etc/hosts.
22361 (_gethtent): Likewise.
22363 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22365 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22366 cancellation and set FD_CLOEXEC for /etc/netgroup.
22368 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22369 reading /etc/publickey.
22371 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22372 allow cancellation when reading /etc/group.
22374 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22376 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22378 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22379 when using data file.
22381 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22383 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22384 (write_nis_obj): Use "c" and "e" in fopen.
22386 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22388 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22390 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22392 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22394 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22397 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22399 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22401 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22403 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22404 file parsing and set FD_CLOEXEC.
22406 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22408 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22410 2011-11-14 Andreas Schwab <schwab@redhat.com>
22412 * malloc/arena.c (arena_get2): Don't call reused_arena when
22413 _int_new_arena failed.
22415 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22417 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22418 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22419 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22420 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22421 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22422 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22423 to compile strcasecmp and strncasecmp.
22424 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22425 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22429 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22431 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22432 locale-defines.sym to gen-as-const-headers.
22433 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22434 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22436 to compile strcasecmp and strncasecmp.
22437 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22438 strcasecmp_l and strncasecmp_l.
22439 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22440 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22441 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22442 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22443 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22444 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22445 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22446 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22447 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22448 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22449 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22451 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22453 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22454 result of SYSDEP_GETTIME_CPU to retval.
22455 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22456 parameter list to macro. Remove trailing semicolon. Adjust users.
22458 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22461 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22463 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22465 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22466 from unused variable.
22468 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22470 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22473 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22476 * sunrpc/rpc_prot.c (rejected): Fix case value.
22478 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22479 unsigned long long int to avoid warnings in shift.
22481 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22483 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22486 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22487 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22488 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22490 * nis/nis_table.c (nis_list): Use variable of correct type for
22491 result of __follow_path call.
22493 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22495 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22496 of math functions ceil, trunc, floor, round, and sqrt, when
22497 avaliable on the platform.
22498 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22500 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22501 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22502 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22504 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22506 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22507 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22509 2011-11-11 Roland McGrath <roland@hack.frob.com>
22511 * include/unistd.h: Fix __readlink return type.
22512 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22514 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22516 * stdlib/ucontext.h: Undo last change for makecontext.
22518 2011-11-11 Andreas Schwab <schwab@redhat.com>
22520 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22522 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22523 * setjmp/setjmp.h: Mark functions as non-leaf.
22524 * setjmp/bits/setjmp2.h: Likewise.
22525 * stdlib/ucontext.h: Likewise.
22527 2011-11-10 Andreas Schwab <schwab@redhat.com>
22529 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22530 (reused_arena): Don't check arena limit.
22531 (arena_get2): Atomically check arena limit.
22533 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22535 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22536 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22541 2011-11-07 Andreas Schwab <schwab@redhat.com>
22543 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22544 handler when locking.
22546 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22547 Fix size of allocated buffer.
22549 2011-11-04 Andreas Schwab <schwab@redhat.com>
22552 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22553 declarations for long double functions.
22554 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22556 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22558 2011-11-03 Andreas Schwab <schwab@redhat.com>
22560 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22563 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22566 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22568 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22570 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22572 * include/alloca.h (stackinfo_alloca_round): Define.
22573 (extend_alloca): Use it.
22574 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22575 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22578 * scripts/check-local-headers.sh: Ignore libaudit.h.
22580 * nscd/Makefile (extra-objs): Make recursively expanded.
22582 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22584 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22585 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22587 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22588 * posix/tst-rfc3484-2.c: Likewise.
22589 * posix/tst-rfc3484-3.c: Likewise.
22591 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22593 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22595 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22596 process_vm_writev from libc using GLIBC_2.15 version.
22598 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22600 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22602 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22605 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22608 * nss/getent.c (initgroups_keys): Show error message in case no group
22611 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22612 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22613 __bump_nl_timestamp.
22614 * nscd/connections (nscd_init): When host database is served open
22615 netlink socket and request notification about configuration changes.
22616 (main_loop_poll): Track netlink file descriptor and bump timestamp
22617 in case data becomes available.
22618 (main_loop_epoll): Likewise.
22619 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22620 (database_pers_head): Add extra_data fileds.
22621 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22622 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22623 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22625 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22626 in6ai data, call __free_in6ai.
22627 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22628 Add -DHAVE_NETLINK.
22629 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22630 interface information. Reuse previous data if netlink timestamp
22632 (__bump_nl_timestamp): New function.
22633 (__free_in6ai): New function.
22635 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22637 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22638 close_not_cancel_no_status here.
22639 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22641 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22644 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22647 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22648 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22649 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22651 2011-07-03 Andreas Jaeger <aj@suse.de>
22654 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22655 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22656 * math/libm-test.inc (sin_test): Add test case.
22658 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22661 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22662 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22664 * elf/chroot_canon.c (chroot_canon): Cleanups.
22666 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22669 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22670 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22672 * string/test-strchr.c: Make usable for strchrnul testing.
22673 * string/test-strchrnul.c: New file.
22674 * string/Makefile (strop-tests): Add strchrnul.
22676 * po/it.po: Update from translation team.
22677 * po/es.po: Likewise.
22679 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22681 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22682 the three constants needed as parameters. Drop the others.
22683 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22684 __m128i_strloadu_tolower.
22685 Create and initialize variable zero and use it in all the places
22686 where _mm_setzero_si128 was used.
22688 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22689 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22690 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22691 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22693 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22694 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22695 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22696 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22697 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22698 __mpranred, __mptan.
22699 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22700 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22701 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22702 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22703 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22704 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22705 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22706 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22707 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22709 2011-10-28 Andreas Schwab <schwab@redhat.com>
22711 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22712 redefine if SHARED.
22713 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22716 wide char related routines to wcsmbs subdir.
22718 2011-10-27 Andreas Schwab <schwab@redhat.com>
22721 * misc/sys/cdefs.h (__THROWNL): Define.
22722 * posix/unistd.h: Use __THREADNL instead of __THREAD
22723 for memory synchronization functions.
22725 2011-10-26 Roland McGrath <roland@hack.frob.com>
22728 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22730 * manual/stdio.texi (Obstack Streams): Node removed.
22732 2011-10-26 Andreas Schwab <schwab@redhat.com>
22734 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22735 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22736 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22738 * math/math_private.h (math_force_eval): Allow non-addressable
22740 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22742 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22744 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22745 file is not needed.
22747 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22748 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22749 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22750 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22751 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22752 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22753 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22754 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22756 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22757 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22758 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22759 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22760 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22761 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22762 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22763 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22764 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22765 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22766 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22767 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22768 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22769 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22770 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22771 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22772 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22773 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22774 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22776 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22777 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22779 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22780 place. Use VEX encoding when compiling for AVX.
22782 2011-10-25 Andreas Schwab <schwab@redhat.com>
22784 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22785 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22787 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22789 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22791 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22792 useless if() expression.
22793 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22794 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22795 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22796 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22797 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22798 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22799 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22800 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22801 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22802 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22803 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22804 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22805 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22806 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22807 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22808 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22809 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22811 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22813 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22815 2011-10-25 Andreas Schwab <schwab@redhat.com>
22817 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22819 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22821 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22823 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22824 .text section. Avoid duplicate constants.
22825 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22827 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22829 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22830 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22831 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22833 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22834 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22835 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22836 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22837 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22838 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22839 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22840 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22841 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22842 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22843 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22844 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22845 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22846 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22847 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22848 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22849 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22850 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22851 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22852 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22853 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22854 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22855 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22856 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22857 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22858 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22859 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22860 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22861 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22862 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22863 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22864 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22865 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22866 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22867 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22868 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22869 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22871 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22873 * sysdeps/x86_64/dla.h: Move to ...
22874 * sysdeps/x86_64/fpu/dla.h: ...here.
22875 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22876 situations. Use __builtin_fma only for gcc 4.6 and up.
22878 * config.make.in: Add have-mfma4 entry.
22879 * configure.in: Substitute libc_cv_cc_fma4.
22880 * math/Makefile (dbl-only-routines): Add sincostab.
22881 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22882 Use __sincostab not sincos.
22883 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22885 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22886 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22887 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22890 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22891 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22892 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22893 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22895 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22896 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22898 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22899 define aliases when function name is a macro.
22900 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22901 sysdeps/ieee754/dbl-64/sincos.tbl.
22902 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22903 fma4-enabled routines.
22904 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22905 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22906 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22907 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22908 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22909 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22910 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22911 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22912 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22913 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22914 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22915 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22916 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22917 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22918 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22919 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22920 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22921 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22922 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22923 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22924 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22925 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22926 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22927 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22928 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22929 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22930 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22931 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22932 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22933 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22935 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22939 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22943 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22944 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22946 2011-10-24 Andreas Schwab <schwab@redhat.com>
22948 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22950 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22952 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22954 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22956 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22958 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22959 Remove unused variable magic_bits.
22960 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22962 * string/strnlen.c: Define and use STRNLEN macro.
22963 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22964 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22965 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22966 * wcsmbs/wcslen.c: Define and use WCSLEN.
22967 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22968 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22969 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22970 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22971 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22972 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22973 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22975 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22978 strnlen-sse2-no-bsf.
22979 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22980 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22981 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22982 Add strnlen support.
22983 (USE_AS_STRNLEN): New macro.
22984 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22985 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22986 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22987 * sysdeps/x86_64/wcslen.S: New file.
22989 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22991 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22992 XMM-moves are used for copying on small sizes.
22994 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22996 * wcsmbs/Makefile (strop-tests): Add wcschr.
22997 * wcsmbs/test-wcschr.c: New file.
22998 * string/test-strchr.c: Update.
22999 Add wcschr support.
23002 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23004 * wcsmbs/Makefile (strop-tests): Add wcslen.
23005 * wcsmbs/test-wcslen.c: New file.
23006 * string/test-strlen.c: Update.
23007 Add wcslen support.
23010 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23012 * po/it.po: Update from translation team.
23014 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23016 * sysdeps/x86_64/wcscmp.S: Update.
23017 Fix wrong comparison semantics.
23018 wcscmp shall use signed comparison not unsigned.
23019 Don't use substraction to avoid overflow bug.
23020 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23021 * wcsmbc/wcscmp.c: Likewise.
23022 * string/test-strcmp.c: Likewise.
23023 Add new tests to check cases with negative values.
23025 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23027 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23028 * sysdeps/x86_64/dla.h: ...here. New file.
23029 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23039 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23042 __ynl_finite aliases.
23044 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23048 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23050 [DLA_FMA] (EMULV): Use DLA_FMA.
23051 [DLA_FMA] (MUL12): Use EMULV.
23052 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23053 that are not needed.
23054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23059 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23060 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23062 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23064 * math/s_nan.c: Undef __nan.
23065 * math/s_nanf.c: Undef __nanf.
23066 * math/s_nanl.c: Undef __nanl.
23067 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23070 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23072 * math/s_catan.c: Add branch predictions.
23073 * math/s_catanf.c: Likewise.
23074 * math/s_catanh.c: Likewise.
23075 * math/s_catanhf.c: Likewise.
23076 * math/s_catanhl.c: Likewise.
23077 * math/s_catanl.c: Likewise.
23078 * math/s_cexp.c: Likewise.
23079 * math/s_cexpf.c: Likewise.
23080 * math/s_cexpl.c: Likewise.
23081 * math/s_clog.c: Likewise.
23082 * math/s_clog10.c: Likewise.
23083 * math/s_clog10f.c: Likewise.
23084 * math/s_clog10l.c: Likewise.
23085 * math/s_clogf.c: Likewise.
23086 * math/s_clogl.c: Likewise.
23087 * math/s_csqrt.c: Likewise.
23088 * math/s_csqrtf.c: Likewise.
23089 * math/s_csqrtl.c: Likewise.
23090 * math/s_ctanf.c: Likewise.
23091 * math/s_ctanh.c: Likewise.
23092 * math/s_ctanhf.c: Likewise.
23093 * math/s_ctanhl.c: Likewise.
23094 * math/s_ctanl.c: Likewise.
23096 * math/math_private.h: Define __nan, __nanf, __nanl.
23097 * math/s_cacosh.c: Include <math_private.h>.
23098 * math/s_cacoshl.c: Likewise.
23099 * math/s_casinh.c: Likewise.
23100 * math/s_casinhf.c: Likewise.
23101 * math/s_casinhl.c: Likewise.
23102 * math/s_ccos.c: Rely entire on ccosh.
23103 * math/s_ccosf.c: Rely entire on ccoshf.
23104 * math/s_ccosl.c: Rely entirely on ccoshl.
23105 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23106 Remove tests for FE_INVALID.
23107 * math/s_ccoshf.c: Likewise.
23108 * math/s_ccoshl.c: Likewise.
23109 * math/s_csin.c: Likewise.
23110 * math/s_csinf.c: Likewise.
23111 * math/s_csinh.c Likewise.
23112 * math/s_csinhf.c: Likewise.
23113 * math/s_csinhl.c: Likewise.
23114 * math/s_csinl.c: Likewise.
23115 * math/s_ctan.c: Likewise.
23116 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23117 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23118 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23120 2011-10-21 Ulrich Drepper <drepper@gmail.com>
23122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23123 compilation problems.
23125 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23128 2011-10-20 Ulrich Drepper <drepper@gmail.com>
23130 * sysdeps/i386/configure.in: Test for -mfma4 option.
23131 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23132 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23133 COMMON_CPUID_INDEX_80000001.
23134 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23135 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23136 use it if FMA3 is not supported.
23137 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23139 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23140 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23142 2011-10-20 Andreas Schwab <schwab@redhat.com>
23145 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23146 it would create a cycle with a link time dependency.
23148 2011-10-19 Ulrich Drepper <drepper@gmail.com>
23150 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23152 * string/Makefile (strop-tests): Add rawmemchr.
23153 * string/test-rawmemchr.c: New file.
23155 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23156 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23157 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23158 when compiling str{,n}casecmp and when AVX is available. Hook up
23159 new optimized code in initializers.
23161 2011-10-19 Andreas Schwab <schwab@redhat.com>
23163 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23164 __feraiseexcept instead of feraiseexcept.
23166 2011-10-18 Ulrich Drepper <drepper@gmail.com>
23168 * math/math_private.h: Define defaults for libc_fetestexcept and
23170 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23171 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23172 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23173 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23174 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23175 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23176 libc_fetestexcept and libc_feupdateenv.
23178 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23179 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23180 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23181 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23182 libc_feholdexcept_setround.
23184 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23185 Add s_nearbyint-c and s_nearbyintf-c.
23186 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23187 nearbyintf inlines.
23188 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23189 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23190 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23191 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23193 * math/math_private.h: Define defaults for libc_fegetround,
23194 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23195 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23196 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23197 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23198 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23199 standard functions.
23200 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23201 Remove comments and hacks for old compiler versions.
23202 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23203 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23204 libc_feholdexceptl.
23206 2011-10-18 Andreas Schwab <schwab@redhat.com>
23208 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23209 (__feraiseexcept_renamed): Add __NTH.
23210 (feraiseexcept): Add __NTH. Rename local variables to fix
23211 namespace violations.
23213 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23215 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23217 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23219 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23220 recently added interfaces.
23221 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23223 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23224 about macro parameter expansion.
23226 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23227 __NO_MATH_INLINES is defined. Cleanups.
23229 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23230 and __floorf is target has SSE4.1.
23231 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23232 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23233 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23234 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23236 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23238 (floorf): Likewise.
23240 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23242 2011-10-17 Andreas Schwab <schwab@redhat.com>
23244 * misc/sys/cdefs.h: Fix last change.
23246 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23249 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23251 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23253 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23254 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23255 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23256 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23257 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23258 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23259 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23260 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23261 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23262 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23263 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23264 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23265 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23266 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23267 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23268 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23269 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23270 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23271 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23272 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23273 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23274 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23276 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23277 ceil, ceilf, floor, floorf.
23279 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23280 Perform IRELATIVE relocations last.
23282 * elf/do-rel.h: Add another parameter nrelative, replacing the
23283 local variable with the same name. Change name of the function
23284 to end in Rel or Rela (uppercase).
23285 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23286 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23287 elf_dynamic_do_##reloc function.
23289 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23291 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23292 is sufficient, at least on modern CPUs.
23294 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23296 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23297 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23299 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23301 * math/bits/math-finite.h: Add entries for exp.
23302 * math/e_expl.c: Add __*_finite alias.
23303 * sysdeps/i386/fpu/e_exp.S: Likewise.
23304 * sysdeps/i386/fpu/e_expf.S: Likewise.
23305 * sysdeps/i386/fpu/e_expl.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23307 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23309 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23311 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23312 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23314 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23315 is sufficient, at least on modern CPUs.
23317 * ctype/ctype-info.c (__ctype_init): Define.
23318 * include/ctype.h (__ctype_init): Declare.
23319 (__ctype_b_loc): The variable is always initialized.
23320 (__ctype_toupper_loc): Likewise.
23321 (__ctype_tolower_loc): Likewise.
23322 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23323 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23325 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23327 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23329 * configure.in: Also look in $cxxmachine/include for C++ system
23332 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23334 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23335 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23336 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23337 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23338 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23339 (USE_AS_WMEMCMP): New macro.
23341 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23342 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23343 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23344 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23346 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23347 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23348 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23349 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23350 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23351 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23352 (USE_AS_WMEMCMP): New macro.
23353 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23354 * sysdeps/string/test-memcmp.c: Update.
23355 Fix simple_wmemcmp.
23357 * wcsmbs/wmemcmp.c: Update.
23358 (WMEMCMP): New macro.
23361 2011-10-12 Andreas Jaeger <aj@suse.de>
23364 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23366 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23368 * libio/iofwide.c (do_length): Avoid warning.
23370 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23372 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23374 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23376 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23377 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23378 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23379 * sysdeps/i386/i686/fpu/e_log.S: New file.
23380 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23381 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23383 * ctype/ctype.h: Add support for inlined isXXX functions when
23384 compiling C++ code.
23386 2011-10-14 Andreas Schwab <schwab@redhat.com>
23388 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23390 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23392 2011-10-13 Roland McGrath <roland@hack.frob.com>
23395 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23397 2011-10-13 Andreas Schwab <schwab@redhat.com>
23399 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23400 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23403 * sysdeps/x86_64/memrchr.S: Check for zero size.
23405 * string/stratcliff.c: Add memrchr tests.
23407 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23410 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23411 rawmemchr-sse2 rawmemchr-sse2-bsf.
23412 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23413 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23414 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23415 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23416 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23417 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23418 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23419 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23420 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23421 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23422 * string/memrchr.c (MEMRCHR): New macro.
23424 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23426 Add integration with gcc's -ffinite-math-only and optimize wrapper
23428 * Versions.def: Define GLIBC_2.15 version for libm.
23429 * math/Makefile (headers): Add bits/math-finite.h.
23430 * math/bits/math-finite.h: New file.
23431 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23432 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23433 * math/e_acoshl.c: Add __*_finite alias.
23434 * math/e_acosl.c: Likewise.
23435 * math/e_asinl.c: Likewise.
23436 * math/e_atan2l.c: Likewise.
23437 * math/e_atanhl.c: Likewise.
23438 * math/e_coshl.c: Likewise.
23439 * math/e_exp10.c: Likewise.
23440 * math/e_exp10f.c: Likewise.
23441 * math/e_exp10l.c: Likewise.
23442 * math/e_exp2l.c: Likewise.
23443 * math/e_fmodl.c: Likewise.
23444 * math/e_gammal_r.c: Likewise.
23445 * math/e_hypotl.c: Likewise.
23446 * math/e_j0l.c: Likewise.
23447 * math/e_j1l.c: Likewise.
23448 * math/e_jnl.c: Likewise.
23449 * math/e_lgammal_r.c: Likewise.
23450 * math/e_log10l.c: Likewise.
23451 * math/e_log2l.c: Likewise.
23452 * math/e_logl.c: Likewise.
23453 * math/e_powl.c: Likewise.
23454 * math/e_sinhl.c: Likewise.
23455 * math/e_sqrtl.c: Likewise.
23456 * math/e_scalb.c: Completely rewritten and optimized.
23457 * math/e_scalbf.c: Likewise.
23458 * math/e_scalbl.c: Likewise.
23459 * math/w_acos.c: Likewise.
23460 * math/w_acosf.c: Likewise.
23461 * math/w_acosl.c: Likewise.
23462 * math/w_acosh.c: Likewise.
23463 * math/w_acoshf.c: Likewise.
23464 * math/w_acoshl.c: Likewise.
23465 * math/w_asin.c: Likewise.
23466 * math/w_asinf.c: Likewise.
23467 * math/w_asinl.c: Likewise.
23468 * math/w_atan2.c: Likewise.
23469 * math/w_atan2f.c: Likewise.
23470 * math/w_atan2l.c: Likewise.
23471 * math/w_atanh.c: Likewise.
23472 * math/w_atanhf.c: Likewise.
23473 * math/w_atanhl.c: Likewise.
23474 * math/w_exp10.c: Likewise.
23475 * math/w_exp10f.c: Likewise.
23476 * math/w_exp10l.c: Likewise.
23477 * math/w_fmod.c: Likewise.
23478 * math/w_fmodf.c: Likewise.
23479 * math/w_fmodl.c: Likewise.
23480 * math/w_j0.c: Likewise.
23481 * math/w_j0f.c: Likewise.
23482 * math/w_j0l.c: Likewise.
23483 * math/w_j1.c: Likewise.
23484 * math/w_j1f.c: Likewise.
23485 * math/w_j1l.c: Likewise.
23486 * math/w_jn.c: Likewise.
23487 * math/w_jnf.c: Likewise.
23488 * math/w_log.c: Likewise.
23489 * math/w_logf.c: Likewise.
23490 * math/w_logl.c: Likewise.
23491 * math/w_log10.c: Likewise.
23492 * math/w_log10f.c: Likewise.
23493 * math/w_log10l.c: Likewise.
23494 * math/w_log2.c: Likewise.
23495 * math/w_log2f.c: Likewise.
23496 * math/w_log2l.c: Likewise.
23497 * math/w_pow.c: Likewise.
23498 * math/w_powf.c: Likewise.
23499 * math/w_powl.c: Likewise.
23500 * math/w_remainder.c: Likewise.
23501 * math/w_remainderf.c: Likewise.
23502 * math/w_remainderl.c: Likewise.
23503 * math/w_scalb.c: Likewise.
23504 * math/w_scalbf.c: Likewise.
23505 * math/w_scalbl.c: Likewise.
23506 * math/w_sqrt.c: Likewise.
23507 * math/w_sqrtf.c: Likewise.
23508 * math/w_sqrtl.c: Likewise.
23509 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23510 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23512 * math/math_private.h: Declare __kernel_standard_f.
23513 * math/w_cosh.c: Remove cruft and optimize a bit.
23514 * math/w_coshf.c: Likewise.
23515 * math/w_coshl.c: Likewise.
23516 * math/w_exp2.c: Likewise.
23517 * math/w_exp2f.c: Likewise.
23518 * math/w_exp2l.c: Likewise.
23519 * math/w_hypot.c: Likewise.
23520 * math/w_hypotf.c: Likewise.
23521 * math/w_hypotl.c: Likewise.
23522 * math/w_lgamma.c: Likewise.
23523 * math/w_lgamma_r.c: Likewise.
23524 * math/w_lgammaf.c: Likewise.
23525 * math/w_lgammaf_r.c: Likewise.
23526 * math/w_lgammal.c: Likewise.
23527 * math/w_lgammal_r.c: Likewise.
23528 * math/w_sinh.c: Likewise.
23529 * math/w_sinhf.c: Likewise.
23530 * math/w_sinhl.c: Likewise.
23531 * math/w_tgamma.c: Likewise.
23532 * math/w_tgammaf.c: Likewise.
23533 * math/w_tgammal.c: Likewise.
23534 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23535 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23536 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23537 Minor optimizations. Pretty printing. Remove cruft.
23538 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23539 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23540 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23541 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23542 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23543 * sysdeps/i386/fpu/e_asin.S: Likewise.
23544 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23545 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23546 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23547 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23548 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23549 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23550 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23551 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23552 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23553 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23554 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23555 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23556 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23557 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23558 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23559 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23560 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23561 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23562 * sysdeps/i386/fpu/e_log.S: Likewise.
23563 * sysdeps/i386/fpu/e_log10.S: Likewise.
23564 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23565 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23566 * sysdeps/i386/fpu/e_log2.S: Likewise.
23567 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23568 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23569 * sysdeps/i386/fpu/e_logf.S: Likewise.
23570 * sysdeps/i386/fpu/e_logl.S: Likewise.
23571 * sysdeps/i386/fpu/e_pow.S: Likewise.
23572 * sysdeps/i386/fpu/e_powf.S: Likewise.
23573 * sysdeps/i386/fpu/e_powl.S: Likewise.
23574 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23575 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23576 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23577 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23578 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23579 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23580 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23581 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23582 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23583 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23584 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23586 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23587 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23588 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23589 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23590 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23591 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23592 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23593 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23594 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23596 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23597 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23599 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23600 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23601 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23602 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23603 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23604 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23605 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23606 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23607 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23608 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23609 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23610 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23611 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23612 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23613 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23614 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23615 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23616 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23617 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23618 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23619 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23620 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23621 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23622 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23623 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23624 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23629 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23633 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23635 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23636 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23637 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23638 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23639 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23640 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23641 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23643 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23644 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23646 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23648 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23649 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23650 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23651 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23652 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23653 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23654 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23655 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23656 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23658 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23659 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23663 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23664 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23665 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23666 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23668 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23669 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23670 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23671 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23672 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23673 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23674 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23675 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23676 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23677 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23678 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23679 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23680 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23681 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23682 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23683 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23684 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23685 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23686 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23687 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23688 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23689 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23690 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23691 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23692 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23693 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23694 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23695 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23696 (__isnanf): Likewise.
23697 (__isinf_ns): Likewise.
23698 (__isinf_nsf): Likewise.
23699 (__finite): Likewise.
23700 (__finitef): Likewise.
23701 (__ieee754_sqrt): Define as macro.
23702 (__ieee754_sqrtf): Define as macro.
23703 (__ieee754_sqrtl): Define as macro.
23704 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23706 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23707 __FINITE_MATH_ONLY__ consistent.
23708 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23710 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23712 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23715 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23717 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23719 * po/ja.po: Update from translation team.
23721 2011-10-08 Roland McGrath <roland@hack.frob.com>
23723 * locale/programs/locarchive.c (prepare_address_space): New function.
23724 (create_archive, enlarge_archive, open_archive): Use it.
23726 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23727 inside [SHARED], where it is used.
23729 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23731 * nss/getent.c (netgroup_keys): Remove unused variable.
23732 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23734 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23736 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23737 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23739 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23740 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23741 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23742 * math/Makefile (libm-calls): Add s_isinf_ns.
23743 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23744 * math/multc3.c: Likewise.
23745 * math/s_casin.c: Likewise.
23746 * math/s_casinf.c: Likewise.
23747 * math/s_casinl.c: Likewise.
23748 * math/s_ccos.c: Likewise.
23749 * math/s_ccosf.c: Likewise.
23750 * math/s_ccosl.c: Likewise.
23751 * math/s_ctan.c: Likewise.
23752 * math/s_ctanf.c: Likewise.
23753 * math/s_ctanh.c: Likewise.
23754 * math/s_ctanhf.c: Likewise.
23755 * math/s_ctanhl.c: Likewise.
23756 * math/s_ctanl.c: Likewise.
23757 * math/w_fmod.c: Likewise.
23758 * math/w_fmodf.c: Likewise.
23759 * math/w_fmodl.c: Likewise.
23760 * math/w_remainder.c: Likewise.
23761 * math/w_remainderf.c: Likewise.
23762 * math/w_remainderl.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23764 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23765 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23767 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23768 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23769 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23770 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23772 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23774 * stdio-common/printf_fphex.c: Likewise.
23775 * stdio-common/printf_size.c: Likewise.
23777 * math/e_exp10.c: Include math_private.h using <...> not "...".
23778 * math/e_exp10f.c: Likewise.
23779 * math/e_exp10l.c: Likewise.
23780 * math/e_exp2l.c: Likewise.
23781 * math/e_j0l.c: Likewise.
23782 * math/e_j1l.c: Likewise.
23783 * math/e_jnl.c: Likewise.
23784 * math/e_lgammal_r.c: Likewise.
23785 * math/e_rem_pio2l.c: Likewise.
23786 * math/e_scalb.c: Likewise.
23787 * math/e_scalbf.c: Likewise.
23788 * math/e_scalbl.c: Likewise.
23789 * math/k_cosl.c: Likewise.
23790 * math/k_sinl.c: Likewise.
23791 * math/k_tanl.c: Likewise.
23792 * math/s_cacoshf.c: Likewise.
23793 * math/s_catan.c: Likewise.
23794 * math/s_catanf.c: Likewise.
23795 * math/s_catanh.c: Likewise.
23796 * math/s_catanhf.c: Likewise.
23797 * math/s_catanhl.c: Likewise.
23798 * math/s_catanl.c: Likewise.
23799 * math/s_ccosh.c: Likewise.
23800 * math/s_ccoshf.c: Likewise.
23801 * math/s_ccoshl.c: Likewise.
23802 * math/s_cexp.c: Likewise.
23803 * math/s_cexpf.c: Likewise.
23804 * math/s_cexpl.c: Likewise.
23805 * math/s_clog.c: Likewise.
23806 * math/s_clog10.c: Likewise.
23807 * math/s_clog10f.c: Likewise.
23808 * math/s_clog10l.c: Likewise.
23809 * math/s_clogf.c: Likewise.
23810 * math/s_clogl.c: Likewise.
23811 * math/s_csin.c: Likewise.
23812 * math/s_csinf.c: Likewise.
23813 * math/s_csinh.c: Likewise.
23814 * math/s_csinhf.c: Likewise.
23815 * math/s_csinhl.c: Likewise.
23816 * math/s_csinl.c: Likewise.
23817 * math/s_csqrt.c: Likewise.
23818 * math/s_csqrtf.c: Likewise.
23819 * math/s_csqrtl.c: Likewise.
23820 * math/s_ctan.c: Likewise.
23821 * math/s_ctanf.c: Likewise.
23822 * math/s_ctanh.c: Likewise.
23823 * math/s_ctanhf.c: Likewise.
23824 * math/s_ctanhl.c: Likewise.
23825 * math/s_ctanl.c: Likewise.
23826 * math/s_ldexp.c: Likewise.
23827 * math/s_ldexpf.c: Likewise.
23828 * math/s_ldexpl.c: Likewise.
23829 * math/s_significand.c: Likewise.
23830 * math/s_significandf.c: Likewise.
23831 * math/s_significandl.c: Likewise.
23832 * math/w_acos.c: Likewise.
23833 * math/w_acosf.c: Likewise.
23834 * math/w_acosh.c: Likewise.
23835 * math/w_acoshf.c: Likewise.
23836 * math/w_acoshl.c: Likewise.
23837 * math/w_acosl.c: Likewise.
23838 * math/w_asin.c: Likewise.
23839 * math/w_asinf.c: Likewise.
23840 * math/w_asinl.c: Likewise.
23841 * math/w_atan2.c: Likewise.
23842 * math/w_atan2f.c: Likewise.
23843 * math/w_atan2l.c: Likewise.
23844 * math/w_atanh.c: Likewise.
23845 * math/w_atanhf.c: Likewise.
23846 * math/w_atanhl.c: Likewise.
23847 * math/w_cosh.c: Likewise.
23848 * math/w_coshf.c: Likewise.
23849 * math/w_coshl.c: Likewise.
23850 * math/w_dremf.c: Likewise.
23851 * math/w_exp10.c: Likewise.
23852 * math/w_exp10f.c: Likewise.
23853 * math/w_exp10l.c: Likewise.
23854 * math/w_exp2.c: Likewise.
23855 * math/w_exp2f.c: Likewise.
23856 * math/w_fmod.c: Likewise.
23857 * math/w_fmodf.c: Likewise.
23858 * math/w_fmodl.c: Likewise.
23859 * math/w_hypot.c: Likewise.
23860 * math/w_hypotf.c: Likewise.
23861 * math/w_hypotl.c: Likewise.
23862 * math/w_j0.c: Likewise.
23863 * math/w_j0f.c: Likewise.
23864 * math/w_j0l.c: Likewise.
23865 * math/w_j1.c: Likewise.
23866 * math/w_j1f.c: Likewise.
23867 * math/w_j1l.c: Likewise.
23868 * math/w_jn.c: Likewise.
23869 * math/w_jnf.c: Likewise.
23870 * math/w_jnl.c: Likewise.
23871 * math/w_lgamma.c: Likewise.
23872 * math/w_lgamma_r.c: Likewise.
23873 * math/w_lgammaf.c: Likewise.
23874 * math/w_lgammaf_r.c: Likewise.
23875 * math/w_lgammal.c: Likewise.
23876 * math/w_lgammal_r.c: Likewise.
23877 * math/w_log.c: Likewise.
23878 * math/w_log10.c: Likewise.
23879 * math/w_log10f.c: Likewise.
23880 * math/w_log10l.c: Likewise.
23881 * math/w_log2.c: Likewise.
23882 * math/w_log2f.c: Likewise.
23883 * math/w_log2l.c: Likewise.
23884 * math/w_logf.c: Likewise.
23885 * math/w_logl.c: Likewise.
23886 * math/w_pow.c: Likewise.
23887 * math/w_powf.c: Likewise.
23888 * math/w_powl.c: Likewise.
23889 * math/w_remainder.c: Likewise.
23890 * math/w_remainderf.c: Likewise.
23891 * math/w_remainderl.c: Likewise.
23892 * math/w_scalb.c: Likewise.
23893 * math/w_scalbf.c: Likewise.
23894 * math/w_scalbl.c: Likewise.
23895 * math/w_sinh.c: Likewise.
23896 * math/w_sinhf.c: Likewise.
23897 * math/w_sinhl.c: Likewise.
23898 * math/w_sqrt.c: Likewise.
23899 * math/w_sqrtf.c: Likewise.
23900 * math/w_sqrtl.c: Likewise.
23901 * math/w_tgamma.c: Likewise.
23902 * math/w_tgammaf.c: Likewise.
23903 * math/w_tgammal.c: Likewise.
23905 * po/ja.po: Update from translation team.
23907 2011-09-29 Andreas Jaeger <aj@suse.de>
23910 * sunrpc/netname.c (netname2host): Fix logic.
23914 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23916 * math/w_remainder.c (__remainder): Likewise.
23917 * math/w_remainderf.c (__remainderf): Likewise.
23918 * math/libm-test.inc (remainder_test): Add test cases.
23920 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23922 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23925 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23927 * string/test-memcmp.c: Avoid unncessary #defines.
23928 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23930 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23932 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23933 Use new sse2 version for core i3 - i7 as it's faster
23934 than sse42 version.
23935 (bit_Prefer_PMINUB_for_stringop): New.
23936 * sysdeps/x86_64/rawmemchr.S: Update.
23937 Replace with faster SSE2 version.
23938 * sysdeps/x86_64/memrchr.S: New file.
23939 * sysdeps/x86_64/memchr.S: Update.
23940 Replace with faster SSE2 version.
23942 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23944 * elf/dl-load.c (lose): Add cast to avoid warning.
23946 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23948 * po/ca.po: Update from translation team.
23950 * inet/getnetgrent_r.c: Hook up nscd.
23951 * nscd/Makefile (routines): Add nscd_netgroup.
23952 (nscd-modules): Add netgroupcache.
23953 (CFLAGS-netgroupcache.c): Define.
23954 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23955 (cache_search): Add const to second parameter.
23956 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23958 (dbs): Add netgrdb entry.
23959 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23960 (verify_persistent_db): Handle netgrdb.
23961 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23962 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23964 (netgroup_response_header): Define.
23965 (innetgroup_response_header): Define.
23966 (datahead): Add netgroup_response_header and innetgroup_response_header
23968 * nscd/nscd.conf: Add entries for netgroup cache.
23969 * nscd/nscd.h (dbtype): Add netgrdb.
23970 (_PATH_NSCD_NETGROUP_DB): Define.
23971 (netgroup_iov_disabled): Declare.
23972 (xmalloc, xcalloc, xrealloc): Move declarations here.
23973 (cache_search): Adjust prototype.
23974 Add netgroup-related prototypes.
23975 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23976 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23977 (__nscd_innetgr): Declare.
23978 * nscd/selinux.c (perms): Use access_vector_t as element type and
23979 add netgroup-related initializers.
23980 * nscd/netgroupcache.c: New file.
23981 * nscd/nscd_netgroup.c: New file.
23982 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23983 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23984 For four parameters use innetgr.
23985 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23986 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23987 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23988 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23990 * nscd/connections.c (register_traced_file): Don't register file
23991 for disabled databases.
23993 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23995 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23997 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23998 from tree and freeing node.
24000 2011-09-25 Jiri Olsa <jolsa@redhat.com>
24002 * nss/nsswitch.c (__nss_database_lookup): Handle
24003 nss_parse_service_list out of memory case.
24005 2011-09-15 Jiri Olsa <jolsa@redhat.com>
24007 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24008 out of memory case.
24010 2011-10-04 Andreas Schwab <schwab@redhat.com>
24012 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24013 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24015 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24016 elf_machine_rela, elf_machine_lazy_rel.
24017 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24018 (ELF_DYNAMIC_DO_REL): Likewise.
24019 (ELF_DYNAMIC_DO_RELA): Likewise.
24020 (ELF_DYNAMIC_RELOCATE): Likewise.
24021 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24022 to ELF_DYNAMIC_DO_REL.
24023 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24024 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24025 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24027 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24028 skip_ifunc, don't call ifunc function if non-zero.
24029 (elf_machine_rela): Likewise.
24030 (elf_machine_lazy_rel): Likewise.
24031 (elf_machine_lazy_rela): Likewise.
24032 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24033 (elf_machine_lazy_rel): Likewise.
24034 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24036 (elf_machine_lazy_rel): Likewise.
24037 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24039 (elf_machine_lazy_rel): Likewise.
24040 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24041 (elf_machine_lazy_rel): Likewise.
24042 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24043 (elf_machine_lazy_rel): Likewise.
24044 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24045 (elf_machine_lazy_rel): Likewise.
24046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24047 (elf_machine_lazy_rel): Likewise.
24048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24049 (elf_machine_lazy_rel): Likewise.
24050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24051 (elf_machine_lazy_rel): Likewise.
24053 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24055 * nss/nss_files/files-init.c (_nss_files_init): Use static
24056 initialization for all the *_traced_file variables.
24058 2011-09-28 Andreas Schwab <schwab@redhat.com>
24060 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24062 2011-09-27 Roland McGrath <roland@hack.frob.com>
24065 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24067 2011-09-27 Andreas Schwab <schwab@redhat.com>
24069 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24070 Reread the line before reparsing it.
24072 2011-09-26 Andreas Schwab <schwab@redhat.com>
24074 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24076 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24077 Maxim Kuvyrkov <maxim@codesourcery.com>
24078 Joseph Myers <joseph@codesourcery.com>
24080 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24081 if needed for __stack_chk_guard.
24083 2011-09-19 Roland McGrath <roland@hack.frob.com>
24085 * sysdeps/posix/spawni.c (script_execute): Always define it.
24086 It will be optimized away if unused.
24087 (maybe_script_execute): New function.
24088 (__spawni): Call it.
24090 * Makerules: Don't include tls.make.
24091 (config-tls): Always set to thread.
24092 * tls.make.c: File removed.
24094 2011-09-19 Mike Frysinger <vapier@gentoo.org>
24096 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24097 * config.make.in (CPPFLAGS-config): New substituted variable.
24099 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24101 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24104 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24105 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24107 2011-09-15 Roland McGrath <roland@hack.frob.com>
24109 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24110 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24111 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24112 (CALL_FAIL): Likewise.
24113 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24114 (CALL_FAIL): Macro removed.
24115 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24117 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24119 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24120 for __FINITE_MATH_ONLY__ == 1.
24122 2011-09-15 Andreas Schwab <schwab@redhat.com>
24124 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24125 __ieee754_sqrt instead of sqrt.
24126 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24127 __ieee754_sqrtf instead of sqrtf.
24128 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24129 __floorf instead of floorf.
24130 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24131 __floorf, __truncf instead of floorf, truncf.
24133 2011-09-14 Ulrich Drepper <drepper@gmail.com>
24135 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24137 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24138 __extern_always_inline.
24139 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24142 2011-09-14 Andreas Schwab <schwab@redhat.com>
24144 * elf/rtld.c (dl_main): Also relocate in dependency order when
24145 doing symbol dependency testing.
24147 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24150 Always define `refsym'.
24152 2011-09-13 Andreas Schwab <schwab@redhat.com>
24154 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24155 (__FD_ELT): Renamed from __FDELT.
24156 * misc/bits/select2.h (__FD_ELT): Likewise.
24157 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24158 __FD_MASK instead of __FDELT, __FDMASK.
24159 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24161 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24164 * elf/Makefile (gen-ldd): Fix pattern.
24166 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24167 (init_tls): Likewise.
24169 2011-09-12 Ulrich Drepper <drepper@gmail.com>
24171 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24173 2011-09-12 Andreas Schwab <schwab@redhat.com>
24175 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24176 `struct cmsghdr *' instead of `void *'.
24177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24180 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24182 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24184 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24185 ldd_rewrite_script.
24187 2011-09-11 Ulrich Drepper <drepper@gmail.com>
24189 * configure.in: Remove --with-tls option.
24190 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24191 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24192 out in case it is missing.
24193 * sysdeps/ia64/elf/configure.in: Likewise.
24194 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24195 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24196 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24197 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24198 * sysdeps/sh/elf/configure.in: Likewise.
24199 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24200 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24201 * sysdeps/x86_64/elf/configure.in: Likewise.
24202 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24203 * sysdeps/mach/hurd/tls.h: Likewise.
24206 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24209 * configure.in: Fix use of AC_INIT.
24211 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24213 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24215 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24217 * malloc/hooks.c: Likewise.
24220 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24221 variables statically.
24222 (narenas): Initialize.
24223 (list_lock): Initialize.
24224 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24225 initializtion of main_arena and list_lock. Small cleanups.
24226 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24227 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24228 Add initializers to main_arena and mp_.
24229 (malloc_state): Remove pagesize member. Change all users to use
24232 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24233 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24234 is always initialized.
24236 * malloc/malloc.c: Removed unused configurations and dead code.
24237 * malloc/arena.c: Likewise.
24238 * malloc/hooks.c: Likewise.
24239 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24241 * include/tls.h: Removed. USE___THREAD must always be defined.
24242 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24243 * elf/dl-libc.c: Likewise.
24244 * elf/dl-tsd.c: Likewise.
24245 * include/errno.h: Likewise.
24246 * include/netdb.h: Likewise.
24247 * include/resolv.h: Likewise.
24248 * inet/herrno-loc.c: Likewise.
24249 * inet/herrno.c: Likewise.
24250 * malloc/arena.c: Likewise.
24251 * malloc/hooks.c: Likewise.
24252 * malloc/malloc.c: Likewise.
24253 * resolv/res-state.c: Likewise.
24254 * resolv/res_libc.c: Likewise.
24255 * sysdeps/i386/dl-machine.h: Likewise.
24256 * sysdeps/ia64/dl-machine.h: Likewise.
24257 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24258 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24259 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24260 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24261 * sysdeps/sh/dl-machine.h: Likewise.
24262 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24263 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24264 * sysdeps/unix/i386/sysdep.S: Likewise.
24265 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24266 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24268 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24270 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24271 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24275 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24276 * sysdeps/x86_64/dl-machine.h: Likewise.
24277 * tls.make.c: Likewise.
24279 * configure.in: Remove --with-__thread option. Make tests for
24280 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24281 tls_model attribute fail if no support is available. Remove
24283 * Makeconfig: Adjust for dropped configure option. All features are
24285 * Makerules: Likewise.
24286 * Versions.def: Likewise.
24287 * argp/argp-fmtstream.c: Likewise.
24288 * argp/argp-fmtstream.h: Likewise.
24289 * argp/argp-help.c: Likewise.
24290 * assert/assert.c: Likewise.
24291 * config.h.in: Likewise.
24292 * config.make.in: Likewise.
24293 * configure: Likewise.
24294 * configure.in: Likewise.
24295 * csu/Versions: Likewise.
24296 * csu/init.c: Likewise.
24297 * elf/tst-audit2.c: Likewise.
24298 * elf/tst-tls10.c: Likewise.
24299 * elf/tst-tls10.h: Likewise.
24300 * elf/tst-tls11.c: Likewise.
24301 * elf/tst-tls12.c: Likewise.
24302 * elf/tst-tls14.c: Likewise.
24303 * elf/tst-tlsmod11.c: Likewise.
24304 * elf/tst-tlsmod12.c: Likewise.
24305 * elf/tst-tlsmod13.c: Likewise.
24306 * elf/tst-tlsmod13a.c: Likewise.
24307 * elf/tst-tlsmod14a.c: Likewise.
24308 * elf/tst-tlsmod15b.c: Likewise.
24309 * elf/tst-tlsmod16a.c: Likewise.
24310 * elf/tst-tlsmod16b.c: Likewise.
24311 * elf/tst-tlsmod7.c: Likewise.
24312 * elf/tst-tlsmod8.c: Likewise.
24313 * elf/tst-tlsmod9.c: Likewise.
24314 * gmon/gmon.c: Likewise.
24315 * grp/fgetgrent_r.c: Likewise.
24316 * grp/putgrent.c: Likewise.
24317 * hurd/fopenport.c: Likewise.
24318 * include/libc-symbols.h: Likewise.
24319 * include/tls.h: Likewise.
24320 * intl/gettextP.h: Likewise.
24321 * intl/loadinfo.h: Likewise.
24322 * locale/global-locale.c: Likewise.
24323 * locale/localeinfo.h: Likewise.
24324 * mach/devstream.c: Likewise.
24325 * malloc/arena.c: Likewise.
24326 * malloc/set-freeres.c: Likewise.
24327 * misc/err.c: Likewise.
24328 * misc/getttyent.c: Likewise.
24329 * misc/mntent_r.c: Likewise.
24330 * posix/getopt.c: Likewise.
24331 * posix/wordexp.c: Likewise.
24332 * pwd/fgetpwent_r.c: Likewise.
24333 * resolv/Versions: Likewise.
24334 * resolv/res_hconf.c: Likewise.
24335 * shadow/fgetspent_r.c: Likewise.
24336 * shadow/putspent.c: Likewise.
24337 * stdio-common/printf_fphex.c: Likewise.
24338 * stdio-common/tmpfile.c: Likewise.
24339 * stdlib/abort.c: Likewise.
24340 * stdlib/fmtmsg.c: Likewise.
24341 * sunrpc/auth_unix.c: Likewise.
24342 * sunrpc/clnt_perr.c: Likewise.
24343 * sunrpc/clnt_tcp.c: Likewise.
24344 * sunrpc/clnt_udp.c: Likewise.
24345 * sunrpc/clnt_unix.c: Likewise.
24346 * sunrpc/openchild.c: Likewise.
24347 * sunrpc/svc_simple.c: Likewise.
24348 * sunrpc/svc_tcp.c: Likewise.
24349 * sunrpc/svc_udp.c: Likewise.
24350 * sunrpc/svc_unix.c: Likewise.
24351 * sunrpc/xdr.c: Likewise.
24352 * sunrpc/xdr_array.c: Likewise.
24353 * sunrpc/xdr_rec.c: Likewise.
24354 * sunrpc/xdr_ref.c: Likewise.
24355 * sunrpc/xdr_stdio.c: Likewise.
24357 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24359 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24361 2011-07-03 Andreas Jaeger <aj@suse.de>
24363 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24364 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24365 regenerate with gen-libm-tests.pl.
24367 2010-05-12 Petr Baudis <pasky@suse.cz>
24370 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24371 around j0() zero points by switching to j1().
24372 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24373 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24374 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24375 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24377 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24379 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24381 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24384 Patch in part by Pavel Roskin <proski@gnu.org>.
24387 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24389 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24390 Free memory block if necessary.
24393 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24394 be NULL. Don't lock in this case.
24396 2011-09-09 Roland McGrath <roland@hack.frob.com>
24398 * elf/elf.h (ELFOSABI_GNU): New macro.
24399 (ELFOSABI_LINUX): Define to that.
24401 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24403 * string/strncat.c (strncat): Undef the symbol in case it has been
24404 defined in bits/string.h.
24406 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24408 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24410 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24413 2011-08-17 Andreas Jaeger <aj@suse.de>
24415 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24417 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24418 Ian Lance Taylor <iant@google.com>
24420 * math/libm-test.inc (lround_test): New testcase.
24421 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24423 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24425 * Makefile: Remove support for automatic cvs check-ins.
24426 * Makerules: Likewise.
24427 * config.make.in: Likewise.
24428 * configure.in: Likewise.
24429 * intl/Makefile: Likewise.
24430 * locale/Makefile: Likewise.
24431 * po/Makefile: Likewise.
24432 * posix/Makefile: Likewise.
24433 * sysdeps/gnu/Makefile: Likewise.
24434 * sysdeps/mach/hurd/Makefile: Likewise.
24435 * sysdeps/sparc/sparc32/Makefile: Likewise.
24438 * posix/Makefile (bug-regex32-ENV): Define.
24439 Patch by John Stanley <jpsinthemix@verizon.net>.
24441 * misc/Makefile (headers): Add bits/select2.h.
24442 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24443 * misc/bits/select2.h: New file.
24444 * include/bits/select2.h: New file.
24445 * debug/Makefile (routines): Add fdelt_chk.
24446 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24447 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24449 * debug/fdelt_chk.c: New file.
24451 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24452 * wcsmbs/test-wmemcmp.c: Likewise.
24453 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24454 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24456 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24458 * string/Makefile (strop-tests): Add memcmp.
24459 * string/test-wmemcmp.c: New file.
24460 * string/test-memcmp.c: Add wmemcmp support.
24462 2011-09-08 Roland McGrath <roland@hack.frob.com>
24465 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24468 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24469 garbage value in a __mach_port_mod_refs call in the cases of the
24470 task-self and thread-self ports.
24472 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24474 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24476 2011-09-08 Andreas Schwab <schwab@redhat.com>
24478 * elf/dl-load.c (lose): Check for non-null L.
24480 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24482 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24484 * elf/dl-libc.c (dlerror_run): Pass back error code from
24488 * elf/dl-load.c (lose): Free l_origin if it is valid.
24490 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24492 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24493 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24494 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24495 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24496 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24497 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24499 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24501 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24502 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24503 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24504 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24505 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24506 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24507 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24508 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24509 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24510 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24512 2011-08-15 Alan Modra <amodra@gmail.com>
24515 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24516 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24517 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24518 ppc_mcount to static-only-routines.
24519 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24521 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24522 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24524 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24526 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24527 for finite and infinity parameters.
24529 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24532 and add nop instructions for throughput optimization.
24533 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24535 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24537 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24538 aligned copy for power7 with vector-scalar instructions.
24539 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24541 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24546 2011-09-07 Andreas Schwab <schwab@redhat.com>
24549 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24552 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24554 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24555 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24556 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24557 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24560 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24562 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24563 Forgot to demangle the pointer.
24565 * sysdeps/i386/sysdep.h: Define atom_text_section.
24566 * sysdeps/x86_64/sysdep.h: Likewise.
24567 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24568 section with atom_text_section.
24569 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24570 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24571 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24572 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24573 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24575 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24576 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24577 already be defined. Change to take two parameters and don't assign
24578 result to variable. Adjust all users.
24579 Define INTERNAL_GETTIME if not already defined.
24580 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24583 HAVE_CLOCK_GETTIME_VSYSCALL.
24584 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24587 gettimeofday vsyscall, just use time.
24589 2011-09-06 Andreas Schwab <schwab@redhat.com>
24591 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24594 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24596 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24598 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24600 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24601 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24602 syscall if possible.
24604 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24606 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24607 e_ident. Don't pass to find_mapsXX.
24608 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24610 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24613 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24614 * sysdeps/x86_64/multiarch/strchr.S: Update.
24615 Check bit_slow_BSF bit.
24616 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24617 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24618 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24620 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24623 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24625 (tryshell): Define.
24626 (__spawni): Change last parameter to be flag. Test
24627 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24628 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24629 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24630 * posix/spawni.c: Likewise.
24631 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24632 * posix/spawnp.c: Likewise. Change normal version to use
24633 SPAWN_XFLAGS_USE_PATH.
24634 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24635 SPAWN_XFLAGS_TRY_SHELL.
24638 * posix/glob.h: Remove gcc 1.x support.
24641 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24643 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24646 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24648 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24649 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24650 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24651 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24652 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24653 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24655 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24657 * sysdeps/x86_64/wcscmp.S: New file.
24659 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24660 wcscmp-c wcscmp-sse2
24661 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24662 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24663 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24664 * wcsmbs/wcscmp.c: Allow renaming.
24666 2011-09-05 David S. Miller <davem@davemloft.net>
24668 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24669 stack slot, rather than the struct return pointer slot.
24670 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24671 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24673 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24675 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24677 * po/ja.po: Update from translation team.
24680 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24681 kernel in 64-bit binaries.
24683 2011-09-01 David S. Miller <davem@davemloft.net>
24685 * elf/elf.h (HWCAP_SPARC_*): Move to..
24686 * sysdeps/sparc/sysdep.h: this new file and add new values.
24687 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24688 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24689 _DL_HWCAP_COUNT to 24.
24690 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24692 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24693 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24694 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24696 instead of magic constants.
24697 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24699 2011-08-31 David S. Miller <davem@davemloft.net>
24701 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24703 Reimplement to do errno handling inline.
24704 (SYSCALL_ERROR_HANDLER): New macro.
24705 (__SYSCALL_STRING): Do not do errno handling in asm.
24706 (__CLONE_SYSCALL_STRING): Delete.
24707 (__INTERNAL_SYSCALL_STRING): Delete.
24708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24709 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24710 (PSEUDO): Reimplement to do errno handling inline.
24711 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24712 (SYSCALL_ERROR_HANDLER): New macro.
24713 (__SYSCALL_STRING): Do not do errno handling in asm.
24714 (__CLONE_SYSCALL_STRING): Delete.
24715 (__INTERNAL_SYSCALL_STRING): Delete.
24716 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24717 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24719 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24720 (inline_syscall*): Add 'err' argument.
24721 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24722 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24723 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24724 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24726 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24727 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24729 2011-08-30 Andreas Schwab <schwab@redhat.com>
24731 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24733 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24735 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24738 2011-08-24 David S. Miller <davem@davemloft.net>
24740 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24742 2011-08-24 Andreas Schwab <schwab@redhat.com>
24744 * elf/Makefile: Add rules to build and run unload8 test.
24745 * elf/unload8.c: New file.
24746 * elf/unload8mod1.c: New file.
24747 * elf/unload8mod1x.c: New file.
24748 * elf/unload8mod2.c: New file.
24749 * elf/unload8mod3.c: New file.
24751 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24754 2011-08-23 David S. Miller <davem@davemloft.net>
24756 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24757 subtract stack bias.
24758 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24759 %sp not %fp in calculations.
24760 (_JMPBUF_UNWINDS_ADJ): Likewise.
24762 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24763 (aio_suspend): Call it to force an exception region around the
24764 AIO_MISC_WAIT() invocation.
24766 2011-08-23 Andreas Schwab <schwab@redhat.com>
24768 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24771 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24773 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24775 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24776 and <dl-machine.h>.
24777 (Elf64_FuncDesc): Remove.
24779 2011-08-22 David S. Miller <davem@davemloft.net>
24781 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24782 sigaltstack check, add missing cfi directives.
24783 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24784 missing cfi directives, and sigaltstack handling.
24786 2011-08-16 Andreas Schwab <schwab@redhat.com>
24789 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24790 object is seen twice.
24791 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24793 * elf/Makefile (distribute): Add tst-initorder2.c.
24794 (tests): Add tst-initorder2.
24795 (modules-names): Add tst-initorder2a tst-initorder2b
24796 tst-initorder2c tst-initorder2d. Add rules to build them.
24797 ($(objpfx)tst-initorder2.out): New rule.
24798 * elf/tst-initorder2.c: New file.
24799 * elf/tst-initorder2.exp: New file.
24801 2011-08-22 Andreas Schwab <schwab@redhat.com>
24803 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24805 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24806 dependencies back to end of function.
24808 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24809 $(elfobjdir)/ld.so.
24811 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24813 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24814 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24815 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24816 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24817 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24818 of __vdso_gettimeofday.
24819 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24820 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24822 (_libc_vdso_platform_setup): Remove initialization of
24823 __vdso_gettimeofday and __vdso_time.
24825 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24827 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24828 and fgetc_unlocked.
24829 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24832 * elf/dl-open.c (add_to_global): Report additions to the global scope
24833 for LD_DEBUG=scopes.
24834 (dl_open_worker): Also print scope of newly loaded dependencies.
24835 (_dl_show_scope): Indicate if there is no scope.
24838 * stdio-common/Makefile (tests): Add bug24.
24839 * stdio-common/bug24.c: New file.
24841 2011-08-19 Andreas Jaeger <aj@suse.de>
24844 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24845 non-existant file when using close-on-exec mode.
24847 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24849 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24850 the very first instruction.
24852 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24853 the CFI state in the end.
24854 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24855 inclusion of dl-trampoline.h.
24856 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24858 2011-08-19 Andreas Schwab <schwab@redhat.com>
24860 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24861 expectations for long double.
24863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24864 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24866 2011-08-14 David S. Miller <davem@davemloft.net>
24868 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24869 artificual limit depends upon the system page size.
24871 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24873 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24874 * resolv/Makefile: Define CFLAGS-libresolv.
24876 2011-08-17 Andreas Schwab <schwab@redhat.com>
24878 * nss/makedb.c (compute_tables): Make variables used in nested
24881 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24883 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24884 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24885 if buffer was too small.
24887 * elf/pldd.c (main): Attach to all threads in the process.
24888 Rewrite /proc handling to use *at functions.
24890 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24892 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24893 specifies first scope to show.
24894 (dl_open_worker): Update callers. Move printing scope of new
24895 object to before the relocation.
24896 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24897 * sysdeps/generic/ldsodefs.h: Update declaration.
24899 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24900 string for the scope number.
24902 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24904 * nscd/servicescache.c (cache_addserv): Make sure written is always
24907 2011-08-14 Roland McGrath <roland@hack.frob.com>
24909 * sysdeps/i386/i486/bits/atomic.h
24910 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24911 statement expression, so as to suppress "set but not used" warning.
24912 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24914 * string/strncat.c (STRNCAT): Use prototype definition.
24916 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24917 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24919 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24920 (localedef-modules): Add localedef.
24921 (locale-modules): Add locale.
24923 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24924 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24925 to avoid a warning.
24927 2011-08-14 David S. Miller <davem@davemloft.net>
24929 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24930 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24932 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24934 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24935 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24936 * elf/rtld.c (dl_main): Set l_name of vDSO.
24937 Call _dl_show_scope when DL_DEBUG_SCOPES.
24938 (process_dl_debug): Recognize scopes flag and also set it for all.
24939 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24940 Declare _dl_show_scope.
24942 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24943 (do_dlopen): Pass caller_dlopen to dl_open.
24944 (__libc_dlopen_mode): Initialize caller_dlopen.
24946 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24947 of libc. Make tolower call locale-independent. Optimize a bit by
24948 using isdigit instead of isalnum.
24949 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24951 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24953 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24954 was a dependency or dynamically loaded.
24956 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24958 * intl/l10nflist.c: Allow architecture-specific pop function.
24959 * sysdeps/x86_64/l10nflist.c: New file.
24961 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24964 2011-08-10 Andreas Schwab <schwab@redhat.com>
24966 * include/dirent.h: Add libc_hidden_proto for scandirat and
24967 scandirat64. Don't declare __scandirat64.
24968 * dirent/scandirat.c: Add libc_hidden_def.
24969 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24970 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24972 2011-08-10 David S. Miller <davem@davemloft.net>
24974 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24976 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24977 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24978 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24980 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24982 * Versions.def [libc]: Add GLIBC_2.15.
24983 * dirent/Makefile (routines): Add scandirat and scandirat64.
24984 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24986 * dirent/dirent.h: Declare scandirat and scandirat64.
24987 * dirent/scandirat.c: New file.
24988 * dirent/scandirat64.c: New file.
24989 * sysdeps/wordsize-64/scandirat.c: New file.
24990 * sysdeps/wordsize-64/scandirat64.c: New file.
24991 * dirent/opendir.c: Define opendirat.
24992 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24994 * dirent/scandir64.c: Adjust for scandir.c change.
24995 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24996 __scandirat64, and __scandir_cancel_handler.
24997 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24998 additional parameter and use openat instead of open (outside of ld.so).
24999 Add new __opendir as wrapper around __opendirat.
25000 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25001 here without requiring old scandirat implementation.
25003 2011-08-08 Ulrich Drepper <drepper@gmail.com>
25005 * dirent/scandir.c (cancel_handler): Renamed to
25006 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25007 defined. Adjust users.
25008 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25009 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25011 2011-08-04 Ulrich Drepper <drepper@gmail.com>
25013 * string/test-string.h (IMPL): Use __STRING to expand name and then
25016 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25019 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25021 * string/Makefile: Update.
25022 (strop-tests): Append strncat.
25023 * string/test-wcscmp.c: New file.
25024 New comprehensive test for wcscmp.
25025 * string/test-strcmp.c: Update.
25026 (WIDE): New define.
25028 2011-07-22 Andreas Schwab <schwab@redhat.com>
25030 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25033 2011-07-26 Andreas Schwab <schwab@redhat.com>
25035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25036 encoding to ACE if AI_IDN.
25038 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25040 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25041 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25043 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25045 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25046 Fix overflow bug in strncat.
25047 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25049 * string/test-strncat.c: Update.
25050 Add new tests for checking overflow bugs.
25052 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25055 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25056 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25057 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25058 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25059 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25060 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25061 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25062 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25065 (USE_AS_STRCAT): Define.
25066 Add strcat and strncat support.
25067 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25069 2011-07-25 Andreas Schwab <schwab@redhat.com>
25071 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25072 __n bigger than INT_MAX+1.
25073 (__strncmp_g): Likewise.
25075 2011-07-23 Ulrich Drepper <drepper@gmail.com>
25077 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25078 * libio/stido.h: Likewise.
25080 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25082 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25085 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25086 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25087 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25088 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25089 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25092 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25097 (_dl_x86_64_save_sse): Likewise.
25099 2011-07-22 Ulrich Drepper <drepper@gmail.com>
25101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25103 (_dl_x86_64_save_sse): Likewise.
25105 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25107 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25109 2011-07-21 Andreas Schwab <schwab@redhat.com>
25111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25113 (_dl_x86_64_save_sse): Use correct AVX check.
25115 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25117 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25118 bug in strncpy/strncat.
25119 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25121 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25123 * string/tester.c (test_strcat): Add tests for different alignments
25124 of source and destination.
25125 (test_strncat): Likewise.
25127 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25130 * posix/glob.c (glob): Check passed in values before using them in
25131 expressions to avoid some overflows.
25132 (glob_in_dir): Likewise.
25135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25136 check for AVX enablement so that we don't crash with old kernels and
25138 * elf/tst-audit4.c: Add same checks here.
25139 * elf/tst-audit6.c: Likewise.
25141 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25143 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25145 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25147 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25149 * po/cs.po: Update from translation team.
25150 * po/bg.po: Likewise.
25152 2011-07-12 Marek Polacek <mpolacek@redhat.com>
25154 * misc/sys/cdefs.h: Add support for const attribute.
25155 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25156 to gnu_dev_{major,minor,makedev} functions.
25158 2011-07-20 Marek Polacek <mpolacek@redhat.com>
25160 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25162 2011-07-20 Andreas Schwab <schwab@redhat.com>
25164 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25167 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25169 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25170 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25171 register in order to avoid conflicts with the soft frame pointer
25172 being held in r11 when necessary.
25173 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25174 (INTERNAL_VSYSCALL_NCS): Likewise.
25176 2011-07-14 Marek Polacek <mpolacek@redhat.com>
25178 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25179 * elf/dl-fini.c (_dl_fini): Adjust caller.
25180 * elf/dl-close.c (_dl_close_worker): Likewise.
25181 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25183 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25185 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25186 "aux_cache->nlibs < 0".
25188 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25189 in the reload-count case.
25191 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25194 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25195 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25196 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25197 * sysdeps/x86_64/multiarch/strcat.S: New file.
25198 * sysdeps/x86_64/multiarch/strncat.S: New file.
25199 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25200 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25201 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25202 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25203 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25204 (USE_AS_STRCAT): Define.
25205 Add strcat and strncat support.
25206 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25207 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25208 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25209 * string/strncat.c: Update.
25210 (USE_AS_STRNCAT): Define.
25211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25212 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25214 * sysdeps/x86_64/multiarch/init-arch.h
25215 (bit_Prefer_PMINUB_for_stringop): New.
25216 (index_Prefer_PMINUB_for_stringop): Likewise.
25217 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25218 bit_Prefer_PMINUB_for_stringop.
25220 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25222 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25224 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25225 of casting of buffer.
25226 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25227 buffer32 and buffer64.
25228 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25229 writes instead of casting of buffer.
25230 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25232 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25235 2011-07-19 Andreas Schwab <schwab@redhat.com>
25237 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25239 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25241 * nscd/nscd.c (termination_handler): Don't do anything for a database
25242 if it has not yet been initialized.
25244 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25246 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25248 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25250 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25252 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25254 * po/nl.po: Update from translation team.
25255 * po/sv.po: Likewise.
25257 2011-07-16 Roland McGrath <roland@hack.frob.com>
25259 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25260 now disallowed by GCC.
25262 * configure.in (use-default-link): Default to yes if a test -shared
25263 link meets our qualifications.
25264 * configure: Regenerated.
25266 * config.make.in (output-format): New variable.
25267 * configure.in: Check for ld --print-output-format support.
25268 * configure: Regenerated.
25269 * Makerules ($(common-objpfx)format.lds)
25270 [$(output-format) != unknown]: Just use $(output-format),
25271 instead of the linker-script munging.
25273 2011-07-14 Roland McGrath <roland@hack.frob.com>
25275 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25276 of $(common-objpfx)shlib.lds.
25277 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25279 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25280 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25282 * configure.in (-z relro check): Adjust test code to add a large
25283 writable data section after it.
25284 * configure: Regenerated.
25286 2011-07-11 Roland McGrath <roland@hack.frob.com>
25288 * configure.in (-z relro check): Fix test code to make the variable
25290 * configure: Regenerated.
25292 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25294 * nscd/nscd.h (struct traced_file): Define.
25295 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25296 elements. Add traced_files.
25297 (inotify_fd): Declare.
25298 (register_traced_file): Declare.
25299 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25300 (inotify_fd): Export.
25301 (resolv_conf_descr): Remove.
25302 (nscd_init): Move inotify descriptor creation to main.
25303 Don't register files for notification here.
25304 (register_traced_file): New function.
25305 (invalidate_cache): Don't use reset_res to determine whether to call
25306 res_init, go through the list of registered files.
25307 (main_loop_poll): The inotify descriptors are now stored in the
25308 structures for the traced files.
25309 (main_loop_epoll): Likewise
25310 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25311 to __nss_disable_nscd.
25312 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25313 for a database anymore. Check the records for all the registered
25315 * nss/Makefile (libnss_files-routines): Add files-init.
25316 (libnss_db-routines): Add db-init.
25317 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25318 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25319 * nss/nss_db/db-init.c: New file.
25320 * nss/nss_files/files-init.c: New file.
25321 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25322 __nss_lookup_function.
25323 (__nss_lookup_function): Call nss_load_library.
25324 (nss_load_all_libraries): New function.
25325 (__nss_disable_nscd): Take parameter with callback function for files
25326 to register. Set is_nscd. Load all the DSOs for the NSS modules
25327 used for the cached services.
25328 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25329 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25330 options for features to all the files in nscd.
25332 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25334 2011-07-10 Roland McGrath <roland@hack.frob.com>
25336 * csu/elf-init.c (__libc_csu_init): Comment typo.
25338 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25340 * po/pl.po: Update from translation team.
25341 * po/ja.po: Likewise.
25342 * po/ru.po: Likewise.
25343 * po/ko.po: Likewise.
25344 * po/fr.po: Likewise.
25346 2011-07-09 Roland McGrath <roland@hack.frob.com>
25348 * configure.in (.ctors/.dtors header and trailer check):
25349 Use an empirical test on a built program.
25350 * configure: Regenerated.
25352 * configure.in (-z relro check): Use an empirical test on a built DSO.
25353 Detect, but do not require, on ia64.
25354 * configure: Regenerated.
25356 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25357 Update tests that use readelf to use $READELF instead.
25358 * configure: Regenerated.
25360 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25362 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25363 if the result is not used.
25365 2011-07-05 Andreas Jaeger <aj@suse.de>
25368 * stdlib/tst-strtod.c: Add testcase.
25370 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25372 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25373 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25374 The latter has a higher limit. Take additional parameter to pass to
25376 (__pathconf): Pass file to __statfs_link_max.
25377 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25379 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25383 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25386 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25387 (__statfs_filesize_max): Likewise.
25388 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25390 2011-07-05 Andreas Jaeger <aj@suse.de>
25392 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25394 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25396 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25398 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25401 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25403 * Makefile (strop-tests): Add strncat.
25404 * string/test-strncat.c: New file.
25406 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25408 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25410 2011-06-21 Andreas Jaeger <aj@suse.de>
25412 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25413 Copy rule from iconvdata/Makefile.
25415 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25418 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25419 but no long options are defined, just return 'W'.
25421 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25424 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25426 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25428 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25430 (innetgr): Likewise.
25432 2011-07-05 Roland McGrath <roland@hack.frob.com>
25434 * config.make.in (install_root): Default to $(DESTDIR).
25436 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25438 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25440 2011-07-02 Roland McGrath <roland@hack.frob.com>
25442 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25444 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25445 containing directory rather than embedding absolute directory names.
25447 * scripts/check-local-headers.sh: Rewritten using awk.
25448 Match by word, not by line. Print error messages for matches.
25449 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25451 * Makerules [shlib-lds-flags empty]:
25452 ($(common-objpfx)libc_pic.opts): New target.
25453 ($(common-objpfx)libc_pic.os.clean): New target.
25454 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25456 * config.make.in (OBJCOPY): New variable.
25457 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25458 * configure: Regenerated.
25460 * config.make.in (use-default-link): New variable.
25461 * configure.in (use_default_link): Grok --with-default-link to set it.
25462 * configure: Regenerated.
25463 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25464 (shlib-lds, shlib-lds-flags): Define to empty.
25466 * Makerules (shlib-lds): New variable.
25467 (shlib-lds-flags): New variable.
25468 (build-shlib, build-moduile, build-module-asneeded): Use it.
25469 ($(common-objpfx)libc.so): Use $(shlib-lds).
25470 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25471 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25473 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25474 DT_FLAGS/DT_FLAGS_1 with zero flags.
25476 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25477 linker script munging.
25479 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25481 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25483 * crypt/sha512.c (sha512_process_block): Perform total addition using
25484 128-bit if possible.
25485 (__sha512_finish_ctx): Likewise.
25486 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25488 * crypt/sha256.c (SWAP64): Define.
25489 (sha256_process_block): Perform total addition using 64-bit if
25491 (__sha256_finish_ctx): Likewise.
25493 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25495 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25496 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25497 * nscd/hstcache.c (cache_addhst): Likewise.
25498 * nscd/grpcache.c (cache_addgr): Likewise.
25499 * nscd/aicache.c (addhstaiX): Likewise
25500 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25502 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25504 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25505 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25506 * nscd/hstcache.c (cache_addhst): Likewise.
25507 * nscd/grpcache.c (cache_addgr): Likewise.
25508 * nscd/aicache.c (addhstaiX): Likewise
25510 2011-07-01 Andreas Schwab <schwab@redhat.com>
25512 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25513 domain only when needed.
25515 2011-06-30 Andreas Schwab <schwab@redhat.com>
25517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25518 is always restored.
25520 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25522 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25523 are re-adding the entry.
25524 * nscd/servicescache.c (cache_addserv): Likewise.
25526 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25528 * sysdeps/generic/dl-irel.h: fix protection against multiple
25530 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25532 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25535 * malloc/memusage.sh: Fix quoting in message.
25536 * debug/xtrace.sh: Likewise.
25538 * configure.in: Remove support for --experimental-malloc option, make
25540 * config.make.in: Likewise.
25541 * malloc/Makefile: Likewise.
25543 2011-06-27 Andreas Schwab <schwab@redhat.com>
25545 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25546 two-byte characters.
25548 2011-06-27 Roland McGrath <roland@hack.frob.com>
25550 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25551 AC_CACHE_CHECK invocation.
25552 * configure: Regenerated.
25554 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25556 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25559 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25560 bit from old_res_options.
25562 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25564 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25565 value type for setfct.
25567 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25570 __gettimeofday instead of gettimeofday.
25572 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25574 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25576 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25580 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25583 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25586 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25587 strcpy-sse2-unaligned strncpy-sse2-unaligned
25588 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25589 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25590 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25591 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25592 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25593 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25594 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25595 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25596 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25597 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25598 (STRCPY): Support SSE2 and SSSE3 versions.
25600 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25603 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25604 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25605 kernels which artificially limit size of requests.
25607 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25610 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25611 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25612 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25613 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25614 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25615 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25616 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25617 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25618 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25619 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25620 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25621 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25622 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25623 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25625 Enable unaligned load optimization for Intel Core i3, i5 and i7
25627 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25629 (index_Fast_Unaligned_Load): Define.
25630 (HAS_FAST_UNALIGNED_LOAD): Define.
25632 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25634 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25636 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25639 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25640 until it is clear that the information is realy needed.
25641 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25643 2011-06-22 Andreas Schwab <schwab@redhat.com>
25645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25647 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25650 /sys/devices/system/cpu/online if it is usable.
25652 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25653 reading the information from the /proc filesystem to once a second.
25655 2011-06-21 Andreas Jaeger <aj@suse.de>
25657 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25658 NULL after inclusion of kernel headers.
25660 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25662 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25663 calls to internal_setent.
25666 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25667 addresses using gethostbyname4_r ignore IPv4 addresses.
25669 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25670 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25672 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25674 2011-06-20 David S. Miller <davem@davemloft.net>
25676 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25678 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25680 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25681 (elf_irel): Use it.
25682 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25683 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25684 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25685 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25686 * sysdeps/x86_64/dl-irel.h: Likewise.
25688 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25689 * elf/dl-sym.c: Likewise.
25691 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25693 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25694 need to dereference resplen2.
25696 2011-06-14 Andreas Schwab <schwab@redhat.com>
25698 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25700 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25702 * Makeconfig: Define vardbdir and inst_vardbdir.
25703 * nss/Makefile: Add rules to install db-Makefile.
25705 * nss/nss_db/db-XXX.c: Cleanup.
25707 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25708 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25710 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25711 * nss/makedb.c: Implement -g option to specify that value strings
25712 are generated and should not be added to table iterated over for
25714 * nss/nss_db/db-initgroups.c: New file.
25716 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25719 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25720 (internal_getgrouplist): Adjust to name change.
25721 Update use_initgroups_entry if this is not the first call.
25722 * nss/databases.def: Add initgroups entry.
25724 * nss/makedb.c (compute_tables): Check result of multiple hash table
25725 sizes to minimize maximum chain length.
25727 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25729 * Versions.def: Add entry for libnss_db.
25730 * shlib-versions: Likewise.
25731 * nss/Makefile: Add rules to build libnss_db.
25732 * nss/Versions: Add libnss_db information. Organize libnss_files
25734 * nss/db-Makefile: Add gshadow support. Change rules for the new
25735 makedb progra. Some minor improvements to generate smaller files.
25736 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25738 * nss/makedb.c: ...here.
25739 Improve database format to be smaller and require less memory at
25741 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25743 * nss/nss_db/db-netgrp.c: Likewise.
25744 * nss/nss_db/db-open.c: Likewise.
25745 * nss/nss_files/flies-XXX.x: Adjust comments.
25746 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25747 * nss/nss_files/files-grp.c: Likewise.
25748 * nss/nss_files/files-hosts.c: Likewise.
25749 * nss/nss_files/files-network.c: Likewise.
25750 * nss/nss_files/files-proto.c: Likewise.
25751 * nss/nss_files/files-pwd.c: Likewise.
25752 * nss/nss_files/files-rpc.c: Likewise.
25753 * nss/nss_files/files-service.c: Likewise.
25754 * nss/nss_files/files-sgrp.c: Likewise.
25755 * nss/nss_files/files-spwd.c: Likewise.
25756 * nss/nss_db/db-alias.c: Removed.
25757 * nss/nss_db/dummy-db.h: Removed.
25759 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25761 * nss/makedb.c: Rewritten to not use database library.
25762 * nss/Makefile: Update to build new makedb program.
25764 2011-06-14 Andreas Jaeger <aj@suse.de>
25766 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25767 memset declaration.
25769 2011-06-10 Andreas Schwab <schwab@redhat.com>
25771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25774 2011-06-10 Roland McGrath <roland@hack.frob.com>
25776 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25777 * elf/Makefile ($(objpfx)ld.so): Likewise.
25779 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25780 Don't list ld.so twice in dependencies.
25782 * posix/bug-regex31.c: Include <stdlib.h>.
25784 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25786 * nis/nss_compat/compat-spwd.c
25787 (getspent_next_nss_netgr): Remove unused variable.
25788 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25790 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25791 nonmembers" output to use the right array.
25793 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25795 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25797 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25798 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25799 * catgets/gencat.c (read_input_file): Likewise.
25800 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25802 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25803 variable definition inside #if's controlling its use.
25805 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25807 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25809 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25811 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25814 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25816 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25817 * configure: Regenerated.
25819 * Makerules: Revert last change.
25820 * elf/Makefile: Likewise.
25822 2011-06-09 Roland McGrath <roland@hack.frob.com>
25824 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25825 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25826 (reloc-link): Likewise.
25828 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25830 * elf/Makefile: Add rules to build pldd.
25831 * elf/pldd.c: New file.
25832 * elf/pldd-xx.c: New file.
25834 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25836 * version.h: Update for 2.15 development version.
25838 2011-06-07 David S. Miller <davem@davemloft.net>
25840 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25842 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25843 elf_machine_lazy_rel): Likewise.
25844 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25845 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25846 elf_machine_lazy_rel): Likewise.
25847 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25848 dl_hwcap via passed in argument.
25849 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25852 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25854 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25856 2011-06-06 Roland McGrath <roland@hack.frob.com>
25859 * manual/fdl-1.1.texi: New file, verbatim from:
25860 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25861 * manual/lgpl-2.1.texi: New file, verbatim from:
25862 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25863 * manual/Makefile (licenses): New variable, list those new file names.
25865 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25867 * manual/fdl.texi: File removed.
25868 * manual/lesser.texi: File removed.
25869 * manual/libc.texinfo (Copying, Documentation License):
25870 Use new @include file names, put @appendix directive before @include.
25872 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25875 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25876 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25877 (mq_open): Add __NTH.
25879 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25882 Assume Intel Core i3/i5/i7 processor if AVX is available.
25884 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25889 2011-05-31 Andreas Schwab <schwab@redhat.com>
25891 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25892 memory. Use alloca_account. Fix memory leak when retrying.
25894 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25896 * version.h (RELEASE): Bump for 2.14 release.
25897 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25899 * config.make.in (RANLIB): Remove entry.
25901 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25903 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25904 (libc.pot): Work around missing support for .ksh extension in xgettext.
25907 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25908 if both request failed.
25909 (send_dg): In case of server errors clear resplen or *resplen2.
25912 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25913 when there are multiple maps.
25914 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25915 (_dl_fini): Remove test here.
25917 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25919 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25922 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25923 bit from old_res_options.
25924 (gaih_inet): Likewise.
25927 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25930 * resolv/res_init.c (res_setoptions): Make the code more compact.
25933 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25937 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25939 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25942 * malloc/malloc.h: Declare malloc hook variables as volatile.
25944 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25948 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25949 raise in the comment.
25950 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25951 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25952 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25954 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25957 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25958 grow the buffers more if it already has to be sufficient.
25959 (build_wcs_upper_buffer): Likewise.
25960 * posix/regexec.c (check_matching): Likewise.
25961 (clean_state_log_if_needed): Likewise.
25962 (extend_buffers): Don't enlarge buffers beyond size of the input
25964 Patches mostly by Emil Wojak <emil@wojak.eu>.
25965 * posix/bug-regex32.c: New file.
25966 * posix/Makefile (tests): Add bug-regex32.
25968 * locale/findlocale.c (_nl_find_locale): Return right away if
25969 _nl_explode_name failed.
25970 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25972 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25974 * debug/xtrace.sh: Unify messages.
25975 * malloc/memusage.sh: Likewise.
25978 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25979 time symbol from vDSO. Substitute with vsyscall if not available.
25980 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25983 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25984 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25985 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25986 Add sendmmsg and internal_sendmmsg.
25987 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25988 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25989 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25991 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25992 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25993 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25995 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25998 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25999 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26001 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26005 * iconvdata/Makefile (tests): Add bug-iconv9.
26006 * iconvdata/bug-iconv9.c: New file.
26008 2011-05-27 Andreas Schwab <schwab@redhat.com>
26011 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26013 2011-05-25 Jakub Jelinek <jakub@redhat.com>
26015 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26016 (struct user_regs_struct): Change intcs field back to cs.
26018 2011-05-25 Ulrich Drepper <drepper@gmail.com>
26020 * po/ja.po: Update from translation team.
26022 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26025 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26026 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26028 2011-05-20 Andreas Schwab <schwab@redhat.com>
26030 * stdlib/longlong.h: Update from GCC.
26032 2011-05-23 Andreas Schwab <schwab@redhat.com>
26034 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26036 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26037 Add parameter name.
26038 (__sysconf): Pass it down.
26040 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26043 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26045 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26046 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26047 add in in __libc_use_alloca calls. Adjust callers.
26048 (glob): Use malloc in some situations.
26050 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26051 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26054 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26056 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26057 and CLOCK_BOOTTIME_ALARM.
26060 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26063 * string/_strerror.c (__strerror_r): Print negative errors as signed
26067 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26068 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26069 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26071 * configure.in: Fix typo in redirection and correct removal of test
26072 files in two cases.
26075 * locale/setlocale.c (new_composite_name): Fix test to check for
26076 identical name of all categories.
26079 * libio/filedoalloc.c (local_isatty): New function.
26080 (_IO_file_doallocate): Use local_isatty.
26081 * stdio-common/perror.c (perror): In case a new stream is used
26082 forward the stream error.
26083 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26086 2011-05-20 Ulrich Drepper <drepper@gmail.com>
26089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26091 * include/alloca.h (extend_alloca_account): Define.
26094 * posix/regex.h: Fix comments with documentation of user-accessible
26095 fields after compilation and describe correct free'ing of pattern
26096 after re_compile_pattern.
26097 Patch by Reuben Thomas <rrt@sc3d.org>.
26099 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26101 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26102 and -mno-altivec to prevent the compiler from using Altivec and/or
26103 VSX instructions when the corresponding registers are not available.
26105 2011-05-19 Andreas Schwab <schwab@redhat.com>
26107 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26109 2011-05-19 Ulrich Drepper <drepper@gmail.com>
26111 * libio/freopen.c (freopen): Use __dup2, not dup2.
26112 * libio/freopen64.c (freopen64): Likewise.
26114 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26117 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26118 * math/Makefile (tests): Add test-powl.
26119 (CFLAGS-test-powl.c): Define.
26120 * math/test-powl.c: New file.
26122 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26124 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26126 2011-05-17 Ulrich Drepper <drepper@gmail.com>
26129 * iconvdata/gb18030.c: Update to GB18020-2005.
26131 2011-05-16 Ulrich Drepper <drepper@gmail.com>
26133 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26134 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26135 Patch by Aharon Robbins <arnold@skeeve.com>.
26138 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26142 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26143 through underflows.
26146 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26147 point to strings before performing equality test for error_one_per_line
26151 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26154 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26155 (struct user_fpregs_struct): Avoid __uint*_t types.
26158 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26159 symbol info. Use it instead of calling _dl_addr locally.
26160 (lock_and_info): New function.
26161 (tr_freehook): Call lock_and_info and pass symbol info as additional
26162 parameter to tr_where.
26163 (tr_mallochook): Likewise.
26164 (tr_reallochook): Likewise.
26165 (tr_memalignhook): Likewise.
26167 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26168 used and couldn't be at all thread-safe.
26170 2011-05-15 Ulrich Drepper <drepper@gmail.com>
26172 * libio/freopen.c (freopen): Don't close old file descriptor
26173 before the new one is opened. Instead dup the new file descriptor
26174 to the old one after the new stream is created.
26175 * libio/freopen64.c (freopen64): Likewise.
26176 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26177 * libio/fileops.c (_IO_new_file_close_it): Handle new
26178 _IO_FLAGS2_NOCLOSE flag.
26179 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26180 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26181 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26182 _IO_FLAGS2_NOCLOSE flag.
26183 * include/unistd.h: Add hidden_proto for dup3.
26184 Define __have_dup3.
26185 * io/dup3.c: Define hidden symbol.
26186 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26189 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26190 when an incomplete long option is used.
26191 * posix/tst-getopt_long1.c: New file.
26192 * posix/Makefile (tests): Add tst-getopt_long1.
26195 * scripts/config.guess: Update from autoconf-2.68.
26196 * scripts/config.sub: Likewise.
26199 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26201 (has_cpuclock): ...this. New function.
26202 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26203 macro here based on has_cpuclock code.
26206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26207 First byte (not low byte) is now always NUL.
26208 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26211 Use non-cancelable interfaces.
26214 * locale/iso-639.def: Add entry for Sorani.
26217 * include/stdlib.h: Move include protection to the right place.
26218 Define abort_msg_s. Declare __abort_msg with it.
26219 * stdlib/abort.c (__abort_msg): Adjust type.
26220 * assert/assert.c (__assert_fail_base): New function. Majority
26221 of code from __assert_fail. Allocate memory for __abort_msg with
26223 (__assert_fail): Now call __assert_fail_base.
26224 * assert/assert-perr.c: Remove bulk of implementation. Use
26225 __assert_fail_base.
26226 * include/assert.hL Declare __assert_fail_base.
26227 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26229 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26231 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26235 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26236 until all modules are registered in the DTV.
26237 * elf/Makefile: Add rules to build and run tst-tls19.
26238 * elf/tst-tls19.c: New file.
26239 * elf/tst-tls19mod1.c: New file.
26240 * elf/tst-tls19mod2.c: New file.
26241 * elf/tst-tls19mod3.c: New file.
26242 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26245 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26249 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26250 two-byte sequence errors.
26251 * iconvdata/Makefile (tests): Add bug-iconv8.
26252 * iconvdata/bug-iconv8.c: New file.
26255 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26258 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26261 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26262 (dummy_getcfa): New function.
26263 (init): Get _Unwind_GetCFA address, use dummy if not found.
26264 (backtrace_helper): In recursion check, also check whether CFA changes.
26265 (__backtrace): Completely initialize arg.
26267 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26268 storing incomplete byte sequence in state object. Avoid testing for
26269 guaranteed too small input if we know there is enough data available.
26271 2011-05-11 Andreas Schwab <schwab@redhat.com>
26273 * Makeconfig (+link-pie): Indent.
26274 * Rules (binaries-pie): Define if $(have-fpie) and
26276 (binaries-shared): Also filter out $(binaries-pie).
26277 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26278 * nscd/Makefile (others-pie): Add nscd.
26279 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26280 ($(objpfx)nscd): Remove command override.
26281 * login/Makefile (others-pie): Add pt_chown.
26282 ($(objpfx)pt_chown): Remove command override.
26283 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26284 remove command overrides.
26286 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26288 * libio/tst_putwc.c: Fix error messages.
26291 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26292 currently writing and seek to current position when not.
26293 * libio/Makefile (tests): Add bug-fclose1.
26294 * libio/bug-fclose1.c: New file.
26296 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26299 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26300 don't set DF_1_NODELETE here.
26301 (do_lookup_x): When entering new entry test for copy relocation
26302 and if necessary set DF_1_NODELETE flag.
26303 * elf/tst-unique4.cc: New file.
26304 * elf/tst-unique4.h: New file.
26305 * elf/tst-unique4lib.cc: New file.
26306 * elf/Makefile: Add rules to build and run tst-unique4.
26307 Patch by Piotr Bury <pbury@goahead.com>.
26309 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26312 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26315 * misc/mntent_r.c (addmntent): Flush the stream after the output
26318 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26319 (is_trusted_path_normalize): Skip initial colon. Append slash
26320 to empty buffer. Duplicate is_trusted_path code but allow
26321 constructed patch to be prefix.
26322 (is_dst): Allow $ORIGIN followed by /.
26323 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26324 Correct testing of result of is_trusted_path_normalize
26325 (decompose_rpath): Fix warning.
26327 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26330 * grp/initgroups.c (internal_getgrouplist): When we found the service
26331 list through the initgroups entry in nsswitch.conf do not always
26332 continue on a successful lookup. Don't always use the
26333 __nss_group_database value if it is set.
26334 * nss/nsswitch.conf (initgroups): Change action for successful db
26335 lookup to continue for compatibility.
26337 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26340 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26342 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26344 * iconvdata/tst-tables.sh: Likewise.
26345 * iconvdata/cp770.c: New file.
26346 * iconvdata/cp771.c: New file.
26347 * iconvdata/cp772.c: New file.
26348 * iconvdata/cp773.c: New file.
26349 * iconvdata/cp774.c: New file.
26350 * iconvdata/testdata/CP770: New file.
26351 * iconvdata/testdata/CP770..UTF8: New file.
26352 * iconvdata/testdata/CP771: New file.
26353 * iconvdata/testdata/CP771..UTF8: New file.
26354 * iconvdata/testdata/CP772: New file.
26355 * iconvdata/testdata/CP772..UTF8: New file.
26356 * iconvdata/testdata/CP773: New file.
26357 * iconvdata/testdata/CP773..UTF8: New file.
26358 * iconvdata/testdata/CP774: New file.
26359 * iconvdata/testdata/CP774..UTF8: New file.
26361 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26363 * iconvdata/gen-8bit-gap.sh: Likewise.
26364 * iconvdata/gen-8bit.sh: Likewise.
26366 * locale/iso-639.def: Add ary entry.
26369 * locale/C-translit.h.in: Add U20A1 transliteration.
26372 * locale/iso-639.def: Add wae entry.
26373 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26376 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26380 * locale/C-translit.h.in: Add entry for U20B9.
26381 Patch by pravin.d.s@gmail.com.
26383 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26386 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26387 ENAMETOOLONG use generic getcwd.
26388 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26389 in rtld. Use *stat64.
26390 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26391 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26392 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26393 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26394 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26395 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26396 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26397 __fstatat64 macros.
26398 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26399 * dirent/rewinddir.c: Add libc_hidden_def.
26400 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26401 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26403 * include/dirent.h (__alloc_dir): Add flags parameter.
26404 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26405 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26407 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26408 from fdopendir if O_CLOEXEC is already set.
26410 2011-03-15 Alan Modra <amodra@gmail.com>
26412 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26413 l_tls_firstbyte_offset non-zero. Save padding offset in
26414 l_tls_firstbyte_offset for later use.
26415 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26416 freeing static tls block.
26418 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26420 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26421 where #ifdef was intended. The intent is to prevent ARG_MAX from
26422 being defined by the kernel headers.
26424 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26427 * resolv/resolv.h: Define RES_NOTLDQUERY.
26428 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26429 no-tld-query and set RES_NOTLDQUERY.
26430 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26431 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26432 modern BIND to search name as TLD unless forbidden.
26434 2011-05-07 Petr Baudis <pasky@suse.cz>
26435 Ulrich Drepper <drepper@gmail.com>
26438 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26439 (is_trusted_path): ...to here.
26440 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26441 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26442 using is_trusted_path_normalize() in setuid scripts.
26444 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26446 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26447 __BEGIN/__END_DECLS.
26449 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26451 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26452 NSS_STATUS_NOTFOUND if no record was found.
26454 2011-05-05 Andreas Schwab <schwab@redhat.com>
26456 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26457 (headers-not-in-tirpc): Remove rpc/netdb.h
26458 * resolv/netdb.h: Revert last change.
26460 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26462 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26463 circular dependency between libgcc.a and libc.a.
26465 2011-05-05 Andreas Schwab <schwab@redhat.com>
26467 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26468 * nis/Makefile: Don't install rpcsvc/*.
26469 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26470 instead of <rpc/types.h>.
26471 (MAXHOSTNAMELEN): Define.
26473 2011-05-03 Andreas Schwab <schwab@redhat.com>
26475 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26477 2011-04-28 Maciej Babinski <mbabinski@google.com>
26480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26481 gethostbyname4_r when IPv6 results are possible.
26483 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26486 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26487 _PC_PIPE_BUF handling.
26489 2011-04-30 Bruno Haible <bruno@clisp.org>
26492 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26493 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26495 * inet/getnameinfo.c (getnameinfo): Likewise.
26497 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26499 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26500 to groups setting in database lookup.
26501 * nss/nsswitch.conf: Add initgroups entry.
26503 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26506 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26508 Patch by Eric Blake <eblake@redhat.com>.
26510 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26512 * sunrpc/Makefile (need-export-routines): Add svc_run.
26513 (routines): Remove svc_run.
26514 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26515 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26516 * sunrpc/svc_run.c (svc_run): Likewise.
26517 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26519 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26522 problem in reallocation in last patch.
26524 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26526 * sunrpc/Makefile: Move inclusion of Rules.
26528 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26530 * nss/nss_files/files-initgroups.c: New file.
26531 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26532 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26533 _nss_files_initgroups_dyn.
26535 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26537 * elf/elf.h (R_ARM_IRELATIVE): Define.
26539 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26541 * po/ru.po: Update from translation team.
26543 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26545 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26548 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26551 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26552 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26553 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26554 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26555 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26557 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26559 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26561 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26562 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26563 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26565 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26568 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26570 * stdlib/bug-getcontext.c: New file.
26571 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26573 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26575 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26576 instructions into .machine "z9-109".
26577 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26578 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26580 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26582 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26583 between environment variables and auxiliary vector.
26585 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26587 * Makefile: Add rules to build linkobj/libc.so.
26588 * include/libc-symbols.h: Define libc_hidden_nolink.
26589 * include/rpc/auth.h: Mark functions which are to be hidden.
26590 * include/rpc/auth_des.h: Likewise.
26591 * include/rpc/auth_unix.h: Likewise.
26592 * include/rpc/clnt.h: Likewise.
26593 * include/rpc/des_crypt.h: Likewise.
26594 * include/rpc/key_prot.h: Likewise.
26595 * include/rpc/pmap_clnt.h: Likewise.
26596 * include/rpc/pmap_prot.h: Likewise.
26597 * include/rpc/pmap_rmt.h: Likewise.
26598 * include/rpc/rpc_msg.h: Likewise.
26599 * include/rpc/svc.h: Likewise.
26600 * include/rpc/svc_auth.h: Likewise.
26601 * include/rpc/xdr.h: Likewise.
26602 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26603 * nss/Makefile: Likewise.
26604 * sunrpc/Makefile: Don't install headers. Build library with normal
26605 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26606 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26607 for the compat linking library. Remove use of INTDEF/INTUSE.
26608 * sunrpc/auth_none.c: Likewise.
26609 * sunrpc/auth_unix.c: Likewise.
26610 * sunrpc/authdes_prot.c: Likewise.
26611 * sunrpc/authuxprot.c: Likewise.
26612 * sunrpc/clnt_gen.c: Likewise.
26613 * sunrpc/clnt_perr.c: Likewise.
26614 * sunrpc/clnt_raw.c: Likewise.
26615 * sunrpc/clnt_simp.c: Likewise.
26616 * sunrpc/clnt_tcp.c: Likewise.
26617 * sunrpc/clnt_udp.c: Likewise.
26618 * sunrpc/clnt_unix.c: Likewise.
26619 * sunrpc/des_crypt.c: Likewise.
26620 * sunrpc/des_soft.c: Likewise.
26621 * sunrpc/get_myaddr.c: Likewise.
26622 * sunrpc/key_call.c: Likewise.
26623 * sunrpc/key_prot.c: Likewise.
26624 * sunrpc/netname.c: Likewise.
26625 * sunrpc/pm_getmaps.c: Likewise.
26626 * sunrpc/pm_getport.c: Likewise.
26627 * sunrpc/pmap_clnt.c: Likewise.
26628 * sunrpc/pmap_prot.c: Likewise.
26629 * sunrpc/pmap_prot2.c: Likewise.
26630 * sunrpc/pmap_rmt.c: Likewise.
26631 * sunrpc/publickey.c: Likewise.
26632 * sunrpc/rpc_cmsg.c: Likewise.
26633 * sunrpc/rpc_common.c: Likewise.
26634 * sunrpc/rpc_dtable.c: Likewise.
26635 * sunrpc/rpc_prot.c: Likewise.
26636 * sunrpc/rpc_thread.c: Likewise.
26637 * sunrpc/rtime.c: Likewise.
26638 * sunrpc/svc.c: Likewise.
26639 * sunrpc/svc_auth.c: Likewise.
26640 * sunrpc/svc_authux.c: Likewise.
26641 * sunrpc/svc_raw.c: Likewise.
26642 * sunrpc/svc_run.c: Likewise.
26643 * sunrpc/svc_simple.c: Likewise.
26644 * sunrpc/svc_tcp.c: Likewise.
26645 * sunrpc/svc_udp.c: Likewise.
26646 * sunrpc/svc_unix.c: Likewise.
26647 * sunrpc/svcauth_des.c: Likewise.
26648 * sunrpc/xcrypt.c: Likewise.
26649 * sunrpc/xdr.c: Likewise.
26650 * sunrpc/xdr_array.c: Likewise.
26651 * sunrpc/xdr_float.c: Likewise.
26652 * sunrpc/xdr_intXX_t.c: Likewise.
26653 * sunrpc/xdr_mem.c: Likewise.
26654 * sunrpc/xdr_rec.c: Likewise.
26655 * sunrpc/xdr_ref.c: Likewise.
26656 * sunrpc/xdr_sizeof.c: Likewise.
26657 * sunrpc/xdr_stdio.c: Likewise.
26659 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26662 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26663 * sysdeps/ia64/dl-tls.h: Likewise.
26664 * sysdeps/powerpc/dl-tls.h: Likewise.
26665 * sysdeps/s390/dl-tls.h: Likewise.
26666 * sysdeps/sh/dl-tls.h: Likewise.
26667 * sysdeps/sparc/dl-tls.h: Likewise.
26668 * sysdeps/x86_64/dl-tls.h: Likewise.
26669 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26671 2011-03-14 Andreas Schwab <schwab@redhat.com>
26673 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26674 rpath element also skip the following colon.
26675 (expand_dynamic_string_token): Add is_path parameter and pass
26676 down to DL_DST_REQUIRED and _dl_dst_substitute.
26677 (decompose_rpath): Call expand_dynamic_string_token with
26678 non-zero is_path. Ignore empty rpaths.
26679 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26682 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26687 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26690 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26691 Patch by Filipe David Manana <fdmanana@apache.org>.
26693 2011-04-07 Andreas Schwab <schwab@redhat.com>
26695 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26696 Maintain aligned stack.
26697 (CHECK_RSP): Remove unused macro.
26699 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26701 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26702 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26704 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26706 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26708 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26710 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26713 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26714 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26715 * sysdeps/x86_64/memmove.c: New file.
26716 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26717 (memcpy): Renamed to ...
26718 (__new_memcpy): This.
26719 (memcpy): Provide GLIBC_2_14 memcpy.
26720 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26721 (memcpy): Provide GLIBC_2_2_5 memcpy.
26723 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26726 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26728 2011-03-30 Andreas Schwab <schwab@redhat.com>
26730 * misc/syncfs.c: New file.
26731 * misc/Makefile (routines): Add syncfs.
26732 * posix/unistd.h: Declare syncfs.
26733 * sysdeps/unix/syscalls.list: Add syncfs.
26735 2011-04-01 Andreas Schwab <schwab@redhat.com>
26737 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26739 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26740 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26742 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26744 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26745 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26747 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26749 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26750 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26751 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26753 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26755 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26757 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26758 sync_file_range.c with -fexceptions.
26759 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26760 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26761 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26762 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26763 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26764 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26765 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26766 sync_file_range as cancellation point
26767 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26768 now a wrapper around __call_sync_file_range with cancellation handling.
26769 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26770 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26771 function name to __call_sync_file_range.
26772 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26773 Add call_sync_file_range.
26775 2011-04-01 Andreas Schwab <schwab@redhat.com>
26777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26780 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26782 * iconv/iconv.h: Fix typo in comment.
26783 * io/fcntl.h: Likewise.
26784 * libio/stdio.h: Likewise.
26785 * posix/spawn.h: Likewise.
26786 * posix/unistd.h: Likewise.
26787 * stdlib/stdlib.h: Likewise.
26788 * time/time.h: Likewise.
26789 * wcsmbs/wchar.h: Likewise.
26791 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26792 open_by_handle): Add.
26793 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26794 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26795 Augment a few comments.
26796 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26797 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26798 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26801 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26804 * io/fcntl.h (AT_EMPTY_PATH): Define.
26806 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26808 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26809 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26810 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26812 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26813 * Versions.def: Add GLIBC_2.14.
26814 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26817 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26819 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26821 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26823 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26826 * string/test-strncmp.c (do_page_test): New function.
26827 (check2): Likewise.
26828 (test_main): Call check2.
26829 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26831 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26834 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26835 Handle cache information in CPU leaf 4.
26836 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26838 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26841 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26842 character representation.
26843 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26845 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26847 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26848 END(__isnan) to END(__isnanf) to match function entry point/label
26849 EALIGN(__isnanf,...).
26851 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26853 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26855 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26858 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26859 copy from the symbol referenced in the relocation to initialize the
26861 Patch by Piotr Bury <pbury@goahead.com>.
26862 * elf/Makefile: Add rules to build and tst-unique3.
26863 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26864 * elf/tst-unique3.cc: New file.
26865 * elf/tst-unique3.h: New file.
26866 * elf/tst-unique3lib.cc: New file.
26867 * elf/tst-unique3lib2.cc: New file.
26869 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26871 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26873 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26874 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26877 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26879 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26880 to-be-loaded object along a path to loader is ld.so.
26882 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26883 Ulrich Drepper <drepper@gmail.com>
26885 * sysdeps/x86_64/memset.S: After aligning destination, code
26886 branches to different locations depending on the value of
26887 misalignment, when multiarch is enabled. Fix this.
26889 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26891 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26892 Set _x86_64_preferred_memory_instruction for AMD processsors.
26893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26894 Set bit_Prefer_SSE_for_memop for AMD processors.
26896 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26898 * libio/fmemopen.c (fmemopen): Optimize a bit.
26900 2011-03-03 Andreas Schwab <schwab@redhat.com>
26902 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26904 2011-03-03 Roland McGrath <roland@redhat.com>
26906 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26908 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26910 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26911 __bzero_ultra1 instead of __memset_ultra1.
26913 2011-02-23 Andreas Schwab <schwab@redhat.com>
26914 Ulrich Drepper <drepper@gmail.com>
26917 * include/link.h (struct link_map): Add l_orig_initfini.
26918 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26919 returning unsuccessfully.
26920 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26921 close of a file loaded at startup, restore the original l_initfini
26923 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26924 list, store the pointer.
26925 * elf/Makefile ($(objpfx)noload-mem): New rule.
26926 (noload-ENV): Define.
26927 (tests): Add $(objpfx)noload-mem.
26928 * elf/noload.c: Include <memcheck.h>.
26929 (main): Call mtrace. Close all opened handles.
26931 2011-02-17 Andreas Schwab <schwab@redhat.com>
26934 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26935 dependencies are missing.
26937 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26939 Fix __if_freereq crash: Unlike the generic version which uses free,
26941 * sysdeps/mach/hurd/ifreq.h: New file.
26943 2011-01-27 Petr Baudis <pasky@suse.cz>
26944 Ulrich Drepper <drepper@gmail.com>
26947 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26948 to extend_alloca().
26949 * stdio-common/bug23.c: New file.
26950 * stdio-common/Makefile (tests): Add bug23.
26952 2010-09-28 Andreas Schwab <schwab@redhat.com>
26953 Ulrich Drepper <drepper@gmail.com>
26956 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26957 before performing relro protection. At old place add assertion
26958 to make sure nothing changed.
26960 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26961 Glauber de Oliveira Costa <glommer@gmail.com>
26963 * elf/elf.h: Add new ARM TLS relocs.
26965 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26968 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26970 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26972 * sysdeps/wordsize-64/tst-writev.c: New file.
26974 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26976 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26977 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26978 insns in _dl_start to prevent a TOC reference before relocs are
26981 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26984 * Makeconfig: Remove RANLIB definition.
26985 * Makerules: Don't use RANLIB.
26986 * aclocal.m4: Remove ranlib test.
26987 * configure.in: No need to check for ranlib.
26988 * elf/rtld-Rules: Don't use RANLIB.
26990 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26992 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26994 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26995 inclusion protection macro.
26997 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26998 SIGRTMIN and SIGRTMAX and print information in that case only when
26999 SIGRTMIN is defined.
27001 2011-02-11 Jakub Jelinek <jakub@redhat.com>
27003 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27004 arginfo fn returning -1.
27006 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27007 and thousands string is zero terminated.
27009 2011-02-03 Andreas Schwab <schwab@redhat.com>
27011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27012 sysdeps/unix/sysv/linux/bits/socket.h.
27014 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27016 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27017 (__CPU_COUNT): Remove old macros.
27018 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27019 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27020 (__CPU_ALLOC, __CPU_FREE): Add macros.
27021 (__sched_cpualloc, __sched_cpufree): Add declarations.
27023 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27025 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27026 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27027 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27028 (readdhstai): Return value of addhstaiX call.
27029 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27030 (addgrbyX): Return value returned by cache_addgr.
27031 (readdgrbyname): Return value returned by addgrbyX.
27032 (readdgrbygid): Likewise.
27033 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27034 (addpwbyX): Return value returned by cache_addpw.
27035 (readdpwbyname): Return value returned by addhstbyX.
27036 (readdpwbyuid): Likewise.
27037 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27038 (addservbyX): Return value returned by cache_addserv.
27039 (readdservbyname): Return value returned by addservbyX:
27040 (readdservbyport): Likewise.
27041 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27042 (addhstbyX): Return value returned by cache_addhst.
27043 (readdhstbyname): Return value returned by addhstbyX.
27044 (readdhstbyaddr): Likewise.
27045 (readdhstbynamev6): Likewise.
27046 (readdhstbyaddrv6): Likewise.
27047 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27048 (readdinitgroups): Return value returned by addinitgroupsX.
27049 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27050 (prune_cache): Keep track of timeout value of re-added entries.
27051 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27052 * nscd/nscd.h: Adjust prototypes of readd* functions.
27054 2011-02-04 Roland McGrath <roland@redhat.com>
27056 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27057 (nis_stats): Likewise.
27058 * nis/nis_modify.c (nis_modify): Likewise.
27059 * nis/nis_remove.c (nis_remove): Likewise.
27060 * nis/nis_add.c (nis_add): Likewise.
27062 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27064 * posix/fnmatch_loop.c: Add some consts.
27066 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27068 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27071 * config.make.in (config-cflags-novzeroupper): Define.
27072 * configure.in: Substitute libc_cv_cc_novzeroupper.
27073 * elf/Makefile (AVX-CFLAGS): Define.
27074 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27075 (CFLAGS-tst-auditmod4a.c): Likewise.
27076 (CFLAGS-tst-auditmod4b.c): Likewise.
27077 (CFLAGS-tst-auditmod6b.c): Likewise.
27078 (CFLAGS-tst-auditmod6c.c): Likewise.
27079 (CFLAGS-tst-auditmod7b.c): Likewise.
27080 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27082 2011-02-02 Ulrich Drepper <drepper@gmail.com>
27084 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27085 function to the callback.
27086 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27088 2011-02-02 Andreas Schwab <schwab@redhat.com>
27090 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27093 2011-01-19 Ulrich Drepper <drepper@gmail.com>
27096 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27098 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27100 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27103 * elf/Makefile: Add rules to build and run new test.
27104 * elf/tst-initorder.c: New file.
27105 * elf/tst-initorder.exp: New file.
27106 * elf/tst-initordera1.c: New file.
27107 * elf/tst-initordera2.c: New file.
27108 * elf/tst-initordera3.c: New file.
27109 * elf/tst-initordera4.c: New file.
27110 * elf/tst-initorderb1.c: New file.
27111 * elf/tst-initorderb2.c: New file.
27112 * elf/tst-order-a1.c: New file.
27113 * elf/tst-order-a2.c: New file.
27114 * elf/tst-order-a3.c: New file.
27115 * elf/tst-order-a4.c: New file.
27116 * elf/tst-order-b1.c: New file.
27117 * elf/tst-order-b2.c: New file.
27118 * elf/tst-order-main.c: New file.
27119 New test case by George Gensure <werkt0@gmail.com>.
27121 2010-10-01 Andreas Schwab <schwab@redhat.com>
27123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27124 decoding ACE if AI_CANONIDN.
27126 2011-01-18 Ulrich Drepper <drepper@gmail.com>
27128 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27130 2011-01-17 Ulrich Drepper <drepper@gmail.com>
27132 * version.h (RELEASE): Bump for 2.13 release.
27133 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27135 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27137 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27139 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27140 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27141 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27142 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27143 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27144 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27146 * posix/getconf.c: Update copyright year.
27147 * catgets/gencat.c: Likewise.
27148 * csu/version.c: Likewise.
27149 * debug/catchsegv.sh: Likewise.
27150 * debug/xtrace.sh: Likewise.
27151 * elf/ldconfig.c: Likewise.
27152 * elf/ldd.bash.in: Likewise.
27153 * elf/sprof.c (print_version): Likewise.
27154 * iconv/iconv_prog.c: Likewise.
27155 * iconv/iconvconfig.c: Likewise.
27156 * locale/programs/locale.c: Likewise.
27157 * locale/programs/localedef.c: Likewise.
27158 * malloc/memusage.sh: Likewise.
27159 * malloc/mtrace.pl: Likewise.
27160 * nscd/nscd.c (print_version): Likewise.
27161 * nss/getent.c: Likewise.
27163 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27164 PF_CAIF, and PF_ALG.
27165 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27167 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27169 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27170 (modules-names): Use them.
27171 (ifunc-test-modules, ifunc-pie-tests): Define.
27172 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27173 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27174 (test-extras): Likewise.
27175 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27176 $(compile-command.c).
27177 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27178 (all-built-dso): Define.
27179 (check-textrel.out, check-execstack.out): Depend on it.
27181 * configure.in: Don't override --enable-multi-arch.
27183 2011-01-15 Ulrich Drepper <drepper@gmail.com>
27186 * nscd/hstcache.c (tryagain): Define.
27187 (cache_addhst): Return tryagain not notfound for temporary errors.
27188 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27191 2011-01-14 Ulrich Drepper <drepper@gmail.com>
27194 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27195 to make the syscall.
27196 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27199 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27200 and fall back to matching as normal character if the string ends before
27201 the matching ']' is found. This is what POSIX requires.
27202 * posix/testfnm.c: Adjust test result.
27203 * posix/globtest.sh: Adjust test result. Add new test.
27204 * posix/tst-fnmatch.input: Likewise.
27205 * posix/tst-fnmatch2.c: Add new test.
27207 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27209 * elf/Makefile (check-execstack): Revert last change. Depend on
27211 (check-execstack.h): New target.
27212 (generated): Add check-execstack.h.
27213 * elf/check-execstack.c: Include "check-execstack.h".
27214 (main): Revert last change.
27215 (handle_file): Return zero if GNU_STACK is absent and
27216 DEFAULT_STACK_PERMS doesn't include PF_X.
27218 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27220 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27221 in child fails because the descriptor is already closed.
27222 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27223 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27224 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27227 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27231 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27232 temporary buffer used to handle multi lookups locally.
27233 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27235 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27237 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27240 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27242 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27243 alignment for SSE2.
27245 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27248 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27249 characters. When rounding increased number of integer digits recompute
27251 * stdio-common/tst-grouping.c: New file.
27252 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27254 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27256 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27257 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27259 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27261 * bits/select.h: Likewise.
27263 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27265 * po/ja.po: Update from translation team.
27267 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27270 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27271 implementation just like for lxstat, fxstatat, et al.
27273 2010-12-27 Jim Meyering <meyering@redhat.com>
27276 * posix/regexec.c (build_trtable): Return failure indication upon
27277 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27279 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27282 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27283 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27284 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27285 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27288 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27291 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27292 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27294 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27296 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27297 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27298 script has SORT_BY_INIT_PRIORITY.
27299 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27300 NO_CTORS_DTORS_SECTIONS is defined.
27301 * elf/soinit.c: Likewise.
27302 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27303 NO_CTORS_DTORS_SECTIONS is defined.
27304 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27305 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27306 * sysdeps/sh/init-first.c: Likewise.
27307 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27309 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27311 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27312 always use the slow path.
27314 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27316 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27317 similar rule which adds the sysdep directories to the header search in
27318 order to pick up the correct platform stackinfo.h.
27319 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27320 perform test if it is, otherwise return successfully without testing.
27321 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27322 DEFAULT_STACK_PERMS define in stackinfo.h.
27323 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27324 defined in stackinfo.h.
27325 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27326 DEFAULT_STACK_PERMS defined in stackinfo.h.
27327 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27328 * sysdeps/ia64/stackinfo.h: Likewise.
27329 * sysdeps/s390/stackinfo.h: Likewise.
27330 * sysdeps/sh/stackinfo.h: Likewise.
27331 * sysdeps/sparc/stackinfo.h: Likewise.
27332 * sysdeps/x86_64/stackinfo.h: Likewise.
27333 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27334 PF_X for powerpc64. Retain PF_X for powerpc32.
27336 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27338 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27340 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27341 GETDENTS_64BIT_ALIGNED.
27343 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27345 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27347 2010-12-10 Andreas Schwab <schwab@redhat.com>
27349 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27352 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27353 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27355 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27356 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27358 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27361 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27364 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27366 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27368 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27370 * po/it.po: Update from translation team.
27372 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27377 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27379 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27381 2010-11-24 Andreas Schwab <schwab@redhat.com>
27383 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27385 (gaih_getanswer_slice): Likewise.
27387 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27391 2010-05-31 Petr Baudis <pasky@suse.cz>
27394 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27395 silently even in the chroot mode.
27397 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27399 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27400 last patch a bit. Pretty printing
27402 2010-05-31 Petr Baudis <pasky@suse.cz>
27405 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27406 initialization of skip_initgroups_dyn.
27408 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27410 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27411 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27413 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27415 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27417 2010-11-11 Andreas Schwab <schwab@redhat.com>
27419 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27420 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27421 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27422 ($(objpfx)tst-fnmatch-mem): New rule.
27423 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27424 * posix/tst-fnmatch.c (main): Call mtrace.
27426 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27429 Support Intel processor model 6 and model 0x2c.
27431 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27433 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27436 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27439 * string/test-strncasecmp.c (check_result): New function.
27440 (do_one_test): Use it.
27441 (check1): New function.
27442 (test_main): Use it.
27443 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27444 Support strcasecmp and strncasecmp.
27446 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27449 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27450 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27452 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27454 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27458 * sysdeps/x86_64/multiarch/bzero.S: New file.
27459 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27460 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27461 * sysdeps/x86_64/multiarch/memset.S: New file.
27462 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27464 Set bit_Prefer_SSE_for_memop for Intel processors.
27465 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27467 (index_Prefer_SSE_for_memop): Define.
27468 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27470 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27472 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27473 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27475 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27478 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27479 (__x86_64_raw_data_cache_size_half): Likewise.
27480 (__x86_64_raw_shared_cache_size): Likewise.
27481 (__x86_64_raw_shared_cache_size_half): Likewise.
27483 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27484 (__x86_64_raw_data_cache_size_half): Likewise.
27485 (__x86_64_raw_shared_cache_size): Likewise.
27486 (__x86_64_raw_shared_cache_size_half): Likewise.
27487 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27488 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27489 and __x86_64_raw_shared_cache_size_half. Round
27490 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27491 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27492 to multiple of 256 bytes.
27494 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27497 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27498 of inacessible symlinks. Verify result of symlink before returning it.
27499 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27500 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27502 2010-10-28 Erich Ritz <erichritz@gmail.com>
27504 * math/math.h (isinf): Fix typo in comment.
27506 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27508 * po/da.po: Update from translation team.
27510 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27512 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27513 is added to the list.
27515 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27516 Ulrich Drepper <drepper@gmail.com>
27518 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27519 the global list here. Move code to...
27520 (_dl_add_to_namespace_list): ...here. New function.
27521 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27522 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27523 * elf/dl-load.c (lose): Don't remove the element from the list.
27524 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27525 (_dl_map_object): Likewise.
27527 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27530 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27531 into all bytes of SSE register.
27532 Patch by Richard Li <richardpku@gmail.com>.
27534 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27537 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27540 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27542 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27543 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27544 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27545 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27550 2010-10-22 Andreas Schwab <schwab@redhat.com>
27552 * include/dlfcn.h (__RTLD_SECURE): Define.
27553 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27554 mode & __RTLD_SECURE instead.
27555 (open_path): Rename preloaded parameter to secure.
27556 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27557 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27558 * elf/dl-deps.c (openaux): Likewise.
27559 * elf/rtld.c (struct map_args): Remove is_preloaded.
27560 (map_doit): Don't use it.
27561 (dl_main): Likewise.
27562 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27563 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27565 2010-09-09 Andreas Schwab <schwab@redhat.com>
27567 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27568 (sysd-rules-targets): Remove duplicates.
27569 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27570 rtld-%.$o dependency.
27572 2010-10-18 Andreas Schwab <schwab@redhat.com>
27574 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27575 _dl_map_object do it.
27577 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27579 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27580 fast fma builtins, define the macros in the C99 standard.
27581 (FP_FAST_FMAF): Likewise.
27582 (FP_FAST_FMAL): Likewise.
27583 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27585 * bits/mathdef.h: Update copyright year.
27586 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27588 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27590 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27591 builtins, define the macros in the C99 standard.
27592 (FP_FAST_FMAF): Likewise.
27593 (FP_FAST_FMAL): Likewise.
27594 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27596 (FP_FAST_FMAF): Likewise.
27598 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27601 * math/libm-test.inc (fma_test): Some new testcases.
27602 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27603 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27604 y and infinite z. Do multiplication by C already in long double.
27605 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27607 y and infinite z. Do bitwise or of inexact bit into u.d.
27608 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27609 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27610 * sysdeps/i386/fpu/s_fma.S: Removed.
27611 * sysdeps/i386/fpu/s_fmal.S: Removed.
27613 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27616 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27618 computation is not scheduled after fetestexcept. Fix value
27619 of minimum denormal long double.
27621 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27624 * math/libm-test.inc (fma_test): Add some more tests.
27625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27628 2010-10-15 Andreas Schwab <schwab@redhat.com>
27630 * scripts/data/localplt-s390-linux-gnu.data: New file.
27631 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27633 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27636 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27637 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27639 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27641 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27643 if one of x and y is very large and the other is subnormal.
27644 * sysdeps/s390/fpu/s_fmaf.c: New file.
27645 * sysdeps/s390/fpu/s_fma.c: New file.
27646 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27647 * sysdeps/powerpc/fpu/s_fma.S: New file.
27648 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27649 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27650 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27652 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27655 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27657 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27658 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27659 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27660 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27661 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27662 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27663 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27665 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27668 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27669 * posix/bug-regex31.input: Add test case.
27671 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27673 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27674 * posix/bug-regex31.input: New file.
27677 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27678 (parse_sub_exp): Fix last change, use postorder.
27680 * posix/bug-regex31.c: New file.
27681 * posix/Makefile: Add rules to build and run bug-regex31.
27683 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27686 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27689 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27690 to have entries in sys_siglist.
27693 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27696 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27699 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27700 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27701 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27702 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27703 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27704 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27705 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27706 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27707 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27708 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27709 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27710 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27711 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27712 * math/ftestexcept.c (fetestexcept): Likewise.
27713 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27714 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27715 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27716 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27717 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27718 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27719 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27721 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27724 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27727 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27729 * string/bug-strstr1.c: New file.
27730 * string/Makefile: Add rules to build and run bug-strstr1.
27732 2010-10-05 Eric Blake <eblake@redhat.com>
27735 * string/str-two-way.h (two_way_long_needle): Always clear memory
27736 when skipping input due to the shift table.
27738 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27741 * malloc/mcheck.c: Handle large requests.
27744 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27745 for strncmp and strncasecmp.
27746 * string/stratcliff.c: Add tests for strcmp and strncmp.
27747 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27749 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27751 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27754 2010-09-30 Andreas Jaeger <aj@suse.de>
27756 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27757 (CGROUP_SUPER_MAGIC): Define.
27758 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27759 Handle btrfs and cgroup file systems.
27760 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27763 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27765 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27766 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27768 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27771 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27772 trying to locate the ELF header.
27774 2010-09-27 Andreas Schwab <schwab@redhat.com>
27777 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27778 Mask out sign-bit copies when constructing f_fsid.
27780 2010-09-24 Petr Baudis <pasky@suse.cz>
27782 * debug/stack_chk_fail_local.c: Add missing licence exception.
27783 * debug/warning-nop.c: Likewise.
27785 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27787 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27788 implementing getdents64 using getdents syscall, set d_type if
27789 __ASSUME_GETDENTS32_D_TYPE.
27791 2010-09-16 Andreas Schwab <schwab@redhat.com>
27793 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27794 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27796 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27799 * posix/unistd.h: Undo change of feature selection for ftruncate from
27802 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27804 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27807 2010-09-20 Andreas Schwab <schwab@redhat.com>
27809 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27811 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27813 2010-09-14 Andreas Schwab <schwab@redhat.com>
27815 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27816 variables after CHECK_SP call.
27817 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27819 2010-09-13 Andreas Schwab <schwab@redhat.com>
27820 Ulrich Drepper <drepper@redhat.com>
27822 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27823 re-relocationg ld.so.
27824 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27825 _dl_init_paths call.
27826 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27829 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27831 * resolv/res_init.c (__res_vinit): Count the default server we added.
27833 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27834 Ulrich Drepper <drepper@redhat.com>
27837 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27838 (____longjmp_chk): Use %ebx for saving value across system call.
27841 2010-09-06 Andreas Schwab <schwab@redhat.com>
27843 * manual/Makefile: Don't mix pattern rules with normal rules.
27845 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27847 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27849 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27850 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27851 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27852 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27853 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27856 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27859 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27860 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27862 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27864 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27865 * sysdeps/x86_64/addmul_1.S: Likewise.
27866 * sysdeps/x86_64/lshift.S: Likewise.
27867 * sysdeps/x86_64/mul_1.S: Likewise.
27868 * sysdeps/x86_64/rshift.S: Likewise.
27869 * sysdeps/x86_64/sub_n.S: Likewise.
27870 * sysdeps/x86_64/submul_1.S: Likewise.
27872 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27874 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27875 Define __sched_param instead of SCHED_* and sched_param when
27876 <bits/sched.h> is included with __need_schedparam defined.
27877 * bits/sched.h [__need_schedparam]
27878 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27879 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27880 (__defined_schedparam): Define to 1.
27881 (__sched_param): New structure, identical to sched_param.
27882 (__need_schedparam): Undefine.
27884 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27886 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27887 (epoll_create1): Declare.
27889 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27891 2010-08-31 Andreas Schwab <schwab@redhat.com>
27894 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27895 shifting retval into place.
27897 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27899 * nis/rpcsvc/nis.h: Update copyright notice.
27900 * nis/rpcsvc/nis.x: Likewise.
27901 * nis/rpcsvc/nis_callback.h: Likewise.
27902 * nis/rpcsvc/nis_callback.x: Likewise.
27903 * nis/rpcsvc/nis_object.x: Likewise.
27904 * nis/rpcsvc/nis_tags.h: Likewise.
27905 * nis/rpcsvc/yp.h: Likewise.
27906 * nis/rpcsvc/yp.x: Likewise.
27907 * nis/rpcsvc/ypupd.h: Likewise.
27908 * nis/yp_xdr.c: Likewise.
27909 * nis/ypupdate_xdr.c: Likewise.
27911 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27912 mainly the body of pmap_getport. Add parameters to specify timeouts.
27913 (pmap_getport): Use __libc_rpc_getport.
27914 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27915 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27916 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27918 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27923 2010-08-27 Roland McGrath <roland@redhat.com>
27925 * sysdeps/i386/i686/multiarch/Makefile
27926 (CFLAGS-varshift.c): New variable.
27928 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27930 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27931 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27935 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27937 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27939 * sysdeps/x86_64/strlen.S: Unroll the loop.
27940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27941 strlen-sse2 strlen-sse2-bsf.
27942 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27943 __strlen_no_bsf if bit_Slow_BSF is set.
27944 (__strlen_sse42): Removed.
27945 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27946 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27948 2010-08-25 Roland McGrath <roland@redhat.com>
27950 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27951 * sysdeps/x86_64/multiarch/varshift.c: New file.
27952 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27953 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27954 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27955 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27957 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27960 strlen-sse2 strlen-sse2-bsf.
27961 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27962 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27963 (__strlen_sse2): Removed.
27964 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27965 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27967 bit_Slow_BSF for Atom.
27968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27969 (index_Slow_BSF): Define.
27970 (HAS_SLOW_BSF): Define.
27972 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27975 * resolv/res_init.c (__res_vinit): When no server address at all
27976 is given default to loopback.
27978 2010-08-24 Roland McGrath <roland@redhat.com>
27980 * configure.in: Remove config-name.h generation.
27981 * configure: Regenerated.
27982 * config-name.in: File removed.
27983 * scripts/config-uname.sh: New file.
27984 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27985 ($(objdir)config-name.h): New target.
27987 * sunrpc/rpc_parse.h: Avoid nested comment.
27989 2010-08-24 Richard Henderson <rth@redhat.com>
27990 Ulrich Drepper <drepper@redhat.com>
27991 H.J. Lu <hongjiu.lu@intel.com>
27993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27995 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27996 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27997 _mm_alignr_epi8 with _mm_loadu_si128.
27998 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27999 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28000 (__m128i_shift_right): Removed.
28001 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28002 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28003 * sysdeps/x86_64/multiarch/varshift.h: New file.
28004 * sysdeps/x86_64/multiarch/varshift.S: New file.
28006 2010-08-21 Mike Frysinger <vapier@gentoo.org>
28008 * configure.in: Move assembler checks to before sysdep dir checking.
28010 2010-08-20 Petr Baudis <pasky@suse.cz>
28012 * LICENSES: Sync the sunrpc license.
28014 2010-08-19 Ulrich Drepper <drepper@redhat.com>
28016 * sunrpc/auth_des.c: Update copyright notice once again.
28017 * sunrpc/auth_none.c: Likewise.
28018 * sunrpc/auth_unix.c: Likewise.
28019 * sunrpc/authdes_prot.c: Likewise.
28020 * sunrpc/authuxprot.c: Likewise.
28021 * sunrpc/bindrsvprt.c: Likewise.
28022 * sunrpc/clnt_gen.c: Likewise.
28023 * sunrpc/clnt_perr.c: Likewise.
28024 * sunrpc/clnt_raw.c: Likewise.
28025 * sunrpc/clnt_simp.c: Likewise.
28026 * sunrpc/clnt_tcp.c: Likewise.
28027 * sunrpc/clnt_udp.c: Likewise.
28028 * sunrpc/clnt_unix.c: Likewise.
28029 * sunrpc/des_crypt.c: Likewise.
28030 * sunrpc/des_soft.c: Likewise.
28031 * sunrpc/get_myaddr.c: Likewise.
28032 * sunrpc/getrpcport.c: Likewise.
28033 * sunrpc/key_call.c: Likewise.
28034 * sunrpc/key_prot.c: Likewise.
28035 * sunrpc/openchild.c: Likewise.
28036 * sunrpc/pm_getmaps.c: Likewise.
28037 * sunrpc/pm_getport.c: Likewise.
28038 * sunrpc/pmap_clnt.c: Likewise.
28039 * sunrpc/pmap_prot.c: Likewise.
28040 * sunrpc/pmap_prot2.c: Likewise.
28041 * sunrpc/pmap_rmt.c: Likewise.
28042 * sunrpc/rpc/auth.h: Likewise.
28043 * sunrpc/rpc/auth_unix.h: Likewise.
28044 * sunrpc/rpc/clnt.h: Likewise.
28045 * sunrpc/rpc/des_crypt.h: Likewise.
28046 * sunrpc/rpc/key_prot.h: Likewise.
28047 * sunrpc/rpc/netdb.h: Likewise.
28048 * sunrpc/rpc/pmap_clnt.h: Likewise.
28049 * sunrpc/rpc/pmap_prot.h: Likewise.
28050 * sunrpc/rpc/pmap_rmt.h: Likewise.
28051 * sunrpc/rpc/rpc.h: Likewise.
28052 * sunrpc/rpc/rpc_des.h: Likewise.
28053 * sunrpc/rpc/rpc_msg.h: Likewise.
28054 * sunrpc/rpc/svc.h: Likewise.
28055 * sunrpc/rpc/svc_auth.h: Likewise.
28056 * sunrpc/rpc/types.h: Likewise.
28057 * sunrpc/rpc/xdr.h: Likewise.
28058 * sunrpc/rpc_clntout.c: Likewise.
28059 * sunrpc/rpc_cmsg.c: Likewise.
28060 * sunrpc/rpc_common.c: Likewise.
28061 * sunrpc/rpc_cout.c: Likewise.
28062 * sunrpc/rpc_dtable.c: Likewise.
28063 * sunrpc/rpc_hout.c: Likewise.
28064 * sunrpc/rpc_main.c: Likewise.
28065 * sunrpc/rpc_parse.c: Likewise.
28066 * sunrpc/rpc_parse.h: Likewise.
28067 * sunrpc/rpc_prot.c: Likewise.
28068 * sunrpc/rpc_sample.c: Likewise.
28069 * sunrpc/rpc_scan.c: Likewise.
28070 * sunrpc/rpc_scan.h: Likewise.
28071 * sunrpc/rpc_svcout.c: Likewise.
28072 * sunrpc/rpc_tblout.c: Likewise.
28073 * sunrpc/rpc_util.c: Likewise.
28074 * sunrpc/rpc_util.h: Likewise.
28075 * sunrpc/rpcinfo.c: Likewise.
28076 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28077 * sunrpc/rpcsvc/key_prot.x: Likewise.
28078 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28079 * sunrpc/rpcsvc/mount.x: Likewise.
28080 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28081 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28082 * sunrpc/rpcsvc/rex.x: Likewise.
28083 * sunrpc/rpcsvc/rstat.x: Likewise.
28084 * sunrpc/rpcsvc/rusers.x: Likewise.
28085 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28086 * sunrpc/rpcsvc/spray.x: Likewise.
28087 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28088 * sunrpc/rtime.c: Likewise.
28089 * sunrpc/svc.c: Likewise.
28090 * sunrpc/svc_auth.c: Likewise.
28091 * sunrpc/svc_authux.c: Likewise.
28092 * sunrpc/svc_raw.c: Likewise.
28093 * sunrpc/svc_run.c: Likewise.
28094 * sunrpc/svc_simple.c: Likewise.
28095 * sunrpc/svc_tcp.c: Likewise.
28096 * sunrpc/svc_udp.c: Likewise.
28097 * sunrpc/svc_unix.c: Likewise.
28098 * sunrpc/svcauth_des.c: Likewise.
28099 * sunrpc/xcrypt.c: Likewise.
28100 * sunrpc/xdr.c: Likewise.
28101 * sunrpc/xdr_array.c: Likewise.
28102 * sunrpc/xdr_float.c: Likewise.
28103 * sunrpc/xdr_mem.c: Likewise.
28104 * sunrpc/xdr_rec.c: Likewise.
28105 * sunrpc/xdr_ref.c: Likewise.
28106 * sunrpc/xdr_sizeof.c: Likewise.
28107 * sunrpc/xdr_stdio.c: Likewise.
28109 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28112 2010-08-19 Andreas Schwab <schwab@redhat.com>
28114 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28116 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
28118 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28119 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28120 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28121 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28122 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28123 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28124 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28125 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28126 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28127 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28128 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28129 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28130 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28131 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28133 2010-07-26 Anton Blanchard <anton@samba.org>
28135 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28136 * malloc/arena.c (heap_trim): Likewise.
28138 2010-08-16 Ulrich Drepper <drepper@redhat.com>
28140 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28142 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28143 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28145 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28147 * sysdeps/i386/elf/Makefile: New file.
28149 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28151 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28152 from fanotify_init.
28153 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28156 2010-08-15 Ulrich Drepper <drepper@redhat.com>
28158 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28160 * sysdeps/multiarch/strcmp.S: Likewise.
28162 2010-08-14 Ulrich Drepper <drepper@redhat.com>
28164 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28165 strncase_l-nonascii.
28166 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28167 Add strncase_l-ssse3.
28168 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28169 * sysdeps/x86_64/strcmp.S: Likewise.
28170 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28171 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28172 * sysdeps/x86_64/strncase.S: New file.
28173 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28174 * sysdeps/x86_64/strncase_l.S: New file.
28175 * string/Makefile (strop-tests): Add strncasecmp.
28176 * string/test-strncasecmp.c: New file.
28178 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28181 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28182 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28184 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28186 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28188 2010-08-12 Ulrich Drepper <drepper@redhat.com>
28190 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28191 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28192 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28194 2010-05-01 Alan Modra <amodra@gmail.com>
28196 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28197 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28198 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28199 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28200 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28201 tidying. Don't tail-call __sigjmp_save for static lib.
28202 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28204 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28205 (CALL_MCOUNT): Add eh info, and nop after bl.
28206 (TAIL_CALL_SYSCALL_ERROR): New macro.
28207 (PSEUDO_RET): Use it.
28208 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28209 Correct save location of integer regs and cr.
28210 (_dl_profile_resolve): Correct cr save location. Delete nops
28211 after bl when SHARED. Reduce cfi size a little by better
28212 placement of cfi directives.
28213 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28214 make a stack frame. Instead use parm save area as a temp.
28215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28216 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28218 Don't make a stack frame for parent, use parm save area.
28219 Increase child stack frame to 112 bytes. Don't save unused reg,
28220 and adjust reg usage. Set up cfi on error recovery and
28221 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28223 (__makecontext): Add dummy nop after jump to exit.
28224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28225 Use correct parm save area and cr save, reduce stack frame.
28226 Correct cfi for possible PSEUDO_RET frame setup.
28227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28228 Branch to local label emitted by PSEUDO_RET rather than
28231 2010-08-12 Andreas Schwab <schwab@redhat.com>
28234 * locale/programs/locale.c (print_assignment): New function.
28235 (show_locale_vars): Use it.
28237 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28239 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28241 (struct statfs64): Likewise.
28242 (_STATFS_F_FLAGS): Define.
28243 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28244 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28245 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28246 (ST_VALID): Define locally.
28247 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28248 __statvfs_getflags, use the provided value.
28249 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28250 __ASSUME_STATFS_F_FLAGS.
28252 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28254 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28255 Add sys/fanotify.h.
28256 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28257 fanotify_mask for GLIBC_2.13.
28258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28259 fanotify_init and fanotify_mark.
28260 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28261 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28263 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28265 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28266 prlimit64 for GLIBC_2.13.
28267 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28272 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28273 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28274 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28277 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28280 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28281 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28283 * nss/Makefile: Add rules to build and run tst-nss-test1.
28284 * shlib-versions: Add entry for libnss_test1.
28285 * nss/nss_test1.c: New file.
28286 * nss/tst-nss-test1.c: New file.
28288 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28289 (__nss_configure_lookup): Set appropriate entry in
28290 __nss_configure_lookup to true.
28291 * nss/nsswitch.h: Define enum with indeces of databases in
28292 databases and __nss_database_custom arrays. Declare
28293 __nss_database_custom.
28294 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28295 to avoid using nscd when custom rules are installed.
28296 * nss/getXXbyYY_r.c: Likewise.
28297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28299 * nss/nss_files/files-parse.c: Whitespace fixes.
28301 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28304 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28305 * posix/fnmatch_loop.c: Likewise.
28307 2010-07-17 Andi Kleen <ak@linux.intel.com>
28309 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28310 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28311 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28312 * Versions.def [GLIBC_2.13]: Add.
28314 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28316 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28317 Also fail if tpwd after pwuid call is NULL.
28319 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28321 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28322 when converting to ms.
28324 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28326 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28327 EOPNOTSUPP errors with ENOTTY.
28328 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28329 EOPNOTSUPP errors with ENOTTY.
28331 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28333 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28334 Add strcasecmp_l-ssse3.
28335 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28337 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28338 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28339 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28341 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28343 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28345 * string/Makefile (strop-tests): Add strcasecmp.
28346 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28347 strcasecmp_l-nonascii.
28348 (gen-as-const-headers): Add locale-defines.sym.
28349 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28350 * sysdeps/x86_64/strcasecmp.S: New file.
28351 * sysdeps/x86_64/strcasecmp_l.S: New file.
28352 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28353 * sysdeps/x86_64/locale-defines.sym: New file.
28354 * string/test-strcasecmp.c: New file.
28356 * string/test-strcasestr.c: Test both ends of the range of characters.
28357 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28359 2010-07-29 Roland McGrath <roland@redhat.com>
28362 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28364 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28366 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28369 2010-07-27 Andreas Schwab <schwab@redhat.com>
28371 * manual/memory.texi (Malloc Tunable Parameters): Document
28374 2010-07-26 Roland McGrath <roland@redhat.com>
28377 * configure.in (-fgnu89-inline check): Set and substitute
28378 gnu89_inline, not libc_cv_gnu89_inline.
28379 * configure: Regenerated.
28380 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28382 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28384 * string/test-strnlen.c: New file.
28385 * string/Makefile (strop-tests): Add strnlen.
28386 * string/tester.c (test_strnlen): Add a few more test cases.
28387 * string/tst-strlen.c: Better error reporting.
28389 * sysdeps/x86_64/strnlen.S: New file.
28391 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28393 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28394 lower-latency instructions.
28396 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28398 * string/test-strcasestr.c: New file.
28399 * string/test-strstr.c: New file.
28400 * string/Makefile (strop-tests): Add strstr and strcasestr.
28401 * string/str-two-way.h: Don't undefine MAX.
28402 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28404 2010-07-21 Andreas Schwab <schwab@redhat.com>
28406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28407 strcasestr-nonascii.
28408 (CFLAGS-strcasestr-nonascii.c): Define.
28409 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28410 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28411 Remove unused attribute.
28413 2010-07-20 Roland McGrath <roland@redhat.com>
28415 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28416 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28417 ld.so.cache was broken. With it, there is no way to disable dsocaps
28418 like LD_HWCAP_MASK can disable hwcaps.
28420 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28422 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28424 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28426 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28427 call in strcasestr.
28428 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28429 __strcasestr_sse42_nonascii.
28430 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28431 strcasestr-nonascii.c.
28432 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28434 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28436 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28437 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28438 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28439 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28441 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28443 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28446 2010-07-06 Andreas Schwab <schwab@redhat.com>
28449 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28452 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28454 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28455 _PC_PIPE_BUF using F_GETPIPE_SZ.
28457 2010-07-05 Roland McGrath <roland@redhat.com>
28459 * manual/arith.texi (Rounding Functions): Fix rint description
28460 implicit in round description.
28462 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28464 * elf/Makefile: Fix linking for a few tests to make recent linker
28467 2010-06-30 Andreas Schwab <schwab@redhat.com>
28469 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28470 $(common-objpfx)libc_nonshared.a.
28472 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28474 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28475 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28476 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28477 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28478 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28479 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28480 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28481 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28496 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28497 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28498 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28499 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28500 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28501 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28502 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28503 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28504 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28505 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28506 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28507 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28523 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28525 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28526 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28527 * string/memmove.c (memmove): Renamed to ...
28528 (MEMMOVE): ...this. Default to memmove.
28529 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28530 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28533 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28534 mempcpy-ssse3-back memmove-ssse3-back.
28535 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28536 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28537 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28538 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28539 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28540 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28541 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28542 * sysdeps/x86_64/multiarch/memmove.c: New file.
28543 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28544 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28545 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28546 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28547 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28548 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28550 (index_Fast_Copy_Backward): Define.
28551 (HAS_ARCH_FEATURE): Define.
28552 (HAS_FAST_REP_STRING): Define.
28553 (HAS_FAST_COPY_BACKWARD): Define.
28555 2010-06-21 Andreas Schwab <schwab@redhat.com>
28557 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28558 Restore proper fallback handling.
28560 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28563 * posix/group_member.c (__group_member): Correct checking loop.
28565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28566 OOM in getpwuid_r correctly. Return error number when the caller
28567 should return, otherwise -1.
28568 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28569 call returning > 0 value.
28570 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28572 2010-06-07 Andreas Schwab <schwab@redhat.com>
28574 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28575 libc_nonshared.a from targets in modules-names.
28577 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28579 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28582 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28584 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28585 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28589 2010-06-02 Andreas Schwab <schwab@redhat.com>
28591 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28593 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28595 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28597 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28598 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28599 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28601 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28602 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28604 2010-06-14 Roland McGrath <roland@redhat.com>
28606 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28608 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28610 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28611 __REDIRECT followed by __THROW.
28612 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28613 * posix/getopt.h (getopt): Likewise.
28615 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28617 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28618 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28619 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28621 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28622 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28624 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28626 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28628 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28632 Properly check family and model.
28634 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28636 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28638 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28640 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28642 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28644 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28647 2010-05-19 Andreas Schwab <schwab@redhat.com>
28649 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28652 2010-05-21 Andreas Schwab <schwab@redhat.com>
28654 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28655 and internal_recvmmsg.
28656 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28657 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28658 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28659 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28661 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28662 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28663 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28665 2010-05-20 Andreas Schwab <schwab@redhat.com>
28667 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28669 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28671 POWER7 optimizations.
28672 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28673 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28675 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28677 * version.h: Update for 2.13 development version.
28679 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28681 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28682 exceptions. Return 0.
28684 2010-05-07 Roland McGrath <roland@redhat.com>
28686 * elf/ldconfig.c (main): Add a const.
28688 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28690 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28691 (args_options): Add no-idn option.
28692 (ahosts_keys_int): Add idn_flags to ai_flags.
28693 (parse_option): Handle 'i' option to clear idn_flags.
28695 * malloc/malloc.c (_int_free): Possible race in the most recently
28696 added check. Only act on the data if no current modification
28699 See ChangeLog.17 for earlier changes.