1 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * benchtests/bench-skeleton.c (startup): Fix coding style.
5 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9 negative infinity argument.
10 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11 negative infinity argument.
12 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13 negative infinity argument.
14 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17 2013-05-10 Florian Weimer <fweimer@redhat.com>
19 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21 * iconv/iconv_prog.c (main): Likewise.
22 * locale/programs/charmap-dir.c (charmap_readdir)
23 (fopen_uncompressed): Likewise.
24 * locale/programs/locfile.c (siblings_uncached)
25 (write_locale_data): Use lstat64 instead of lstat.
26 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29 2013-05-10 Andreas Jaeger <aj@suse.de>
32 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36 2013-05-09 Carlos O'Donell <carlos@redhat.com>
38 * elf/dl-close.c (_dl_close_worker): Add comments.
40 2013-05-09 Joseph Myers <joseph@codesourcery.com>
43 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
45 (__ieee754_rem_pio2l): Update comments.
48 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50 (__ieee754_rem_pio2l): Update comments.
52 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
53 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
55 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
58 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
59 (M_PI_34_LOG10El): Likewise.
60 (M_PI2_LOG10El): Likewise.
61 (M_PI4_LOG10El): Likewise.
62 (M_PI_LOG10El): Likewise.
64 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68 2013-05-08 Joseph Myers <joseph@codesourcery.com>
70 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
71 (MINUS_ZERO_INIT): Likewise.
72 (PLUS_INFTY_INIT): Likewise.
73 (MINUS_INFTY_INIT): Likewise.
74 (QNAN_VALUE_INIT): Likewise.
75 (MAX_VALUE_INIT): Likewise.
76 (MIN_VALUE_INIT): Likewise.
77 (MIN_SUBNORM_VALUE_INIT): Likewise.
78 (plus_zero): Initialize with PLUS_ZERO_INIT.
79 (minus_zero): Initialize with MINUS_ZERO_INIT.
80 (plus_infty): Initialize with PLUS_INFTY_INIT.
81 (minus_infty): Initialize with MINUS_INFTY_INIT.
82 (qnan_value): Initialize with QNAN_VALUE_INIT.
83 (max_value): Initialize with MAX_VALUE_INIT.
84 (min_value): Initialize with MIN_VALUE_INIT.
85 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
87 * math/libm-test.inc (RUN_TEST_if_f): New macro.
88 (jn_test): Use TEST_if_f instead of TEST_ff_f.
89 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
90 (yn_test): Use TEST_if_f instead of TEST_ff_f.
92 * math/libm-test.inc (RUN_TEST_f_f): New macro.
93 (RUN_TEST_2_f): Likewise.
94 (RUN_TEST_ff_f): Likewise.
95 (RUN_TEST_fi_f): Likewise.
96 (RUN_TEST_fl_f): Likewise.
97 (RUN_TEST_fff_f): Likewise.
98 (RUN_TEST_c_f): Likewise.
99 (RUN_TEST_f_f1): Likewise.
100 (RUN_TEST_fF_f1): Likewise.
101 (RUN_TEST_fI_f1): Likewise.
102 (RUN_TEST_ffI_f1): Likewise.
103 (RUN_TEST_c_c): Likewise.
104 (RUN_TEST_cc_c): Likewise.
105 (RUN_TEST_f_i): Likewise.
106 (RUN_TEST_f_i_tg): Likewise.
107 (RUN_TEST_ff_i_tg): Likewise.
108 (RUN_TEST_f_b): Likewise.
109 (RUN_TEST_f_b_tg): Likewise.
110 (RUN_TEST_f_l): Likewise.
111 (RUN_TEST_f_L): Likewise.
112 (RUN_TEST_sincos): Likewise.
113 * math/gen-libm-test.pl (new_test): Take new argument to indicate
114 whether to show exceptions. Do not include ");\n" in return
116 (special_functions): Output call to RUN_TEST_sincos instead of
117 check_float calls. Update calls to new_test.
118 (parse_args): Output call to single RUN_TEST_* macro instead of
119 check_* calls and other assignments. Update calls to new_test.
125 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
126 input to result for tgamma overflow.
127 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
128 (gamma_coeff): New variable.
130 (gamma_positive): New function.
131 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
132 underflow here. Use gamma_positive instead of exp (lgamma) for
134 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
135 (gamma_coeff): New variable.
137 (gammaf_positive): New function.
138 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
139 underflow here. Use gamma_positive instead of exp (lgamma) for
141 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
142 (gamma_coeff): New variable.
144 (gammal_positive): New function.
145 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
146 underflow here. Use gamma_positive instead of exp (lgamma) for
148 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
149 (gamma_coeff): New variable.
151 (gammal_positive): New function.
152 (__ieee754_gammal_r): Handle positive infinity, overflow and
153 underflow here. Handle NaN the same as positive infinity. Remove
154 check x < 0xffffffff for negative integers. Use gamma_positive
155 instead of exp (lgamma) for other arguments.
156 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
157 (gamma_coeff): New variable.
159 (gammal_positive): New function.
160 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
161 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
162 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
163 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
164 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
165 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
166 * sysdeps/generic/math_private.h (__gamma_productf): New
168 (__gamma_product): Likewise.
169 (__gamma_productl): Likewise.
170 * math/Makefile (libm-calls): Add gamma_product.
171 * math/libm-test.inc (tgamma_test): Add more tests.
172 * sysdeps/i386/fpu/libm-test-ulps: Update.
173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
175 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
177 * benchtests/bench-skeleton.c (main): Preheat CPU.
179 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
181 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
183 2013-05-07 Roland McGrath <roland@hack.frob.com>
185 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
186 and _dl_skip_args_internal.
188 2013-05-07 Carlos O'Donell <carlos@redhat.com>
190 * manual/message.texi (Message Translation): Talk about users.
191 Message to key mapping impacts design.
193 2013-05-06 Roland McGrath <roland@hack.frob.com>
195 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
197 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
199 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
200 * sysdeps/wordsize-64/glob64.c: ... here.
202 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
203 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
206 * debug/getlogin_r_chk.c: Moved to ...
207 * login/getlogin_r_chk.c: ... here.
208 * debug/Makefile (routines): Move getlogin_r_chk to ...
209 * login/Makefile (routines): ... here.
210 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
211 * login/Versions (libc: GLIBC_2.4): ... here.
213 * io/poll.c (__poll): Renamed from poll.
215 (poll): Define as weak alias.
217 * debug/ptsname_r_chk.c: Moved to ...
218 * login/ptsname_r_chk.c: ... here.
219 * debug/Makefile (routines): Move ptsname_r_chk to ...
220 * login/Makefile (routines): ... here.
221 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
222 * login/Versions (libc: GLIBC_2.4): ... here.
224 * posix/getlogin.c: Moved to ...
225 * login/getlogin.c: ... here.
226 * posix/getlogin_r.c: Moved to ...
227 * login/getlogin_r.c: ... here.
228 * posix/getlogin_r.c: Moved to ...
229 * login/getlogin_r.c: ... here.
230 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
231 * login/Makefile (routines): ... here.
232 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
233 * login/Versions (libc: GLIBC_2.0): ... here.
235 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
236 (setrlimit): Define as weak alias.
238 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
239 Call __ names for open, ftruncate, and close.
240 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
241 (truncate): Define as weak alias.
243 2013-05-06 Joseph Myers <joseph@codesourcery.com>
245 * math/gen-libm-test.pl (parse_args): Initialize x before each
246 test of frexp, modf and remquo.
248 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
251 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
255 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
257 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
259 2013-05-06 Roland McGrath <roland@hack.frob.com>
261 * elf/dl-writev.h: New file.
262 * elf/dl-misc.c: Include it.
263 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
264 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
266 2013-05-04 Joseph Myers <joseph@codesourcery.com>
268 * math/libm-test.inc (noXFails): Remove variable.
269 (noXPasses): Likewise.
270 (BUILD_COMPLEX_INT): Remove macro.
271 (print_screen): Remove xfail argument.
272 (print_screen_max_error): Likewise.
273 (update_stats): Likewise.
274 (print_max_error): Likewise. Update calls to other affected
276 (print_complex_max_error): Likewise.
277 (test_single_exception): Update calls to print_screen.
278 (test_single_errno): Likewise.
279 (check_float_internal): Remove xfail argument. Update calls to
280 other affected functions.
281 (check_float): Likewise.
282 (check_complex): Likewise.
283 (check_int): Likewise.
284 (check_long): Likewise.
285 (check_bool): Likewise.
286 (check_longlong): Likewise.
287 (main): Don't print noXFails and noXPasses.
288 * math/gen-libm-test.pl (top level): Don't mention expected
289 failure handling in comment.
290 (new_test): Don't handle expected failures.
291 (parse_args): Don't mention expected failure handling in comment.
292 (generate_testfile): Don't handle expected failures.
293 (parse_ulps): Likewise.
294 (print_ulps_file): Likewise.
295 (get_failure): Remove function.
296 (output_test): Don't handle expected failures.
297 * make/README.libm-test: Don't mention expected failure handling.
299 * math/libm-test.inc (plus_zero): Make const. Add initializer.
300 (minus_zero): Likewise.
301 (plus_infty): Likewise.
302 (minus_infty): Likewise.
303 (qnan_value): Likewise.
304 (max_value): Likewise.
305 (min_value): Likewise.
306 (min_subnorm_value): Likewise.
307 (initialize): Do not initialize those variables dynamically.
309 2013-05-03 Roland McGrath <roland@hack.frob.com>
311 * io/open.c (__open_2): Moved to ...
312 * io/open_2.c: ... this new file.
313 * io/open64.c (__open64_2): Moved to ...
314 * io/open64_2.c: ... this new file.
315 * io/openat.c (__openat_2): Moved to ...
316 * io/openat_2.c: ... this new file.
317 * io/openat64.c (__openat64_2): Moved to ...
318 * io/openat64_2.c: ... this new file.
319 * io/Makefile (routines): Add them.
320 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
321 * sysdeps/unix/sysv/linux/open_2.c: File removed.
322 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
323 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
324 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
325 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
326 (__openat64): Add hidden_ver.
327 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
328 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
330 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
331 Separately conditionalize setting of GLRO(dl_sysinfo) so
332 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
333 as well, but the actual setting is only under [NEED_DL_SYSINFO].
335 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
337 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
340 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
341 * sysdeps/unix/sysv/linux/powerpc/init-first.c
342 (_libc_vdso_platform_setup): Add __vdso_time initialization.
343 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
344 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
346 2013-05-03 Joseph Myers <joseph@codesourcery.com>
348 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
351 * math/libm-test.inc (hypot_test): Do not use
352 IGNORE_ZERO_INF_SIGN.
354 2013-05-03 Andreas Jaeger <aj@suse.de>
356 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
358 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
359 (PF_MAX): Adjust for VSOCK change.
361 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
365 2013-05-02 Carlos O'Donell <carlos@redhat.com>
368 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
369 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
370 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
372 2013-05-02 David S. Miller <davem@davemloft.net>
374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
376 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
378 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
380 2013-05-01 Roland McGrath <roland@hack.frob.com>
382 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
384 2013-05-01 Richard Smith <richard@metafoo.co.uk>
387 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
388 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
389 Use __attribute__ ((__gnu_inline__)).
390 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
391 Don't use __attribute__ ((__gnu_inline__)).
393 2013-05-01 Joseph Myers <joseph@codesourcery.com>
396 * math/s_catan.c (__catan): Handle small real or imaginary part of
397 input specially to avoid spurious underflow.
398 * math/s_catanf.c (__catanf): Likewise.
399 * math/s_catanh.c (__catanh): Likewise.
400 * math/s_catanhf.c (__catanhf): Likewise.
401 * math/s_catanhl.c (__catanhl): Likewise.
402 * math/s_catanl.c (__catanl): Likewise.
403 * math/libm-test.inc (catan_test): Add more tests.
404 (catanh_test): Likewise.
405 * sysdeps/i386/fpu/libm-test-ulps: Update.
406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
408 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
412 2013-04-30 Joseph Myers <joseph@codesourcery.com>
415 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
416 accurately for denominator in atan2.
417 * math/s_catanf.c (__catanf): Likewise.
418 * math/s_catanh.c (__catanh): Likewise.
419 * math/s_catanhf.c (__catanhf): Likewise.
420 * math/s_catanhl.c (__catanhl): Likewise.
421 * math/s_catanl.c (__catanl): Likewise.
422 * math/libm-test.inc (catan_test): Add more tests.
423 (catanh_test): Likewise.
424 * sysdeps/i386/fpu/libm-test-ulps: Update.
425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
427 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
429 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
431 * benchtests/Makefile (bench): Remove slow benchmarks.
432 * benchtests/atan-inputs: Add slow benchmark inputs.
433 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
434 (BENCH_FUNC): Accept variant offset.
436 * benchtests/bench-skeleton.c (main): Run benchmark for each
438 * benchtests/cos-inputs: Add slow benchmark inputs.
439 * benchtests/exp-inputs: Likewise.
440 * benchtests/pow-inputs: Likewise.
441 * benchtests/sin-inputs: Likewise.
442 * benchtests/slowatan-inputs: Remove.
443 * benchtests/slowatan.c: Remove.
444 * benchtests/slowcos-inputs: Remove.
445 * benchtests/slowcos.c: Remove.
446 * benchtests/slowexp-inputs: Remove.
447 * benchtests/slowexp.c: Remove.
448 * benchtests/slowpow-inputs: Remove.
449 * benchtests/slowpow.c: Remove.
450 * benchtests/slowsin-inputs: Remove.
451 * benchtests/slowsin.c: Remove.
452 * benchtests/slowtan-inputs: Remove.
453 * benchtests/slowtan.c: Remove.
454 * benchtests/tan-inputs: Add slow benchmark inputs.
455 * scripts/bench.pl: Parse comments and directives.
457 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
459 ($(objpfx)bench-%.c): Remove *-ITER.
460 * benchtests/bench-modf.c: Remove definition of ITER.
461 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
462 (main): Loop for DURATION seconds instead of fixed number of
464 * scripts/bench.pl: Don't expect iterations in parameters.
466 2013-04-29 Roland McGrath <roland@hack.frob.com>
468 * io/fchdir.c (__fchdir): Renamed from fchdir.
469 (fchdir): Define as weak alias.
471 2013-04-29 Joseph Myers <joseph@codesourcery.com>
473 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
474 (ERRNO_EDOM): Likewise.
475 (ERRNO_ERANGE): Likewise.
476 (noErrnoTests): New variable.
477 (init_max_error): Set errno to 0.
478 (test_single_errno): New function.
479 (test_errno): Likewise.
480 (check_float_internal): Call test_errno. Set errno to 0.
481 (check_complex): Refer to errno tests in comment.
482 (check_int): Call test_errno. Set errno to 0.
483 (check_long): Likewise.
484 (check_bool): Likewise.
485 (check_longlong): Likewise.
486 (cos_test): Use ERRNO_* flags for errno tests instead of
488 (expm1_test): Likewise.
489 (fmod_test): Likewise.
490 (ilogb_test): Likewise.
491 (lgamma_test): Likewise.
492 (pow_test): Likewise.
493 (remainder_test): Likewise.
494 (sin_test): Likewise.
495 (tan_test): Likewise.
497 (initialize): Set errno to 0.
498 (main): Print number of errno tests.
499 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
501 2013-04-29 Andreas Jaeger <aj@suse.de>
504 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
508 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
509 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
513 * stdlib/random.c (__initstate): Return NULL if
517 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
518 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
521 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
525 2013-04-29 Joseph Myers <joseph@codesourcery.com>
527 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
529 (casin_test): Likewise.
530 (casinh_test): Likewise.
532 2013-04-27 Joseph Myers <joseph@codesourcery.com>
535 * math/s_catan.c (__catan): Handle arguments with large real or
536 imaginary part separately without squaring.
537 * math/s_catanf.c (__catanf): Likewise.
538 * math/s_catanh.c (__catanh): Likewise.
539 * math/s_catanhf.c (__catanhf): Likewise.
540 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
542 (__catanhl): Handle arguments with large real or imaginary part
543 separately without squaring.
544 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
546 (__catanl): Handle arguments with large real or imaginary part
547 separately without squaring.
548 * math/libm-test.inc (catan_test): Add more tests.
549 (catanh_test): Likewise.
550 * sysdeps/i386/fpu/libm-test-ulps: Update.
551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
553 2013-04-27 Andreas Jaeger <aj@suse.de>
556 * stdlib/stdlib.h: Update guards for qecvt.
557 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
560 2013-04-27 Allan McRae <allan@archlinux.org>
562 * sysdeps/i386/fpu/libm-test-ulps: Update.
564 2013-04-26 Joseph Myers <joseph@codesourcery.com>
567 * math/s_catan.c: Include <float.h>.
568 (__catan): Ensure underflow exception occurs for underflowed
570 * math/s_catanf.c: Include <float.h>.
571 (__catanf): Ensure underflow exception occurs for underflowed
573 * math/s_catanh.c: Include <float.h>.
574 (__catanh): Ensure underflow exception occurs for underflowed
576 * math/s_catanhf.c: Include <float.h>.
577 (__catanhf): Ensure underflow exception occurs for underflowed
579 * math/s_catanhl.c: Include <float.h>.
580 (__catanhl): Ensure underflow exception occurs for underflowed
582 * math/s_catanl.c: Include <float.h>.
583 (__catanl): Ensure underflow exception occurs for underflowed
585 * math/libm-test.inc (catan_test): Add more tests.
586 (catanh_test): Likewise.
589 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
591 * math/s_ccoshf.c (__ccoshf): Likewise.
592 * math/s_ccoshl.c (__ccoshl): Likewise.
593 * math/s_csin.c (__csin): Likewise.
594 * math/s_csinf.c (__csinf): Likewise.
595 * math/s_csinh.c (__csinh): Likewise.
596 * math/s_csinhf.c (__csinhf): Likewise.
597 * math/s_csinhl.c (__csinhl): Likewise.
598 * math/s_csinl.c (__csinl): Likewise.
599 * math/libm-test.inc (ccos_test): Add more tests.
600 (ccosh_test): Likewise.
601 (csin_test): Likewise.
602 (csinh_test): Likewise.
604 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
606 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
607 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
608 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
609 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
610 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
611 powerpc/power5+/fpu folders.
612 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
615 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
619 2013-04-25 Joseph Myers <joseph@codesourcery.com>
621 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
622 additions to variable.
623 [$(config-machine) = x86_64] (modules-names): Likewise.
624 ($(objpfx)tst-audit3): Remove dependency.
625 ($(objpfx)tst-audit3.out): Likewise.
626 ($(objpfx)tst-audit4): Likewise.
627 ($(objpfx)tst-audit4.out): Likewise.
628 ($(objpfx)tst-audit5): Likewise.
629 ($(objpfx)tst-audit5.out): Likewise.
630 ($(objpfx)tst-audit6): Likewise.
631 ($(objpfx)tst-audit6.out): Likewise.
632 ($(objpfx)tst-audit7): Likewise.
633 ($(objpfx)tst-audit7.out): Likewise.
634 (tst-audit3-ENV): Remove variable.
635 (tst-audit4-ENV): Likewise.
636 (tst-audit5-ENV): Likewise.
637 (tst-audit6-ENV): Likewise.
638 (tst-audit7-ENV): Likewise.
639 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
640 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
641 addition to variable.
642 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
643 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
644 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
645 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
646 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
647 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
648 tst-audit3, tst-audit4 and tst-audit5.
649 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
650 tst-audit6 and tst-audit7.
651 [$(subdir) = elf] (modules-names): Add audit modules for those
653 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
654 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
655 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
656 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
657 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
658 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
659 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
660 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
661 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
662 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
663 [$(subdir) = elf] (tst-audit3-ENV): New variable.
664 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
665 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
666 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
667 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
668 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
670 [$(subdir) = elf && $(config-cflags-avx) = yes]
671 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
672 [$(subdir) = elf && $(config-cflags-avx) = yes]
673 (CFLAGS-tst-auditmod4a.c): Likewise.
674 [$(subdir) = elf && $(config-cflags-avx) = yes]
675 (CFLAGS-tst-auditmod4b.c): Likewise.
676 [$(subdir) = elf && $(config-cflags-avx) = yes]
677 (CFLAGS-tst-auditmod6b.c): Likewise.
678 [$(subdir) = elf && $(config-cflags-avx) = yes]
679 (CFLAGS-tst-auditmod6c.c): Likewise.
680 [$(subdir) = elf && $(config-cflags-avx) = yes]
681 (CFLAGS-tst-auditmod7b.c): Likewise.
682 * elf/tst-audit3.c: Move to ...
683 * sysdeps/x86_64/tst-audit3.c: ... here.
684 * elf/tst-audit4.c: Move to ...
685 * sysdeps/x86_64/tst-audit4.c: ... here.
686 * elf/tst-audit5.c: Move to ...
687 * sysdeps/x86_64/tst-audit5.c: ... here.
688 * elf/tst-audit6.c: Move to ...
689 * sysdeps/x86_64/tst-audit6.c: ... here.
690 * elf/tst-audit7.c: Move to ...
691 * sysdeps/x86_64/tst-audit7.c: ... here.
692 * elf/tst-auditmod3a.c: Move to ...
693 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
694 * elf/tst-auditmod3b.c: Move to ...
695 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
696 * elf/tst-auditmod4a.c: Move to ...
697 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
698 * elf/tst-auditmod4b.c: Move to ...
699 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
700 * elf/tst-auditmod5a.c: Move to ...
701 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
702 * elf/tst-auditmod5b.c: Move to ...
703 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
704 * elf/tst-auditmod6a.c: Move to ...
705 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
706 * elf/tst-auditmod6b.c: Move to ...
707 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
708 * elf/tst-auditmod6c.c: Move to ...
709 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
710 * elf/tst-auditmod7a.c: Move to ...
711 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
712 * elf/tst-auditmod7b.c: Move to ...
713 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
715 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
718 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
719 define unconditionally.
720 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
721 define unconditionally.
722 (INT8_C, INT16_C, etc.): Likewise.
724 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
726 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
727 __ehdr_start with hidden visibility.
729 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
731 2013-04-24 Carlos O'Donell <carlos@redhat.com>
733 * math/libm-test.inc (cos_test): Use accurate hex constants.
734 (sincost_test): Likewise.
736 2013-04-24 Joseph Myers <joseph@codesourcery.com>
738 * math/libm-test.inc (catan_test): Add more tests.
739 (catanh_test): Likewise.
741 * math/s_catanf.c (__catanf): Use suffixed floating-point
743 * math/s_catanhf.c (__catanhf): Likewise.
744 * math/s_catanhl.c (__catanhl): Likewise.
745 * math/s_catanl.c (__catanl): Likewise.
748 * math/s_catan.c (__catan): Calculate imaginary part of result
749 with log1p not log unless computing log of number close to 0.
750 * math/s_catanf.c (__catanf): Likewise.
751 * math/s_catanl.c (__catanl): Likewise.
752 * math/s_catanh.c (__catanh): Calculate real part of result with
753 log1p not log unless computing log of number close to 0.
754 * math/s_catanhf.c (__catanhf): Likewise.
755 * math/s_catanhl.c (__catanhl): Likewise.
756 * math/libm-test.inc (catan_test): Add more tests.
757 (catanh_test): Likewise.
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
761 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
763 * benchtests/Makefile: Mention files in which fast and slow
764 paths of math functions are implemented.
766 2013-04-23 Roland McGrath <roland@hack.frob.com>
768 * sysdeps/posix/timespec_get.c: New file.
770 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
772 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
774 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
776 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
777 powerpc/power5/fpu folders.
778 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
779 * benchtests/Makefile: Add modf testcase.
780 * benchtests/bench-modf.c: New file: Benchmark test for mo
782 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
785 * time/Makefile (tests): Add tst-strptime-whitespace.
786 * time/strptime_l.c (get_number): Use ISSPACE.
787 (__strptime_internal): Likewise.
788 * time/tst-strptime-whitespace.c: New test case.
790 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
792 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
794 (_nss_files_init): Set it here.
796 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
798 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
799 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
802 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
804 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
806 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
811 2013-04-21 David S. Miller <davem@davemloft.net>
813 * po/ru.po: Update Russion translation from translation project.
815 2013-04-17 Adam Conrad <adconrad@0c3.net>
817 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
820 2013-04-17 Carlos O'Donell <carlos@redhat.com>
822 * configure.in: Remove i386 configure warning. Remove i386 case.
823 * configure: Regenerate.
824 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
825 Add example to error message.
826 * sysdeps/i386/configure: Regenerate.
828 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
830 * benchtests/Makefile (bench): Add cos, tan, slowcos and
832 * benchtests/cos-inputs: New file.
833 * benchtests/slowcos-inputs: New file.
834 * benchtests/slowcos.c: New file.
835 * benchtests/slowtan-inputs: New file.
836 * benchtests/slowtan.c: New file.
837 * benchtests/tan-inputs: New file.
839 2013-04-16 Roland McGrath <roland@hack.frob.com>
841 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
844 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
846 * benchtests/Makefile: Include cppflags-iterator.mk to add
847 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
849 * Makefile.in (bench-clean): New target.
850 * benchtests/Makefile (bench-clean): Likewise.
852 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
854 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
856 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
858 * stdio-common/tstdiomisc.c: Fix coding-style violation.
860 2013-04-15 Andreas Schwab <schwab@suse.de>
862 * nscd/grpcache.c (cache_addgr): Properly check for short write.
863 * nscd/initgrcache.c (addinitgroupsX): Likewise.
864 * nscd/pwdcache.c (cache_addpw): Likewise.
865 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
868 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
870 * benchtests/Makefile (bench): Write all output to
871 bench-out.tmp together.
873 2013-04-15 Andreas Schwab <schwab@suse.de>
875 * nscd/nscd.c (main): Don't fork again after closing files.
877 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
879 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
881 * benchtests/Rules (bench-deps): Collect dependencies into a
882 single variable. Add Makefile to dependencies.
883 ($(objpfx)bench-%.c): Depend on bench-deps.
885 2013-04-12 Roland McGrath <roland@hack.frob.com>
886 Xavier Roche <roche+kml2@exalead.com>
889 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
890 just that it's a file descriptor.
891 * manual/llio.texi (Synchronizing AIO Operations): Update description
892 for EBADF error from aio_fsync.
894 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
896 * Rules (bench): Move target definition...
897 * benchtests/Makefile: ... here.
899 2013-04-11 Carlos O'Donell <carlos@redhat.com>
901 * math/libm-test.inc (cos_test): Fix PI/2 test.
902 (sincos_test): Likewise.
903 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
904 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
906 2013-04-11 Andreas Schwab <schwab@suse.de>
909 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
910 accept exponent character only when digits were seen.
911 * stdio-common/Makefile (tests): Add bug26.
912 * stdio-common/bug26.c: New file.
915 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
918 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
920 * Makeconfig (rtld-prefix): Define built linker prefix.
921 * Rules (run-bench): Use it.
922 * math/Makefile (run-regen-ulps): Likewise.
924 * Rules (bench): Remove eval.
926 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
927 Roland McGrath <roland@hack.frob.com>
928 Ondrej Bilka <neleai@seznam.cz>
931 * time/getdate.c: Include ctype.h and alloca.h.
932 (__getdate_r): Trim leading and trailing spaces of input.
933 * time/tst-getdate.c (tests): Add tests with leading and
936 2013-04-08 Roland McGrath <roland@hack.frob.com>
939 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
940 when computing value.
942 2013-04-06 Carlos O'Donell <carlos@redhat.com>
944 * math/README.libm-test (How can I generate "libm-test-ulps"?):
945 Use testrun.sh to run libm tests.
948 * elf/dl-open.c (dl_open_worker): memset all of seen array.
950 2013-04-06 Marko Myllynen <myllynen@redhat.com>
953 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
955 2013-04-06 Carlos O'Donell <carlos@redhat.com>
957 * Makefile.in (regen-ulps): New target.
958 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
959 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
960 [ifneq (no,$(PERL)] (regen-ulps): New target.
961 [ifeq (no,$(PERL)] (regen-ulps): New target.
962 * math/libm-test.inc (ulps_file_name): Define.
963 (output_dir): New variable.
964 (options): Add "output-dir" option.
965 (parse_opt): Handle 'o' case.
966 (main): If output_dir is non-NULL use it as a prefix
968 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
970 2013-04-06 Carlos O'Donell <carlos@redhat.com>
973 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
974 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
975 fail configure if __sync_val_compare_and_swap is not inlined.
976 * sysdeps/i386/configure: Regenerate.
977 * configure.in: Build for i686 when configured for i386.
978 * configure: Regenerate.
979 * README: Remove i386 reference.
981 2013-04-06 Carlos O'Donell <carlos@redhat.com>
983 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
984 * sysdeps/s390/s390-64/sysdep.h: Likewise.
986 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
988 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
989 (lmsnanval): New variables.
990 (F): Add conversion tests.
991 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
992 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
994 * stdio-common/tstdiomisc.c (F): Properly collect individual
998 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
999 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1000 Instead, use input NaN values or generate a qNaN by arithmetic
1001 operation. Also fix bugs to comply with the standard.
1002 * math/libm-test.inc (remainder_test): Add more tests.
1005 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1006 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1007 input NaN values or generate a qNaN by arithmetic operation.
1009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1012 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1015 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1018 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1020 * math/s_cexpf.c (__cexpf): Likewise.
1021 * math/s_cexpl.c (__cexpl): Likewise.
1022 * math/libm-test.inc (cexp_test): Add more tests.
1024 2013-04-03 Andreas Schwab <schwab@suse.de>
1027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1028 order arrays from heap if bigger than alloca cutoff.
1030 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1032 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1033 (SNAN_TESTS_double): Refer to GCC PR56831.
1034 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1037 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1039 * Rules (bench): Move bench.out after the run is complete.
1041 * Rules (bench): Echo currently running benchmark.
1043 * benchtests/Makefile (bench): Add atan and slowatan.
1044 * benchtests/atan-inputs: New file.
1045 * benchtests/slowatan-inputs: New file.
1046 * benchtests/slowatan.c: New file.
1048 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1049 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1053 * sysdeps/unix/sysv/linux/kernel-features.h
1054 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1055 __ASSUME_XFS_RESTRICTED_CHOWN.
1056 * sysdeps/unix/sysv/linux/pathconf.c
1057 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1058 Save and restore errno.
1060 2013-04-02 Joseph Myers <joseph@codesourcery.com>
1063 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1064 arguments using __kernel_casinh.
1065 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1066 arguments using __kernel_casinhf.
1067 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1068 arguments using __kernel_casinhl.
1069 * math/libm-test.inc (cacosh_test): Add more tests.
1070 * sysdeps/i386/fpu/libm-test-ulps: Update.
1071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1073 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1075 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1078 * bench/Makefile (bench): Add sin and slowsin.
1079 * benchtests/sin-inputs: New file.
1080 * benchtests/slowsin-inputs: New file.
1081 * benchtests/slowsin.c: New file.
1083 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1084 (bench): Add slowexp and slowpow.
1085 (exp-ITER): Increase iterations.
1086 (pow-ITER): Likewise.
1087 * benchtests/exp-inputs: Change input.
1088 * benchtests/pow-inputs: Likewise.
1089 * benchtests/slowexp-inputs: New file.
1090 * benchtests/slowexp.c: New file.
1091 * benchtests/slowpow-inputs: New file.
1092 * benchtests/slowpow.c: New file.
1094 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1096 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1098 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1099 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1100 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1101 * benchtests/Makefile: Add rint benchtest.
1102 * benchtests/rint-inputs: Input for rint benchtest.
1104 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1106 * Versions.def (libm): Add GLIBC_2.18.
1107 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1108 hidden libm prototypes.
1109 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1110 * math/Makefile (libm-calls): Add s_issignaling.
1111 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1112 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1113 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1115 * math/math.h [__USE_GNU] (issignaling): New macro.
1116 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1117 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1118 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1119 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1120 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1121 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1122 * manual/arith.texi (issignaling): New section.
1123 * manual/libm-err-tab.pl (@all_functions): Update comment.
1124 * math/gen-libm-test.pl (parse_args): Apply special handling for
1126 * math/libm-test.inc (print_float, issignaling_test): New
1128 (check_float_internal): Add issignaling checks.
1129 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1131 * sysdeps/powerpc/math-tests.h: New file.
1132 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1134 * math/test-snan.c (TEST_FUNC): Likewise.
1136 2013-03-30 David S. Miller <davem@davemloft.net>
1138 * po/de.po: Update from translation team.
1140 2013-03-30 Joseph Myers <joseph@codesourcery.com>
1143 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1144 imaginary part less than 1.0 and real part less than 0.5
1146 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1147 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1148 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1149 (cacos_test): Add more tests.
1150 (casin_test): Likewise.
1151 (casinh_test): Likewise.
1152 * sysdeps/i386/fpu/libm-test-ulps: Update.
1153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1155 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1157 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1160 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1161 (__pow_mp): Replace ONE and MONE with their values.
1162 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1163 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1164 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1165 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1166 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1167 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1169 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1171 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1172 (__pow_mp): Replace ZERO and MZERO with their values.
1173 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1174 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1175 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1177 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1178 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1181 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1183 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1185 2013-03-28 Roland McGrath <roland@hack.frob.com>
1187 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1188 Declare with __attribute__ ((weak)).
1189 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1190 Call __call_tls_dtors only if it's not NULL.
1192 2013-03-28 Roland McGrath <roland@hack.frob.com>
1194 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1195 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1196 magic __ehdr_start linker symbol if it's defined.
1197 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1198 them up here if it was already done.
1200 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1201 (_dl_aux_init): Use const in cast when setting it.
1202 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1203 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1204 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1206 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1208 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1209 * csu/libc-tls.c: Nor here.
1210 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1212 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1213 (__libc_message): Never call vsyslog.
1215 2013-03-28 Alan Modra <amodra@gmail.com>
1217 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1219 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1222 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1225 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1229 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1232 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1233 Don't add gid passed as argument.
1235 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1237 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1240 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1241 imaginary part between 1.0 and 1.5 and real part less than 0.5
1243 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1244 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1245 * math/libm-test.inc (cacos_test): Add more tests.
1246 (casin_test): Likewise.
1247 (casinh_test): Likewise.
1248 * sysdeps/i386/fpu/libm-test-ulps: Update.
1249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1251 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1253 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1257 (__dbl_mp): Likewise.
1258 (add_magnitudes): Likewise.
1259 (sub_magnitudes): Likewise.
1267 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1269 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1270 (__dubcos): Likewise.
1271 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1272 (__ieee754_acos): Likewise.
1273 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1274 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1276 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1279 (my_log2): Likewise.
1280 (checkint): Likewise.
1281 * sysdeps/ieee754/dbl-64/e_remainder.c
1282 (__ieee754_remainder): Likewise.
1283 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1284 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1286 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1288 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1289 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1290 MANTISSA_STORE_T to store computations on mantissa. Use
1291 macros for rounding and division.
1293 (__dbl_mp): Likewise.
1294 (add_magnitudes): Likewise.
1295 (sub_magnitudes): Likewise.
1298 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1299 powers of two in terms of TWOPOW macro.
1300 (mp_no): Make type of mantissa as MANTISSA_T.
1301 [!RADIXI]: Define RADIXI.
1302 [!TWO52]: Define TWO52.
1303 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1305 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1307 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1308 llroundl symbol when building for PPC32.
1310 2013-03-24 Mark H Weaver <mhw@netris.org>
1312 * manual/arith.texi (Normalization Functions): Fix prototypes for
1313 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1315 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1319 high value to check if expl overflow.
1320 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1321 to check for underflow and overflow.
1322 * math/libm-test.inc: Add exp test.
1324 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1327 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1330 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1332 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1335 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1337 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1338 wrap blocks consisting of several statements.
1340 * sysdeps/generic/math-tests.h: New file.
1341 * sysdeps/i386/fpu/math-tests.h: Likewise.
1342 * math/test-snan.c: Include it.
1343 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1345 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1348 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1349 (__ieee754_j0l): Do not improve calculations using cos of twice
1350 input for inputs above LDBL_MAX / 2.0L.
1351 (__ieee754_y0l): Likewise.
1352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1353 (__ieee754_j1l): Do not improve calculations using cos of twice
1354 input for inputs above LDBL_MAX / 2.0L.
1355 (__ieee754_y1l): Likewise.
1356 * math/libm-test.inc (j0_test): Add another test.
1357 (j1_test): Likewise.
1358 (y0_test): Likewise.
1359 (y1_test): Likewise.
1360 * sysdeps/i386/fpu/libm-test-ulps: Update.
1362 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1364 * Rules ($(objpfx)bench-%.c): Include code from a C source
1367 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1370 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1371 imaginary part 1.0 and real part less than 0.5 specially.
1372 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1373 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1374 * math/libm-test.inc (cacos_test): Add more tests.
1375 (casin_test): Likewise.
1376 (casinh_test): Likewise.
1377 * sysdeps/i386/fpu/libm-test-ulps: Update.
1378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1380 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1382 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1383 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1385 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1387 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1388 * config.make.in (config-cflags-sse4): Remove variable.
1389 (config-cflags-avx): Likewise.
1390 (config-cflags-sse2avx): Likewise.
1391 (config-cflags-novzeroupper): Likewise.
1392 (config-asflags-i686): Likewise.
1393 (have-mfma4): Likewise.
1394 (have-as-vis3): Likewise.
1396 * configure.in (MIG): Do not AC_SUBST.
1397 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1398 (libc_cv_cc_sse4): Do not AC_SUBST.
1399 (libc_cv_cc_avx): Likewise.
1400 (libc_cv_cc_sse2avx): Likewise.
1401 (libc_cv_cc_novzeroupper): Likewise.
1402 (libc_cv_cc_fma4): Likewise.
1403 (libc_cv_as_i686): Likewise.
1404 (libc_cv_sparc_as_vis3): Likewise.
1405 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1407 (config-asflags-i686): Likewise.
1408 (config-cflags-avx): Likewise.
1409 (config-cflags-sse2avx): Likewise.
1410 (have-mfma4): Likewise.
1411 (config-cflags-novzeroupper): Likewise.
1412 * sysdeps/mach/configure.in (MIG): Likewise.
1413 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1414 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1416 (config-cflags-avx): Likewise.
1417 (config-cflags-sse2avx): Likewise.
1418 (have-mfma4): Likewise.
1419 (config-cflags-novzeroupper): Likewise.
1420 * configure: Regenerated.
1421 * sysdeps/i386/configure: Likewise.
1422 * sysdeps/mach/configure: Likewise.
1423 * sysdeps/sparc/configure: Likewise.
1424 * sysdeps/x86_64/configure: Likewise.
1426 2013-03-20 Roland McGrath <roland@hack.frob.com>
1429 * locale/programs/localedef.c (options): Put N_ translation marker
1430 on argument names, not just descriptions.
1432 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1434 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1436 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1439 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1441 2013-03-19 Roland McGrath <roland@hack.frob.com>
1443 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1444 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1445 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1446 [!BEFORE_ABORT] (before_abort): New function.
1447 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1448 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1449 (writev_for_fatal): New function.
1450 (WRITEV_FOR_FATAL): New macro; call that.
1451 (backtrace_and_maps): New function.
1452 (BEFORE_ABORT): New macro; call that.
1453 (struct str_list): Type removed.
1454 (__libc_message, __libc_fatal): Functions removed.
1455 Include <sysdeps/posix/libc_fatal.c> instead.
1457 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1459 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1461 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1464 2013-03-19 Andreas Schwab <schwab@suse.de>
1466 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1467 * sysdeps/gnu/configure: Regenerate.
1469 * configure.in: Substitute libc_cv_rtlddir.
1470 * configure: Regenerate.
1471 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1472 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1473 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1474 * elf/Makefile (install-others, CFLAGS-interp.c)
1475 (ldso_install, common-ldd-rewrite): Likewise.
1476 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1477 $(inst_slibdir)/$(rtld-installed-name).
1478 * scripts/rellns-sh: Add -p option.
1479 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1482 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1484 * manual/nptl.texi: Renamed to ...
1485 * manual/threads.texi: ... this.
1486 * manual/Makefile (chapters): Update.
1488 2013-03-18 Roland McGrath <roland@hack.frob.com>
1491 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1492 on argument names, not just descriptions.
1493 * malloc/memusagestat.c (options): Likewise.
1494 * nss/getent.c (options): Likewise.
1496 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1499 * iconv/iconv_prog.c (options): Put N_ translation marker
1500 on argument names, not just descriptions.
1501 * iconv/iconvconfig.c (options): Likewise.
1503 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1505 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1506 implementation which is faster on all x86_64 architectures.
1507 Tested on AMD, Intel Nehalem, SNB, IVB.
1508 * sysdeps/x86_64/strnlen.S: Likewise.
1510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1511 Remove all multiarch strlen and strnlen versions.
1512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1513 Remove strlen and strnlen related parts.
1515 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1517 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1519 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1520 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1521 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1522 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1523 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1524 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1526 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1528 * manual/memory.texi (Malloc Tunable Parameters):
1529 Sort parameters alphabetically. Add comments for missing entries.
1531 2013-03-17 David S. Miller <davem@davemloft.net>
1533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1535 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1538 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1539 for arguments at most half maximum finite value.
1540 * math/libm-test.inc (j0_test): Add more tests.
1541 (j1_test): Likewise.
1542 (y0_test): Likewise.
1543 (y1_test): Likewise.
1544 * sysdeps/i386/fpu/libm-test-ulps: Update.
1545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1548 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1549 1 / x and functions P and Q for arguments above 0x1p256L.
1550 (__ieee754_y0l): Likewise.
1551 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1552 (__ieee754_y1l): Likewise.
1553 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1554 (j1_test): Likewise.
1555 (y0_test): Likewise.
1556 (y1_test): Likewise.
1558 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1560 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1563 2013-03-15 Roland McGrath <roland@hack.frob.com>
1565 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1566 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1567 zero since it's initialized to EXEC_PAGESIZE.
1569 * sysdeps/unix/sysv/linux/ldsodefs.h
1570 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1571 * sysdeps/generic/ldsodefs.h: ... here.
1573 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1575 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1577 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1579 * math/test-snan.c: Renamed from
1580 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1581 * math/Makefile (tests): Add test-snan.
1582 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1585 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1586 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1588 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1589 __builtin_nan family of functions.
1590 * math/libm-test.inc (initialize): Initialize qnan_value with
1591 __builtin_nan family of functions.
1592 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1594 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1596 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1597 storage class. Initialize qNaN_var and sNaN_var with
1598 __builtin_nan and __builtin_nans families of functions,
1601 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1602 (sqrt_test): Remove duplicate test with qNaN input.
1603 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1604 (round_test, signbit_test, significand_test): Note missing +/-Inf
1605 as well as qNaN tests.
1607 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1608 qNaN_var. Fix a few strings, too.
1609 * math/libm-test.inc (nan_value): Rename to qnan_value.
1610 * math/gen-libm-test.pl (%beautify): Adjust to that.
1611 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1612 * math/test-misc.c (main): Likewise.
1613 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1614 to __qnan_bytes, and __qnan_union, respectively.
1615 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1617 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1618 and lqnanval, respectively.
1619 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1620 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1621 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1622 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1624 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1625 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1628 * math/test-misc.c (main): Fix copy'n'pastos.
1629 * misc/tst-efgcvt.c (special): Likewise.
1631 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1632 Remove declarations.
1634 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1636 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1637 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1638 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1639 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1641 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1643 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1644 macro to return vdso values correctly in IFUNC implementations.
1645 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1646 Optimization by using IFUNC.
1648 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1649 Richard Henderson <rth@redhat.com>
1650 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1652 * Makefile.in (bench): New target.
1653 * NEWS: Mention the benchmark framework.
1654 * Rules (bench): Likewise.
1655 (binaries-bench): Generate binaries for functions to
1657 * benchtests/Makefile: New makefile for benchmark tests.
1658 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1660 * benchtests/exp-inputs: New input file for EXP function.
1661 * benchtests/pow-inputs: New input file for POW function.
1662 * scripts/bench.pl: New script to generate source files for
1665 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1667 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1668 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1669 computations on mantissa. Use macros for rounding and
1672 (__dbl_mp): Likewise.
1673 (add_magnitudes): Likewise.
1674 (sub_magnitudes): Likewise.
1677 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1678 powers of two in terms of TWOPOW macro.
1679 (mp_no): Make type of mantissa as MANTISSA_T.
1680 [!RADIXI]: Define RADIXI.
1681 [!TWO52]: Define TWO52.
1682 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1684 * manual/nptl.texi (cindex): Modify threads to pthreads.
1686 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1688 * sysdeps/x86_64/preconfigure: Regenerated.
1690 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1693 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1695 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1696 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1698 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1699 * math/libm-test.inc (j0_test): Do not allow one spurious
1700 underflow exception.
1701 (y1_test): Likewise.
1703 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1705 * manual/Makefile (chapters): Add nptl.
1706 * manual/debug.texi (Debugging Support): Add link to Threads
1708 * manual/nptl.texi: New file.
1710 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1712 2013-03-14 Petr Baudis <pasky@ucw.cz>
1714 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1715 for non-NULL pointer before the memory validity test. Pointed
1716 out by Holger Brunck <holger.brunck@keymile.com>.
1718 2013-03-13 Andreas Schwab <schwab@suse.de>
1720 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1723 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1725 * timezone/zic.c: Update from tzcode 2013b.
1727 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1729 * manual/install.texi (Configuring and compiling):
1730 Mention i686 and i586.
1731 * INSTALL: Regenerate.
1733 2013-03-12 Roland McGrath <roland@hack.frob.com>
1735 * sysdeps/init_array/elf-init.c: New file.
1737 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1738 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1740 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1741 __gmon_start__ as global, but as static with a .preinit_array pointer.
1742 * sysdeps/init_array/gmon-start.c: New file. Use that.
1743 * sysdeps/init_array/crti.S: New file, empty except for comments.
1744 * sysdeps/init_array/crtn.S: Likewise.
1746 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1748 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1751 Remove Prefer_SSE_for_memop.
1752 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1753 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1754 HAS_PREFER_SSE_FOR_MEMOP.
1755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1758 Remove bzero, memset ifunc support.
1759 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1760 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1761 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1762 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1764 2013-03-11 Andreas Schwab <schwab@suse.de>
1767 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1770 (GLIBC_2.16): Remove pthread_atfork.
1772 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1774 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1775 (ptestcases.h): Likewise.
1777 2013-03-08 Roland McGrath <roland@hack.frob.com>
1779 * Makeconfig ($(common-objpfx)config.status): Depend on
1780 sysdeps/*/preconfigure{,.in} too.
1782 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1784 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1785 (__free_hook): Use void * instead of __malloc_ptr_t.
1786 (__malloc_hook): Likewise.
1787 (__realloc_hook): Likewise.
1788 (__memalign_hook): Likewise.
1789 (__after_morecore_hook): Likewise.
1790 * malloc/arena.c (save_malloc_hook): Likewise.
1791 (save_free_hook): Likewise.
1792 * malloc/hooks.c (malloc_hook_ini): Likewise.
1793 (realloc_hook_ini): Likewise.
1794 (memalign_hook_ini): Likewise.
1795 * malloc/malloc.c (malloc_hook_ini): Likewise.
1796 (realloc_hook_ini): Likewise.
1797 (memalign_hook_ini): Likewise.
1798 (__free_hook): Likewise.
1799 (__malloc_hook): Likewise.
1800 (__realloc_hook): Likewise.
1801 (__memalign_hook): Likewise.
1802 (__libc_malloc): Likewise.
1803 (__libc_free): Likewise.
1804 (__libc_realloc): Likewise.
1805 (__libc_memalign): Likewise.
1806 (__libc_valloc): Likewise.
1807 (__libc_pvalloc): Likewise.
1808 (__libc_calloc): Likewise.
1809 (__posix_memalign): Likewise.
1810 * malloc/morecore.c (__sbrk): Likewise.
1811 (__default_morecore): Likewise.
1813 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1815 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1816 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1819 * malloc/malloc.h (__malloc_size_t): Remove macro.
1820 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1822 (old_memalign_hook): Likewise.
1823 (old_realloc_hook): Likewise.
1824 (struct hdr): Likewise.
1826 (mallochook): Likewise.
1827 (memalignhook): Likewise.
1828 (reallochook): Likewise.
1829 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1830 (tr_old_realloc_hook): Likewise.
1831 (tr_old_memalign_hook): Likewise.
1832 (tr_mallochook): Likewise.
1833 (tr_reallochook): Likewise.
1834 (tr_memalignhook): Likewise.
1836 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1838 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1839 default_ldbl_pack and using as default implementation.
1840 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1842 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1843 redundant definition.
1844 (ldbl_insert_mantissa): Likewise.
1845 (ldbl_canonicalize): Likewise.
1846 (ldbl_nearbyint): Likewise.
1847 (ldbl_pack): Rename to ldbl_pack_ppc.
1848 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1849 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1850 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1852 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1855 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1856 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1857 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1859 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1860 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1861 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1863 2013-03-07 Andreas Jaeger <aj@suse.de>
1865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1868 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1870 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1871 Include mpa.h and declare __MPEXP.
1872 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1873 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1874 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1875 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1876 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1877 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1878 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1880 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1881 (__slowpow): Use long double EXPL and LOGL functions to
1883 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1884 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1885 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1886 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1887 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1888 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1891 intermediate variable to calculate exponent.
1893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1897 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1898 [!NO__SQR]: Define __sqr.
1899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1900 and NO__SQR. Remove all code except __mul and __sqr. Include
1901 sysdeps/ieee754/dbl-64/mpa.c.
1902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1905 * posix/Makefile (tests): Add tst-pathconf.
1906 * posix/tst-pathconf.c: New test case.
1907 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1909 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1911 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1913 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1915 2013-03-06 Andreas Jaeger <aj@suse.de>
1917 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1918 definition via __MAP_ANONYMOUS.
1920 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1921 it's not part of Linux headers.
1923 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1924 (MAP_HUGE_MASK): Define.
1926 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1928 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1931 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1932 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1934 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1935 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1937 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1939 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1940 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1941 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1942 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1943 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1944 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1946 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1949 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1950 Handle f2fs and efivarfs.
1952 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1955 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1956 (EFIVARFS_MAGIC): Add.
1957 (F2FS_LINK_MAX): Add.
1959 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1961 * stdio-common/vfprintf.c: Replace __builtin_expect with
1964 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1967 * sysdeps/generic/bp-sym.h: Remove file.
1968 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1969 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1970 <bp-sym.h> and <bp-asm.h>.
1971 (__longjmp): Don't use BP_SYM.
1972 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1974 (memcpy): Don't use BP_SYM.
1975 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1976 <bp-sym.h> and <bp-asm.h>.
1977 (memcpy): Don't use BP_SYM.
1978 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1980 (memcpy): Don't use BP_SYM.
1981 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1983 (memset): Don't use BP_SYM.
1984 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1985 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1986 (__bzero): Don't use BP_SYM.
1987 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1988 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1989 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1990 <bp-sym.h> and <bp-asm.h>.
1991 (memcmp): Don't use BP_SYM. Remove comment about bounded
1993 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1994 <bp-sym.h> and <bp-asm.h>.
1995 (memcpy): Don't use BP_SYM.
1996 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1997 <bp-sym.h> and <bp-asm.h>.
1998 (memset): Don't use BP_SYM.
1999 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2000 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2001 (__bzero): Don't use BP_SYM.
2002 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2003 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2004 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2005 <bp-sym.h> and <bp-asm.h>.
2006 (strncmp): Don't use BP_SYM. Remove comment about bounded
2008 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2009 <bp-sym.h> and <bp-asm.h>.
2010 (memcpy): Don't use BP_SYM.
2011 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2012 <bp-sym.h> and <bp-asm.h>.
2013 (memset): Don't use BP_SYM.
2014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2016 (__bzero): Don't use BP_SYM.
2017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2019 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2020 <bp-sym.h> and <bp-asm.h>.
2021 (__memchr): Don't use BP_SYM.
2022 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2023 <bp-sym.h> and <bp-asm.h>.
2024 (memcmp): Don't use BP_SYM. Remove comment about bounded
2026 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2027 <bp-sym.h> and <bp-asm.h>.
2028 (memcpy): Don't use BP_SYM.
2029 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2030 <bp-sym.h> and <bp-asm.h>.
2031 (__mempcpy): Don't use BP_SYM.
2032 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2033 <bp-sym.h> and <bp-asm.h>.
2034 (__memrchr): Don't use BP_SYM.
2035 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2036 <bp-sym.h> and <bp-asm.h>.
2037 (memset): Don't use BP_SYM.
2038 (__bzero): Likewise.
2039 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2040 <bp-sym.h> and <bp-asm.h>.
2041 (__rawmemchr): Don't use BP_SYM.
2042 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2043 <bp-sym.h> and <bp-asm.h>.
2044 (__STRCMP): Don't use BP_SYM.
2045 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2046 <bp-sym.h> and <bp-asm.h>.
2047 (strchr): Don't use BP_SYM.
2048 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2049 <bp-sym.h> and <bp-asm.h>.
2050 (__strchrnul): Don't use BP_SYM.
2051 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2052 <bp-sym.h> and <bp-asm.h>.
2053 (strlen): Don't use BP_SYM.
2054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2055 <bp-sym.h> and <bp-asm.h>.
2056 (strncmp): Don't use BP_SYM. Remove comment about bounded
2058 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2059 <bp-sym.h> and <bp-asm.h>.
2060 (__strnlen): Don't use BP_SYM.
2061 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2062 <bp-sym.h> and <bp-asm.h>.
2063 (__GI__setjmp): Don't use BP_SYM.
2064 (_setjmp): Likewise.
2065 (__sigsetjmp): Likewise.
2066 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2067 (L(start_addresses)): Don't use BP_SYM.
2069 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2071 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2072 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2073 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2074 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2075 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2077 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2078 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2079 about bounded pointers.
2080 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2081 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2082 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2084 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2085 about bounded pointers. Remove GKM FIXME comments.
2086 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2087 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2089 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2090 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2091 Remove GKM FIXME comments.
2092 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2093 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2094 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2096 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2097 about bounded pointers. Remove GKM FIXME comment.
2098 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2100 (strncmp): Don't use BP_SYM. Remove comment about bounded
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2103 <bp-sym.h> and <bp-asm.h>.
2104 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2106 <bp-sym.h> and <bp-asm.h>.
2107 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2110 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2112 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2115 2013-03-05 David S. Miller <davem@davemloft.net>
2117 * po/es.po: Update from translation team.
2119 2013-03-05 Andreas Jaeger <aj@suse.de>
2121 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2122 <bits/mman-linux.h>.
2123 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2126 <bits/mman-linux.h> to end of file.
2127 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2129 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2130 <bits/mman-linux.h> to end of file.
2131 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2134 <bits/mman-linux.h> to end of file.
2136 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2137 (MCL_CURRENT, MCL_FUTURE): Define here.
2139 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2144 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2146 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2148 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2149 fourth parameter needed for rt_sigprocmask syscall.
2150 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2151 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2152 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2153 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2154 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2155 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2157 2013-03-04 Joseph Myers <joseph@codesourcery.com>
2160 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2161 comment about bounded pointers.
2162 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2163 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2165 2013-03-04 Andreas Jaeger <aj@suse.de>
2167 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2170 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2171 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2172 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2173 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2175 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2177 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2181 __ieee754_sqrl instead of __sqrl.
2183 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2185 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2186 * sysdeps/powerpc/fpu_control.h: ... here.
2187 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2188 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2189 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2190 * sysdeps/powerpc/bits/mathinline.h: ... here.
2192 2013-03-01 Roland McGrath <roland@hack.frob.com>
2194 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2195 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2196 to just [NEED_DL_SYSINFO_DSO].
2197 * elf/dl-support.c: Likewise.
2198 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2199 * elf/rtld.c (dl_main): Likewise.
2200 * elf/setup-vdso.h (setup_vdso): Likewise.
2201 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2202 * sysdeps/unix/sysv/linux/dl-sysdep.c
2203 (_dl_discover_osversion): Likewise.
2205 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2207 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2208 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2210 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2212 * NEWS: Mention libm performance improvements and non-x86 PI
2215 * csu/libc-start.c (__pthread_initialize_minimal): Change
2217 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2219 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2222 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2223 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2224 <bp-sym.h> and <bp-asm.h>.
2225 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2226 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2228 (memcpy): Don't use BP_SYM.
2229 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2231 (__mpn_add_n): Don't use BP_SYM.
2232 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2233 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2235 (__mpn_addmul_1): Don't use BP_SYM.
2236 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2237 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2239 (_setjmp): Don't use BP_SYM.
2240 (__novmx_setjmp): Likewise.
2241 (__GI__setjmp): Likewise.
2242 (__vmx_setjmp): Likewise.
2243 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2245 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2246 (__bzero): Don't use BP_SYM.
2247 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2248 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2249 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2250 <bp-sym.h> and <bp-asm.h>.
2251 (memcpy): Don't use BP_SYM.
2252 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2253 <bp-sym.h> and <bp-asm.h>.
2254 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2255 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2256 <bp-sym.h> and <bp-asm.h>.
2257 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2258 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2260 (__mpn_lshift): Don't use BP_SYM.
2261 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2262 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2264 (memset): Don't use BP_SYM.
2265 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2266 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2267 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2269 (__mpn_mul_1): Don't use BP_SYM.
2270 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2271 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2272 <bp-sym.h> and <bp-asm.h>.
2273 (memcmp): Don't use BP_SYM.
2274 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2275 <bp-sym.h> and <bp-asm.h>.
2276 (memcpy): Don't use BP_SYM.
2277 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2278 <bp-sym.h> and <bp-asm.h>.
2279 (memset): Don't use BP_SYM.
2280 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2281 <bp-sym.h> and <bp-asm.h>.
2282 (strncmp): Don't use BP_SYM.
2283 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2284 <bp-sym.h> and <bp-asm.h>.
2285 (memcpy): Don't use BP_SYM.
2286 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2287 <bp-sym.h> and <bp-asm.h>.
2288 (memset): Don't use BP_SYM.
2289 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2290 <bp-sym.h> and <bp-asm.h>.
2291 (__memchr): Don't use BP_SYM.
2292 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2293 <bp-sym.h> and <bp-asm.h>.
2294 (memcmp): Don't use BP_SYM.
2295 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2296 <bp-sym.h> and <bp-asm.h>.
2297 (memcpy): Don't use BP_SYM.
2298 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2299 <bp-sym.h> and <bp-asm.h>.
2300 (__mempcpy): Don't use BP_SYM.
2301 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2302 <bp-sym.h> and <bp-asm.h>.
2303 (__memrchr): Don't use BP_SYM.
2304 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2305 <bp-sym.h> and <bp-asm.h>.
2306 (memset): Don't use BP_SYM.
2307 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2308 <bp-sym.h> and <bp-asm.h>.
2309 (__rawmemchr): Don't use BP_SYM.
2310 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2311 <bp-sym.h> and <bp-asm.h>.
2312 (__STRCMP): Don't use BP_SYM.
2313 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2314 <bp-sym.h> and <bp-asm.h>.
2315 (strchr): Don't use BP_SYM.
2316 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2317 <bp-sym.h> and <bp-asm.h>.
2318 (__strchrnul): Don't use BP_SYM.
2319 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2320 <bp-sym.h> and <bp-asm.h>.
2321 (strlen): Don't use BP_SYM.
2322 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2323 <bp-sym.h> and <bp-asm.h>.
2324 (strncmp): Don't use BP_SYM.
2325 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2326 <bp-sym.h> and <bp-asm.h>.
2327 (__strnlen): Don't use BP_SYM.
2328 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2330 (__mpn_rshift): Don't use BP_SYM.
2331 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2332 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2333 <bp-sym.h> and <bp-asm.h>.
2334 (__sigsetjmp): Don't use BP_SYM.
2335 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2336 (L(start_addresses)): Don't use BP_SYM.
2338 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2340 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2341 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2342 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2343 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2345 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2346 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2347 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2348 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2350 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2352 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2353 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2355 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2357 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2358 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2359 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2361 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2363 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2365 (strncmp): Don't use BP_SYM,
2366 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2368 (__mpn_sub_n): Don't use BP_SYM.
2369 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2370 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2372 (__mpn_submul_1): Don't use BP_SYM.
2373 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2375 <bp-sym.h> and <bp-asm.h>.
2376 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2378 <bp-sym.h> and <bp-asm.h>.
2379 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2382 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2385 Use ZK to minimize writes to Z.
2386 (sub_magnitudes): Simplify code a bit.
2387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2388 Use ZK to minimize writes to Z.
2389 (sub_magnitudes): Simplify code a bit.
2391 2013-02-27 Roland McGrath <roland@hack.frob.com>
2393 * csu/gmon-start.c: Add special exception to license text.
2395 2013-02-27 Richard Henderson <rth@redhat.com>
2397 * scripts/config.guess: Update from config.git.
2398 * scripts/config.sub: Likewise.
2400 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2402 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2404 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2406 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2408 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2410 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2412 2013-02-26 Roland McGrath <roland@hack.frob.com>
2414 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2415 [$(build-shared = yes].
2417 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2419 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2420 (__mul): Reduce iterations for calculating mantissa.
2422 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2424 (__mpranred): Likewise.
2427 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2428 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2430 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2432 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2433 Define __attribute__.
2435 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2437 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2439 * posix/regex_internal.h (__attribute): Remove.
2440 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2441 (re_string_context_at): Likewise.
2442 (bitset_not): Use __attribute__ and mark function as possibly
2444 (bitset_merge): Likewise.
2445 (bitset_mask): Likewise.
2446 (re_string_char_size_at): Likewise.
2447 (re_string_wchar_at): Likewise.
2448 (re_string_elem_size_at): Likewise.
2450 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2452 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2456 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2461 (__dbl_mp): Likewise.
2462 (add_magnitudes): Likewise.
2463 (sub_magnitudes): Likewise.
2467 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2470 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2473 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2477 up changes with default code.
2478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2481 2013-02-24 Allan McRae <allan@archlinux.org>
2483 * manual/socket.texi (The Internet Namespace): Order menu items
2484 to match that in the file.
2486 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2487 node listing of the info page menu.
2489 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2492 * sysdeps/i386/bp-asm.h: Remove file.
2493 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2494 (PARMS): Do not use macros from bp-asm.h.
2498 (__mpn_add_n): Do not use BP_SYM
2499 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2501 (PARMS): Do not use macros from bp-asm.h.
2504 (__mpn_addmul_1): Do not use BP_SYM
2505 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2507 (PARMS): Do not use macros from bp-asm.h.
2509 (_setjmp): Likewise. Do not use BP_SYM.
2510 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2512 (PARMS): Do not use macros from bp-asm.h.
2514 (setjmp): Likewise. Do not use BP_SYM.
2515 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2517 (PARMS): Do not use macros from bp-asm.h.
2518 (__frexp): Do not use BP_SYM.
2520 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2522 (PARMS): Do not use macros from bp-asm.h.
2523 (__frexpf): Do not use BP_SYM.
2525 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2527 (PARMS): Do not use macros from bp-asm.h.
2528 (__frexpl): Do not use BP_SYM.
2530 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2532 (PARMS): Do not use macros from bp-asm.h.
2533 (__remquo): Do not use BP_SYM.
2535 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2537 (PARMS): Do not use macros from bp-asm.h.
2538 (__remquof): Do not use BP_SYM.
2539 (remquof): Likewise.
2540 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2542 (PARMS): Do not use macros from bp-asm.h.
2543 (__remquol): Do not use BP_SYM.
2544 (remquol): Likewise.
2545 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2547 (PARMS): Do not use macros from bp-asm.h.
2550 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2551 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2553 (PARMS): Do not use macros from bp-asm.h.
2554 (strlen): Do not use BP_SYM.
2555 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2557 (PARMS): Do not use macros from bp-asm.h.
2561 (__mpn_add_n): Do not use BP_SYM.
2562 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2564 (PARMS): Do not use macros from bp-asm.h.
2567 (__mpn_addmul_1): Do not use BP_SYM.
2568 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2571 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2573 (PARMS): Do not use macros from bp-asm.h.
2576 (__mpn_lshift): Do not use BP_SYM.
2577 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2579 (PARMS): Do not use macros from bp-asm.h.
2583 (memcpy): Likewise. Do not use BP_SYM.
2584 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2585 libc_hidden_def and weak_alias.
2586 (mempcpy): Do not use BP_SYM in weak_alias.
2587 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2589 (PARMS): Do not use macros from bp-asm.h.
2592 [!BZERO_P] (CHR): Likewise.
2593 (memset): Likewise. Do not use BP_SYM.
2594 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2596 (PARMS): Do not use macros from bp-asm.h.
2599 (__mpn_mul_1): Do not use BP_SYM.
2600 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2602 (PARMS): Do not use macros from bp-asm.h.
2605 (__mpn_rshift): Do not use BP_SYM.
2606 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2608 (PARMS): Do not use macros from bp-asm.h.
2611 (strchr): Likewise. Do not use BP_SYM.
2612 (index): Do not use BP_SYM in weak_alias.
2613 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2615 (PARMS): Do not use macros from bp-asm.h.
2618 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2619 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2621 (PARMS): Do not use macros from bp-asm.h.
2622 (strlen): Do not use BP_SYM.
2623 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2625 (PARMS): Do not use macros from bp-asm.h.
2629 (__mpn_sub_n): Do not use BP_SYM.
2630 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2632 (PARMS): Do not use macros from bp-asm.h.
2635 (__mpn_submul_1): Do not use BP_SYM.
2636 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2638 (PARMS): Do not use macros from bp-asm.h.
2642 (__mpn_add_n): Do not use BP_SYM.
2643 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2646 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2648 (PARMS): Do not use macros from bp-asm.h.
2651 (memcmp): Do not use BP_SYM.
2652 (bcmp): Do not use BP_SYM in weak_alias.
2653 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2655 (PARMS): Do not use macros from bp-asm.h.
2659 (memcpy): Likewise. Do not use BP_SYM.
2660 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2662 (PARMS): Do not use macros from bp-asm.h.
2666 (memmove): Likewise. Do not use BP_SYM.
2667 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2669 (PARMS): Do not use macros from bp-asm.h.
2673 (__mempcpy): Likewise. Do not use BP_SYM.
2674 (mempcpy): Do not use BP_SYM in weak_alias.
2675 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2677 (PARMS): Do not use macros from bp-asm.h.
2680 [!BZERO_P] (CHR): Likewise.
2681 (memset): Likewise. Do not use BP_SYM.
2682 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2684 (PARMS): Do not use macros from bp-asm.h.
2686 (strcmp): Do not use BP_SYM.
2687 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2689 (PARMS): Do not use macros from bp-asm.h.
2692 [USE_AS_STRTOK_R] (SAVE): Likewise.
2693 (FUNCTION): Likewise. Do not use BP_SYM.
2694 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2696 (strtok_r): Likewise.
2697 (__GI___strtok_r): Likewise.
2698 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2699 (PARMS): Do not use macros from bp-asm.h.
2702 (__mpn_lshift): Do not use BP_SYM.
2703 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2704 (PARMS): Do not use macros from bp-asm.h.
2707 (__memchr): Do not use BP_SYM.
2708 (memchr): Do not use BP_SYM in weak_alias.
2709 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2710 (PARMS): Do not use macros from bp-asm.h.
2713 (memcmp): Do not use BP_SYM.
2714 (bcmp): Do not use BP_SYM in weak_alias.
2715 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2716 (PARMS): Do not use macros from bp-asm.h.
2719 (__mpn_mul_1): Do not use BP_SYM.
2720 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2722 (PARMS): Do not use macros from bp-asm.h.
2725 (__rawmemchr): Do not use BP_SYM.
2726 (rawmemchr): Do not use BP_SYM in weak_alias.
2727 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2728 (PARMS): Do not use macros from bp-asm.h.
2731 (__mpn_rshift): Do not use BP_SYM.
2732 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2733 (PARMS): Do not use macros from bp-asm.h.
2735 (__sigsetjmp): Likewise. Do not use BP_SYM.
2736 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2737 (_start): Do not use BP_SYM.
2738 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2739 (PARMS): Do not use macros from bp-asm.h.
2742 (__stpcpy): Likewise. Do not use BP_SYM.
2743 (stpcpy): Do not use BP_SYM in weak_alias.
2744 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2746 (PARMS): Do not use macros from bp-asm.h.
2750 (__stpncpy): Likewise. Do not use BP_SYM.
2751 (stpncpy): Do not use BP_SYM in weak_alias.
2752 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2753 (PARMS): Do not use macros from bp-asm.h.
2756 (strchr): Likewise. Do not use BP_SYM.
2757 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2759 (PARMS): Do not use macros from bp-asm.h.
2762 (__strchrnul): Likewise. Do not use BP_SYM.
2763 (strchrnul): Do not use BP_SYM in weak_alias.
2764 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2766 (PARMS): Do not use macros from bp-asm.h.
2768 (strcspn): Do not use BP_SYM.
2769 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2771 (PARMS): Do not use macros from bp-asm.h.
2774 (strpbrk): Likewise. Do not use BP_SYM.
2775 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2777 (PARMS): Do not use macros from bp-asm.h.
2780 (strrchr): Likewise. Do not use BP_SYM.
2781 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2782 (PARMS): Do not use macros from bp-asm.h.
2784 (strspn): Do not use BP_SYM.
2785 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2786 (PARMS): Do not use macros from bp-asm.h.
2790 (FUNCTION): Likewise. Do not use BP_SYM.
2791 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2793 (strtok_r): Likewise.
2794 (__GI___strtok_r): Likewise.
2795 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2796 (PARMS): Do not use macros from bp-asm.h.
2800 (__mpn_sub_n): Do not use BP_SYM.
2801 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2803 (PARMS): Do not use macros from bp-asm.h.
2806 (__mpn_submul_1): Do not use BP_SYM.
2807 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2809 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2811 (PARMS): Do not use macros from bp-asm.h.
2816 (__clone): Do not use BP_SYM.
2817 (clone): Do not use BP_SYM in weak_alias.
2818 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2820 (PARMS): Do not use macros from bp-asm.h.
2822 (__mmap64): Do not use BP_SYM.
2823 (mmap64): Do not use BP_SYM in weak_alias.
2824 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2825 <bp-sym.h> and <bp-asm.h>.
2826 (PARMS): Do not use macros from bp-asm.h.
2827 (__posix_fadvise64_l64): Do not use BP_SYM.
2828 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2829 (PARMS): Do not use macros from bp-asm.h.
2831 (semtimedop): Do not use BP_SYM.
2832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2835 2013-02-21 Allan McRae <allan@archlinux.org>
2837 * manual/message.texi (Charset conversion in gettext):
2838 Move @end statement to beginning of line.
2840 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2847 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2852 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2854 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2855 tail-call to the resolved function if pltexit isn't needed.
2857 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2860 or Y being zero as being unlikely.
2861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2864 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2866 * manual/nss.texi (System Databases and Name Service Switch):
2867 Remove frobnicate @pxref.
2869 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2871 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2872 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2874 2013-02-20 Petr Machata <pmachata@redhat.com>
2876 * elf/elf.h (R_ARM_TARGET1): New macro.
2877 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2878 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2879 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2880 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2881 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2882 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2883 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2884 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2885 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2886 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2887 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2888 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2889 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2890 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2891 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2892 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2893 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2894 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2895 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2896 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2897 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2898 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2899 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2900 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2901 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2902 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2903 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2904 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2905 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2906 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2907 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2908 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2909 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2910 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2911 (R_ARM_THM_GOT_BREL12): Likewise.
2912 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2913 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2914 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2915 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2916 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2917 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2918 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2919 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2920 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2922 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2924 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2925 __attribute_used__ to __attribute__ ((unused)).
2927 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2929 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2935 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2938 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2940 (ENTER): Remove both macro definitions.
2942 (CHECK_BOUNDS_LOW): Likewise.
2943 (CHECK_BOUNDS_HIGH): Likewise.
2944 (CHECK_BOUNDS_BOTH): Likewise.
2945 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2946 (RETURN_BOUNDED_POINTER): Likewise.
2947 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2948 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2949 (POP_ERRNO_LOCATION_RETURN): Likewise.
2950 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2951 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2952 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2954 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2955 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2956 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2957 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2958 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2959 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2960 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2961 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2962 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2963 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2964 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2965 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2966 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2967 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2969 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2970 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2972 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2973 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2974 * sysdeps/i386/i586/memset.S (memset): Likewise.
2975 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2976 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2977 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2979 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2980 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2981 Change uses of L(2) to L(out).
2982 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2983 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2984 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2985 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2986 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2988 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2989 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2991 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2992 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2993 (RETURN): Do not use macro LEAVE.
2994 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2995 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2996 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2997 * sysdeps/i386/i686/memset.S (memset): Likewise.
2998 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2999 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3000 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3001 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3003 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3004 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3005 L(1_2) and L(1_3) into L(1).
3006 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3007 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3008 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3009 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3010 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3011 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3012 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3013 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3014 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3016 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3017 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3018 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3019 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3020 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3021 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3022 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3023 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3024 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3025 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3026 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3027 * sysdeps/i386/strspn.S (strspn): Likewise.
3028 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3030 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3031 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3032 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3033 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3035 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3036 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3037 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3039 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3041 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3043 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3046 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3048 * math/atest-exp.c (exp_mpn): Remove ROUND.
3049 * math/atest-exp2.c (exp_mpn): Likewise.
3050 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3052 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3053 * stdlib/tst-tls-atexit-lib.c: Likewise.
3054 * stdlib/tst-tls-atexit.c: Likewise.
3056 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3058 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3059 and __attribute_alloc_size__.
3061 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3063 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3064 __attribute_alloc_size__.
3065 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3066 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3068 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3070 * include/programs/xmalloc.h: New file.
3071 * catgets/gencat.c: Include it.
3072 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3073 * elf/pldd.c: Likewise.
3074 * iconv/iconv_charmap.c: Likewise.
3075 * iconv/iconvconfig.c: Likewise.
3076 * iconv/strtab.c: Likewise.
3077 * locale/programs/locale.c: Likewise.
3078 * locale/programs/localedef.h: Likewise.
3079 * locale/programs/simple-hash.c: Likewise.
3080 * nscd/nscd.h: Likewise.
3081 * nss/makedb.c: Likewise.
3082 * sysdeps/generic/ldconfig.h: Likewise.
3084 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3086 * Versions.def: Add GLIBC_2.18.
3087 * include/link.h (struct link_map): New member l_tls_dtor_count.
3088 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3089 (__call_tls_dtors): Likewise.
3090 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3091 __cxa_thread_atexit_impl.
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3108 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3109 (tests): Add test case tst-tls-atexit.
3110 (modules-names): Add shared library for tst-tls-atexit.
3111 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3112 (GLIBC_PRIVATE): Add __call_tls_dtors.
3113 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3115 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3116 * stdlib/tst-tls-atexit.c: New test case.
3117 * stdlib/tst-tls-atexit-lib.c: New test case.
3119 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3121 * elf/Versions (ld): Add _dl_find_dso_for_object.
3122 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3123 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3124 (dl_open_worker): Use _dl_find_dso_for_object.
3125 * elf/dl-sym.c (do_sym): Likewise.
3126 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3128 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3130 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3131 Syntactic changes only.
3132 (_dl_runtime_profile): Do a tail-call to the resolved function.
3134 2013-02-17 Joseph Myers <joseph@codesourcery.com>
3137 * sysdeps/x86_64/bp-asm.h: Remove file.
3138 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3139 <bp-sym.h> and <bp-asm.h>.
3140 (__clone): Do not use BP_SYM.
3141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3142 <bp-sym.h> and <bp-asm.h>.
3143 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3144 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3146 (_setjmp): Do not use BP_SYM.
3147 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3149 (setjmp): Do not use BP_SYM.
3150 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3152 (mempcpy): Do not use BP_SYM in weak_alias.
3153 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3155 (strchr): Do not use BP_SYM.
3156 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3158 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3159 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3160 (_start): Do not use BP_SYM.
3161 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3163 (strcat): Do not use BP_SYM.
3164 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3166 (STRCMP): Do not use BP_SYM.
3167 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3169 (STRCPY): Do not use BP_SYM.
3170 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3172 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3174 (FUNCTION): Do not use BP_SYM.
3175 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3177 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3179 2013-02-17 Andreas Jaeger <aj@suse.de>
3181 * time/Versions: Sort entries.
3182 * string/Versions: Likewise.
3183 * resolv/Versions: Likewise.
3184 * posix/Versions: Likewise.
3185 * iconv/Versions: Likewise.
3186 * elf/Versions: Likewise.
3187 * wcsmbs/Versions: Likewise.
3189 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3191 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3192 loop termination condition.
3194 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3195 variable to calculate EZ.
3198 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3199 the lower precision input.
3201 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3204 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3205 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3206 (run-via-rtld-prefix): Do not handle %-bp tests.
3207 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3208 (all-object-suffixes): Remove .ob.
3209 (bppfx): Remove variable.
3210 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3211 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3212 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3213 [$(build-bounded) = yes] (libtype.ob): Likewise.
3214 * Makerules (elide-routines.ob): Remove variable.
3215 (do-tests-clean): Do not handle *-bp.out.
3216 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3217 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3218 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3219 (tests): Do not include $(tests-bp.out).
3220 (xtests): Do not include $(xtests-bp.out).
3221 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3222 [$(build-bounded) = yes] ($(addprefix
3223 $(objpfx),$(binaries-bounded))): Remove rule.
3224 ($(objpfx)%-bp.out): Remove rule.
3225 * config.make.in (build-bounded): Remove variable.
3226 * crypt/Makefile [$(build-bounded) = yes]
3227 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3228 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3230 [$(build-bounded) = yes] (install-lib): Likewise.
3231 [$(build-bounded) = yes] (generated): Likewise.
3232 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3234 * intl/Makefile [$(build-bounded) = yes]
3235 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3236 * math/Makefile [$(build-bounded) = yes]
3237 ($(tests:%=$(objpfx)%-bp): Likewise.
3238 * misc/Makefile [$(build-bounded) = yes]
3239 ($(objpfx)tst-tsearch-bp): Likewise.
3240 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3241 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3243 * string/Makefile (o-objects.ob): Remove variable.
3244 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3245 (CFLAGS-.ob): Remove variable.
3246 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3247 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3248 both definitions of variable.
3249 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3250 (ASFLAGS-.ob): Remove variable.
3252 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3255 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3256 Remove __BOUNDED_POINTERS__ from condition.
3257 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3258 * string/bits/string2.h [!__NO_STRING_INLINES &&
3259 !__BOUNDED_POINTERS__]: Likewise.
3260 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3262 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3263 Remove conditional code.
3264 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3265 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3266 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3270 * csu/libc-start.c: Do not include <bp-sym.h>.
3271 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3272 * elf/dl-open.c: Do not include <bp-sym.h>.
3273 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3274 * math/fegetenv.c: Do not include <bp-sym.h>.
3275 (fegetenv): Do not use BP_SYM in versioned symbols.
3276 * nptl/sysdeps/pthread/bits/libc-lockP.h
3277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3280 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3282 (__pthread_mutex_destroy): Likewise.
3283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3284 (__pthread_mutex_lock): Likewise.
3285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3286 (__pthread_mutex_trylock): Likewise.
3287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3288 (__pthread_mutex_unlock): Likewise.
3289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3290 (__pthread_mutexattr_init): Likewise.
3291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3292 (__pthread_mutexattr_destroy): Likewise.
3293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3294 (__pthread_mutexattr_settype): Likewise.
3295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3296 (__pthread_rwlock_init): Likewise.
3297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3298 (__pthread_rwlock_destroy): Likewise.
3299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3300 (__pthread_rwlock_rdlock): Likewise.
3301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3302 (__pthread_rwlock_tryrdlock): Likewise.
3303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3304 (__pthread_rwlock_wrlock): Likewise.
3305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3306 (__pthread_rwlock_trywrlock): Likewise.
3307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3308 (__pthread_rwlock_unlock): Likewise.
3309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3310 (__pthread_key_create): Likewise.
3311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3312 (__pthread_setspecific): Likewise.
3313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3314 (__pthread_getspecific): Likewise.
3315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3318 (_pthread_cleanup_push_defer): Likewise.
3319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3320 (_pthread_cleanup_pop_restore): Likewise.
3321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3322 (pthread_setcancelstate): Likewise.
3323 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3325 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3326 (memchr): Do not use BP_SYM in weak_alias.
3327 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3328 (fegetenv): Do not use BP_SYM in versioned symbols.
3329 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3330 (fesetenv): Do not use BP_SYM in versioned symbols.
3331 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3332 (feupdateenv): Do not use BP_SYM in versioned symbols.
3333 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3334 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3335 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3336 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3337 (open64): Do not use BP_SYM in weak_alias.
3338 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3339 (fegetenv): Do not use BP_SYM in versioned symbols.
3340 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3341 (fesetenv): Do not use BP_SYM in versioned symbols.
3342 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3343 (feupdateenv): Do not use BP_SYM in versioned symbols.
3344 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3345 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3346 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3347 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3348 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3349 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3350 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3352 (__libc_start_main): Do not use BP_SYM.
3354 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3357 redundant return line.
3361 (sub_magnitudes): Likewise.
3367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3371 (sub_magnitudes): Likewise.
3378 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3380 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3381 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3384 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3385 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3387 of __mul for squares.
3388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3392 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3393 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3395 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3398 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3400 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3401 prototype or function definition. Rename ubp_* variables and
3402 parameters. Remove argv definitions conditional on
3403 [__BOUNDED_POINTERS__].
3404 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3405 * elf/dl-runtime.c (_dl_fixup): Likewise.
3406 * include/set-hooks.h (RUN_HOOK): Likewise.
3407 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3409 * string/strcpy.c (strcpy): Do not use __unbounded.
3410 * sysdeps/generic/frame.h (struct layout): Likewise.
3411 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3412 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3413 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3414 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3415 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3416 (__backtrace): Likewise.
3417 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3419 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3420 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3421 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3423 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3424 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3425 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3426 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3427 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3428 Do not use __unbounded.
3429 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3430 Rename __unboundedrlimits parameter to rlimits in prototype.
3431 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3432 Do not use __unbounded.
3433 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3435 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3436 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3437 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3438 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3439 __ptrvalue or __unbounded.
3440 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3441 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3443 (__new_msgctl): Do not use __ptrvalue.
3444 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3446 (__libc_msgrcv): Do not use __ptrvalue.
3447 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3448 startup_info): Do not use __unbounded.
3449 (__libc_start_main): Likewise. Rename ubp_* variables and
3450 parameters. Remove argv definitions conditional on
3451 [__BOUNDED_POINTERS__].
3452 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3454 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3456 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3458 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3460 (__new_shmctl): Do not use __ptrvalue.
3461 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3462 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3464 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3465 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3466 (__libc_sigaction): Likewise.
3467 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3468 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3470 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3472 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3474 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3476 * string/mempcpy.c: Implement by calling memcpy.
3478 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3485 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3486 values in the mantissa.
3488 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3489 minimize writes to Z.
3490 (sub_magnitudes): Simplify code a bit.
3492 2013-02-12 Roland McGrath <roland@hack.frob.com>
3494 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3495 from the message. The linker prefixes all warnings with that already.
3497 2013-02-12 Andreas Schwab <schwab@suse.de>
3500 * posix/regexec.c (extend_buffers): Add parameter min_len.
3501 (check_matching): Pass minimum needed length.
3502 (clean_state_log_if_needed): Likewise.
3503 (get_subexp): Likewise.
3504 * posix/Makefile (tests): Add bug-regex34.
3505 (bug-regex34-ENV): Define.
3506 * posix/bug-regex34.c: New file.
3509 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3510 elements compare against the byte sequence of it, not its name.
3511 * posix/Makefile (tests): Add bug-regex35.
3512 (bug-regex35-ENV): Define.
3513 * posix/bug-regex35.c: New file.
3515 2013-02-11 Tom de Vries <tom@codesourcery.com>
3517 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3519 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3520 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3521 (CHECK_EOL): Add undef.
3523 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3525 * bits/stdlib-bsearch.h: New file.
3526 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3527 * stdlib/stdlib.h: Likewise.
3529 2013-02-11 Roland McGrath <roland@hack.frob.com>
3531 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3532 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3534 * manual/search.texi (Array Search Function): Add missing const in
3536 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3537 declaration to use rlim_t.
3538 (Basic Scheduling Functions): Remove erroneous const from
3539 sched_getparam prototype. Remove erroneous * from
3540 sched_get_priority_max and sched_get_priority_min prototypes.
3541 (Resource Usage): Fix summary @comment on vtimes to refer to
3542 sys/vtimes.h rather than vtimes.h.
3543 Add missing *s in vtimes prototype.
3544 (Limits on Resources): Fix ulimit prototype to return long int.
3545 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3546 prototypes to use long int rather than double.
3547 (BSD Random): Fix initstate and setstate to use char *, not void *.
3548 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3549 prototype to make second argument 'struct aiocb64 *const[]'.
3550 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3551 (Status of AIO Operations): Remove erroneous const in aio_return and
3552 aio_return64 prototypes.
3553 (Synchronizing I/O): Fix sync prototype to return void.
3554 * manual/startup.texi (Suboptions): Remove an erroneous const in
3555 getsubopt prototype.
3556 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3557 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3558 use size_t rather than int.
3559 (Scanning All Users): Likewise for getpwent_r.
3560 (Setting Groups): Add missing const to setgroups prototype.
3561 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3562 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3563 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3564 'const void *' rather than 'const char *'.
3565 (Host Address Functions): Likewise for inet_ntop.
3566 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3567 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3568 ssize_t for return value.
3569 (Sending Data): Likewise for send, sendto, sendmsg.
3570 (Socket Option Functions): Add a missing const in setsockopt prototype.
3571 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3572 use wchar_t for the argument.
3573 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3574 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3576 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3577 double/float/long double for second argument.
3578 Fix return types of significand, significandf, significandl.
3579 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3580 argument in fchmod prototype.
3581 (File Owner): Use uid_t and gid_t in fchown prototype.
3582 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3583 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3584 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3585 use 'const struct dirent **' as argument types to CMP function pointer
3587 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3588 (File Times): Fix summary magic @comment for struct utimbuf and utime
3589 to refer to utime.h, not time.h.
3590 * manual/string.texi (Argz Functions): Add missing const in
3591 argz_extract and argz_next prototypes.
3592 (Finding Tokens in a String): Likewise for basename.
3593 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3594 (Copying and Concatenation): Fix typo in wmemmove prototype.
3595 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3596 (Signal Stack): Remove erroneous const in sigstack prototype.
3597 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3599 (Simple Calendar Time): Likewise for stime.
3600 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3602 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3603 say sys/sysctl.h instead.
3604 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3605 and vsyslog prototypes.
3607 2013-02-11 Tom de Vries <tom@codesourcery.com>
3609 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3612 2013-02-11 Roland McGrath <roland@hack.frob.com>
3614 * misc/sys/mman.h: Fix typo in mremap comment.
3616 2013-02-08 Roland McGrath <roland@hack.frob.com>
3618 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3619 the '\0' terminator.
3621 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3624 * debug/segfault.c: Don't include <bp-checks.h>.
3625 * sysdeps/generic/bp-checks.h: Remove file.
3626 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3627 (__GETDENTS): Don't use CHECK_N.
3628 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3629 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3630 (__getgroups): Don't use CHECK_N.
3631 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3632 (setgroups): Don't use CHECK_N.
3633 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3634 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3635 (__libc_msgrcv): Don't use CHECK_N.
3636 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3637 (__libc_msgsnd): Don't use CHECK_N.
3638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3640 (__libc_pread): Don't use CHECK_N.
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3642 include <bp-checks.h>.
3643 (__libc_pread64): Don't use CHECK_N.
3644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3645 include <bp-checks.h>.
3646 (__libc_pwrite): Don't use CHECK_N.
3647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3648 include <bp-checks.h>.
3649 (__libc_pwrite64): Don't use CHECK_N.
3650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3652 (__libc_pread): Don't use CHECK_N.
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3654 include <bp-checks.h>.
3655 (__libc_pread64): Don't use CHECK_N.
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3657 include <bp-checks.h>.
3658 (__libc_pwrite): Don't use CHECK_N.
3659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3660 include <bp-checks.h>.
3661 (__libc_pwrite64): Don't use CHECK_N.
3662 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3663 (do_pread): Don't use CHECK_N.
3664 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3665 (do_pread64): Don't use CHECK_N.
3666 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3667 (do_pwrite): Don't use CHECK_N.
3668 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3669 (do_pwrite64): Don't use CHECK_N.
3670 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3671 (__libc_readv): Don't use CHECK_N.
3672 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3673 (semop): Don't use CHECK_N.
3674 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3676 (semtimedop): Don't use CHECK_N.
3677 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3678 (__libc_pread): Don't use CHECK_N.
3679 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3681 (__libc_pread64): Don't use CHECK_N.
3682 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3684 (__libc_pwrite): Don't use CHECK_N.
3685 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3687 (__libc_pwrite64): Don't use CHECK_N.
3688 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3690 (__libc_msgrcv): Don't use CHECK_N.
3691 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3692 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3693 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3694 (__libc_writev): Don't use CHECK_N.
3696 2013-02-08 Roland McGrath <roland@hack.frob.com>
3698 * string/strcpy.c: Removed unused variable.
3700 * Makeconfig (+sysdep-includes): Define with := rather than =.
3701 Use an existing include/ subdir of each sysdeps dir before it.
3703 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3705 * nscd/connection.c (register_traced_file): Comment function.
3706 [HAVE_INOTIFY] (union __inev): Define.
3707 [HAVE_INOTIFY] (inotify_check_files): New function.
3708 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3709 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3711 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3713 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3715 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3716 loaded if not already and that a failure is permanent.
3718 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3721 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3722 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3724 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3727 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3728 (CHECK_1_NULL_OK): Likewise.
3729 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3730 (__fxstat): Do not use CHECK_1.
3731 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3733 (___fxstat64): Do not use CHECK_1.
3734 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3736 (__fxstatat): Do not use CHECK_1.
3737 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3739 (__fxstatat64): Do not use CHECK_1.
3740 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3742 (__fxstat): Do not use CHECK_1.
3743 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3745 (__fxstatat): Do not use CHECK_1.
3746 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3748 (__getresgid): Do not use CHECK_1.
3749 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3751 (__getresuid): Do not use CHECK_1.
3752 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3754 (__lxstat): Do not use CHECK_1.
3755 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3757 (__old_msgctl): Do not use CHECK_1.
3758 (__new_msgctl): Likewise.
3759 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3761 (__new_setrlimit): Do not use CHECK_1.
3762 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3764 (__old_shmctl): Do not use CHECK_1.
3765 (__new_shmctl): Likewise.
3766 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3768 (__xstat): Do not use CHECK_1.
3769 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3770 (__lxstat): Do not use CHECK_1.
3771 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3773 (___lxstat64): Do not use CHECK_1.
3774 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3775 (__old_msgctl): Do not use CHECK_1.
3776 (__new_msgctl): Likewise.
3777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3779 (__gettimeofday): Do not use CHECK_1.
3780 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3781 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3782 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3784 (__gettimeofday): Do not use CHECK_1.
3785 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3786 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3787 (__new_shmctl): Do not use CHECK_1.
3788 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3790 (do_sigtimedwait): Do not use CHECK_1.
3791 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3793 (do_sigwaitinfo): Do not use CHECK_1.
3794 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3796 (msgctl): Do not use CHECK_1.
3797 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3799 (shmctl): Do not use CHECK_1.
3800 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3801 (ustat): Do not use CHECK_1.
3802 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3804 (__fxstat): Do not use CHECK_1.
3805 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3807 (__fxstatat): Do not use CHECK_1.
3808 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3810 (__lxstat): Do not use CHECK_1.
3811 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3813 (__xstat): Do not use CHECK_1.
3814 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3815 (__xstat): Do not use CHECK_1.
3816 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3817 (___xstat64): Do not use CHECK_1.
3820 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3822 (CHECK_BOUNDS_HIGH): Likewise.
3823 * string/strcpy.c: Do not include <bp-checks.h>.
3824 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3826 2013-02-07 Roland McGrath <roland@hack.frob.com>
3828 * nscd/nscd-client.h (__nscd_drop_map_ref):
3829 Add __attribute__ ((unused)).
3830 * nis/nss-nisplus.h (niserr2nss): Likewise.
3832 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3833 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3835 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3836 Remove inline keyword.
3837 * include/rounding-mode.h (round_away): Likewise.
3838 * libio/wfileops.c (adjust_wide_data): Likewise.
3839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3840 (__m128i_strloadu_tolower): Likewise.
3841 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3842 (__m128i_strloadu_tolower): Likewise.
3843 * time/mktime.c (ydhms_diff): Likewise.
3844 * locale/elem-hash.h (elem_hash): Likewise.
3845 * locale/setlocale.c (setdata): Likewise.
3846 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3847 (re_string_wchar_at): Likewise.
3848 (bitset_not, bitset_merge, bitset_mask): Likewise.
3849 [!(__GNUC__ > 3)] (inline): Remove macro.
3850 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3851 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3852 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3853 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3854 * string/memcmp.c (memcmp_bytes): Likewise.
3855 * locale/programs/locarchive.c (compute_hashval): Likewise.
3856 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3857 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3858 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3859 * nss/getent.c (print_rpc, print_protocols): Likewise.
3860 (print_passwd, print_group, print_aliases): Likewise.
3861 * nis/nss-nisplus.h (niserr2nss): Likewise.
3862 * nscd/connections.c (restart_p): Likewise.
3863 Change return type to bool.
3865 2013-02-05 Roland McGrath <roland@hack.frob.com>
3867 * Makeconfig (all-Depend-files): Add existing
3868 $(sorted-subdirs:=/Depend) files.
3869 (all-subdirs): Remove nss.
3870 * sysdeps/unix/inet/Subdirs: Add it here instead.
3871 * hesiod/Depend: New file.
3873 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3874 instead of calling alloca.
3876 * io/lseek.c (__lseek): Rename to __libc_lseek.
3877 Define __lseek as an alias.
3879 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3881 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3883 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3884 else clause and remove check for non-standard endianness.
3886 2013-02-04 David S. Miller <davem@davemloft.net>
3888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3890 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3893 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3894 (__ubp_memchr): Remove prototype.
3895 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3896 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3897 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3898 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3899 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3901 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3902 (__ubp_memchr): Likewise.
3903 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3904 (__ubp_memchr): Likewise.
3905 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3906 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3907 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3908 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3910 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3911 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3912 (__getcwd): Do not use CHECK_STRING.
3913 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3915 (__real_chown): Do not use CHECK_STRING.
3916 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3918 (fchownat): Do not use CHECK_STRING.
3919 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3921 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3923 (__lchown): Do not use CHECK_STRING.
3924 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3925 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3926 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3927 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3929 include <bp-checks.h>.
3930 (truncate64): Do not use CHECK_STRING.
3931 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3933 (__real_chown): Do not use CHECK_STRING.
3934 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3936 (__lchown): Do not use CHECK_STRING.
3937 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3939 (__chown): Do not use CHECK_STRING.
3940 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3942 (truncate64): Do not use CHECK_STRING.
3943 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3945 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3946 (__xmknod): Do not use CHECK_STRING.
3947 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3949 (__xmknodat): Do not use CHECK_STRING.
3950 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3951 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3953 2013-02-04 Andreas Schwab <schwab@suse.de>
3956 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3957 * include/netdb.h: Likewise for h_errno.
3958 * elf/tst-stackguard1.c: Include <tls.h>.
3960 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3962 * elf/link.h (struct link_map): Extend the l_addr comment.
3963 * include/link.h (struct link_map): Likewise.
3965 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3968 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3969 (BOUNDED_1): Remove macro.
3970 * debug/backtrace.c: Don't include <bp-checks.h>.
3971 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3972 (__backtrace): Likewise.
3973 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3975 (__backtrace): Don't use BOUNDED_1.
3976 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3978 (__backtrace): Don't use BOUNDED_1.
3979 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3980 (__backtrace): Don't use BOUNDED_1.
3981 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3982 (shmat): Don't use BOUNDED_N.
3984 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3987 * sysdeps/generic/bp-start.h: Remove file.
3988 * csu/libc-start.c: Don't include <bp-start.h>.
3989 (LIBC_START_MAIN): Set up __environ directly instead of using
3990 INIT_ARGV_and_ENVIRON.
3991 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3995 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3997 (CHECK_FCNTL): Likewise.
3998 (CHECK_N_PAGES): Likewise.
4001 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4003 (CHECK_SIGSET_NULL_OK): Likewise.
4004 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4006 (sigpending): Don't use CHECK_SIGSET.
4007 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4009 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4010 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4012 (do_sigsuspend): Don't use CHECK_SIGSET.
4013 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4015 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4016 (do_sigwait): Don't use CHECK_SIGSET.
4017 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4019 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4020 include <bp-checks.h>.
4021 (sigpending): Don't use CHECK_SIGSET.
4022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4023 include <bp-checks.h>.
4024 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4025 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4027 (sigpending): Don't use CHECK_SIGSET.
4028 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4030 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4033 * sysdeps/generic/bp-semctl.h: Remove file.
4034 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4035 <bp-checks.h> and <bp-semctl.h>.
4036 (__old_semctl): Don't use CHECK_SEMCTL.
4037 (__new_semctl): Likewise.
4038 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4040 (__old_semctl): Don't use CHECK_SEMCTL.
4041 (__new_semctl): Likewise.
4042 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4043 <bp-checks.h> and <bp-semctl.h>.
4044 (__old_semctl): Don't use CHECK_SEMCTL.
4045 (__new_semctl): Likewise.
4046 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4047 <bp-checks.h> and <bp-semctl.h>.
4048 (semctl): Don't use CHECK_SEMCTL.
4051 * Makerules (elide-bp-thunks): Remove variable.
4052 (elide-routines.oS): Don't use $(elide-bp-thunks).
4053 (elide-routines.os): Likewise.
4054 (elide-routines.o): Likewise.
4055 (elide-routines.op): Likewise.
4056 (elide-routines.og): Likewise.
4057 (objects): Don't use $(bp-thunks).
4058 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4060 (common-generated): Do not add s-proto-bp.d.
4061 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4064 Do not generate makefile rules for bounded-pointer thunks.
4065 * sysdeps/generic/bp-thunks.h: Remove file.
4066 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4067 * sysdeps/unix/s-proto-bp.S: Likewise.
4070 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4071 parts of result separately when argument is not close to line from
4072 -i to i and one part of argument is small.
4073 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4074 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4075 * math/libm-test.inc (cacos_test): Add more tests.
4076 (casin_test): Likewise.
4077 (casinh_test): Likewise.
4078 * sysdeps/i386/fpu/libm-test-ulps: Update.
4079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4081 2013-01-31 David S. Miller <davem@davemloft.net>
4083 * po/de.po: Update from translation team.
4085 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4087 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4089 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4091 * configure.in (_AC_PROG_CC_C89): New definition.
4092 * configure: Regenerate.
4094 * configure.in (AC_PROG_CPP): New definition.
4095 * configure: Regenerate.
4097 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4099 * debug/tst-backtrace.h: New file.
4100 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4101 (ret): Remove variable.
4103 (FAIL): Remove macro.
4104 (NO_INLINE): Likewise.
4105 (fn1): Use match function instead of strstr.
4106 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4107 (ret): Remove variable.
4109 (FAIL): Remove macro.
4110 (NO_INLINE): Likewise.
4111 (fn): Use match function instead of strstr.
4112 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4113 (ret): Remove variable.
4115 (FAIL): Remove macro.
4116 (NO_INLINE): Likewise.
4117 (handle_signal): Use match function instead of strstr.
4118 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4119 (ret): Remove variable.
4121 (FAIL): Remove macro.
4122 (NO_INLINE): Likewise.
4123 (handle_signal): Use match function instead of strstr.
4125 2013-01-23 Roland McGrath <roland@hack.frob.com>
4127 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4129 2013-01-23 David S. Miller <davem@davemloft.net>
4131 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4132 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4133 argument of CAS if possible.
4134 * sysdeps/sparc/sparc64/bits/atomic.h
4135 (__arch_compare_and_exchange_val_32_acq): Likewise.
4136 (__arch_compare_and_exchange_val_64_acq): Likewise.
4138 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4140 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4141 * sysdeps/posix/ulimit.c: ... this.
4143 * sysdeps/unix/bsd/ulimit.c: Remove file.
4145 2013-01-23 Adam Conrad <adconrad@0c3.net>
4147 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4148 (LDFLAGS-tst-array5): Likewise.
4150 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4153 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4154 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4155 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4156 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4158 2013-01-21 David S. Miller <davem@davemloft.net>
4160 * sysdeps/sparc/backtrace.c: New file.
4161 * sysdeps/sparc/sparc32/backtrace.h: New file.
4162 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4163 * sysdeps/sparc/sparc64/backtrace.h: New file.
4164 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4165 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4168 2013-01-21 Andreas Schwab <schwab@suse.de>
4171 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4174 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4180 2013-01-18 Joseph Myers <joseph@codesourcery.com>
4181 Mark Mitchell <mark@codesourcery.com>
4182 Tom de Vries <tom@codesourcery.com>
4183 Paul Pluzhnikov <ppluzhnikov@google.com>
4185 * debug/tst-backtrace2.c: New file.
4186 * debug/tst-backtrace3.c: Likewise.
4187 * debug/tst-backtrace4.c: Likewise.
4188 * debug/tst-backtrace5.c: Likewise.
4189 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4190 (CFLAGS-tst-backtrace3.c): Likewise.
4191 (CFLAGS-tst-backtrace4.c): Likewise.
4192 (CFLAGS-tst-backtrace5.c): Likewise.
4193 (LDFLAGS-tst-backtrace2): Likewise.
4194 (LDFLAGS-tst-backtrace3): Likewise.
4195 (LDFLAGS-tst-backtrace4): Likewise.
4196 (LDFLAGS-tst-backtrace5): Likewise.
4197 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4198 tst-backtrace4 and tst-backtrace5.
4200 2013-01-18 Anton Blanchard <anton@samba.org>
4201 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4203 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4204 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4205 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4206 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4208 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4209 "+r" and remove output regs list as redundant. Add explicit inline
4210 asm to specify register of return val to work around compiler codegen
4211 bug. Remove (int) cast on return value. Add return type parameter to
4212 use in macro so that this macro does not truncate return value for
4214 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4215 pass to INTERNAL_VSYSCALL_NCS.
4216 (INLINE_VSYSCALL): Add 'long int' as return type to
4217 INTERNAL_VSYSCALL_NCS macro invocation.
4218 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4219 INTERNAL_VSYSCALL_NCS macro invocation.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4222 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4225 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4226 Fix application of SIMD FP exception mask.
4228 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4229 mp_no from a power of two.
4230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4231 __mpexp_twomm1. Use __pow_mp.
4233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4236 2013-01-17 David S. Miller <davem@davemloft.net>
4238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4240 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4243 * include/complex.h: Condition contents on [!_COMPLEX_H].
4244 (__kernel_casinhf): New prototype.
4245 (__kernel_casinh): Likewise.
4246 (__kernel_casinhl): Likewise.
4247 * math/Makefile (libm_calls): Add k_casinh.
4248 * math/k_casinh.c: New file.
4249 * math/k_casinhf.c: Likewise.
4250 * math/k_casinhl.c: Likewise.
4251 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4252 finite nonzero arguments.
4253 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4254 finite nonzero arguments.
4255 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4256 finite nonzero arguments.
4257 * math/s_casinh.c: Do not include <float.h>.
4258 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4259 * math/s_casinhf.c: Do not include <float.h>.
4260 (__casinhf): Move code for finite nonzero arguments to
4262 * math/s_casinhl.c: Do not include <float.h>.
4263 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4265 (__casinhl): Move code for finite nonzero arguments to
4267 * math/libm-test.inc (cacos_test): Add more tests.
4268 * sysdeps/i386/fpu/libm-test-ulps: Update.
4269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4271 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4273 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4274 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4275 [!HAVE_MREMAP]: Remove [defined linux] case.
4276 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4278 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4280 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4282 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4284 * elf/elf.h (R_386_SIZE32): New relocation.
4285 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4287 (elf_machine_rela): Likewise.
4288 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4289 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4291 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4293 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4294 (FP_FAST_FMA): Do not define.
4295 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4296 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4297 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4298 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4299 !_SOFT_FLOAT]: Likewise.
4300 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4301 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4303 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4304 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4305 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4306 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4307 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4308 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4311 2013-01-16 Andreas Schwab <schwab@suse.de>
4314 * include/stdlib.h (__mktemp): Add declaration.
4315 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4316 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4318 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4320 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4322 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4323 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4324 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4326 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4327 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4329 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4331 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4332 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4333 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4335 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4336 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4338 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4340 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4342 2013-01-15 David S. Miller <davem@davemloft.net>
4344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4345 trunc{,f} to libm-sysdep_routes.
4346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4356 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4357 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4358 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4359 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4360 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4361 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4364 nearbyint{,f} to libm-sysdep_routes.
4365 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4376 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4378 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4379 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4381 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4382 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4383 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4385 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4386 libc_feholdexcept and libc_fesetenv.
4388 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4390 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4392 2013-01-14 David S. Miller <davem@davemloft.net>
4394 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4395 (SPARC_ASM_VIS2_IFUNC): Likewise.
4396 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4398 use of 'siam' instruction.
4399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4432 routines to libm-sysdep_routines.
4433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4436 fdim/fdimf to libm-sysdep_routines.
4437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4445 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4446 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4447 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4448 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4450 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4452 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4455 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4460 local variable MPTWO.
4461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4464 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4466 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4469 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4471 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4473 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4475 * manual/pattern.texi (glob_t): Document gl_flags.
4476 (glob64_t): Likewise.
4478 2013-01-11 David S. Miller <davem@davemloft.net>
4480 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4481 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4482 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4483 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4484 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4485 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4486 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4487 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4488 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4489 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4490 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4491 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4492 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4494 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4495 sparc V9 rather than using V8 code.
4496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4499 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4501 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4504 2013-01-11 Roland McGrath <roland@hack.frob.com>
4506 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4507 not in the main loop.
4508 * configure: Regenerated.
4510 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4512 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4513 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4515 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4516 [!__GLIBC_HAVE_LONG_LONG] case.
4517 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4518 condition to just #else.
4519 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4520 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4521 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4522 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4524 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4525 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4526 #elif condition to just #else.
4527 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4528 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4529 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4530 #elif condition to just #else.
4532 2013-01-11 Steve Ellcey <sellcey@mips.com>
4534 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4535 (EF_MIPS_ARCH_64): Fix value.
4536 (EF_MIPS_ARCH_32R2): New.
4537 (EF_MIPS_ARCH_64R2): New.
4539 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4541 * Makeconfig (+link-pie-before-libc): New.
4542 (+link-pie-after-libc): Likewise.
4543 (+link-pie-tests): Likewise.
4544 (+link-pie): Rewritten.
4545 (link-before-libc): Remove $(config-LDFLAGS).
4546 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4547 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4548 (config-LDFLAGS): Renamed to ...
4549 (rtld-LDFLAGS): This.
4550 (rtld-tests-LDFLAGS): New macro.
4551 (link-libc-rpath-link): Likewise.
4552 (link-libc-tests-rpath-link): Likewise.
4553 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4554 (link-libc): Prepand $(link-libc-rpath-link).
4555 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4556 (test-program-prefix): New macro.
4557 (test-via-rtld-prefix): Likewise.
4558 (test-program-cmd): Likewise.
4559 (host-test-program-cmd): Likewise.
4560 * Makefile ($(common-objpfx)testrun.sh): Replace
4561 $(run-program-prefix) with $(test-program-prefix).
4562 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4564 ($(common-objpfx)shlib.lds): Likewise.
4565 (build-module-helper): Likewise.
4566 ($(common-objpfx)format.lds): Likewise.
4567 * Rules (binaries-pie-tests): New.
4568 (binaries-pie-notests): Likewise.
4569 (binaries-pie): Rewritten.
4570 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4571 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4572 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4573 (make-test-out): Replace $(host-built-program-cmd) with
4574 $(host-test-program-cmd).
4575 * config.make.in (build-hardcoded-path-in-tests): New variable.
4576 * configure.in (--enable-hardcoded-path-in-tests): New configure
4578 (hardcoded_path_in_tests): New AC_SUBST.
4579 * configure: Regenerated.
4580 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4581 $(built-program-cmd) with $(test-program-cmd).
4582 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4583 (test_program_cmd): This.
4584 * elf/Makefile ($(objpfx)order.out): Run test with
4585 $(test-program-prefix).
4586 ($(objpfx)order2.out): Likewise.
4587 ($(objpfx)tst-initorder.out): Likewise.
4588 ($(objpfx)tst-initorder2.out): Likewise.
4589 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4590 $(test-program-cmd).
4591 ($(objpfx)tst-array1-static.out): Likewise.
4592 ($(objpfx)tst-array2.out): Likewise.
4593 ($(objpfx)tst-array3.out): Likewise.
4594 ($(objpfx)tst-array4.out): Likewise.
4595 ($(objpfx)tst-array5.out): Likewise.
4596 ($(objpfx)tst-array5-static.out): Likewise.
4597 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4598 $(test-program-cmd).
4599 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4600 $(run-program-prefix) with $(test-program-prefix).
4601 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4602 (test_program_prefix): This.
4603 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4604 $(run-program-prefix) with $(test-program-prefix).
4605 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4606 (test_program_prefix): This.
4607 * iconvdata/tst-tables.sh: Likewise.
4608 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4609 $(run-program-prefix) with $(test-program-prefix).
4610 ($(objpfx)tst-translit.out): Likewise.
4611 ($(objpfx)tst-gettext2.out): Likewise.
4612 ($(objpfx)tst-gettext4.out): Likewise.
4613 ($(objpfx)tst-gettext6.out): Likewise.
4614 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4615 (test_program_prefix): This.
4616 * intl/tst-gettext2.sh: Likewise.
4617 * intl/tst-gettext4.sh Likewise.
4618 * intl/tst-gettext6.sh: Likewise.
4619 * intl/tst-translit.sh: Likewise.
4620 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4621 with $(test-program-cmd).
4622 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4623 $(run-program-prefix) with $(test-program-prefix).
4624 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4625 (test_program_prefix): This.
4626 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4627 $(run-program-prefix) with $(test-program-prefix).
4628 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4629 (test_program_prefix): This.
4630 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4631 * posix/Makefile ($(objpfx)globtest.out): Replace
4632 $(run-via-rtld-prefix) and $(test-wrapper) with
4633 $(test-program-prefix) and $(test-via-rtld-prefix).
4634 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4635 $(test-program-prefix).
4636 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4637 $(host-test-program-cmd).
4638 (tst-spawn-ARGS): Likewise.
4639 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4640 $(test-program-prefix).
4641 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4642 (test_via_rtld_prefix): This.
4643 (test_wrapper): Renamed to ...
4644 (test_program_prefix): This.
4645 (run_program_prefix): Replaced by test_program_prefix.
4646 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4647 (test_program_prefix): This.
4648 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4649 with $(host-test-program-cmd).
4650 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4651 $(run-program-prefix) with $(test-program-prefix).
4652 ($(objpfx)tst-printf.out): Likewise.
4653 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4654 $(test-program-cmd).
4655 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4656 (test_program_prefix): This.
4657 * stdio-common/tst-unbputc.sh: Likewise.
4658 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4659 $(run-program-prefix) with $(test-program-prefix).
4660 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4661 (test_program_prefix): This.
4662 * string/Makefile ($(objpfx)tst-svc.out): Replace
4663 $(built-program-cmd) with $(test-program-cmd).
4665 2013-01-11 Andreas Jaeger <aj@suse.de>
4668 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4669 value. Sync with Linux 3.7.
4671 2013-01-10 David S. Miller <davem@davemloft.net>
4673 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4677 2013-01-10 Roland McGrath <roland@hack.frob.com>
4679 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4681 * configure: Regenerated.
4683 2013-01-10 David S. Miller <davem@davemloft.net>
4685 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4686 sparc V9 rather than using V8 code.
4687 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4688 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4690 2013-01-10 Roland McGrath <roland@hack.frob.com>
4692 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4693 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4694 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4695 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4696 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4697 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4698 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4699 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4700 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4701 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4702 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4703 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4704 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4705 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4706 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4707 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4708 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4709 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4710 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4711 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4712 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4713 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4714 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4715 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4716 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4717 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4718 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4720 2013-01-10 David S. Miller <davem@davemloft.net>
4722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4724 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4726 * posix/Makefile (tests-static): New variable.
4727 (tests): Add $(tests-static).
4728 (tst-exec-static-ARGS): New variable.
4729 (tst-spawn-static-ARGS): Likewise.
4730 * posix/tst-exec-static.c: New file.
4731 * posix/tst-spawn-static.c: Likewise.
4732 * posix/tst-exec.c: Support run directly.
4733 * posix/tst-spawn.c: Likewise.
4735 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4737 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4739 * math/bits/mathcalls.h (llrint): Likewise.
4740 (llround): Likewise.
4741 * stdlib/stdlib.h (struct drand48_data): Likewise.
4742 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4743 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4744 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4746 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4748 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4749 (elf_greg_t): Likewise.
4750 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4751 (__jmp_buf): Likewise.
4752 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4754 (llrint): Likewise, for all definitions.
4755 (llrintl): Likewise.
4757 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4758 Remove [__GNUC__] condition.
4759 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4760 condition to just [__USE_ISOC99].
4761 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4763 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4766 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4767 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4769 (_POSIX_V6_ILP32_OFF32): Likewise.
4770 (_XBS5_ILP32_OFF32): Likewise.
4771 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4772 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4774 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4776 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4779 doubles __mpexp_twomm1. Adjust usage.
4780 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4783 2013-01-10 Andreas Schwab <schwab@suse.de>
4786 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4787 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4789 2013-01-09 David S. Miller <davem@davemloft.net>
4792 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4793 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4794 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4795 TCP_FASTOPEN): Define.
4796 (tcp_repair_opt): New structure.
4797 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4799 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4800 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4801 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4802 (tcp_cookie_transactions): New structure.
4804 2013-01-09 Anton Blanchard <anton@samba.org>
4806 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4807 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4809 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4811 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4813 * include/features.h (__USE_ANSI): Remove.
4815 2013-01-09 Roland McGrath <roland@hack.frob.com>
4817 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4819 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4821 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4823 * sysdeps/s390/fpu/libm-test-ulps: Update.
4825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4827 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4832 (__mp_dbl): Likewise.
4833 (__dbl_mp): Likewise.
4834 (add_magnitudes): Likewise.
4835 (sub_magnitudes): Likewise.
4841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4846 (__mp_dbl): Likewise.
4847 (__dbl_mp): Likewise.
4848 (add_magnitudes): Likewise.
4849 (sub_magnitudes): Likewise.
4855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4860 (__mp_dbl): Likewise.
4861 (__dbl_mp): Likewise.
4862 (add_magnitudes): Likewise.
4863 (sub_magnitudes): Likewise.
4870 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4872 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4873 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4874 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4875 2 && __USE_EXTERN_INLINES]: Likewise.
4877 2013-01-08 Andreas Jaeger <aj@suse.de>
4880 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4882 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4883 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4885 2013-01-07 Anton Blanchard <anton@samba.org>
4887 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4888 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4889 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4890 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4891 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4892 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4893 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4894 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4896 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4897 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4898 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4900 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4901 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4903 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4904 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4905 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4906 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4907 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4908 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4909 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4910 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4911 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4912 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4913 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4914 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4916 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4917 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4919 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4920 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4921 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4923 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4924 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4926 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4927 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4929 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4931 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4933 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4934 (__MALLOC_PMT): Likewise.
4935 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4936 [__GNUC__], only on [_LIBC].
4937 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4938 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4939 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4940 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4941 forward declaration.
4942 (realloc_hook_ini): Likewise.
4943 (memalign_hook_ini): Likewise.
4944 (__libc_memalign): Do not use __MALLOC_PMT in variable
4946 (__libc_valloc): Likewise.
4947 (__libc_pvalloc): Likewise.
4948 (__libc_calloc): Likewise.
4949 (__posix_memalign): Likewise.
4952 * math/s_casinh.c: Include <float.h>.
4953 (__casinh): Do not do computation with squaring and square root
4954 for large arguments.
4955 * math/s_casinhf.c: Include <float.h>.
4956 (__casinhf): Do not do computation with squaring and square root
4957 for large arguments.
4958 * math/s_casinhl.c: Include <float.h>.
4959 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4960 (__casinhl): Do not do computation with squaring and square root
4961 for large arguments.
4962 * math/libm-test.inc (casin_test): Add more tests.
4963 (casinh_test): Likewise.
4964 * sysdeps/i386/fpu/libm-test-ulps: Update.
4965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4967 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4969 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4970 (__x86_64_raw_data_cache_size): Likewise.
4971 (__x86_64_data_cache_size_half): Likewise.
4972 (__x86_64_raw_data_cache_size_half): Likewise.
4973 (__x86_64_shared_cache_size): Likewise.
4974 (__x86_64_raw_shared_cache_size): Likewise.
4975 (__x86_64_shared_cache_size_half): Likewise.
4976 (__x86_64_raw_shared_cache_size_half): Likewise.
4977 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4979 (__x86_data_cache_size): This.
4980 (__x86_64_raw_data_cache_size): Renamed to ...
4981 (__x86_raw_data_cache_size): This.
4982 (__x86_64_data_cache_size_half): Renamed to ...
4983 (__x86_data_cache_size_half): This.
4984 (__x86_64_raw_data_cache_size_half): Renamed to ...
4985 (__x86_raw_data_cache_size_half): This.
4986 (__x86_64_shared_cache_size): Renamed to ...
4987 (__x86_shared_cache_size): This.
4988 (__x86_64_raw_shared_cache_size): Renamed to ...
4989 (__x86_raw_shared_cache_size): This.
4990 (__x86_64_shared_cache_size_half): Renamed to ...
4991 (__x86_shared_cache_size_half): This.
4992 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4993 (__x86_raw_shared_cache_size_half): This.
4994 * sysdeps/x86_64/memcpy.S: Updated.
4995 * sysdeps/x86_64/memset.S: Likewise.
4996 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4997 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4998 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5000 2013-01-04 David S. Miller <davem@davemloft.net>
5002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5004 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5006 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5007 1 to avoid redefinition warning.
5008 (__USE_GNU): Don't define.
5009 (init_signaling_nan): Protoize.
5011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5013 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5015 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5017 (__cpymn): Likewise.
5018 (norm): Remove commented code.
5020 (__mp_dbl): Likewise.
5022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5023 (__cpymn): Likewise.
5024 (norm): Remove commented code.
5026 (__mp_dbl): Likewise.
5029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5030 mp_no value for 1.0 and 2.0.
5031 (norm): Use RADIXI instead of radixi.d.
5033 (__mul): Use 0.0 instead of zero.d.
5034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5035 mp_no value for 1.0 and 2.0.
5036 (norm): Use RADIXI instead of radixi.d.
5038 (__mul): Use 0.0 instead of zero.d.
5040 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5043 * math/s_casinh.c (__casinh): Reduce finite argument to first
5044 quadrant then set signs of results at the end.
5045 * math/s_casinhf.c (__casinhf): Likewise.
5046 * math/s_casinhl.c (__casinhl): Likewise.
5047 * math/libm-test.inc (casin_test): Add more tests.
5048 (casinh_test): Likewise.
5049 * sysdeps/i386/fpu/libm-test-ulps: Update.
5050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5052 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5054 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5056 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5058 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5061 (__mp_dbl): Likewise.
5064 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5065 and adjust the header comment.
5067 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5068 variable name from declaration.
5070 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5073 Initialize COMMON_CPUID_INDEX_7 element.
5074 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5075 (CPUID_RTM): Likewise.
5076 (HAS_RTM): Likewise.
5077 (COMMON_CPUID_INDEX_7): New enum.
5079 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5082 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5083 size is zero, record memory as freed.
5085 2013-01-03 Andreas Jaeger <aj@suse.de>
5087 * po/ia.po: Add new Interlingua translation.
5089 2012-01-03 Allan McRae <allan@archlinux.org>
5091 * locale/programs/localedef.c: Fix description of '--posix' flag.
5093 2013-01-02 Joseph Myers <joseph@codesourcery.com>
5095 * NEWS: Update dates in second copyright notice.
5096 * README: Update copyright dates in example.
5097 * manual/libc.texinfo: Update copyright dates.
5098 * scripts/test-installation.pl: Update copyright date in --version
5101 * hurd/ctty-input.c: Fix copyright notice formatting.
5102 * hurd/ctty-output.c: Likewise.
5103 * hurd/dtable.c: Likewise.
5104 * hurd/hurd-raise.c: Likewise.
5105 * hurd/hurdprio.c: Likewise.
5106 * hurd/msgportdemux.c: Likewise.
5107 * misc/sys/file.h: Likewise.
5108 * misc/sys/ioctl.h: Likewise.
5109 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5110 * sysdeps/mach/hurd/chdir.c: Likewise.
5111 * sysdeps/mach/hurd/fchdir.c: Likewise.
5112 * sysdeps/mach/hurd/rename.c: Likewise.
5113 * sysdeps/mach/hurd/rmdir.c: Likewise.
5114 * sysdeps/mach/hurd/seekdir.c: Likewise.
5115 * sysdeps/mach/hurd/setsid.c: Likewise.
5116 * sysdeps/posix/wait3.c: Likewise.
5118 * All files with FSF copyright notices: Update copyright dates
5119 using scripts/update-copyrights.
5120 * intl/plural.c: Regenerated.
5121 * locale/programs/charmap-kw.h: Likewise.
5122 * locale/programs/locfile-kw.h: Likewise.
5124 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5126 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5129 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5130 calculation loop and add branch prediction.
5132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5133 check access beyond bounds of m1np.
5135 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5137 (__inv): Remove local variable MPTWO to use the global
5139 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5140 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5142 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5143 MP3HALFS static const.
5145 2013-01-01 David S. Miller <davem@davemloft.net>
5147 * po/ca.po: Update from translation team.
5149 2013-01-01 Joseph Myers <joseph@codesourcery.com>
5151 * scripts/update-copyrights: New file.
5152 * Makeconfig: Reformat copyright notice.
5153 * ctype/ctype.h: Likewise.
5154 * debug/swprintf_chk.c: Likewise.
5155 * elf/dl-cache.c: Likewise.
5156 * elf/dl-debug.c: Likewise.
5157 * elf/dl-object.c: Likewise.
5158 * grp/initgroups.c: Likewise.
5159 * hurd/Makefile: Likewise.
5160 * hurd/hurd/signal.h: Likewise.
5161 * hurd/hurdfault.c: Likewise.
5162 * hurd/hurdioctl.c: Likewise.
5163 * hurd/hurdlookup.c: Likewise.
5164 * hurd/intr-msg.c: Likewise.
5165 * iconv/gconv_open.c: Likewise.
5166 * libio/swprintf.c: Likewise.
5167 * locale/lc-ctype.c: Likewise.
5168 * locale/nl_langinfo.c: Likewise.
5169 * mach/Machrules: Likewise.
5170 * mach/Makefile: Likewise.
5171 * malloc/obstack.h: Likewise.
5172 * manual/Makefile: Likewise.
5173 * manual/tsort.awk: Likewise.
5174 * misc/bits/stab.def: Likewise.
5175 * nis/nis_print_group_entry.c: Likewise.
5176 * nis/nis_table.c: Likewise.
5177 * nis/nss_compat/compat-pwd.c: Likewise.
5178 * nis/nss_compat/compat-spwd.c: Likewise.
5179 * po/Makefile: Likewise.
5180 * posix/fnmatch.c: Likewise.
5181 * posix/regex.h: Likewise.
5182 * resolv/Makefile: Likewise.
5183 * resolv/nss_dns/dns-network.c: Likewise.
5184 * resolv/res_hconf.c: Likewise.
5185 * scripts/gen-sorted.awk: Likewise.
5186 * soft-fp/soft-fp.h: Likewise.
5187 * stdio-common/printf.h: Likewise.
5188 * stdlib/monetary.h: Likewise.
5189 * stdlib/random.c: Likewise.
5190 * stdlib/random_r.c: Likewise.
5191 * sysdeps/generic/Makefile: Likewise.
5192 * sysdeps/gnu/Makefile: Likewise.
5193 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5195 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5197 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5200 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5201 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5202 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5203 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5204 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5205 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5206 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5207 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5208 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5209 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5210 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5212 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5213 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5214 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5215 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5221 * sysdeps/mach/hurd/errnos.awk: Likewise.
5222 * sysdeps/mach/hurd/fork.c: Likewise.
5223 * sysdeps/mach/hurd/getcwd.c: Likewise.
5224 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5225 * sysdeps/mach/hurd/mmap.c: Likewise.
5226 * sysdeps/mach/hurd/utimes.c: Likewise.
5227 * sysdeps/mach/hurd/xmknod.c: Likewise.
5228 * sysdeps/posix/profil.c: Likewise.
5229 * sysdeps/posix/readdir_r.c: Likewise.
5230 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5231 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5232 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5233 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5235 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5236 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5237 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5239 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5240 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5241 * sysdeps/pthread/lio_listio.c: Likewise.
5242 * sysdeps/sparc/dl-procinfo.h: Likewise.
5243 * sysdeps/unix/i386/sysdep.S: Likewise.
5244 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5245 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5246 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5247 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5249 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5250 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5251 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5252 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5253 * sysdeps/wordsize-32/divdi3.c: Likewise.
5254 * time/sys/time.h: Likewise.
5255 * wcsmbs/Makefile: Likewise.
5257 2013-01-01 David S. Miller <davem@davemloft.net>
5259 * po/fr.po: Update from translation team.
5261 * catgets/gencat.c: Update copyright year.
5262 * csu/version.c: Likewise.
5263 * debug/catchsegv.sh: Likewise.
5264 * debug/pcprofiledump.c: Likewise.
5265 * debug/xtrace.sh: Likewise.
5266 * elf/ldconfig.c: Likewise.
5267 * elf/ldd.bash.in: Likewise.
5268 * elf/pldd.c: Likewise.
5269 * elf/sotruss.ksh: Likewise.
5270 * elf/sprof.c: Likewise.
5271 * iconv/iconv_prog.c: Likewise.
5272 * iconv/iconvconfig.c: Likewise.
5273 * locale/programs/locale.c: Likewise.
5274 * locale/programs/localedef.c: Likewise.
5275 * login/programs/pt_chown.c: Likewise.
5276 * malloc/memusage.sh: Likewise.
5277 * malloc/memusagestat.c: Likewise.
5278 * malloc/mtrace.pl: Likewise.
5279 * nscd/nscd.c: Likewise.
5280 * nss/getent.c: Likewise.
5281 * nss/makedb.c: Likewise.
5282 * posix/getconf.c: Likewise.
5284 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5286 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5289 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5291 * math/bits/mathcalls.h (modf): Use __nonnull.
5293 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5295 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5296 (split): Use macro CN instead of the bare value.
5297 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5300 instead of the bare value.
5303 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5305 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5307 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5309 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5311 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5312 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5313 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5314 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5316 2012-12-28 Andreas Jaeger <aj@suse.de>
5318 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5319 values are from Linux 3.7.
5321 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5322 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5324 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5326 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5329 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5331 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5332 variables with preprocessor constants.
5333 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5334 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5335 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5337 2012-12-27 Bruno Haible <bruno@clisp.org>
5340 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5343 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5345 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5346 and use variable directly.
5347 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5349 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5351 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5354 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5356 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5357 include directive. Remove local variable MPONE.
5358 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5359 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5360 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5362 2012-12-25 David S. Miller <davem@davemloft.net>
5364 * version.h (RELEASE): Set to "development".
5365 (VERSION): Set to "2.17.90".
5366 * NEWS: Add 2.18 section.
5368 2012-12-21 David S. Miller <davem@davemloft.net>
5370 * po/hr.po: Update from translation team.
5372 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5374 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5376 2012-12-19 Steve Ellcey <sellcey@mips.com>
5378 * NEWS: Mention new memcpy for MIPS.
5380 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5382 * manual/contrib.texi (Contributors): Spelling correction.
5384 2012-12-15 David S. Miller <davem@davemloft.net>
5386 * po/ru.po: Update from translation team.
5388 2012-12-13 David S. Miller <davem@davemloft.net>
5390 * NEWS: Mention IFUNC testsuite enhancements.
5392 * po/pl.po: Update from translation team.
5393 * po/bg.po: Likewise.
5395 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5396 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5398 2012-12-11 David S. Miller <davem@davemloft.net>
5400 * po/sv.po: Update from translation team.
5402 * po/vi.po: Update from translation team.
5404 * po/cs.po: Update from translation team.
5406 * po/de.po: Update from translation team.
5407 * po/eo.po: Likewise.
5408 * po/nl.po: Likewise.
5410 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5413 * manual/argp.texi (Argp Helper Functions): Move node to follow
5417 * manual/conf.texi (Limits on File System Capacity): Mention if
5418 terminating null is included in the max size.
5420 2012-12-10 Andreas Jaeger <aj@suse.de>
5422 * po/cs.po: Update from translation team.
5424 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5426 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5427 void pointer and cast to uintptr_t.
5428 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5430 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5431 * sysdeps/s390/s390-64/memset.S: Likewise.
5433 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5436 * menual/message.texi (Message Translation): Fix typos.
5437 (Helper programs for gettext): Likewise.
5439 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5442 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5445 2012-12-07 David S. Miller <davem@davemloft.net>
5447 * po/libc.pot: Update.
5449 2012-12-07 Richard Henderson <rth@redhat.com>
5452 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5453 normal/normal case to before the switch.
5454 (_FP_DIV): Likewise.
5456 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5457 Mike Frysinger <vapier@gentoo.org>
5459 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5460 check for __NR_fadvise64_64.
5462 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5464 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5465 0, not just to plain "0" as a statement.
5466 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5469 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5471 * NEWS: Use sourceware.org in Bugzilla URL.
5473 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5476 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5478 * stdio-common/tst-put-error.c (do_test): Add newline to the
5479 padded test to ensure flush.
5481 2012-12-05 Jeff Law <law@redhat.com>
5483 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5485 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5487 * README: Don't refer to ports add-on as distributed separately.
5488 Mention AArch64 in list of systems supported in the ports add-on.
5490 * LICENSES: Add more non-FSF copyright and license notices.
5492 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5495 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5497 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5498 10000 as width of padded output.
5500 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5502 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5504 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5505 variable LX with __attribute__ ((unused)).
5506 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5508 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5509 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5510 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5511 with __attribute__ ((unused)).
5513 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5515 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5517 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5519 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5520 (CFLAGS-nldbl-acos.c): New variable.
5521 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5522 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5523 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5524 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5525 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5526 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5527 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5528 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5529 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5530 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5531 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5532 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5533 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5534 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5535 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5536 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5537 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5538 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5539 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5540 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5541 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5542 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5543 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5544 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5545 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5546 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5547 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5548 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5549 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5550 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5551 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5552 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5553 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5554 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5555 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5556 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5557 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5558 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5559 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5560 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5561 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5562 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5563 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5564 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5565 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5566 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5567 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5568 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5569 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5570 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5571 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5572 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5573 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5574 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5575 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5576 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5577 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5578 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5579 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5580 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5581 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5582 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5583 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5584 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5585 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5586 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5587 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5588 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5589 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5590 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5591 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5592 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5593 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5594 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5595 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5596 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5597 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5598 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5599 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5600 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5601 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5602 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5603 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5604 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5605 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5606 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5607 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5608 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5609 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5610 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5611 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5612 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5613 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5614 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5615 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5616 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5617 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5620 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5624 whole low double instead of just low 47 bits when splitting values
5627 2012-12-03 Allan McRae <allan@archlinux.org>
5629 * manual/stdio.texi (Predefined Printf Handlers): Remove
5630 @hsep and @vsep usage.
5632 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5634 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5635 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5637 2012-12-03 Jeff Law <law@redhat.com>
5639 * time/sys/time.h (settimeofday): Do not mark TV argument
5642 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5644 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5645 when currently writing and seek to current position when not.
5646 * libio/Makefile (tests): Remove bug-fclose1.
5647 * libio/bug-fclose1.c: Delete.
5649 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5651 * manual/arith.texi (feenableexcept): Fix typo.
5652 (fedisableexcept): Likewise.
5654 2012-11-30 Roland McGrath <roland@hack.frob.com>
5656 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5657 second, differently-typed declaration, rather than a cast.
5659 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5661 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5662 * include/rpc/svc.h: ... here.
5664 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5667 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5668 depending n and resplen2 to catch cases where answer
5671 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5673 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5674 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5676 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5678 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5680 2012-11-29 Roland McGrath <roland@hack.frob.com>
5682 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5684 2012-11-28 Jeff Law <law@redhat.com>
5687 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5688 dataset_temporary. Track alloca usage into alloca_used.
5689 If dataset is large allocate and release it via malloc/free.
5691 2012-06-04 Florian Weimer <fweimer@redhat.com>
5694 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5696 2012-11-28 David S. Miller <davem@davemloft.net>
5698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5700 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5703 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5704 of pi/2 rounded to nearest to 64 bits.
5705 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5707 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5710 2012-11-28 Jeff Law <law@redhat.com>
5711 Martin Osvald <mosvald@redhat.com>
5714 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5715 * sunrpc/svc.c: Include time.h.
5716 (__svc_accept_failed): New function.
5717 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5718 any reason other than EINTR, call __svc_accept_failed.
5719 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5720 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5722 2012-11-28 Andreas Schwab <schwab@suse.de>
5724 * scripts/abilist.awk: Also handle indirect functions in .opd
5727 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5730 * sysdeps/x86/fpu/powl_helper.c: New file.
5731 * sysdeps/x86/fpu/Makefile: Likewise.
5732 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5734 (__ieee754_powl): Use __powl_helper for finite arguments except
5735 integer exponents below 8.
5736 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5738 (__ieee754_powl): Use __powl_helper for finite arguments except
5739 integer exponents below 8.
5740 * math/libm-test.inc (pow_test): Add more tests and enable some
5741 previously disabled tests.
5742 * sysdeps/i386/fpu/libm-test-ulps: Update.
5743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5745 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5746 Carlos O'Donell <carlos_odonell@mentor.com>
5748 * nss/makedb.c (is_prime): Assert that input is odd and greater
5749 than 4. Note that fact in a comment too.
5750 (next_prime): Add 4 to input.
5752 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5755 * libio/Makefile (tests): Add test case tst-fwrite-error.
5756 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5757 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5758 * libio/tst-fwrite-error.c: New test case.
5760 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5762 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5763 before casting to void *.
5764 * include/libc-internal.h (__pointer_type): New macro.
5765 (__integer_if_pointer_type_sub): Likewise.
5766 (__integer_if_pointer_type): Likewise.
5767 (cast_to_integer): Likewise.
5768 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5769 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5770 before casting to atomic64_t.
5771 (atomic_exchange_acq): Likewise.
5772 (__arch_exchange_and_add_body): Likewise.
5773 (__arch_add_body): Likewise.
5774 (atomic_add_negative): Likewise.
5775 (atomic_add_zero): Likewise.
5777 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5779 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5780 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5781 (add_fdes): Likewise.
5782 (linear_search_fdes): Likewise.
5783 (binary_search_unencoded_fdes): Likewise.
5785 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5787 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5789 2012-11-24 Adam Conrad <adconrad@0c3.net>
5791 * configure.in: Autodetect C++ header directories.
5792 * configure: Regenerated.
5794 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5796 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5798 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5802 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5804 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5805 LDBL_MANT_DIG == 106]: Disable some tests.
5806 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5808 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5812 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5813 input for small inputs. Return +/- pi/2 for large inputs.
5814 * math/libm-test.inc (atan_test): Add more tests.
5816 * sysdeps/generic/unwind-dw2-fde-glibc.c
5817 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5818 __attribute__ ((unused)).
5821 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5822 x * y if x and y are nonzero and z is zero.
5825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5826 nonzero exponents with absolute value below 0x1p-117 to +/-
5830 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5831 up arguments below 2**-450, not just those below 2**-500.
5832 * math/libm-test.inc (hypot_test): Add another test.
5835 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5836 Return a+b for ratio over 2**120, not 2**60.
5837 * math/libm-test.inc (hypot_test): Add another test.
5839 * math/libm-test.inc (clog_test): Use
5840 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5841 (clog10_test): Likewise.
5844 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5846 2012-11-22 Andreas Schwab <schwab@suse.de>
5848 * sysdeps/i386/fpu/libm-test-ulps: Update.
5850 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5852 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5853 printf output with newline.
5855 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5858 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5859 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5860 -z nodlopen, -z initfirst and -z execstack support.
5861 * configure: Regenerated.
5863 * elf/elf.h (DF_1_NODIRECT): New macro.
5864 (DF_1_IGNMULDEF): Likewise.
5865 (DF_1_NOKSYMS): Likewise.
5866 (DF_1_NOHDR): Likewise.
5867 (DF_1_EDITED): Likewise.
5868 (DF_1_NORELOC): Likewise.
5869 (DF_1_SYMINTPOSE): Likewise.
5870 (DF_1_GLOBAUDIT): Likewise.
5871 (DF_1_SINGLETON): Likewise.
5872 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5873 DT_1_SUPPORTED_MASK bits.
5874 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5876 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5878 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5880 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5882 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5885 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5886 (sendmmsg): Move declarations...
5887 * socket/sys/socket.h: ... here.
5888 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5889 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5891 * socket/recvmmsg.c: ... this new file.
5892 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5893 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5894 definition of __sendmmsg hidden.
5895 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5896 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5897 Move ENOSYS stub into and include it from...
5898 * socket/sendmmsg.c: ... this new file.
5899 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5900 (sysdep_routines): Move recvmmsg and sendmmsg...
5901 * socket/Makefile (routines): ... here.
5902 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5903 (GLIBC_PRIVATE): Add __sendmmsg.
5904 * include/sys/socket.h (__sendmmsg): Add declarations.
5905 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5908 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5911 variable I1 with __attribute__ ((unused)).
5912 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5914 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5916 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5917 DUMMY variables with __attribute__ ((unused)).
5919 * bits/byteswap.h: Include <bits/types.h>.
5920 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5922 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5924 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5925 string_t. Do not manually set errno.
5926 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5927 length with __strnlen. Make sure to both set errno and return it on
5930 2012-11-19 David S. Miller <davem@davemloft.net>
5932 With help from Joseph Myers.
5933 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5934 very large arguments properly.
5935 * math/libm-test.inc (atan_test): New tests.
5936 (atan2_test): New tests.
5937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5940 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5943 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5946 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5947 [POSIX] (EADDRNOTAVAIL): Likewise.
5948 [POSIX] (EAFNOSUPPORT): Likewise.
5949 [POSIX] (EALREADY): Likewise.
5950 [POSIX] (ECONNABORTED): Likewise.
5951 [POSIX] (ECONNREFUSED): Likewise.
5952 [POSIX] (ECONNRESET): Likewise.
5953 [POSIX] (EDESTADDRREQ): Likewise.
5954 [POSIX] (EDQUOT): Likewise.
5955 [POSIX] (EHOSTUNREACH): Likewise.
5956 [POSIX] (EIDRM): Likewise.
5957 [POSIX] (EISCONN): Likewise.
5958 [POSIX] (ELOOP): Likewise.
5959 [POSIX] (EMULTIHOP): Likewise.
5960 [POSIX] (ENETDOWN): Likewise.
5961 [POSIX] (ENETUNREACH): Likewise.
5962 [POSIX] (ENOBUFS): Likewise.
5963 [POSIX] (ENODATA): Likewise.
5964 [POSIX] (ENOLINK): Likewise.
5965 [POSIX] (ENOMSG): Likewise.
5966 [POSIX] (ENOPROTOOPT): Likewise.
5967 [POSIX] (ENOSR): Likewise.
5968 [POSIX] (ENOSTR): Likewise.
5969 [POSIX] (ENOTCONN): Likewise.
5970 [POSIX] (ENOTSOCK): Likewise.
5971 [POSIX] (EOPNOTSUPP): Likewise.
5972 [POSIX] (EOVERFLOW): Likewise.
5973 [POSIX] (EPROTO): Likewise.
5974 [POSIX] (EPROTONOSUPPORT): Likewise.
5975 [POSIX] (EPROTOTYPE): Likewise.
5976 [POSIX] (ESTALE): Likewise.
5977 [POSIX] (ETIME): Likewise.
5978 [POSIX] (ETXTBSY): Likewise.
5979 [POSIX] (EWOULDBLOCK): Likewise.
5980 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5981 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5982 [POSIX] (SEEK_CUR): Likewise.
5983 [POSIX] (SEEK_END): Likewise.
5984 [POSIX || UNIX98] (mode_t): Do not require.
5985 [POSIX] (off_t): Likewise.
5986 [POSIX] (pid_t): Likewise.
5987 [POSIX] (sys/stat.h): Do not allow header.
5988 [POSIX] (unistd.h): Likewise.
5989 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5990 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5991 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5992 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5994 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5995 sigevent): Specify elements.
5996 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5998 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5999 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6001 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6002 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6003 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6004 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6005 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6006 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6007 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6008 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6009 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6010 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6011 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6012 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6013 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6014 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6016 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6018 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6020 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6022 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6023 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6024 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6025 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6026 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6027 Specify lower bound on value.
6028 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6029 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6030 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6031 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6032 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6033 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6034 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6035 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6037 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6039 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6040 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6041 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6042 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6043 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6044 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6045 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6046 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6047 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6048 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6049 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6050 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6051 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6052 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6053 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6054 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6056 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6058 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6059 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6060 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6061 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6062 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6063 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6065 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6066 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6067 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6068 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6069 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6070 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6071 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6073 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6075 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6076 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6077 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6078 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6079 specify as optional.
6080 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6081 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6082 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6083 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6084 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6085 [XPG3] (NL_LANGMAX): Likewise.
6086 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6087 [POSIX || XPG3] (NL_NMAX): Likewise.
6088 [POSIX || XPG3] (NL_SETMAX): Likewise.
6089 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6090 [XPG3] (NZERO): Likewise.
6091 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6092 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6093 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6094 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6095 (REG_ERANGE): Expect.
6096 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6098 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6099 Use (void) in prototype.
6100 [POSIX] (*_t): Allow.
6101 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6102 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6103 (WRDE_BADVAL): Expect.
6105 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6107 [XPG3 || XPG4] (O_RSYNC): Likewise.
6108 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6110 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6111 [XPG3 || XPG4] (sigqueue): Likewise.
6112 [XPG3 || XPG4] (sigtimedwait): Likewise.
6113 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6114 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6115 [XPG3 || XPG4] (vsnprintf): Likewise.
6116 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6118 [XPG3 || XPG4] (blksize_t): Likewise.
6119 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6121 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6122 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6123 [XPG3 || XPG4] (struct itimerspec): Likewise.
6124 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6125 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6126 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6127 [XPG3 || XPG4] (clockid_t): Likewise.
6128 [XPG3 || XPG4] (timer_t): Likewise.
6129 [XPG3 || XPG4] (clock_getres): Likewise.
6130 [XPG3 || XPG4] (clock_gettime): Likewise.
6131 [XPG3 || XPG4] (clock_settime): Likewise.
6132 [XPG3 || XPG4] (nanosleep): Likewise.
6133 [XPG3 || XPG4] (timer_create): Likewise.
6134 [XPG3 || XPG4] (timer_delete): Likewise.
6135 [XPG3 || XPG4] (timer_gettime): Likewise.
6136 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6137 [XPG3 || XPG4] (timer_settime): Likewise.
6138 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6139 [XPG3 || XPG4] (getlogin_r): Likewise.
6140 [XPG3 || XPG4] (pread): Likewise.
6141 [XPG3 || XPG4] (pthread_atfork): Likewise.
6142 [XPG3 || XPG4] (pwrite): Likewise.
6145 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6148 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6150 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6151 finalizing MALLSTREAM.
6153 * sysdeps/mach/hurd/syncfs.c: New file.
6155 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6158 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6159 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6160 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6161 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6162 (_nss_dns_gethostbyname4_r): Likewise.
6163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6164 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6166 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6169 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6171 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6173 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6174 * elf/cache.c (print_entry): Print ",AArch64" for
6177 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6178 * elf/cache.c (print_entry): Print ",hard-float" for
6181 2012-11-18 David S. Miller <davem@davemloft.net>
6183 With help from Joseph Myers.
6184 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6186 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6188 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6189 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6191 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6192 * math/libm-test.inc (y0_test): New tests.
6193 (y1_test): New tests.
6194 * sysdeps/i386/fpu/libm-test-ulps: Update.
6195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6198 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6200 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6202 * configure: Regenerated.
6204 2012-11-17 David S. Miller <davem@davemloft.net>
6207 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6208 nonzero exponents with absolute value below 0x1p-128 to +/-
6211 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6213 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6215 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6217 * posix/getconf-speclist.c: New file.
6218 * posix/posix-envs.def: Likewise.
6219 * posix/confstr.c (START_ENV_GROUP): New macro.
6220 (END_ENV_GROUP): Likewise.
6221 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6222 (KNOWN_PRESENT_ENV_STRING): Likewise.
6223 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6224 (UNKNOWN_ENVIRONMENT): Likewise.
6225 (confstr): Include posix-envs.def instead of handling
6226 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6227 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6228 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6229 (END_ENV_GROUP): Likewise.
6230 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6231 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6232 (UNKNOWN_ENVIRONMENT): Likewise.
6233 (__sysconf): Include posix-envs.def instead of handling associated
6234 cases directly here.
6235 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6236 preprocessing getconf-speclist.c rather than running getconf or
6237 generating empty file.
6239 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6241 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6243 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6246 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6248 2012-11-16 David S. Miller <davem@davemloft.net>
6250 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6251 smaller than LDBL_EPSILON/2.0L, just return xm1.
6253 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6255 * elf/tst-array1.c (init): Set constructor priority to 1000.
6256 (fini): Set destructor priority to 1000.
6257 * elf/tst-array2dep.c: Likewise.
6259 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6262 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6263 (_IO_new_file_xsputn): Also return EOF if none of the input
6264 data was written when overflow failed.
6265 * libio/iopadn.c (_IO_padn): Likewise.
6266 * libio/iowpadn.c (_IO_wpadn): Likewise.
6267 * stdio-common/tst-put-error.c: Add copyright notice.
6268 (do_test): Add case for printing padded string.
6269 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6270 _IO_padn returned error.
6271 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6272 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6275 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6277 * libio/libioP.h: Add comment note that the references to C++
6278 bits are now obsolete.
6280 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6282 * math/libm-test.inc (check_complex): Use asprintf.
6284 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6286 * debug/pcprofiledump.c (print_version): Update copyright year.
6287 * malloc/memusagestat.c (print_version): Likewise.
6289 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6292 * elf/Makefile (tests): Add tst-audit8.
6293 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6294 ($(objpfx)tst-audit8.out): New target.
6295 (tst-audit8-ENV): New variable.
6296 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6297 audit if l_reloc_result is NULL.
6298 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6299 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6300 * elf/tst-audit8.c: New file.
6302 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6304 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6305 * misc/Makefile (CFLAGS-select.c): Define.
6306 * posix/Makefile (CFLAGS-pause.c): Define.
6308 2012-11-13 David S. Miller <davem@davemloft.net>
6310 * crypt/Makefile: Move test targets after toplevel Rules
6311 inclusion. Grab any necessary sysdep routines when linking.
6312 * crypt/md5.c (md5_process_block): Remove define, we will always
6313 name it __md5_process_block.
6314 (md5_finish_ctx): Update md5_process_block call.
6315 (md5_stream): Likewise.
6316 (md5_process_bytes): Likewise.
6317 (md5_process_block): Rename to __md5_process_block and move to ...
6318 * crypt/md5-block.c: ... here.
6319 * crypt/sha256.c (sha256_process_block): Move to ...
6320 * crypt/sha256-block.c: ... here.
6321 * crypt/sha512.c (sha512_process_block): Move to ...
6322 * crypt/sha512-block.c: ... here.
6323 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6325 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6326 * sysdeps/sparc/sparc64/multiarch/Makefile
6327 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6329 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6330 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6332 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6333 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6334 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6335 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6336 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6337 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6338 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6339 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6340 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6342 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6343 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6345 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6347 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6349 * timezone/tzselect.ksh: Update from tzcode git revision
6350 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6351 * timezone/zdump.c: Likewise.
6352 * timezone/zic.c: Likewise.
6353 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6354 in TZVERSION setting, not $(PKGVERSION).
6355 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6356 REPORT_BUGS_TO settings.
6359 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6362 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6364 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6365 detection to immediately after _FP_ROUND().
6366 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6369 2012-11-11 David S. Miller <davem@davemloft.net>
6371 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6373 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6374 __close rather than their public counterparts.
6376 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6378 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6380 [UNIX98] (sem_timedwait): Do not expect.
6381 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6382 [XPG4 || UNIX98] (sockatmark): Do not expect.
6383 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6384 (clock_getcpuclockid): Do not expect.
6385 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6386 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6388 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6389 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6390 [UNIX98] (vwscanf): Likewise.
6391 [UNIX98] (vswscanf): Likewise.
6393 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6395 * timezone/version.h: Remove file.
6396 * timezone/README: Do not refer to version.h.
6397 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6399 ($(objpfx)zdump.o): Likewise.
6400 ($(objpfx)version.h): New target.
6402 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6404 * timezone/README: Don't mention modification to tzselect.ksh.
6405 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6406 work on unmodified tzselect.ksh. Substitute version numbers in
6409 * Makefile (format-me): Remove.
6410 (INSTALL): Adjust indentation. Use commands directly instead of
6413 * aclocal.m4 (ACX_PKGVERSION): New macro.
6414 (ACX_BUGURL): Likewise.
6415 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6416 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6417 (REPORT_BUGS_TO): Likewise.
6418 * configure: Regenerated.
6419 * config.h.in (PKGVERSION): New macro.
6420 (REPORT_BUGS_TO): Likewise.
6421 * config.make.in (PKGVERSION): New variable.
6422 (PKGVERSION_TEXI): Likewise.
6423 (REPORT_BUGS_TO): Likewise.
6424 (REPORT_BUGS_TEXI): Likewise.
6425 * Makefile (format-me): Use -I$(common-objpfx)manual.
6426 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6427 ($(common-objpfx)manual/%): New target.
6428 (manual/%): Remove target.
6429 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6430 (print_version): Use PKGVERSION.
6431 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6432 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6434 ($(objpfx)xtrace): Likewise.
6435 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6436 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6437 (print_version): Use PKGVERSION.
6438 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6439 (do_version): Use PKGVERSION.
6440 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6442 (common-ldd-rewrite): Likewise.
6443 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6444 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6445 (print_version): Use PKGVERSION.
6446 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6447 * elf/pldd.c (argp_program_bug_address): Remove variable.
6448 (more_help): New function.
6449 (argp): Use more_help.
6450 (print_version): Use PKGVERSION.
6451 * elf/sln.c (main): Use PKGVERSION.
6452 (usage): Use REPORT_BUGS_TO.
6453 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6454 (top level): Use PKGVERSION.
6455 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6456 (print_version): Use PKGVERSION.
6457 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6458 (print_version): Use PKGVERSION.
6459 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6460 (print_version): Use PKGVERSION.
6461 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6462 (print_version): Use PKGVERSION.
6463 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6464 (print_version): Use PKGVERSION.
6465 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6466 (print_version): Use PKGVERSION.
6467 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6469 ($(objpfx)memusage): Likewise.
6470 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6471 (do_version): Use PKGVERSION.
6472 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6473 (print_version): Use PKGVERSION.
6474 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6475 ($PKGVERSION): New variable.
6476 ($REPORT_BUGS_TO): Likewise.
6477 (usage): Use $REPORT_BUGS_TO.
6478 (top level): Use $PKGVERSION.
6479 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6480 ($(objpfx)pkgvers.texi): New rule.
6481 ($(objpfx)stamp-pkgvers): Likewise.
6482 * manual/install.texi: Include pkgvers.texi.
6483 (--with-pkgversion): Document new configure option.
6484 (--with-bugurl): Likewise.
6485 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6486 than necessarily for this particular distribution. Use
6487 REPORT_BUGS_TO for where to report bugs.
6488 * INSTALL: Regenerated.
6489 * manual/libc.texinfo: Include pkgvers.texi.
6490 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6491 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6492 (print_version): Use PKGVERSION.
6493 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6494 (print_version): Use PKGVERSION.
6495 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6496 (print_version): Use PKGVERSION.
6497 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6498 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6500 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6501 (print_version): Use PKGVERSION.
6502 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6503 (print_version): Use PKGVERSION.
6504 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6507 * timezone/checktab.awk: Update from tzcode 2012i.
6508 * timezone/ialloc.c: Likewise.
6509 * timezone/private.h: Likewise.
6510 * timezone/scheck.c: Likewise.
6511 * timezone/tzfile.h: Likewise.
6512 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6513 (TZVERSION): Hardcode tzcode version number.
6514 * timezone/zdump.c: Update from tzcode 2012i.
6515 * timezone/zic.c: Likewise.
6516 * timezone/version.h: New file.
6517 * timezone/README: Describe version.h. Update upstream location.
6520 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6521 (mktemp): Enable declaration.
6522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6527 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6539 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6540 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6541 for copies of such integer values.
6542 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6543 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6545 2012-11-09 Andreas Jaeger <aj@suse.de>
6547 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6548 definitions and declarations that are provided by
6549 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6551 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6553 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6554 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6555 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6558 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6560 * elf/elf.h: Update comment before AArch64 relocations.
6562 2012-11-07 David S. Miller <davem@davemloft.net>
6564 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6565 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6566 (__start_context): Declare.
6567 (__makecontext_ret): Delete.
6568 (__makecontext): Hook up __start_context instead of
6570 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6571 (sysdep_routines): Add __start_context when in stdlib.
6573 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6575 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6576 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6577 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6579 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6580 (READELF): New variable. Use it instead of hardcoded "readelf".
6582 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6584 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6585 * sysdeps/x86/Makefile: Here.
6586 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6587 * sysdeps/x86/tst-xmmymm.sh: This.
6589 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6591 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6593 [UNIX98] (pthread_barrier_t): Do not expect.
6594 [UNIX98] (pthread_barrierattr_t): Likewise.
6595 [UNIX98] (pthread_spinlock_t): Likewise.
6596 [UNIX98] (pthread_barrier_destroy): Likewise.
6597 [UNIX98] (pthread_barrier_init): Likewise.
6598 [UNIX98] (pthread_barrier_wait): Likewise.
6599 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6600 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6601 [UNIX98] (pthread_barrierattr_init): Likewise.
6602 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6603 [UNIX98] (pthread_getcpuclockid): Likewise.
6604 [UNIX98] (pthread_mutex_timedlock): Likewise.
6605 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6606 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6607 [UNIX98] (pthread_sigmask): Likewise.
6608 [UNIX98] (pthread_spin_destroy): Likewise.
6609 [UNIX98] (pthread_spin_init): Likewise.
6610 [UNIX98] (pthread_spin_lock): Likewise.
6611 [UNIX98] (pthread_spin_trylock): Likewise.
6612 [UNIX98] (pthread_spin_unlock): Likewise.
6613 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6615 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6616 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6617 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6618 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6619 [XPG3 || XPG4] (pthread_key_t): Likewise.
6620 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6621 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6622 [XPG3 || XPG4] (pthread_once_t): Likewise.
6623 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6624 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6625 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6626 [XPG3 || XPG4] (pthread_t): Likewise.
6628 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6630 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6632 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6633 Change function return type to int.
6635 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6636 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6637 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6638 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6639 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6640 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6641 [!POSIX] (posix_madvise): Likewise.
6642 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6644 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6645 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6647 (posix_mem_offset): Likewise.
6648 (posix_typed_mem_get_info): Likewise.
6649 (posix_typed_mem_open): Likewise.
6651 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6652 Change condition to [XOPEN2K8].
6654 * conform/conformtest.pl: Preprocess allow-header data with -x c
6655 instead of from stdin.
6656 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6657 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6658 [C99-based standards] (cerfc): Likewise.
6659 [C99-based standards] (cexp2): Likewise.
6660 [C99-based standards] (cexpm1): Likewise.
6661 [C99-based standards] (clog10): Likewise.
6662 [C99-based standards] (clog1p): Likewise.
6663 [C99-based standards] (clog2): Likewise.
6664 [C99-based standards] (clgamma): Likewise.
6665 [C99-based standards] (ctgamma): Likewise.
6666 [C99-based standards] (cerff): Likewise.
6667 [C99-based standards] (cerfcf): Likewise.
6668 [C99-based standards] (cexp2f): Likewise.
6669 [C99-based standards] (cexpm1f): Likewise.
6670 [C99-based standards] (clog10f): Likewise.
6671 [C99-based standards] (clog1pf): Likewise.
6672 [C99-based standards] (clog2f): Likewise.
6673 [C99-based standards] (clgammaf): Likewise.
6674 [C99-based standards] (ctgammaf): Likewise.
6675 [C99-based standards] (cerfl): Likewise.
6676 [C99-based standards] (cerfcl): Likewise.
6677 [C99-based standards] (cexp2l): Likewise.
6678 [C99-based standards] (cexpm1l): Likewise.
6679 [C99-based standards] (clog10l): Likewise.
6680 [C99-based standards] (clog1pl): Likewise.
6681 [C99-based standards] (clog2l): Likewise.
6682 [C99-based standards] (clgammal): Likewise.
6683 [C99-based standards] (ctgammal): Likewise.
6684 * conform/data/inttypes.h-data [C99-based standards]: Include
6685 stdint.h-data. Remove all expectations for stdint.h contents.
6686 [C99-based standards] (PRI*): Do not allow.
6687 [C99-based standards] (SCN*): Likewise.
6688 [C99-based standards] (*_t): Likewise.
6689 [C99-based-standards] (PRId8): Expect macro.
6690 [C99-based-standards] (PRIi8): Likewise.
6691 [C99-based-standards] (PRIo8): Likewise.
6692 [C99-based-standards] (PRIu8): Likewise.
6693 [C99-based-standards] (PRIx8): Likewise.
6694 [C99-based-standards] (PRIX8): Likewise.
6695 [C99-based-standards] (SCNd8): Likewise.
6696 [C99-based-standards] (SCNi8): Likewise.
6697 [C99-based-standards] (SCNo8): Likewise.
6698 [C99-based-standards] (SCNu8): Likewise.
6699 [C99-based-standards] (SCNx8): Likewise.
6700 [C99-based-standards] (PRIdLEAST8): Likewise.
6701 [C99-based-standards] (PRIiLEAST8): Likewise.
6702 [C99-based-standards] (PRIoLEAST8): Likewise.
6703 [C99-based-standards] (PRIuLEAST8): Likewise.
6704 [C99-based-standards] (PRIxLEAST8): Likewise.
6705 [C99-based-standards] (PRIXLEAST8): Likewise.
6706 [C99-based-standards] (SCNdLEAST8): Likewise.
6707 [C99-based-standards] (SCNiLEAST8): Likewise.
6708 [C99-based-standards] (SCNoLEAST8): Likewise.
6709 [C99-based-standards] (SCNuLEAST8): Likewise.
6710 [C99-based-standards] (SCNxLEAST8): Likewise.
6711 [C99-based-standards] (PRIdFAST8): Likewise.
6712 [C99-based-standards] (PRIiFAST8): Likewise.
6713 [C99-based-standards] (PRIoFAST8): Likewise.
6714 [C99-based-standards] (PRIuFAST8): Likewise.
6715 [C99-based-standards] (PRIxFAST8): Likewise.
6716 [C99-based-standards] (PRIXFAST8): Likewise.
6717 [C99-based-standards] (SCNdFAST8): Likewise.
6718 [C99-based-standards] (SCNiFAST8): Likewise.
6719 [C99-based-standards] (SCNoFAST8): Likewise.
6720 [C99-based-standards] (SCNuFAST8): Likewise.
6721 [C99-based-standards] (SCNxFAST8): Likewise.
6722 [C99-based-standards] (PRId16): Likewise.
6723 [C99-based-standards] (PRIi16): Likewise.
6724 [C99-based-standards] (PRIo16): Likewise.
6725 [C99-based-standards] (PRIu16): Likewise.
6726 [C99-based-standards] (PRIx16): Likewise.
6727 [C99-based-standards] (PRIX16): Likewise.
6728 [C99-based-standards] (SCNd16): Likewise.
6729 [C99-based-standards] (SCNi16): Likewise.
6730 [C99-based-standards] (SCNo16): Likewise.
6731 [C99-based-standards] (SCNu16): Likewise.
6732 [C99-based-standards] (SCNx16): Likewise.
6733 [C99-based-standards] (PRIdLEAST16): Likewise.
6734 [C99-based-standards] (PRIiLEAST16): Likewise.
6735 [C99-based-standards] (PRIoLEAST16): Likewise.
6736 [C99-based-standards] (PRIuLEAST16): Likewise.
6737 [C99-based-standards] (PRIxLEAST16): Likewise.
6738 [C99-based-standards] (PRIXLEAST16): Likewise.
6739 [C99-based-standards] (SCNdLEAST16): Likewise.
6740 [C99-based-standards] (SCNiLEAST16): Likewise.
6741 [C99-based-standards] (SCNoLEAST16): Likewise.
6742 [C99-based-standards] (SCNuLEAST16): Likewise.
6743 [C99-based-standards] (SCNxLEAST16): Likewise.
6744 [C99-based-standards] (PRIdFAST16): Likewise.
6745 [C99-based-standards] (PRIiFAST16): Likewise.
6746 [C99-based-standards] (PRIoFAST16): Likewise.
6747 [C99-based-standards] (PRIuFAST16): Likewise.
6748 [C99-based-standards] (PRIxFAST16): Likewise.
6749 [C99-based-standards] (PRIXFAST16): Likewise.
6750 [C99-based-standards] (SCNdFAST16): Likewise.
6751 [C99-based-standards] (SCNiFAST16): Likewise.
6752 [C99-based-standards] (SCNoFAST16): Likewise.
6753 [C99-based-standards] (SCNuFAST16): Likewise.
6754 [C99-based-standards] (SCNxFAST16): Likewise.
6755 [C99-based-standards] (PRId32): Likewise.
6756 [C99-based-standards] (PRIi32): Likewise.
6757 [C99-based-standards] (PRIo32): Likewise.
6758 [C99-based-standards] (PRIu32): Likewise.
6759 [C99-based-standards] (PRIx32): Likewise.
6760 [C99-based-standards] (PRIX32): Likewise.
6761 [C99-based-standards] (SCNd32): Likewise.
6762 [C99-based-standards] (SCNi32): Likewise.
6763 [C99-based-standards] (SCNo32): Likewise.
6764 [C99-based-standards] (SCNu32): Likewise.
6765 [C99-based-standards] (SCNx32): Likewise.
6766 [C99-based-standards] (PRIdLEAST32): Likewise.
6767 [C99-based-standards] (PRIiLEAST32): Likewise.
6768 [C99-based-standards] (PRIoLEAST32): Likewise.
6769 [C99-based-standards] (PRIuLEAST32): Likewise.
6770 [C99-based-standards] (PRIxLEAST32): Likewise.
6771 [C99-based-standards] (PRIXLEAST32): Likewise.
6772 [C99-based-standards] (SCNdLEAST32): Likewise.
6773 [C99-based-standards] (SCNiLEAST32): Likewise.
6774 [C99-based-standards] (SCNoLEAST32): Likewise.
6775 [C99-based-standards] (SCNuLEAST32): Likewise.
6776 [C99-based-standards] (SCNxLEAST32): Likewise.
6777 [C99-based-standards] (PRIdFAST32): Likewise.
6778 [C99-based-standards] (PRIiFAST32): Likewise.
6779 [C99-based-standards] (PRIoFAST32): Likewise.
6780 [C99-based-standards] (PRIuFAST32): Likewise.
6781 [C99-based-standards] (PRIxFAST32): Likewise.
6782 [C99-based-standards] (PRIXFAST32): Likewise.
6783 [C99-based-standards] (SCNdFAST32): Likewise.
6784 [C99-based-standards] (SCNiFAST32): Likewise.
6785 [C99-based-standards] (SCNoFAST32): Likewise.
6786 [C99-based-standards] (SCNuFAST32): Likewise.
6787 [C99-based-standards] (SCNxFAST32): Likewise.
6788 [C99-based-standards] (PRId64): Likewise.
6789 [C99-based-standards] (PRIi64): Likewise.
6790 [C99-based-standards] (PRIo64): Likewise.
6791 [C99-based-standards] (PRIu64): Likewise.
6792 [C99-based-standards] (PRIx64): Likewise.
6793 [C99-based-standards] (PRIX64): Likewise.
6794 [C99-based-standards] (SCNd64): Likewise.
6795 [C99-based-standards] (SCNi64): Likewise.
6796 [C99-based-standards] (SCNo64): Likewise.
6797 [C99-based-standards] (SCNu64): Likewise.
6798 [C99-based-standards] (SCNx64): Likewise.
6799 [C99-based-standards] (PRIdLEAST64): Likewise.
6800 [C99-based-standards] (PRIiLEAST64): Likewise.
6801 [C99-based-standards] (PRIoLEAST64): Likewise.
6802 [C99-based-standards] (PRIuLEAST64): Likewise.
6803 [C99-based-standards] (PRIxLEAST64): Likewise.
6804 [C99-based-standards] (PRIXLEAST64): Likewise.
6805 [C99-based-standards] (SCNdLEAST64): Likewise.
6806 [C99-based-standards] (SCNiLEAST64): Likewise.
6807 [C99-based-standards] (SCNoLEAST64): Likewise.
6808 [C99-based-standards] (SCNuLEAST64): Likewise.
6809 [C99-based-standards] (SCNxLEAST64): Likewise.
6810 [C99-based-standards] (PRIdFAST64): Likewise.
6811 [C99-based-standards] (PRIiFAST64): Likewise.
6812 [C99-based-standards] (PRIoFAST64): Likewise.
6813 [C99-based-standards] (PRIuFAST64): Likewise.
6814 [C99-based-standards] (PRIxFAST64): Likewise.
6815 [C99-based-standards] (PRIXFAST64): Likewise.
6816 [C99-based-standards] (SCNdFAST64): Likewise.
6817 [C99-based-standards] (SCNiFAST64): Likewise.
6818 [C99-based-standards] (SCNoFAST64): Likewise.
6819 [C99-based-standards] (SCNuFAST64): Likewise.
6820 [C99-based-standards] (SCNxFAST64): Likewise.
6821 [C99-based-standards] (PRIdMAX): Likewise.
6822 [C99-based-standards] (PRIiMAX): Likewise.
6823 [C99-based-standards] (PRIoMAX): Likewise.
6824 [C99-based-standards] (PRIuMAX): Likewise.
6825 [C99-based-standards] (PRIxMAX): Likewise.
6826 [C99-based-standards] (PRIXMAX): Likewise.
6827 [C99-based-standards] (SCNdMAX): Likewise.
6828 [C99-based-standards] (SCNiMAX): Likewise.
6829 [C99-based-standards] (SCNoMAX): Likewise.
6830 [C99-based-standards] (SCNuMAX): Likewise.
6831 [C99-based-standards] (SCNxMAX): Likewise.
6832 [C99-based-standards] (PRIdPTR): Likewise.
6833 [C99-based-standards] (PRIiPTR): Likewise.
6834 [C99-based-standards] (PRIoPTR): Likewise.
6835 [C99-based-standards] (PRIuPTR): Likewise.
6836 [C99-based-standards] (PRIxPTR): Likewise.
6837 [C99-based-standards] (PRIXPTR): Likewise.
6838 [C99-based-standards] (SCNdPTR): Likewise.
6839 [C99-based-standards] (SCNiPTR): Likewise.
6840 [C99-based-standards] (SCNoPTR): Likewise.
6841 [C99-based-standards] (SCNuPTR): Likewise.
6842 [C99-based-standards] (SCNxPTR): Likewise.
6843 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6845 * conform/data/stdint.h-data: Update comments to clarify
6847 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6849 [C99-based standards] (INT8_MAX): Likewise.
6850 [C99-based standards] (INT16_MIN): Likewise.
6851 [C99-based standards] (INT16_MAX): Likewise.
6852 [C99-based standards] (INT32_MIN): Likewise.
6853 [C99-based standards] (INT32_MAX): Likewise.
6854 [C99-based standards] (INT64_MIN): Likewise.
6855 [C99-based standards] (INT64_MAX): Likewise.
6856 [C99-based standards] (UINT8_MAX): Likewise.
6857 [C99-based standards] (UINT16_MAX): Likewise.
6858 [C99-based standards] (UINT32_MAX): Likewise.
6859 [C99-based standards] (UINT64_MAX): Likewise.
6860 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6861 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6862 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6863 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6864 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6865 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6866 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6867 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6868 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6869 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6870 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6871 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6872 [C99-based standards] (INT_FAST8_MIN): Likewise.
6873 [C99-based standards] (INT_FAST8_MAX): Likewise.
6874 [C99-based standards] (INT_FAST16_MIN): Likewise.
6875 [C99-based standards] (INT_FAST16_MAX): Likewise.
6876 [C99-based standards] (INT_FAST32_MIN): Likewise.
6877 [C99-based standards] (INT_FAST32_MAX): Likewise.
6878 [C99-based standards] (INT_FAST64_MIN): Likewise.
6879 [C99-based standards] (INT_FAST64_MAX): Likewise.
6880 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6881 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6882 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6883 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6884 [C99-based standards] (INTPTR_MIN): Likewise.
6885 [C99-based standards] (INTPTR_MAX): Likewise.
6886 [C99-based standards] (UINTPTR_MAX): Likewise.
6887 [C99-based standards] (INTMAX_MIN): Likewise.
6888 [C99-based standards] (INTMAX_MAX): Likewise.
6889 [C99-based standards] (UINTMAX_MAX): Likewise.
6890 [C99-based standards] (PTRDIFF_MIN): Likewise.
6891 [C99-based standards] (PTRDIFF_MAX): Likewise.
6892 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6893 [C99-based standards] (SIZE_MAX): Likewise.
6894 [C99-based standards] (WCHAR_MAX): Likewise.
6895 [C99-based standards] (WINT_MAX): Likewise.
6896 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6897 constraint on value.
6898 [C99-based standards] (WCHAR_MIN): Likewise.
6899 [C99-based standards] (WINT_MIN): Likewise.
6900 [C99-based standards] (*_t): Allow.
6901 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6902 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6903 Include math.h-data and complex.h-data. Remove all expectations
6904 of math.h and complex.h contents.
6905 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6907 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6908 (struct tm): Expect tag.
6909 [C99-based-standards] (wcstof): Expect function.
6910 [C99-based-standards] (wcstold): Likewise.
6911 [C99-based-standards] (wcstoll): Likewise.
6912 [C99-based-standards] (wcstoull): Likewise.
6913 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6914 macro-int-constant. Specify type.
6915 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6916 constraint on value.
6917 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6919 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6921 [ISO C standards]: Do not allow headers.
6922 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6923 wcs[abcdefghijklmnopqrstuvwxyz]*.
6924 [ISO C standards] (*_t): Do not allow.
6925 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6927 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6928 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6930 [ISO C standards]: Do not allow headers.
6931 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6932 is[abcdefghijklmnopqrstuvwxyz]*.
6933 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6934 to[abcdefghijklmnopqrstuvwxyz]*.
6935 [ISO C standards] (*_t): Do not allow.
6936 * conform/data/stdalign.h-data: New file.
6937 * conform/data/stdbool.h-data: Likewise.
6938 * conform/data/stdnoreturn.h-data: Likewise.
6940 2012-11-07 Roland McGrath <roland@hack.frob.com>
6943 * manual/filesys.texi (Directory Entries): Typo fix.
6944 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6946 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6948 * elf/elf.h (EM_AARCH64): New macro.
6949 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6950 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6951 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6952 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6953 (R_AARCH64_TLSDESC): Likewise.
6954 (NT_ARM_TLS): Likewise.
6955 (NT_ARM_HW_BREAK): Likewise.
6956 (NT_ARM_HW_WATCH): Likewise.
6958 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6961 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6962 (__ieee754_powl): Saturate nonzero exponents with absolute value
6963 below 0x1p-79 to +/- 0x1p-79.
6964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6965 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6966 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6967 nonzero exponents with absolute value below 0x1p-32 to +/-
6969 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6970 (__ieee754_powl): Saturate nonzero exponents with absolute value
6971 below 0x1p-79 to +/- 0x1p-79.
6972 * math/libm-test.inc (pow_test): Add more tests.
6974 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6976 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6977 _dl_s390_cap_flags with kernel. Increase string length.
6978 (_dl_s390_platforms): Add z196 and zEC12.
6980 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6982 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6983 Change XOPEN21K to XOPEN2K.
6985 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6987 * string/memmove.c: Use memcpy when possible.
6989 2012-11-06 Andreas Jaeger <aj@suse.de>
6991 * po/eo.po: Update from translation team.
6993 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6997 exponent and small x and y exponents, scale x or y up. Increase
6998 by 2 the exponent used in scaling up.
6999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7001 * math/libm-test.inc (fma_test): Add more tests.
7002 (fma_test_towardzero): Likewise.
7003 (fma_test_downward): Likewise.
7004 (fma_test_upward): Likewise.
7006 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7009 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7013 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7014 namespace for names of struct fields.
7015 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7017 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7018 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7020 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7023 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7025 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7027 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7031 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7034 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7038 definitely overflow as x * y not x * y + z.
7039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7041 * math/libm-test.inc (fma_test): Add more tests.
7042 (fma_test_towardzero): Likewise.
7043 (fma_test_downward): Likewise.
7044 (fma_test_upward): Likewise.
7046 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7050 * include/stub-tag.h: Remove file.
7051 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7053 * manual/maint.texi (Porting): Don't reference it.
7054 * Makerules ($(objpfx)stubs): Likewise.
7055 * dirent/closedir.c: Don't include <stub-tag.h>.
7056 * dirent/dirfd.c: Likewise.
7057 * dirent/fdopendir.c: Likewise.
7058 * dirent/getdents.c: Likewise.
7059 * dirent/getdents64.c: Likewise.
7060 * dirent/opendir.c: Likewise.
7061 * dirent/readdir.c: Likewise.
7062 * dirent/readdir64.c: Likewise.
7063 * dirent/readdir64_r.c: Likewise.
7064 * dirent/readdir_r.c: Likewise.
7065 * dirent/rewinddir.c: Likewise.
7066 * dirent/seekdir.c: Likewise.
7067 * dirent/telldir.c: Likewise.
7068 * gmon/profil.c: Likewise.
7069 * grp/setgroups.c: Likewise.
7070 * inet/if_index.c: Likewise.
7071 * io/access.c: Likewise.
7072 * io/chdir.c: Likewise.
7073 * io/chmod.c: Likewise.
7074 * io/chown.c: Likewise.
7075 * io/close.c: Likewise.
7076 * io/dup.c: Likewise.
7077 * io/dup2.c: Likewise.
7078 * io/dup3.c: Likewise.
7079 * io/euidaccess.c: Likewise.
7080 * io/faccessat.c: Likewise.
7081 * io/fchdir.c: Likewise.
7082 * io/fchmod.c: Likewise.
7083 * io/fchmodat.c: Likewise.
7084 * io/fchown.c: Likewise.
7085 * io/fchownat.c: Likewise.
7086 * io/fcntl.c: Likewise.
7087 * io/flock.c: Likewise.
7088 * io/fstatfs.c: Likewise.
7089 * io/fstatfs64.c: Likewise.
7090 * io/fstatvfs.c: Likewise.
7091 * io/fstatvfs64.c: Likewise.
7092 * io/futimens.c: Likewise.
7093 * io/fxstat.c: Likewise.
7094 * io/fxstat64.c: Likewise.
7095 * io/fxstatat.c: Likewise.
7096 * io/fxstatat64.c: Likewise.
7097 * io/getcwd.c: Likewise.
7098 * io/isatty.c: Likewise.
7099 * io/lchmod.c: Likewise.
7100 * io/lchown.c: Likewise.
7101 * io/link.c: Likewise.
7102 * io/linkat.c: Likewise.
7103 * io/lseek.c: Likewise.
7104 * io/lseek64.c: Likewise.
7105 * io/lxstat64.c: Likewise.
7106 * io/mkdir.c: Likewise.
7107 * io/mkdirat.c: Likewise.
7108 * io/mkfifo.c: Likewise.
7109 * io/mkfifoat.c: Likewise.
7110 * io/open.c: Likewise.
7111 * io/open64.c: Likewise.
7112 * io/openat.c: Likewise.
7113 * io/openat64.c: Likewise.
7114 * io/pipe.c: Likewise.
7115 * io/pipe2.c: Likewise.
7116 * io/poll.c: Likewise.
7117 * io/posix_fadvise.c: Likewise.
7118 * io/posix_fadvise64.c: Likewise.
7119 * io/posix_fallocate.c: Likewise.
7120 * io/posix_fallocate64.c: Likewise.
7121 * io/read.c: Likewise.
7122 * io/readlink.c: Likewise.
7123 * io/readlinkat.c: Likewise.
7124 * io/rmdir.c: Likewise.
7125 * io/sendfile.c: Likewise.
7126 * io/sendfile64.c: Likewise.
7127 * io/statfs.c: Likewise.
7128 * io/statfs64.c: Likewise.
7129 * io/statvfs.c: Likewise.
7130 * io/statvfs64.c: Likewise.
7131 * io/symlink.c: Likewise.
7132 * io/symlinkat.c: Likewise.
7133 * io/ttyname.c: Likewise.
7134 * io/ttyname_r.c: Likewise.
7135 * io/umask.c: Likewise.
7136 * io/unlink.c: Likewise.
7137 * io/unlinkat.c: Likewise.
7138 * io/utime.c: Likewise.
7139 * io/utimensat.c: Likewise.
7140 * io/write.c: Likewise.
7141 * io/xmknod.c: Likewise.
7142 * io/xmknodat.c: Likewise.
7143 * io/xstat.c: Likewise.
7144 * io/xstat64.c: Likewise.
7145 * login/getpt.c: Likewise.
7146 * login/grantpt.c: Likewise.
7147 * login/unlockpt.c: Likewise.
7148 * math/e_acoshl.c: Likewise.
7149 * math/e_acosl.c: Likewise.
7150 * math/e_asinl.c: Likewise.
7151 * math/e_atan2l.c: Likewise.
7152 * math/e_atanhl.c: Likewise.
7153 * math/e_coshl.c: Likewise.
7154 * math/e_expl.c: Likewise.
7155 * math/e_fmodl.c: Likewise.
7156 * math/e_gammal_r.c: Likewise.
7157 * math/e_hypotl.c: Likewise.
7158 * math/e_j0l.c: Likewise.
7159 * math/e_j1l.c: Likewise.
7160 * math/e_jnl.c: Likewise.
7161 * math/e_lgammal_r.c: Likewise.
7162 * math/e_log10l.c: Likewise.
7163 * math/e_log2l.c: Likewise.
7164 * math/e_logl.c: Likewise.
7165 * math/e_powl.c: Likewise.
7166 * math/e_rem_pio2l.c: Likewise.
7167 * math/e_sinhl.c: Likewise.
7168 * math/e_sqrtl.c: Likewise.
7169 * math/fclrexcpt.c: Likewise.
7170 * math/fedisblxcpt.c: Likewise.
7171 * math/feenablxcpt.c: Likewise.
7172 * math/fegetenv.c: Likewise.
7173 * math/fegetexcept.c: Likewise.
7174 * math/fegetround.c: Likewise.
7175 * math/feholdexcpt.c: Likewise.
7176 * math/fesetenv.c: Likewise.
7177 * math/fesetround.c: Likewise.
7178 * math/feupdateenv.c: Likewise.
7179 * math/fgetexcptflg.c: Likewise.
7180 * math/fraiseexcpt.c: Likewise.
7181 * math/fsetexcptflg.c: Likewise.
7182 * math/ftestexcept.c: Likewise.
7183 * math/k_cosl.c: Likewise.
7184 * math/k_rem_pio2l.c: Likewise.
7185 * math/k_sinl.c: Likewise.
7186 * math/k_tanl.c: Likewise.
7187 * math/s_asinhl.c: Likewise.
7188 * math/s_atanl.c: Likewise.
7189 * math/s_cbrtl.c: Likewise.
7190 * math/s_erfl.c: Likewise.
7191 * math/s_expm1l.c: Likewise.
7192 * math/s_log1pl.c: Likewise.
7193 * math/s_tanhl.c: Likewise.
7194 * misc/acct.c: Likewise.
7195 * misc/brk.c: Likewise.
7196 * misc/chflags.c: Likewise.
7197 * misc/chroot.c: Likewise.
7198 * misc/fchflags.c: Likewise.
7199 * misc/fgetxattr.c: Likewise.
7200 * misc/flistxattr.c: Likewise.
7201 * misc/fremovexattr.c: Likewise.
7202 * misc/fsetxattr.c: Likewise.
7203 * misc/fsync.c: Likewise.
7204 * misc/ftruncate.c: Likewise.
7205 * misc/futimes.c: Likewise.
7206 * misc/futimesat.c: Likewise.
7207 * misc/getdomain.c: Likewise.
7208 * misc/getdtsz.c: Likewise.
7209 * misc/gethostid.c: Likewise.
7210 * misc/gethostname.c: Likewise.
7211 * misc/getloadavg.c: Likewise.
7212 * misc/getpagesize.c: Likewise.
7213 * misc/getsysstats.c: Likewise.
7214 * misc/getxattr.c: Likewise.
7215 * misc/gtty.c: Likewise.
7216 * misc/ioctl.c: Likewise.
7217 * misc/lgetxattr.c: Likewise.
7218 * misc/listxattr.c: Likewise.
7219 * misc/llistxattr.c: Likewise.
7220 * misc/lremovexattr.c: Likewise.
7221 * misc/lsetxattr.c: Likewise.
7222 * misc/lutimes.c: Likewise.
7223 * misc/madvise.c: Likewise.
7224 * misc/mincore.c: Likewise.
7225 * misc/mlock.c: Likewise.
7226 * misc/mlockall.c: Likewise.
7227 * misc/mmap.c: Likewise.
7228 * misc/mprotect.c: Likewise.
7229 * misc/msync.c: Likewise.
7230 * misc/munlock.c: Likewise.
7231 * misc/munlockall.c: Likewise.
7232 * misc/munmap.c: Likewise.
7233 * misc/preadv.c: Likewise.
7234 * misc/preadv64.c: Likewise.
7235 * misc/ptrace.c: Likewise.
7236 * misc/pwritev.c: Likewise.
7237 * misc/pwritev64.c: Likewise.
7238 * misc/readv.c: Likewise.
7239 * misc/reboot.c: Likewise.
7240 * misc/remap_file_pages.c: Likewise.
7241 * misc/removexattr.c: Likewise.
7242 * misc/revoke.c: Likewise.
7243 * misc/select.c: Likewise.
7244 * misc/setdomain.c: Likewise.
7245 * misc/setegid.c: Likewise.
7246 * misc/seteuid.c: Likewise.
7247 * misc/sethostid.c: Likewise.
7248 * misc/sethostname.c: Likewise.
7249 * misc/setregid.c: Likewise.
7250 * misc/setreuid.c: Likewise.
7251 * misc/setxattr.c: Likewise.
7252 * misc/sstk.c: Likewise.
7253 * misc/stty.c: Likewise.
7254 * misc/swapoff.c: Likewise.
7255 * misc/swapon.c: Likewise.
7256 * misc/sync.c: Likewise.
7257 * misc/syncfs.c: Likewise.
7258 * misc/syscall.c: Likewise.
7259 * misc/truncate.c: Likewise.
7260 * misc/ualarm.c: Likewise.
7261 * misc/usleep.c: Likewise.
7262 * misc/ustat.c: Likewise.
7263 * misc/utimes.c: Likewise.
7264 * misc/vhangup.c: Likewise.
7265 * misc/writev.c: Likewise.
7266 * posix/_exit.c: Likewise.
7267 * posix/alarm.c: Likewise.
7268 * posix/execve.c: Likewise.
7269 * posix/fexecve.c: Likewise.
7270 * posix/fork.c: Likewise.
7271 * posix/fpathconf.c: Likewise.
7272 * posix/getaddrinfo.c: Likewise.
7273 * posix/getegid.c: Likewise.
7274 * posix/geteuid.c: Likewise.
7275 * posix/getgid.c: Likewise.
7276 * posix/getgroups.c: Likewise.
7277 * posix/getlogin.c: Likewise.
7278 * posix/getlogin_r.c: Likewise.
7279 * posix/getpgid.c: Likewise.
7280 * posix/getpid.c: Likewise.
7281 * posix/getppid.c: Likewise.
7282 * posix/getresgid.c: Likewise.
7283 * posix/getresuid.c: Likewise.
7284 * posix/getsid.c: Likewise.
7285 * posix/getuid.c: Likewise.
7286 * posix/glob64.c: Likewise.
7287 * posix/nanosleep.c: Likewise.
7288 * posix/pathconf.c: Likewise.
7289 * posix/pause.c: Likewise.
7290 * posix/posix_madvise.c: Likewise.
7291 * posix/pread.c: Likewise.
7292 * posix/pread64.c: Likewise.
7293 * posix/pwrite.c: Likewise.
7294 * posix/pwrite64.c: Likewise.
7295 * posix/sched_getaffinity.c: Likewise.
7296 * posix/sched_getp.c: Likewise.
7297 * posix/sched_gets.c: Likewise.
7298 * posix/sched_primax.c: Likewise.
7299 * posix/sched_primin.c: Likewise.
7300 * posix/sched_rr_gi.c: Likewise.
7301 * posix/sched_setaffinity.c: Likewise.
7302 * posix/sched_setp.c: Likewise.
7303 * posix/sched_sets.c: Likewise.
7304 * posix/sched_yield.c: Likewise.
7305 * posix/setgid.c: Likewise.
7306 * posix/setlogin.c: Likewise.
7307 * posix/setpgid.c: Likewise.
7308 * posix/setresgid.c: Likewise.
7309 * posix/setresuid.c: Likewise.
7310 * posix/setsid.c: Likewise.
7311 * posix/setuid.c: Likewise.
7312 * posix/sleep.c: Likewise.
7313 * posix/spawni.c: Likewise.
7314 * posix/sysconf.c: Likewise.
7315 * posix/times.c: Likewise.
7316 * posix/wait.c: Likewise.
7317 * posix/wait3.c: Likewise.
7318 * posix/wait4.c: Likewise.
7319 * posix/waitpid.c: Likewise.
7320 * resolv/gai_sigqueue.c: Likewise.
7321 * resource/getpriority.c: Likewise.
7322 * resource/getrlimit.c: Likewise.
7323 * resource/getrusage.c: Likewise.
7324 * resource/nice.c: Likewise.
7325 * resource/setpriority.c: Likewise.
7326 * resource/setrlimit.c: Likewise.
7327 * resource/ulimit.c: Likewise.
7328 * rt/aio_cancel.c: Likewise.
7329 * rt/aio_fsync.c: Likewise.
7330 * rt/aio_read.c: Likewise.
7331 * rt/aio_sigqueue.c: Likewise.
7332 * rt/aio_suspend.c: Likewise.
7333 * rt/aio_write.c: Likewise.
7334 * rt/clock_getres.c: Likewise.
7335 * rt/clock_gettime.c: Likewise.
7336 * rt/clock_nanosleep.c: Likewise.
7337 * rt/clock_settime.c: Likewise.
7338 * rt/lio_listio.c: Likewise.
7339 * rt/mq_close.c: Likewise.
7340 * rt/mq_getattr.c: Likewise.
7341 * rt/mq_notify.c: Likewise.
7342 * rt/mq_open.c: Likewise.
7343 * rt/mq_receive.c: Likewise.
7344 * rt/mq_send.c: Likewise.
7345 * rt/mq_setattr.c: Likewise.
7346 * rt/mq_timedreceive.c: Likewise.
7347 * rt/mq_timedsend.c: Likewise.
7348 * rt/mq_unlink.c: Likewise.
7349 * rt/shm_open.c: Likewise.
7350 * rt/shm_unlink.c: Likewise.
7351 * rt/timer_create.c: Likewise.
7352 * rt/timer_delete.c: Likewise.
7353 * rt/timer_getoverr.c: Likewise.
7354 * rt/timer_gettime.c: Likewise.
7355 * rt/timer_settime.c: Likewise.
7356 * setjmp/__longjmp.c: Likewise.
7357 * setjmp/setjmp.c: Likewise.
7358 * signal/kill.c: Likewise.
7359 * signal/killpg.c: Likewise.
7360 * signal/raise.c: Likewise.
7361 * signal/sigaction.c: Likewise.
7362 * signal/sigaltstack.c: Likewise.
7363 * signal/sigblock.c: Likewise.
7364 * signal/sigignore.c: Likewise.
7365 * signal/sigintr.c: Likewise.
7366 * signal/signal.c: Likewise.
7367 * signal/sigpause.c: Likewise.
7368 * signal/sigpending.c: Likewise.
7369 * signal/sigqueue.c: Likewise.
7370 * signal/sigreturn.c: Likewise.
7371 * signal/sigset.c: Likewise.
7372 * signal/sigsetmask.c: Likewise.
7373 * signal/sigstack.c: Likewise.
7374 * signal/sigsuspend.c: Likewise.
7375 * signal/sigtimedwait.c: Likewise.
7376 * signal/sigvec.c: Likewise.
7377 * signal/sigwait.c: Likewise.
7378 * signal/sigwaitinfo.c: Likewise.
7379 * signal/sysv_signal.c: Likewise.
7380 * socket/accept.c: Likewise.
7381 * socket/accept4.c: Likewise.
7382 * socket/bind.c: Likewise.
7383 * socket/connect.c: Likewise.
7384 * socket/getpeername.c: Likewise.
7385 * socket/getsockname.c: Likewise.
7386 * socket/getsockopt.c: Likewise.
7387 * socket/isfdtype.c: Likewise.
7388 * socket/listen.c: Likewise.
7389 * socket/recv.c: Likewise.
7390 * socket/recvfrom.c: Likewise.
7391 * socket/recvmsg.c: Likewise.
7392 * socket/send.c: Likewise.
7393 * socket/sendmsg.c: Likewise.
7394 * socket/sendto.c: Likewise.
7395 * socket/setsockopt.c: Likewise.
7396 * socket/shutdown.c: Likewise.
7397 * socket/sockatmark.c: Likewise.
7398 * socket/socket.c: Likewise.
7399 * socket/socketpair.c: Likewise.
7400 * stdio-common/ctermid.c: Likewise.
7401 * stdio-common/cuserid.c: Likewise.
7402 * stdio-common/remove.c: Likewise.
7403 * stdio-common/rename.c: Likewise.
7404 * stdio-common/renameat.c: Likewise.
7405 * stdio-common/tempname.c: Likewise.
7406 * stdlib/getcontext.c: Likewise.
7407 * stdlib/makecontext.c: Likewise.
7408 * stdlib/setcontext.c: Likewise.
7409 * stdlib/swapcontext.c: Likewise.
7410 * stdlib/system.c: Likewise.
7411 * streams/fattach.c: Likewise.
7412 * streams/fdetach.c: Likewise.
7413 * streams/getmsg.c: Likewise.
7414 * streams/getpmsg.c: Likewise.
7415 * streams/putmsg.c: Likewise.
7416 * streams/putpmsg.c: Likewise.
7417 * sysdeps/unix/bsd/getpt.c: Likewise.
7418 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7419 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7420 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7423 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7424 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7425 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7426 * sysvipc/msgctl.c: Likewise.
7427 * sysvipc/msgget.c: Likewise.
7428 * sysvipc/msgrcv.c: Likewise.
7429 * sysvipc/msgsnd.c: Likewise.
7430 * sysvipc/semctl.c: Likewise.
7431 * sysvipc/semget.c: Likewise.
7432 * sysvipc/semop.c: Likewise.
7433 * sysvipc/semtimedop.c: Likewise.
7434 * sysvipc/shmat.c: Likewise.
7435 * sysvipc/shmctl.c: Likewise.
7436 * sysvipc/shmdt.c: Likewise.
7437 * sysvipc/shmget.c: Likewise.
7438 * termios/tcdrain.c: Likewise.
7439 * termios/tcflow.c: Likewise.
7440 * termios/tcflush.c: Likewise.
7441 * termios/tcgetattr.c: Likewise.
7442 * termios/tcgetpgrp.c: Likewise.
7443 * termios/tcsendbrk.c: Likewise.
7444 * termios/tcsetattr.c: Likewise.
7445 * termios/tcsetpgrp.c: Likewise.
7446 * time/adjtime.c: Likewise.
7447 * time/clock.c: Likewise.
7448 * time/getitimer.c: Likewise.
7449 * time/gettimeofday.c: Likewise.
7450 * time/setitimer.c: Likewise.
7451 * time/settimeofday.c: Likewise.
7452 * time/stime.c: Likewise.
7453 * time/time.c: Likewise.
7455 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7457 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7460 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7462 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7464 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7468 FE_TONEAREST before applying Dekker multiplication and Knuth
7469 addition. Clear inexact exceptions and check for exact zero
7471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7472 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7474 * math/libm-test.inc (fma_test): Add more tests.
7475 (fma_test_towardzero): Likewise.
7476 (fma_test_downward): Likewise.
7477 (fma_test_upward): Likewise.
7478 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7480 (libc_fesetround): New macro.
7481 (libc_fesetroundf): Likewise.
7482 (libc_fesetroundl): Likewise.
7483 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7485 (libc_fesetround_387): Likewise.
7486 (libc_fesetroundf): New macro.
7487 (libc_fesetround): Likewise.
7488 (libc_fesetroundl): Likewise.
7489 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7491 (libc_fesetroundf): New macro.
7492 (libc_fesetround): Likewise.
7493 (libc_fesetroundl): Likewise.
7494 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7495 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7496 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7498 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7499 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7501 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7502 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7504 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7508 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7509 integer constant usable in #if and use that to give value to enum
7511 (FE_DIVBYZERO): Likewise.
7512 (FE_UNDERFLOW): Likewise.
7513 (FE_OVERFLOW): Likewise.
7514 (FE_INVALID): Likewise.
7515 (FE_INVALID_SNAN): Likewise.
7516 (FE_INVALID_ISI): Likewise.
7517 (FE_INVALID_IDI): Likewise.
7518 (FE_INVALID_ZDZ): Likewise.
7519 (FE_INVALID_IMZ): Likewise.
7520 (FE_INVALID_COMPARE): Likewise.
7521 (FE_INVALID_SOFTWARE): Likewise.
7522 (FE_INVALID_SQRT): Likewise.
7523 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7524 (FE_TONEAREST): Likewise.
7525 (FE_TOWARDZERO): Likewise.
7526 (FE_UPWARD): Likewise.
7527 (FE_DOWNWARD): Likewise.
7528 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7529 (FE_DIVBYZERO): Likewise.
7530 (FE_OVERFLOW): Likewise.
7531 (FE_UNDERFLOW): Likewise.
7532 (FE_INEXACT): Likewise.
7533 (FE_TONEAREST): Likewise.
7534 (FE_DOWNWARD): Likewise.
7535 (FE_UPWARD): Likewise.
7536 (FE_TOWARDZERO): Likewise.
7537 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7538 (FE_UNDERFLOW): Likewise.
7539 (FE_OVERFLOW): Likewise.
7540 (FE_DIVBYZERO): Likewise.
7541 (FE_INVALID): Likewise.
7542 (FE_TONEAREST): Likewise.
7543 (FE_TOWARDZERO): Likewise.
7544 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7545 (FE_OVERFLOW): Likewise.
7546 (FE_UNDERFLOW): Likewise.
7547 (FE_DIVBYZERO): Likewise.
7548 (FE_INEXACT): Likewise.
7549 (FE_TONEAREST): Likewise.
7550 (FE_TOWARDZERO): Likewise.
7551 (FE_UPWARD): Likewise.
7552 (FE_DOWNWARD): Likewise.
7553 * sysdeps/x86/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.
7563 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7565 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7567 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7569 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7570 commands. Quote $PWD.
7571 (blacklist_exports): Don't use remove_newlines. Replace "declare
7573 (remove_newlines): Remove.
7575 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7577 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7578 * stdlib/stdlib.h (atof): Moved to ...
7579 * include/bits/stdlib-float.h: Here. New file.
7580 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7581 * stdlib/bits/stdlib-float.h: New file.
7582 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7584 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7587 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7589 * conform/conformtest.pl (@headers): Add fenv.h.
7590 * conform/data/fenv.h-data: New file.
7591 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7592 include of <math/fenv.h>.
7594 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7595 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7596 && !UNIX98]. Enables tests for XOPEN2K8.
7597 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7598 POSIX2008]: Likewise.
7600 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7601 (struct rusage): Do not expect type or its members.
7604 * math/math.h (FP_NAN): Define macro to integer constant usable in
7605 #if and use that to give value to enum constant.
7606 (FP_INFINITE): Likewise.
7607 (FP_ZERO): Likewise.
7608 (FP_SUBNORMAL): Likewise.
7609 (FP_NORMAL): Likewise.
7611 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7613 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7614 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7617 2012-11-02 Roland McGrath <roland@hack.frob.com>
7619 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7620 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7621 autoconf-time if not.
7622 * configure.in: Remove AC_PREREQ.
7624 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7626 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7627 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7628 of the internal implementation.
7630 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7632 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7633 except include of <misc/sys/syslog.h>.
7635 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7638 function returns with a NULL context exit with zero.
7640 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7642 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7644 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7646 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7647 (run_program_cmd): This.
7648 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7649 (tst_langinfo): New variable. Use it.
7651 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7653 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7654 floating point opcodes.
7656 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7658 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7661 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7663 * sysdeps/mach/hurd/powerpc: Remove directory.
7664 * sysdeps/mach/powerpc: Likewise.
7666 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7668 * scripts/check-local-headers.sh: Ignore c++ headers.
7670 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7672 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7673 __libc_cleanup_region_start argument.
7675 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7680 x * y using scaling, not as x * y + z.
7681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7682 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7683 * math/libm-test.inc (fma_test): Add more tests.
7684 (fma_test_towardzero): Likewise.
7685 (fma_test_downward): Likewise.
7686 (fma_test_upward): Likewise.
7688 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7690 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7692 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7694 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7697 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7699 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7701 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7708 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7711 Fix the order of the list for glibc 2.17.
7712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7715 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7719 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7722 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7723 for low part of x being zero before using __atanl (y).
7724 * math/libm-test.inc (atan2_test): Add another test.
7726 * manual/install.texi (Configuring and compiling): Document
7727 general use of test-wrapper and test-wrapper-env.
7728 * INSTALL: Regenerated.
7730 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7731 (__fma): Do not extract and scale down low bits on after-rounding
7732 systems when result rounded to normal precision would have normal
7734 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7735 (__fmal): Do not extract and scale down low bits on after-rounding
7736 systems when result rounded to normal precision would have normal
7738 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7739 (__fmal): Do not extract and scale down low bits on after-rounding
7740 systems when result rounded to normal precision would have normal
7742 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7744 (fma_test): Add more tests.
7745 (fma_test_towardzero): Likewise.
7746 (fma_test_downward): Likewise.
7747 (fma_test_upward): Likewise.
7749 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7751 * sysdeps/i386/tininess.h: Renamed to ...
7752 * sysdeps/x86/tininess.h: This.
7753 * sysdeps/x86_64/tininess.h: Removed.
7755 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7757 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7758 input. Use $(build-program-cmd).
7759 ($(objpfx)tst-array1-static.out): Likewise.
7760 ($(objpfx)tst-array2.out): Likewise.
7761 ($(objpfx)tst-array3.out): Likewise.
7762 ($(objpfx)tst-array4.out): Likewise.
7763 ($(objpfx)tst-array5.out): Likewise.
7764 ($(objpfx)tst-array5-static.out): Likewise.
7766 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7768 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7771 * nss/nsswitch.h (nss_interface_function): Provide new
7772 macro for use with NSS functions.
7773 * grp/initgroups.c: Use new macro.
7774 * nss/getXXbyYY.c: Likewise.
7775 * nss/getXXbyYY_r.c: Likewise.
7776 * nss/getXXent.c: Likewise.
7777 * nss/getXXent_r.c: Likewise.
7778 * sysdeps/posix/getaddrinfo.c: Likewise.
7780 2012-10-30 Andreas Jaeger <aj@suse.de>
7782 * po/ru.po: Update Russion translation from translation project.
7784 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7789 result and shift together with sticky bit instead of replicating
7790 round-to-nearest rounding.
7791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7793 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7794 missing underflow exceptions.
7795 (fma_test_towardzero): Add more tests.
7796 (fma_test_downward): Likewise.
7797 (fma_test_upward): Likewise.
7800 * sysdeps/generic/tininess.h: New file.
7801 * sysdeps/i386/tininess.h: Likewise.
7802 * sysdeps/sh/tininess.h: Likewise.
7803 * sysdeps/x86_64/tininess.h: Likewise.
7804 * stdlib/tst-strtod-underflow.c: Likewise.
7805 * stdlib/tst-tininess.c: Likewise.
7806 * stdlib/strtod_l.c: Include <tininess.h>.
7807 (round_and_return): Do not set errno for exact underflow cases.
7808 Force an underflow exception when setting errno for underflow.
7809 Determine underflow based on rounding to normal precision if
7810 TININESS_AFTER_ROUNDING.
7811 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7812 ERANGE for exact underflow cases.
7813 * stdlib/Makefile (tests): Add tst-tininess and
7814 tst-strtod-underflow.
7815 ($(objpfx)tst-tininess): Use $(link-libm).
7816 ($(objpfx)tst-strtod-underflow): Likewise.
7818 2012-10-30 Andreas Jaeger <aj@suse.de>
7821 * elf/Makefile (tests): Remove conditional for have-initfini-array
7822 since this is now always required and the variable does not exist
7824 (tests-static): Likewise.
7825 (modules-names): Likewise.
7827 * po/eo.po: Add Esperanto translation from translation project.
7829 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7830 merged with constructor/destructor.
7831 (init_array): Likewise.
7832 * elf/tst-array2dep.c (fini_array): Likewise.
7833 (init_array): Likewise.
7835 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7837 * manual/message.texi: Delete @cartouche tags.
7839 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7841 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7843 * sysdeps/mach/hurd/fsync.c: Likewise.
7845 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7846 [_POSIX_REALTIME_SIGNALS]: Change condition to
7847 [_POSIX_REALTIME_SIGNALS > 0].
7849 2012-10-27 Andreas Jaeger <aj@suse.de>
7851 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7852 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7854 [__WORDSIZE != 64]: Likewise.
7856 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7858 * iconvdata/tst-table.sh: Remove ${SHELL}.
7859 * iconvdata/tst-tables.sh: Likewise.
7861 2012-10-25 David S. Miller <davem@davemloft.net>
7863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7864 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7867 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7869 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7870 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7871 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7874 2012-10-25 Roland McGrath <roland@hack.frob.com>
7876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7877 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7880 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7881 Jim Blandy <jimb@codesourcery.com>
7883 * scripts/cross-test-ssh.sh: New file.
7884 * manual/install.texi (Configuring and compiling): Document use of
7886 * INSTALL: Regenerated.
7888 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7890 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7893 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7895 * Makeconfig (run-program-prefix): Fix comment.
7897 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7898 Jim Blandy <jimb@codesourcery.com>
7900 * Makeconfig (test-wrapper): New variable,
7901 (test-wrapper-env): Likewise.
7902 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7903 (run-built-tests): Define to yes.
7904 (run-program-prefix): Use $(test-wrapper).
7905 (built-program-cmd): Likewise.
7906 * Rules (make-test-out): Use $(test-wrapper-env) and
7907 $(host-built-program-cmd).
7908 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7909 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7911 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7912 $(test-wrapper-env) to tst-rtld-load-self.sh.
7913 ($(objpfx)order2.out): Use $(test-wrapper).
7914 ($(objpfx)tst-initorder.out): Likewise.
7915 ($(objpfx)tst-initorder2.out): Likewise.
7916 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7917 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7918 (test_wrapper_env): New variable. Use it to run ld.so.
7919 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7920 Use it to run ld.so.
7921 (test_wrapper_env): Likewise.
7922 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7923 $(test-wrapper) to run-iconv-test.sh.
7924 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7925 (ICONV): Use $test_wrapper.
7926 * posix/Makefile ($(objpfx)globtest.out): Pass
7927 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7928 globtest.sh, not $(run-program-prefix).
7929 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7930 (test_wrapper): Likewise.
7931 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7932 set together with run_via_rtld_prefix.
7933 (run_program_prefix): Define in terms of test_wrapper and
7934 run_via_rtld_prefix.
7936 2012-10-24 Roland McGrath <roland@hack.frob.com>
7938 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7939 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7943 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7944 Declare __clock_getres, __clock_gettime, __clock_settime,
7945 __clock_nanosleep, and __clock_getcpuclockid.
7946 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7947 Remove librt_hidden_def (clock_gettime).
7948 * sysdeps/unix/clock_gettime.c: Likewise.
7949 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7950 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7951 * rt/clock_getres.c: Define __clock_getres as an alias.
7952 * sysdeps/posix/clock_getres.c: Likewise.
7953 * rt/clock_settime.c: Define __clock_settime as an alias.
7954 * sysdeps/unix/clock_settime.c: Likewise.
7955 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7956 * sysdeps/unix/clock_nanosleep.c: Likewise.
7957 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7958 * rt/clock-compat.c: New file.
7959 * rt/Makefile (librt-routines): Add clock-compat and move
7960 $(clock-routines) to ...
7961 (routines): ... here, new variable.
7962 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7963 Don't add get_clockfreq here.
7964 * rt/Versions (libc: GLIBC_2.17): New version set.
7965 Add clock_* symbols here.
7966 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7968 (GLIBC_2.17): Add clock_* symbols.
7969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7971 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7980 * NEWS: Mention the move.
7982 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7983 Use __open, __read, __close rather than their public counterparts.
7984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7985 (__get_clockfreq_via_cpuinfo): Likewise.
7986 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7987 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7989 * config.h.in (HAVE_IFUNC): New #undef.
7990 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7992 * configure: Regenerated.
7994 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7996 * configure.in: Move READELF check to start of file.
7997 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7998 libc_cv_asm_gnu_indirect_function in the process.
7999 * configure: Regenerated.
8001 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8003 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8004 send the output to /dev/null.
8005 (libc_cv_cc_with_libunwind): Likewise.
8006 (libc_cv_as_noexecstack): Likewise.
8007 * configure: Regenerate.
8009 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8011 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8013 * posix/globtest.sh (TMPDIR): Do not set.
8014 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8015 (testout): Likewise.
8017 2012-10-24 Andreas Jaeger <aj@suse.de>
8019 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8020 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8021 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8022 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8023 posix_fadvise64, posix_fallocate64.
8025 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8026 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8027 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8029 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8031 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8034 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8035 <bits/fcntl-linux.h>.
8036 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8038 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8039 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8040 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8041 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8042 [__WORDSIZE != 64]: Likewise.
8044 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8046 * Makeconfig (run-built-tests): New variable.
8047 * Rules [$(cross-compiling) = yes]: Change condition to
8048 [$(run-built-tests) = no].
8049 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8050 to [$(run-built-tests) = yes].
8051 * elf/Makefile [$(cross-compiling) = no]: Likewise
8052 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8053 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8054 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8055 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8056 * io/Makefile [$(cross-compiling) = no]: Likewise.
8057 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8058 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8059 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8060 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8061 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8062 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8063 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8064 * string/Makefile [$(cross-compiling) = no]: Likewise.
8066 * posix/Makefile ($(objpfx)globtest.out): Pass
8067 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8068 $(rtld-installed-name).
8069 * posix/globtest.sh (elf_objpfx): Remove variable.
8070 (rtld_installed_name): Likewise.
8071 (library_path): Likewise.
8072 (run_program_prefix): New variable. Use for running globtest
8075 2012-10-23 Jim Blandy <jimb@codesourcery.com>
8076 Joseph Myers <joseph@codesourcery.com>
8078 * Makeconfig (host-built-program-cmd): New variable.
8079 * elf/Makefile (tst-stackguard1-ARGS): Use
8080 $(host-built-program-cmd).
8081 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8082 (tst-spawn-ARGS): Likewise.
8083 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8085 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8086 Jim Blandy <jimb@codesourcery.com>
8088 * Makeconfig (run-via-rtld-prefix): New variable.
8089 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8090 (built-program-cmd): Likewise.
8092 2012-10-22 Andreas Jaeger <aj@suse.de>
8094 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8095 __O_RSYNC if it exists, otherwise to O_SYNC.
8097 2012-10-22 Jim Blandy <jimb@codesourcery.com>
8098 Joseph Myers <joseph@codesourcery.com>
8100 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8102 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8104 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8107 2012-10-22 Andreas Jaeger <aj@suse.de>
8109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8117 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8124 2012-10-21 Jim Blandy <jimb@codesourcery.com>
8125 Joseph Myers <joseph@codesourcery.com>
8127 * config.make.in (NM): New variable.
8129 2012-10-21 Andreas Jaeger <aj@suse.de>
8131 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8132 definitions and declarations that are provided by
8133 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8135 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8138 * elf/Makefile (tests-static): Add tst-leaks1-static.
8139 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8140 ($(objpfx)tst-leaks1-static): New rule.
8141 ($(objpfx)tst-leaks1-static-mem): Likewise.
8142 (tst-leaks1-static-ENV): New macro.
8143 * elf/dl-open.c (dl_open_worker): Check the main application
8144 only if SHARED is defined.
8145 * elf/tst-leaks1-static.c: New file.
8147 2012-10-20 Andreas Jaeger <aj@suse.de>
8149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8150 generic values for Linux.
8151 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8152 and declarations that are provided by <bits/fcntl-linux.h> and
8153 include <bits/fcntl-linux.h>.
8154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8157 2012-10-20 Roland McGrath <roland@hack.frob.com>
8159 * io/fcntl.h: Move include of <bits/types.h> to the top and
8160 include it unconditionally.
8162 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8164 * wcsmbs/Makefile (tests-ifunc): New variable.
8165 (tests): Add $(tests-ifunc).
8166 * wcsmbs/test-wcschr-ifunc.c: New file.
8167 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8168 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8169 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8170 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8171 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8173 * string/Makefile (tests-ifunc): New variable.
8174 (tests): Add $(tests-ifunc).
8175 * string/test-memccpy.c (TEST_NAME): New macro.
8176 * string/test-memchr.c (TEST_NAME): Likewise.
8177 * string/test-memcmp.c (TEST_NAME): Likewise.
8178 * string/test-memcpy.c (TEST_NAME): Likewise.
8179 * string/test-memmem.c (TEST_NAME): Likewise.
8180 * string/test-memmove.c (TEST_NAME): Likewise.
8181 * string/test-memset.c (TEST_NAME): Likewise.
8182 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8183 * string/test-stpcpy.c (TEST_NAME): Likewise.
8184 * string/test-stpncpy.c (TEST_NAME): Likewise.
8185 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8186 * string/test-strcasestr.c (TEST_NAME): Likewise.
8187 * string/test-strcat.c (TEST_NAME): Likewise.
8188 * string/test-strchr.c (TEST_NAME): Likewise.
8189 * string/test-strcmp.c(TEST_NAME): Likewise.
8190 * string/test-strcpy.c (TEST_NAME): Likewise.
8191 * string/test-strcspn.c (TEST_NAME): Likewise.
8192 * string/test-strlen.c (TEST_NAME): Likewise.
8193 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8194 * string/test-strncmp.c (TEST_NAME): Likewise.
8195 * string/test-strncpy.c (TEST_NAME): Likewise.
8196 * string/test-strnlen.c (TEST_NAME): Likewise.
8197 * string/test-strpbrk.c (TEST_NAME): Likewise.
8198 * string/test-strrchr.c (TEST_NAME): Likewise.
8199 * string/test-strspn.c (TEST_NAME): Likewise.
8200 * string/test-strstr.c (TEST_NAME): Likewise.
8201 * string/test-bcopy-ifunc.c: New file.
8202 * string/test-bzero-ifunc.c: Likewise.
8203 * string/test-memccpy-ifunc.c: Likewise.
8204 * string/test-memchr-ifunc.c: Likewise.
8205 * string/test-memcmp-ifunc.c: Likewise.
8206 * string/test-memcpy-ifunc.c: Likewise.
8207 * string/test-memmem-ifunc.c: Likewise.
8208 * string/test-memmove-ifunc.c: Likewise.
8209 * string/test-mempcpy-ifunc.c: Likewise.
8210 * string/test-memset-ifunc.c: Likewise.
8211 * string/test-rawmemchr-ifunc.c: Likewise.
8212 * string/test-stpcpy-ifunc.c: Likewise.
8213 * string/test-stpncpy-ifunc.c: Likewise.
8214 * string/test-strcasecmp-ifunc.c: Likewise.
8215 * string/test-strcasestr-ifunc.c: Likewise.
8216 * string/test-strcat-ifunc.c: Likewise.
8217 * string/test-strchr-ifunc.c: Likewise.
8218 * string/test-strchrnul-ifunc.c: Likewise.
8219 * string/test-strcmp-ifunc.c: Likewise.
8220 * string/test-strcpy-ifunc.c: Likewise.
8221 * string/test-strcspn-ifunc.c: Likewise.
8222 * string/test-strlen-ifunc.c: Likewise.
8223 * string/test-strncasecmp-ifunc.c: Likewise.
8224 * string/test-strncat-ifunc.c: Likewise.
8225 * string/test-strncmp-ifunc.c: Likewise.
8226 * string/test-strncpy-ifunc.c: Likewise.
8227 * string/test-strnlen-ifunc.c: Likewise.
8228 * string/test-strpbrk-ifunc.c: Likewise.
8229 * string/test-strrchr-ifunc.c: Likewise.
8230 * string/test-strspn-ifunc.c: Likewise.
8231 * string/test-strstr-ifunc.c: Likewise.
8233 * debug/Makefile (tests-ifunc): New variable.
8234 (tests): Add $(tests-ifunc).
8235 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8236 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8237 * debug/test-stpcpy_chk-ifunc.c: New file.
8238 * debug/test-strcpy_chk-ifunc.c: Likewise.
8240 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8243 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8244 header is not read in.
8246 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8248 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8249 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8250 directly. Pass built executable to script as
8251 $(built-program-cmd).
8252 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8253 $testprogram without using LD_LIBRARY_PATH and $ldso.
8255 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8256 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8257 $(rtld-installed-name).
8258 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8259 (rtld_installed_name): Likewise.
8260 (library_path): Likewise.
8261 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8262 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8263 $(run-program-prefix) to tst-tables.sh.
8264 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8265 it to run tst-table-from and tst-table-to.
8266 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8267 Pass it to tst-table.sh.
8268 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8269 $(run-program-prefix) to tst-gettext.sh.
8270 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8272 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8274 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8276 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8277 to run tst-gettext2.
8278 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8279 to run tst-translit.
8280 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8281 $(run-program-prefix) to tst-mtrace.sh.
8282 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8284 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8285 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8286 $(rtld-installed-name).
8287 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8288 (rtld_installed_name): Likewise.
8289 (run_program_prefix): New variable. Use it to run wordexp-test.
8291 * Makeconfig (ARCH): Remove all definitions.
8292 (machine): Likewise.
8293 [ARCH]: Remove conditional code.
8294 [!objdir]: Give error.
8295 [!objdir] (objpfx): Remove.
8296 [!objdir] (common-objpfx): Likewise.
8297 [!objdir] (common-objdir): Likewise.
8298 * configure.in (config_makefile): Remove. Hardcode Makefile in
8299 AC_CONFIG_FILES call.
8300 * configure: Regenerated.
8303 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8305 (testout): Likewise.
8307 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8308 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8309 $(rtld-installed-name).
8310 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8311 (rtld_installed_name): Likwise.
8312 (runit): Remove function.
8313 (run_getconf): New variable, Use it for running getconf binary.
8315 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8318 * string/test-memmem.c (check_result): New function.
8319 (do_one_test): Use it.
8320 (check1): New function.
8321 (test_main): Use it.
8323 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8325 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8327 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8329 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8330 (_G_LSEEK64): Likewise.
8331 (_G_MMAP64): Likewise.
8332 (_G_FSTAT64): Likewise.
8333 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8334 (_G_LSEEK64): Likewise.
8335 (_G_MMAP64): Likewise.
8336 (_G_FSTAT64): Likewise.
8337 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8338 unconditional. Call __mmap64 directly.
8339 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8340 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8342 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8343 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8345 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8346 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8348 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8349 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8351 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8352 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8354 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8355 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8356 __fxstat64 directly.
8357 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8358 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8360 (freopen64) [!_G_OPEN64]: Remove conditional code.
8361 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8363 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8364 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8366 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8367 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8369 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8370 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8372 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8373 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8375 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8376 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8378 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8379 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8381 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8383 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8386 * manual/memory.texi (Malloc Tunable Parameters): Add note
8387 about free list pointers overwriting some perturb bytes.
8388 Wording suggested by Roland McGrath.
8390 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8392 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8393 (lgamma_test): Likewise.
8394 (tgamma_test): Likewise.
8396 2012-10-16 Florian Weimer <fweimer@redhat.com>
8399 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8400 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8402 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8404 * NEWS: Mention BZ #14716.
8405 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8406 when removing AVAILABLE1_USES_J macro.
8408 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8410 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8411 (__bswap_64): __uint64_t for unsigned 64-bit int.
8413 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8415 * include/string.h (memmem): Declare libc hidden alias.
8416 * string/memmem.c (memmem): Define libc hidden alias.
8417 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8418 __read, __close instead of open, read, close.
8420 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8422 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8423 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8425 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8426 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8427 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8429 (__rawmemchr_sse2): Likewise.
8430 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8431 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8432 (__strchr_sse2): Likewise.
8433 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8434 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8435 (__strcasecmp_sse2): Likewise.
8436 (__strncasecmp_sse2): Likewise.
8437 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8438 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8439 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8440 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8441 (__strrchr_sse2): Likewise.
8442 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8444 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8445 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8446 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8447 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8448 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8449 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8450 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8451 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8452 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8453 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8454 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8455 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8456 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8457 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8458 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8459 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8460 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8461 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8462 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8463 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8464 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8465 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8466 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8467 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8468 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8469 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8470 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8471 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8472 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8473 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8475 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8477 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8478 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8479 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8480 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8482 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8484 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8485 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8486 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8487 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8489 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8490 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8491 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8492 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8493 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8494 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8495 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8496 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8497 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8498 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8502 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8503 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8504 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8505 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8506 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8507 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8508 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8509 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8514 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8515 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8516 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8517 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8518 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8519 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8520 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8521 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8522 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8523 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8524 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8525 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8526 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8527 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8528 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8529 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8531 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8532 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8533 * include/ifunc-impl-list.h: New file.
8534 * misc/ifunc-impl-list.c: Likewise.
8535 * misc/Makefile (routines): Add ifunc-impl-list.
8536 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8537 * string/test-string.h: Include <ifunc-impl-list.h>.
8538 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8539 impl_array): New variables.
8540 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8542 (test_init): Call __libc_ifunc_impl_list to initialize
8543 func_list if TEST_IFUNC and TEST_NAME are defined.
8545 * string/Makefile (strop-tests): Add bcopy and bzero.
8546 * string/test-bcopy.c: New file.
8547 * string/test-bzero.c: Likewise.
8548 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8550 * string/test-memset.c: Support bzero test if TEST_BZERO is
8552 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8554 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8556 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8559 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8561 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8562 * configure: Regenerated.
8564 * Makeconfig (+link-static-before-libc): Don't include
8565 $(link-static-libc).
8567 * libio/libio.h (_IO_pos_t): Remove.
8569 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8571 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8574 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8576 * crypt/crypt-entry.c: Include fips-private.h.
8577 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8578 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8579 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8580 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8582 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8584 * crypt/crypt-private.h: Include stdbool.h.
8585 (_ufc_setup_salt_r): Return bool.
8586 * crypt/crypt-entry.c: Include errno.h.
8587 (__crypt_r): Return NULL with EINVAL for bad salt.
8588 * crypt/crypt_util.c (bad_for_salt): New.
8589 (_ufc_setup_salt_r): Check that salt is long enough and within
8590 the specified alphabet.
8591 * crypt/badsalttest.c: New file.
8592 * crypt/Makefile (tests): Add it.
8593 ($(objpfx)badsalttest): New.
8595 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8597 * NEWS: Add entry for BZ #14602.
8599 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8601 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8603 * math/libm-test.inc: Update comment listing what functions and
8605 (isgreater_test): New function.
8606 (isgreaterequal_test): Likewise.
8607 (isless_test): Likewise.
8608 (islessequal_test): Likewise.
8609 (islessgreater_test): Likewise.
8610 (isunordered_test): Likewise.
8611 (main): Call the new functions.
8613 2012-10-09 Roland McGrath <roland@hack.frob.com>
8615 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8616 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8617 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8618 * sysdeps/i386/configure: Regenerated.
8619 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8620 * sysdeps/mach/configure: Regenerated.
8621 * sysdeps/mach/hurd/configure: Regenerated.
8622 * sysdeps/powerpc/configure: Regenerated.
8623 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8624 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8625 * sysdeps/s390/s390-32/configure: Regenerated.
8626 * sysdeps/s390/s390-64/configure: Regenerated.
8627 * sysdeps/sh/configure: Regenerated.
8628 * sysdeps/sparc/configure: Regenerated.
8629 * sysdeps/unix/sysv/linux/configure: Regenerated.
8630 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8631 * sysdeps/x86_64/configure: Regenerated.
8633 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8634 defined. Don't check if MAP is NULL.
8636 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8638 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8639 (_G_stat64): Likewise.
8640 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8641 (_G_stat64): Likewise.
8642 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8643 instead of struct _G_stat64.
8644 * libio/fileops.c (mmap_remap_check): Likewise.
8645 (decide_maybe_mmap): Likewise.
8646 (_IO_new_file_seekoff): Likewise.
8647 (_IO_file_stat): Likewise.
8648 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8650 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8651 instead of struct _G_stat64.
8652 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8654 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8657 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8659 (CHECK_EOL): New macro.
8660 (two_way_short_needle): Check beginning of haystack for EOL. Use
8662 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8663 Replace with CHECK_EOL.
8664 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8665 Replace with CHECK_EOL.
8667 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8669 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8671 * math/libm-test.inc: Update comment listing what functions and
8673 (finite_test): New function.
8674 (isinf_test): Likewise.
8675 (isnan_test): Likewise.
8676 (fpclassify_test): Test subnormal input.
8677 (isfinite_test): Likewise.
8678 (isnormal_test): Likewise.
8679 (main): Call the new functions.
8681 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8684 * Makerules (%.dynsym): Force C locale when running
8685 $(OBJDUMP) --dynamic-syms.
8687 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8689 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8692 2012-10-06 David S. Miller <davem@davemloft.net>
8694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8695 upper 32-bits of the length value in %o2 since we use branch-on-register
8696 tests which consider the entire 64-bit register.
8698 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8700 * string/test-strstr.c (check2): Add a test for page boundary.
8702 2012-10-05 David S. Miller <davem@davemloft.net>
8704 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8705 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8707 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8709 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8710 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8711 and bzero when HWCAP_SPARC_CRYPTO is present.
8713 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8716 * string/test-strstr.c (check2): New function.
8717 (test_main): Call check2.
8719 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8721 * string/bug-strcasestr1.c (do_test): Moved to ...
8722 * string/test-strcasestr.c (check1): Here. New function.
8723 (do_one_test): Break out result checking code into ...
8724 (check_result): This. New function.
8725 (do_one_test): Call check_result.
8726 (test_main): Call check1.
8727 * string/bug-strchr1.c (do_test): Moved to ...
8728 * string/test-strchr.c (check1): Here. New function.
8729 (do_one_test): Break out result checking code into ...
8730 (check_result): This. New function.
8731 (do_one_test): Call check_result.
8732 (test_main): Call check1.
8733 * string/bug-strstr1.c (main): Moved to ...
8734 * string/test-strstr.c (check1): Here. New function.
8735 (do_one_test): Break out result checking code into ...
8736 (check_result): This. New function.
8737 (do_one_test): Call check_result.
8738 (test_main): Call check1.
8739 * string/bug-strcasestr1.c: Removed.
8740 * string/bug-strchr1.c: Likewise.
8741 * string/bug-strstr1.c: Likewise.
8743 * elf/Makefile (dl-routines): Add hwcaps.
8744 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8745 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8746 (_dl_important_hwcaps): Moved to ...
8747 * elf/dl-hwcaps.c: Here. New file.
8748 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8751 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8752 if IS_IN_rtld isn't defined.
8754 * elf/dl-support.c (_dl_sysinfo_map): New.
8755 Include "get-dynamic-info.h" and "setup-vdso.h".
8756 (_dl_non_dynamic_init): Call setup_vdso.
8757 * elf/dynamic-link.h: Don't include <assert.h>.
8758 (elf_get_dynamic_info): Moved to ...
8759 * elf/get-dynamic-info.h: Here. New file.
8760 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8761 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8762 * elf/setup-vdso.h: Here. New file.
8763 * elf/rtld.c: Include "setup-vdso.h".
8764 (dl_main): Call setup_vdso.
8766 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8768 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8769 creal in comment listing functions tested. List finite, isinf,
8770 isnan, isless, islessequal, isgreater, isgreaterequal,
8771 islessgreater, isunordered, lgamma_r and pow10 as functions and
8772 macros not tested. Mention which functions not tested are aliases
8773 for other functions. Fix typo. Note that signs of NaNs are not
8776 * scripts/config.guess: Update from config.git.
8777 * scripts/config.sub: Likewise.
8779 2012-10-04 Roland McGrath <roland@hack.frob.com>
8781 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8782 * misc/madvise.c (madvise): Renamed to __madvise.
8783 Make madvise a weak alias.
8784 * include/sys/mman.h: Declare __madvise.
8785 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8786 * sysdeps/unix/syscalls.list
8787 (madvise): Make __madvise the strong name, and madvise a weak alias.
8788 * sysdeps/unix/sysv/linux/syscalls.list
8789 (madvise, mmap): Remove redundant entries.
8790 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8791 * malloc/malloc.c (mtrim): Likewise.
8792 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8794 2012-10-03 Roland McGrath <roland@hack.frob.com>
8796 * sysdeps/mach/hurd/dl-cache.c: File removed.
8797 * config.h.in (USE_LDCONFIG): New #undef.
8798 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8799 * configure: Regenerated.
8800 * elf/Makefile (dl-routines): Add dl-cache only under
8801 [$(use-ldconfig) = yes].
8802 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8803 cache on [USE_LDCONFIG].
8804 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8806 * elf/rtld.c (dl_main): Likewise.
8808 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8810 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8811 _SC_LEVEL4_CACHE_LINESIZE.
8813 2012-10-03 Roland McGrath <roland@hack.frob.com>
8815 * sysdeps/unix/bsd/confstr.h: File removed.
8817 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8819 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8822 2012-10-02 Roland McGrath <roland@hack.frob.com>
8824 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8825 Make 'mapoff' field ElfW(Off) rather than off_t.
8827 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8829 * nscd/Makefile: Remove nscd-cflags and all its users.
8830 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8831 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8834 * malloc.c (malloc_printerr): Clarify error message.
8836 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8840 Set bit_FMA_Usable if FMA is supported.
8841 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8843 (bit_FMA4_Usable): Updated.
8844 (index_FMA_Usable): New macro.
8845 (CPUID_FMA): Likewise
8846 (HAS_FMA): Defined with bit_FMA_Usable.
8848 2012-10-01 Roland McGrath <roland@hack.frob.com>
8850 * bits/types.h (__swblk_t): Type removed.
8851 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8852 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8854 (__SWBLK_T_TYPE): Likewise.
8855 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8856 (__SWBLK_T_TYPE): Likewise.
8857 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8858 (__SWBLK_T_TYPE): Likewise.
8859 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8860 (__SWBLK_T_TYPE): Likewise.
8862 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8863 Honza Horak <hhorak@redhat.com>
8865 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8866 (xdr_mapname): Use YPMAXMAP as maxsize.
8867 (xdr_peername): Use YPMAXPEER as maxsize.
8868 (xdr_keydat): Use YPAXRECORD as maxsize.
8869 (xdr_valdat): Use YPMAXRECORD as maxsize.
8871 2012-10-01 Roland McGrath <roland@hack.frob.com>
8873 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8875 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8876 * csu/init-first.c: ... here.
8877 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8878 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8879 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8880 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8881 * sysdeps/i386/init-first.c: File removed.
8882 * sysdeps/sh/init-first.c: File removed.
8884 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8888 if x * y might underflow to zero and z is zero.
8889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8891 * math/libm-test.inc (min_subnorm_value): New variable.
8892 (fma_test): Add more tests.
8893 (fma_test_towardzero): Likewise.
8894 (fma_test_downward): Likewise
8895 (fma_test_upward): Likewise.
8896 (initialize): Set min_subnorm_value.
8898 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8903 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8904 mode for addition resulting in exact zero.
8905 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8906 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8908 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8910 * math/libm-test.inc (fma_test): Add more tests.
8911 (fma_test_towardzero): New function.
8912 (fma_test_downward): Likewise.
8913 (fma_test_upward): Likewise.
8914 (main): Call the new functions.
8916 2012-09-28 David S. Miller <davem@davemloft.net>
8918 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8920 2012-09-28 Roland McGrath <roland@hack.frob.com>
8922 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8925 * sysdeps/gnu/_G_config.h: Moved to ...
8926 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8927 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8928 * sysdeps/generic/_G_config.h: ... here.
8930 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8932 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8934 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8935 Conditionalize target on [libnss_test1.so-version].
8937 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8939 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8940 (elfobjdir): Move out of conditionals.
8942 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8943 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8944 (__nss_lookup_function): Conditionalize label remove_from_tree on
8945 [!DO_STATIC_NSS || SHARED], matching its only use.
8947 2012-09-28 David S. Miller <davem@davemloft.net>
8949 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8950 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8952 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8954 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8955 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8956 when HWCAP_SPARC_CRYPTO is present.
8958 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8960 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8962 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8965 * stdio-common/vfprintf.c (process_string_arg): Revert
8968 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8970 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8972 * stdio-common/tst-sprintf.c: Include <locale.h>
8973 (main): Test sprintf's handling of incomplete multibyte
8976 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8978 * elf/dl-runtime.c (VERSYMIDX): Removed.
8979 * elf/dl-version.c (VERSYMIDX): Likewise.
8980 * elf/do-rel.h (VERSYMIDX): Likewise.
8982 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8983 * elf/rtld.c (VALIDX): Likewise.
8984 (ADDRIDX): Likewise.
8985 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8986 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8987 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8988 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8990 (ADDRIDX): Likewise.
8992 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8994 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8996 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8999 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9001 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9002 addresses are in the same scope as 192.0.2/24.
9003 * posix/gai.conf: Document new scope table defaults.
9005 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9008 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9009 for ftell. Compute offsets from write pointers instead.
9010 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9012 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9015 * libio/Makefile (tests): New test case tst-fseek.
9016 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9017 combination works in wide mode.
9018 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9019 state when the external buffer state changes.
9021 2012-09-27 David S. Miller <davem@davemloft.net>
9024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9025 pass reloc->r_addend in as the 'high' argument to
9026 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9030 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9032 * rt/tst-aio2.c: Include <pthread.h>.
9033 * rt/tst-aio3.c: Likewise.
9035 2012-09-27 Steve Ellcey <sellcey@mips.com>
9037 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9039 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9041 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9042 contents on [SHARED].
9044 2012-09-26 Marek Polacek <polacek@redhat.com>
9048 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9049 for C++ and GCC <4.3 as well as for non GCC compilers.
9051 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9055 2012-09-25 Roland McGrath <roland@hack.frob.com>
9057 * Makefile.in (all, install): Declare with .PHONY.
9058 Reported by Michael Hope <michael.hope@linaro.org>.
9060 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9062 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9063 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9065 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9067 (sydep_routines): Add the new and the internal functions.
9068 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9069 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9071 (GLIBC_2.17): Add the new function.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9073 (GLIBC_2.17): Likewise.
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9075 (GLIBC_2.17): Likewise.
9076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9077 (GLIBC_2.17): Likewise.
9078 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9080 2012-09-25 Alan Modra <amodra@gmail.com>
9082 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9083 Add release barrier before setting once_control to say
9084 initialisation is done. Add hints on lwarx. Use macro in
9086 (clear_once_control): Add release barrier.
9088 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9091 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9093 * math/s_clog10.c (__clog10): Likewise.
9094 * math/s_clog10f.c (__clog10f): Likewise.
9095 * math/s_clog10l.c (__clog10l): Likewise.
9096 * math/s_clogf.c (__clogf): Likewise.
9097 * math/s_clogl.c (__clogl): Likewise.
9098 * math/Makefile (libm-calls): Add x2y2m1.
9099 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9100 (__x2y2m1): Likewise.
9101 (__x2y2m1l): Likewise.
9102 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9103 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9106 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9107 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9108 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9109 * sysdeps/i386/fpu/libm-test-ulps: Update.
9110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9113 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9114 int as type of variable DEPTH.
9115 (glob): Use size_t instead of int as type of variables NEWCOUNT
9118 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9120 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9122 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9123 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9124 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9125 macros for using routine as __sincosf_ia32.
9126 Use macro for function declaration and weak_alias.
9127 * sysdeps/i386/fpu/libm-test-ulps: Update.
9129 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9132 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9134 * math/s_cexpf.c (__cexpf): Likewise.
9135 * math/s_csinf.c (__csinf): Likewise.
9136 * math/s_csinhf.c (__csinhf): Likewise.
9137 * math/s_ctanf.c (__ctanf): Likewise.
9138 * math/s_ctanhf.c (__ctanhf): Likewise.
9139 * math/s_ccosh.c (__ccoshf): Likewise.
9140 * math/s_cexp.c (__cexpl): Likewise.
9141 * math/s_csin.c (__csin): Likewise.
9142 * math/s_csinh.c (__csinh): Likewise.
9143 * math/s_ctan.c (__ctan): Likewise.
9144 * math/s_ctanh.c (ctanh): Likewise.
9145 * math/s_ccoshl.c (__ccoshl): Likewise.
9146 * math/s_cexpl.c (__cexpl): Likewise.
9147 * math/s_csinl.c (__csinl): Likewise.
9148 * math/s_csinhl.c (__csinhl): Likewise.
9149 * math/s_ctanl.c (__ctanl): Likewise.
9150 * math/s_ctanhl.c (__ctanhl): Likewise.
9152 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9154 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9155 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9156 (_IO_off_t): Define to __off_t, not _G_off_t.
9157 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9158 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9159 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9160 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9161 type of __dummy and __dummy2 fields.
9162 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9163 (_G_ssize_t): Likewise.
9164 (_G_off_t): Likewise.
9165 (_G_pid_t): Likewise.
9166 (_G_uid_t): Likewise.
9167 (_G_wchar_t): Likewise.
9168 (_G_wint_t): Likewise.
9169 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9170 (_G_ssize_t): Likewise.
9171 (_G_off_t): Likewise.
9172 (_G_pid_t): Likewise.
9173 (_G_uid_t): Likewise.
9174 (_G_wchar_t): Likewise.
9175 (_G_wint_t): Likewise.
9176 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9177 (_G_ssize_t): Likewise.
9178 (_G_off_t): Likewise.
9179 (_G_pid_t): Likewise.
9180 (_G_uid_t): Likewise.
9181 (_G_wchar_t): Likewise.
9182 (_G_wint_t): Likewise.
9184 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9186 * malloc/arena.c: Include malloc-sysdep.h.
9187 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9188 is sufficient to shrink the heap or an unmap is needed.
9189 * sysdeps/generic/malloc-sysdep.h: New file. Define
9190 new function check_may_shrink_heap.
9191 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9192 new function check_may_shrink_heap.
9194 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9196 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9199 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9201 * catgets/test-gencat.sh: Add "set -e".
9202 * elf/tst-pathopt.sh: Likewise.
9203 * grp/tst_fgetgrent.sh: Likewise.
9204 * iconvdata/run-iconv-test.sh: Likewise.
9205 * intl/tst-gettext.sh: Likewise.
9206 * intl/tst-gettext2.sh: Likewise.
9207 * intl/tst-gettext4.sh: Likewise.
9208 * intl/tst-gettext6.sh: Likewise.
9209 * intl/tst-translit.sh: Likewise.
9210 * io/ftwtest-sh: Likewise.
9211 * libio/test-freopen.sh: Likewise.
9212 * malloc/tst-mtrace.sh: Likewise.
9213 * posix/globtest.sh: Likewise.
9214 * posix/tst-getconf.sh: Likewise.
9215 * posix/wordexp-tst.sh: Likewise.
9216 * stdio-common/tst-printf.sh: Likewise.
9217 * stdio-common/tst-unbputc.sh: Likewise.
9218 * stdlib/tst-fmtmsg.sh: Likewise.
9219 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9220 * catgets/Makefile: Do not specify -e option when running
9221 testsuite shell scripts.
9222 * elf/Makefile: Likewise.
9223 * grp/Makefile: Likewise.
9224 * iconvdata/Makefile: Likewise.
9225 * intl/Makefile: Likewise.
9226 * io/Makefile: Likewise.
9227 * libio/Makefile: Likewise.
9228 * malloc/Makefile: Likewise.
9229 * posix/Makefile: Likewise.
9230 * stdio-common/Makefile: Likewise.
9231 * stdlib/Makefile: Likewise.
9232 * sysdeps/x86_64/Makefile: Likewise.
9234 * io/ftwtest-sh: Add copyright header.
9235 * posix/globtest.sh: Likewise.
9236 * posix/tst-getconf.sh: Likewise.
9237 * posix/wordexp-tst.sh: Likewise.
9238 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9240 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9243 * Makeconfig (+link): Defined as $(+link-static) if
9244 $(build-shared) isn't yes.
9245 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9247 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9249 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9252 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9253 new chunk size with MALLOC_ALIGN_MASK.
9255 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9258 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9260 (__printf_fphex): Determine rounding using get_rounding_mode and
9262 * stdio-common/tst-printf-round.c (struct hex_test): New
9264 (hex_tests): New variable.
9265 (test_hex_in_one_mode): New function.
9266 (do_test): Also run tests for hex float output.
9268 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9270 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9271 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9272 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9273 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9274 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9275 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9276 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9277 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9279 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9281 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9282 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9283 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9284 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9286 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9289 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9291 * elf/tst-rtld-load-self.sh: New test.
9292 * elf/Makefile: Run it.
9294 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9296 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9297 (tst-writev-ENV): Remove.
9298 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9300 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9302 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9304 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9306 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9308 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9310 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9311 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9312 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9315 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9318 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9319 * config.make.in (have-cpp-asm-debuginfo): Removed.
9320 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9321 * configure: Regenerated.
9323 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9326 * stdio-common/printf_fp.c: Include <stdbool.h> and
9328 (___printf_fp): Determine rounding using get_rounding_mode and
9330 * stdio-common/tst-printf-round.c: New file.
9331 * stdio-common/Makefile (tests): Add tst-printf-round.
9332 (link-libm): New variable.
9333 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9335 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9338 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9339 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9341 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9344 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9346 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9347 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9348 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9349 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9351 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9354 * include/rounding-mode.h: New file.
9355 * sysdeps/generic/get-rounding-mode.h: Likewise.
9356 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9357 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9358 (MAX_VALUE): New macro.
9359 (MIN_VALUE): Likewise.
9360 (overflow_value): New function.
9361 (underflow_value): Likewise.
9362 (round_and_return): Use overflow_value and underflow_value to
9363 determine return values in overflow and underflow cases. Use
9364 round_away to determine rounding depending on rounding mode.
9365 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9366 determine return values in overflow and underflow cases.
9367 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9368 (struct test_results): New structure.
9369 (struct test): Use struct test_results to store expected results
9370 for all rounding modes.
9371 (TEST): Include expected results for all rounding modes.
9372 (test_in_one_mode): New function.
9373 (do_test): Use test_in_one_mode to compute and check results.
9374 Check results for all rounding modes.
9375 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9378 2012-12-09 Allan McRae <allan@archlinux.org>
9380 * sysdeps/i386/fpu/libm-test-ulps: Update
9382 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9384 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9385 (_G_int32_t): Likewise.
9386 (_G_uint16_t): Likewise.
9387 (_G_uint32_t): Likewise.
9388 (_G_HAVE_BOOL): Likewise.
9389 (_G_HAVE_ATEXIT): Likewise.
9390 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9391 (_G_HAVE_IO_FILE_OPEN): Likewise.
9392 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9393 (_G_int32_t): Likewise.
9394 (_G_uint16_t): Likewise.
9395 (_G_uint32_t): Likewise.
9396 (_G_HAVE_BOOL): Likewise.
9397 (_G_HAVE_ATEXIT): Likewise.
9398 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9399 (_G_HAVE_IO_FILE_OPEN): Likewise.
9400 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9401 (_G_int32_t): Likewise.
9402 (_G_uint16_t): Likewise.
9403 (_G_uint32_t): Likewise.
9404 (_G_HAVE_BOOL): Likewise.
9405 (_G_HAVE_ATEXIT): Likewise.
9406 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9407 (_G_HAVE_IO_FILE_OPEN): Likewise.
9409 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9411 * csu/libc-tls.c: Update copyright years.
9413 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9415 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9416 [!_G_USING_THUNKS]: Remove conditional code.
9417 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9418 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9420 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9421 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9422 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9423 (_G_VTABLE_LABEL_PREFIX): Likewise.
9424 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9425 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9426 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9427 (_G_VTABLE_LABEL_PREFIX): Likewise.
9428 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9429 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9430 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9431 (_G_VTABLE_LABEL_PREFIX): Likewise.
9432 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9434 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9436 * libio/Makefile: Include ../Makeconfig before tests.
9437 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9438 only if $(build-shared) is yes.
9440 * iconv/gconv_db.c: Update copyright years.
9442 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9444 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9445 unwind info if defined PIC. Fix special cases description.
9446 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9448 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9450 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9452 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9454 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9456 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9459 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9460 (LDLIBS-tst-chk4): This.
9461 (LDFLAGS-tst-chk5): Renamed to ...
9462 (LDLIBS-tst-chk5): This.
9463 (LDFLAGS-tst-chk6): Renamed to ...
9464 (LDLIBS-tst-chk6): This.
9465 (LDFLAGS-tst-lfschk4): Renamed to ...
9466 (LDLIBS-tst-lfschk4): This.
9467 (LDFLAGS-tst-lfschk5): Renamed to ...
9468 (LDLIBS-tst-lfschk5): This.
9469 (LDFLAGS-tst-lfschk6): Renamed to ...
9470 (LDLIBS-tst-lfschk6): This.
9472 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9473 on $(common-objpfx)soversions.mk.
9475 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9478 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9481 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9483 * malloc/arena.c (arena_get_retry): New function that gets
9484 another arena for the caller to try its request on.
9485 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9486 current arena cannot fulfill the request.
9487 (__libc_memalign): Likewise.
9488 (__libc_memalign): Likewise.
9489 (__libc_pvalloc): Likewise.
9490 (__libc_calloc): Likewise.
9492 2012-09-05 John Tobey <john.tobey@gmail.com>
9495 * manual/arith.texi (Operations on Complex): Fix description
9498 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9501 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9505 * manual/memory.texi (Memory): Make order of menu items match
9508 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9510 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9511 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9512 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9514 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9516 * csu/libc-tls.c (static_dtv): Renamed to ...
9517 (_dl_static_dtv): This. Make it global.
9518 (_dl_initial_dtv): Removed.
9519 (__libc_setup_tls): Updated.
9520 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9521 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9524 2012-09-06 Petr Machata <pmachata@redhat.com>
9526 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9527 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9528 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9529 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9531 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9534 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9535 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9538 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9541 * Makeconfig (link-static-before-libc): Replace $(+prector)
9543 (link-static-after-libc): Replace $(+postctor) with
9545 (link-bounded): Replace $(+prector)/$(+postctor) with
9546 $(+prectorT)/$(+postctorT).
9547 (+prectorT): New macro.
9548 (+postctorT): Likewise.
9550 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9552 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9553 (round_str): Handle values above the maximum for IBM long double
9555 * stdlib/tst-strtod-round.c (tests): Regenerated.
9557 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9559 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9561 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9562 zarch_nohighgprs around the zarch optimized routines.
9563 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9564 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9565 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9568 2012-09-05 David S. Miller <davem@davemloft.net>
9570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9572 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9573 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9574 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9575 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9578 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9580 * malloc/arena.c: Fold copyright years.
9581 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9583 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9585 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9587 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9589 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9591 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9593 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9594 change internal state upon failure.
9596 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9598 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9599 * malloc/memusage.c (mmap): Likewise.
9600 (mmap64, mremap): Likewise. Adjust name in comment.
9602 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9604 * libio/fileops.c: Fix typos in comments.
9605 * libio/oldfileops.c: Likewise.
9606 * libio/wfileops.c: Likewise.
9608 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9611 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9612 (tst-malloc-usable-ENV): Set environment for test case.
9613 * malloc/hooks.c (malloc_check_get_size): New function to get
9615 * malloc/malloc.c (musable): Use malloc_check_get_size.
9616 * malloc/tst-malloc-usable.c: New test case.
9618 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9620 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9622 2012-09-05 Allan McRae <allan@archlinux.org>
9625 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9626 determine header location.
9627 * configure: Regenerated.
9629 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9631 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9633 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9634 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9638 2012-09-04 David S. Miller <davem@davemloft.net>
9640 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9641 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9642 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9644 2012-09-04 Florian Weimer <fweimer@redhat.com>
9646 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9649 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9651 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9654 * libio/iogetdelim.c: Include <limits.h>.
9655 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9656 + len + 1 would overflow.
9658 2012-09-03 Andreas Jaeger <aj@suse.de>
9660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9661 * sysdeps/i386/fpu/libm-test-ulps: Update.
9663 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9665 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9666 Add s_sinf-sse2, s_conf-sse2.
9668 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9669 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9670 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9671 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9673 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9674 for using routine as __sinf_ia32.
9675 Use macro for function declaration and weak_alias.
9676 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9677 for using routine as __cosf_ia32.
9678 Use macro for function declaration and weak_alias.
9680 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9681 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9683 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9684 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9687 * math/libm-test.inc (cos_test): Add more test cases.
9688 (sin_test): Likewise.
9689 (sincos_test): Likewise.
9691 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9693 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9694 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9696 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9698 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9701 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9702 first element of the GOT.
9703 (elf_machine_load_address): Return the difference between
9704 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9706 2012-09-01 Allan McRae <allan@archlinux.org>
9709 * configure.in (AWK): Require gawk version 3.0 or later.
9710 * configure: Regenerated.
9712 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9714 * sysdeps/unix/sysv/linux/kernel-features.h
9715 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9716 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9717 [__NR_clock_getres]: Make code unconditional.
9718 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9719 (clock_getcpuclockid): Remove code left unreachable by removal of
9721 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9723 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9724 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9725 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9726 Make code unconditional.
9727 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9728 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9729 * sysdeps/unix/sysv/linux/clock_settime.c
9730 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9732 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9733 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9735 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9738 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9739 scripts/test-installation.pl.
9741 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9742 and $ld_so_version if it is set.
9744 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9747 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9748 failure if reading from procfs failed.
9749 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9751 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9753 * sysdeps/unix/sysv/linux/kernel-features.h
9754 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9755 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9756 Remove conditional code.
9757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9758 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9759 Remove conditional code.
9760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9761 * sysdeps/unix/sysv/linux/i386/fxstat.c
9762 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9764 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9765 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9767 * sysdeps/unix/sysv/linux/i386/lxstat.c
9768 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9770 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9771 Remove conditional code.
9772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9773 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9774 Remove conditional code.
9775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9776 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9777 <kernel-features.h>.
9778 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9780 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9781 Remove conditional code.
9782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9783 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9786 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9789 * NEWS: Add fixed bug number.
9791 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9794 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9795 underflowing exponent in case of negative sign.
9796 * stdlib/tst-strtod-round-data: Add more tests.
9797 * stdlib/tst-strtod-round.c (tests): Regenerated.
9800 * stdlib/strtod_l.c (NDIG): Remove.
9801 (HEXNDIG): Likewise.
9802 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9803 smallest representable value.
9804 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9805 lie within an exact representation of 1/2 ulp of the result.
9806 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9808 (TENS_P9_IDX): Define unconditionally.
9809 (TENS_P9_SIZE): Likewise.
9810 (TENS_P10_IDX): Likewise.
9811 (TENS_P10_SIZE): Likewise.
9812 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9813 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9814 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9815 entries for 10^2^13 and 10^2^14.
9816 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9817 (TENS_P13_IDX): Define.
9818 (TENS_P13_SIZE): Likewise.
9819 (TENS_P14_IDX): Likewise.
9820 (TENS_P14_SIZE): Likewise.
9821 (_fpioconst_pow10): Change array size to
9822 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9824 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9825 1024]: Add entries for 10^2^13 and 10^2^14.
9826 [LAST_POW10 > _LAST_POW10]: Remove #error.
9827 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9828 (_fpioconst_pow10): Change array size to
9829 FPIOCONST_POW10_ARRAY_SIZE.
9830 * stdlib/gen-fpioconst.c: New file.
9831 * stdlib/gen-tst-strtod-round.c: Likewise.
9832 * stdlib/tst-strtod-round-data: Likewise.
9833 * stdlib/tst-strtod-round.c: Likewise.
9834 * stdlib/Makefile (tests): Add tst-strtod-round.
9837 * stdlib/strtod_l.c: Include <stdint.h>.
9838 (NDEBUG): Do not define.
9839 (round_and_return): Change EXPONENT parameter to type intmax_t.
9840 Rearrange calculations to avoid internal overflow possibilities.
9841 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9842 Rearrange calculations to avoid internal overflow possibilities.
9843 Assert that number fits inside MPNSIZE limbs.
9844 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9845 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9846 calculations and add assertions to avoid internal overflow
9847 possibilities. Add casts to avoid signed/unsigned operations.
9848 * stdlib/tst-strtod-overflow.c: New file.
9849 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9851 2012-08-25 Marek Polacek <polacek@redhat.com>
9853 * time/time.h: Fix some typos in comments.
9855 2012-08-23 Roland McGrath <roland@hack.frob.com>
9857 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9858 * posix/tst-rfc3484-2.c: Likewise.
9859 * posix/tst-rfc3484-3.c: Likewise.
9861 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9863 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9864 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9866 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9868 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9869 #include of fxstatat64.c.
9871 2012-08-22 Roland McGrath <roland@hack.frob.com>
9873 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9874 * shadow/getspent_r.c: Likewise.
9875 * shadow/getspnam.c: Likewise.
9876 * shadow/getspnam_r.c: Likewise.
9877 * gshadow/getsgent.c: Likewise.
9878 * gshadow/getsgent_r.c: Likewise.
9879 * gshadow/getsgnam.c: Likewise.
9880 * gshadow/getsgnam_r.c: Likewise.
9881 * inet/getnetbyad.c: Likewise.
9882 * inet/getnetbyad_r.c: Likewise.
9883 * inet/getnetbynm.c: Likewise.
9884 * inet/getnetbynm_r.c: Likewise.
9885 * inet/getnetent.c: Likewise.
9886 * inet/getnetent_r.c: Likewise.
9887 * inet/getproto.c: Likewise.
9888 * inet/getproto_r.c: Likewise.
9889 * inet/getprtent.c: Likewise.
9890 * inet/getprtent_r.c: Likewise.
9891 * inet/getprtname.c: Likewise.
9892 * inet/getprtname_r.c: Likewise.
9893 * inet/getrpcbyname.c: Likewise.
9894 * inet/getrpcbyname_r.c: Likewise.
9895 * inet/getrpcbynumber.c: Likewise.
9896 * inet/getrpcbynumber_r.c: Likewise.
9897 * inet/getrpcent.c: Likewise.
9898 * inet/getrpcent_r.c: Likewise.
9899 * inet/getaliasent.c: Likewise.
9900 * inet/getaliasent_r.c: Likewise.
9901 * inet/getaliasname.c: Likewise.
9902 * inet/getaliasname_r.c: Likewise.
9903 * nscd/getgrgid_r.c: Likewise.
9904 * nscd/getgrnam_r.c: Likewise.
9905 * nscd/gethstbyad_r.c: Likewise.
9906 * nscd/gethstbynm3_r.c: Likewise.
9907 * nscd/getpwnam_r.c: Likewise.
9908 * nscd/getpwuid_r.c: Likewise.
9909 * nscd/getsrvbynm_r.c: Likewise.
9910 * nscd/getsrvbypt_r.c: Likewise.
9911 * nscd/gai.c: Likewise.
9913 * configure.in (build_nscd): New substituted variable, set
9914 by --disable-build-nscd and defaults to $use_nscd.
9915 * configure: Regenerated.
9916 * config.make.in (build-nscd): New substituted variable.
9917 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9918 Change conditional to require [$(build-nscd) = yes] as well.
9919 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9922 * configure.in (use_nscd): New substituted variable, set by
9923 --disable-nscd. If enabled, define USE_NSCD.
9924 * configure: Regenerated.
9925 * config.h.in: Add USE_NSCD.
9926 * config.make.in (use-nscd): New substituted variable.
9927 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9928 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9929 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9930 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9931 (CFLAGS-getgrnam_r.c): Likewise.
9932 (CFLAGS-initgroups.c): Likewise.
9933 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9934 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9936 * inet/getnetgrent_r.c
9937 (nscd_setnetgrent): New function, broken out of ...
9938 (setnetgrent): ... here. Call it.
9939 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9940 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9941 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9942 * nscd/Makefile (routines, aux): Move definitions after include of
9943 Makeconfig. Conditionalize on [$(use-nscd) != no].
9944 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9945 Conditionalize on [USE_NSCD].
9946 (is_nscd, nscd_init_cb): Likewise.
9947 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9948 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9949 * nss/nss_db/db-init.c: Likewise.
9950 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9952 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9953 (make_request): Use it.
9954 (cache_valid_p): New function.
9955 (__check_pf): Use it.
9956 * NEWS: Add item for --disable-nscd.
9958 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9960 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9961 to support sed >= 4.2.1-20-ga9bf076.
9962 * configure: Regenerated.
9964 2012-08-22 Roland McGrath <roland@hack.frob.com>
9966 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9967 Conditionalize whole body on [IREL].
9969 2012-08-22 Jeff Law <law@redhat.com>
9972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9973 if the family is PF_UNSPEC.
9975 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9977 * Makerules (lib-version): Rename from V.
9978 (install-lib-nosubdir): Change V to lib-version.
9980 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9983 * powerpc32/power6/wcschr.c: New file.
9984 * powerpc32/power6/wcscpy.c: New file.
9985 * powerpc32/power6/wcsrchr.c: New file.
9986 * powerpc64/power6/wcschr.c: New file.
9987 * powerpc64/power6/wcscpy.c: New file.
9988 * powerpc64/power6/wcsrchr.c: New file.
9990 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9992 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9993 (two_way_short_needle): Use it.
9994 * string/strstr.c (AVAILABLE1_USES_J): Define.
9995 * string/strcasestr.c: Likewise.
9997 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9999 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10002 * NEWS: Add an entry.
10003 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10004 define their defaults.
10005 (two_way_short_needle): Detect end-of-string on-the-fly.
10006 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10007 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10008 * string/bug-strcasestr1.c: New test.
10009 * string/Makefile: Run it.
10011 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10014 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10015 the first character.
10017 2012-08-21 Roland McGrath <roland@hack.frob.com>
10019 * csu/elf-init.c (__libc_csu_irel): Function removed.
10020 * csu/libc-start.c (apply_irel): New function.
10021 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10023 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10025 * sysdeps/unix/sysv/linux/kernel-features.h
10026 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10027 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10028 <kernel-features.h>.
10029 [__NR_fadvise64_64]: Make code unconditional.
10030 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10031 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10032 !__NR_fadvise64_64)]: Likewise.
10033 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10034 !__NR_fadvise64_64))]: Likewise.
10035 [__NR_fadvise64]: Make code unconditional.
10036 [!__NR_fadvise64]: Remove conditional code.
10037 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10038 <kernel-features.h>.
10039 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10041 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10044 not include <kernel-features.h>.
10045 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10047 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10049 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10050 include <kernel-features.h>.
10051 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10053 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10056 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10058 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10059 slight instruction rearrangements per scrollpipe analysis.
10060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10062 2012-08-20 Roland McGrath <roland@hack.frob.com>
10064 * manual/syslog.texi (syslog; vsyslog, closelog):
10065 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10066 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10068 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10069 DSOCAPS to match condition on defining it.
10071 2012-08-20 Joseph Myers <joseph@codesourcery.com>
10073 * sysdeps/unix/sysv/linux/kernel-features.h
10074 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10076 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10077 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10079 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10080 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10082 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10083 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10085 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10086 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10088 * sysdeps/unix/sysv/linux/kernel-features.h
10089 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10090 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10092 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10093 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10094 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10095 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10096 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10097 Make code unconditional.
10098 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10099 (__mmap64) [!__NR_mmap2]: Likewise.
10100 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10101 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10102 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10103 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10104 [__NR_mmap2]: Make code unconditional.
10105 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10106 (__mmap64) [!__NR_mmap2]: Likewise.
10108 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10110 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10112 2012-08-18 Andreas Jaeger <aj@suse.de>
10114 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10116 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10118 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10119 * include/unistd.h (__have_sock_cloexec): Likewise.
10120 (__have_pipe2): Likewise.
10121 (__have_dup3): Likewise.
10123 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10126 * include/unistd.h (__have_pipe2): Change define into an extern int.
10127 (__have_dup3): Likewise.
10128 * socket/have_sock_cloexec.c: Include fcntl.h.
10129 (__have_pipe2): New variable.
10130 (__have_dup3): Likewise.
10132 2012-08-17 Mike Frysinger <vapier@gentoo.org>
10134 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10136 2012-08-17 Marek Polacek <polacek@redhat.com>
10138 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10139 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10141 2012-08-17 Roland McGrath <roland@hack.frob.com>
10143 * configure.in: Add AC_SUBST for sysheaders.
10144 * configure: Regenerated.
10145 * config.make.in (sysheaders): New substituted variable.
10147 * sysdeps/unix/mkfifo.c: Moved ...
10148 * sysdeps/posix/mkfifo.c: ... here.
10149 * sysdeps/unix/mkfifoat.c: Moved ...
10150 * sysdeps/posix/mkfifoat.c: ... here.
10152 * sysdeps/unix/utime.c: Moved ...
10153 * sysdeps/posix/utime.c: ... here.
10155 * sysdeps/unix/time.c: Moved ...
10156 * sysdeps/posix/time.c: ... here.
10157 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10158 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10160 * sysdeps/unix/nice.c: Moved ...
10161 * sysdeps/posix/nice.c: ... here.
10163 * sysdeps/unix/alarm.c: Moved ...
10164 * sysdeps/posix/alarm.c: ... here.
10166 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10168 2012-08-17 Jeff Law <law@redhat.com>
10170 * intl/Makefile (codeset_mo): New variable.
10171 ($(codeset_mo)): New target.
10172 (tst-codeset.out): Depend on that. Remove explicit rule.
10173 (tst-gettext3.out, tst-gettext5.out): Likewise.
10174 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10175 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10176 * intl/tst-codeset.sh: Remove.
10177 * intl/tst-gettext3.sh: Likewise.
10178 * intl/tst-gettext5.sh: Likewise.
10180 2012-08-17 Roland McGrath <roland@hack.frob.com>
10182 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10183 * sysdeps/unix/syscalls.list: ... here.
10185 * sysdeps/posix/getaddrinfo.c
10186 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10187 (gaiconf_init, gaiconf_reload): Use them.
10188 [!_STATBUF_ST_NSEC]
10189 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10190 Define using time_t rather than struct timespec.
10192 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10193 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10195 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10197 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10198 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10201 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10202 __libc_cleanup_push argument.
10204 * bits/param.h: New file.
10205 * misc/sys/param.h: New file.
10206 * include/sys/param.h: New file.
10207 * misc/Makefile (headers): Add bits/param.h.
10208 * sysdeps/generic/sys/param.h: File removed.
10209 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10210 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10211 * sysdeps/mach/hurd/bits/param.h: New file.
10212 * sysdeps/mach/hurd/sys/param.h: File removed.
10214 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10217 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10219 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10220 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10223 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10224 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10225 rather than -D_IO_MTSAFE_IO conditionally.
10226 * stdio-common/Makefile (CPPFLAGS): Likewise.
10227 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10228 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10229 Use $(libio-mtsafe).
10230 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10231 of -D_IO_MTSAFE_IO.
10232 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10233 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10234 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10235 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10236 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10237 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10238 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10239 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10240 (CFLAGS-fread_u_chk.c): Likewise.
10241 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10242 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10243 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10244 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10245 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10246 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10247 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10248 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10249 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10251 * libio/Makefile: Test [$(libc-reentrant) = yes]
10252 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10255 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10256 * sysdeps/pthread/configure: File removed.
10257 * sysdeps/pthread/Makeconfig: New file.
10258 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10259 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10261 2012-08-16 Gary Benson <gbenson@redhat.com>
10263 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10264 unmapping the first object in a namespace.
10266 2012-08-16 Roland McGrath <roland@hack.frob.com>
10268 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10269 (__internal_setnetgrent): ... this. Add internal_function to
10270 definition. Add libc_hidden_def.
10271 (setnetgrent): Update caller.
10272 (internal_endnetgrent): Renamed to ...
10273 (__internal_endnetgrent): ... this. Add internal_function to
10274 definition. Add libc_hidden_def.
10275 (endnetgrent): Update caller.
10276 (internal_getnetgrent_r): Renamed to ...
10277 (__internal_getnetgrent_r): ... this. Add internal_function to
10278 definition. Add libc_hidden_def.
10279 (__getnetgrent_r): Update caller.
10280 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10282 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10284 * stdlib/longlong.h: Update from GCC.
10286 2012-08-16 Roland McGrath <roland@hack.frob.com>
10288 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10289 on _QL, which is set by umul_ppmm but never used.
10290 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10291 variables, which are set by GMP macros but never used.
10292 * stdio-common/_itowa.c (_itowa): Likewise.
10293 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10294 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10296 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10298 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10299 struct La_sh_regs is not constant.
10300 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10301 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10302 and struct La_sparc64_regs are not constant.
10304 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10306 * sysdeps/unix/sysv/linux/kernel-features.h
10307 (__ASSUME_POSIX_TIMERS): Remove.
10308 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10309 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10310 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10311 Make code unconditional.
10312 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10313 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10314 Make code unconditional.
10315 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10316 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10317 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10319 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10320 Make code unconditional.
10321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10322 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10323 (__libc_missing_posix_timers): Remove.
10325 2012-08-15 Roland McGrath <roland@hack.frob.com>
10327 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10328 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10330 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10332 * elf/dl-sym.c: Include <stdlib.h>.
10334 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10335 constants, which avoids warnings in 32-bit builds.
10337 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10338 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10340 * misc/lseek.c: File moved to ...
10341 * io/lseek.c: ... here.
10343 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10345 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10346 shifting LEN more than 31 bits at once.
10348 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10351 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10352 segmentation fault for a case of two empty input strings.
10353 * string/test-strncasecmp.c (check1): Renamed to...
10354 (bz12205): ...this.
10355 (bz14195): Add new testcase for two empty input strings and N > 0.
10356 (test_main): Call new testcase, adapt for renamed function.
10358 2012-08-15 Andreas Jaeger <aj@suse.de>
10361 * crypt/md5test2.c: New test, based on test supplied by Serge
10362 Belyshev <belyshev@depni.sinp.msu.ru>.
10363 * crypt/Makefile (xtests): Add md5test-giant..
10364 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10366 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10369 * crypt/md5.c (md5_process_block): Don't assume the buffer
10370 length is less than 2**32.
10371 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10372 length is less than 2**64.
10374 2012-08-15 Roland McGrath <roland@hack.frob.com>
10376 * string/str-two-way.h: Include <sys/param.h>.
10377 (MAX): Macro removed.
10379 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10380 Move #define and #undef of memmove to just before and after
10381 including <string.h>.
10383 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10384 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10385 and after including <string.h>. Move declarations of
10386 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10387 to before #include "string/memmove.c".
10389 * include/dirent.h: Declare __getdirentries.
10391 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10392 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10394 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10396 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10397 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10398 * sysdeps/i386/configure: Regenerated.
10399 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10400 STABS_CURRENT_FILE, and STABS_FUN.
10401 (END): Remove call to STABS_FUN_END.
10402 (STABS_CURRENT_FILE1): Delete.
10403 (STABS_CURRENT_FILE): Likewise.
10404 (STABS_FUN): Likewise.
10405 (STABS_FUN_END): Likewise.
10406 (STABS_FUN2): Likewise.
10407 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10408 * sysdeps/x86_64/configure: Regenerated.
10410 2012-08-14 Roland McGrath <roland@hack.frob.com>
10412 * elf/dl-open.c: Include <atomic.h>.
10413 * elf/dl-lookup.c: Likewise.
10415 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10417 * sysdeps/unix/sysv/linux/kernel-features.h
10418 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10419 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10421 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10423 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10424 condition on __ASSUME_CLONE_THREAD_FLAGS.
10426 2012-08-14 Andreas Jaeger <aj@suse.de>
10428 * sysdeps/i386/fpu/libm-test-ulps: Update.
10430 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10432 * include/atomic.h (atomic_exchange_and_add): Split into ...
10433 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10436 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10440 2012-08-13 Jeff Law <law@redhat.com>
10442 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10443 null byte in the output string.
10445 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10447 * sysdeps/unix/sysv/linux/kernel-features.h
10448 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10449 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10450 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10451 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10452 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10453 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10454 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10456 2012-08-09 Jeff Law <law@redhat.com>
10459 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10460 When avoid_arena is set, don't retry in the that arena. Pick the
10461 next one, whatever it might be.
10462 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10463 (arena_lock): Pass in new parameter to arena_get2.
10464 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10466 (__libc_malloc): Unify retrying after main arena failure with
10467 __libc_memalign version.
10468 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10470 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10473 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10474 to __redirect_strstr.
10475 (__strstr_sse42): Use typeof __redirect_strstr.
10476 (__strstr_ia32): Likewise.
10477 (__libc_strstr): New prototype.
10478 (strstr): Renamed to ...
10479 (__libc_strstr): This.
10480 (strstr): New strong alias of __libc_strstr.
10481 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10482 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10485 (__libc_time): New prototype.
10486 (time_ifunc): Replace time with __libc_time.
10487 (time): New strong alias and hidden definition of __libc_time.
10488 (__GI_time): Remove strong alias.
10489 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10490 Include <stddef.h>.
10491 (memmove): Redefined to __redirect_memmove.
10492 (__memmove_sse2): Use typeof __redirect_memmove.
10493 (__memmove_ssse3): Likewise.
10494 (__memmove_ssse3_back): Likewise.
10495 (__libc_memmove): New prototype.
10496 (memmove): Renamed to ...
10497 (__libc_memmove): This.
10498 (memmove): New strong alias of __libc_memmove.
10500 2012-08-08 Mark Salter <msalter@redhat.com>
10503 (R_MN10300_TLS_GD): Define.
10504 (R_MN10300_TLS_LD): Likewise.
10505 (R_MN10300_TLS_LDO): Likewise.
10506 (R_MN10300_TLS_GOTIE): Likewise.
10507 (R_MN10300_TLS_IE): Likewise.
10508 (R_MN10300_TLS_LE): Likewise.
10509 (R_MN10300_TLS_DTPMOD): Likewise.
10510 (R_MN10300_TLS_DTPOFF): Likewise.
10511 (R_MN10300_TLS_TPOFF): Likewise.
10512 (R_MN10300_SYM_DIFF): Likewise.
10513 (R_MN10300_ALIGN): Likewise.
10514 (R_MN10300_NUM): Update.
10516 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10518 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10521 2012-08-08 Roland McGrath <roland@hack.frob.com>
10523 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10525 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10526 sysdeps/unix -> sysdeps/posix move.
10527 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10529 2012-08-07 Allan McRae <allan@archlinux.org>
10532 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10533 (SUNOS_CPP): Likewise.
10534 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10536 (open_input): Call CPP using execvp.
10538 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10540 * sysdeps/unix/sysv/linux/kernel-features.h
10541 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10542 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10543 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10544 (__ASSUME_WAITID_SYSCALL): Likewise.
10545 * sysdeps/unix/sysv/linux/dl-execstack.c
10546 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10547 code unconditional.
10548 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10550 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10551 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10552 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10554 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10556 [__ASSUME_WAITID_SYSCALL]: Likewise.
10557 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10559 2012-08-07 Roland McGrath <roland@hack.frob.com>
10561 * sysdeps/unix/closedir.c: Renamed to ...
10562 * sysdeps/posix/closedir.c: ... here.
10563 * sysdeps/unix/dirfd.c: Renamed to ...
10564 * sysdeps/posix/dirfd.c: ... here.
10565 * sysdeps/unix/dirstream.h: Renamed to ...
10566 * sysdeps/posix/dirstream.h: ... here.
10567 * sysdeps/unix/fdopendir.c: Renamed to ...
10568 * sysdeps/posix/fdopendir.c: ... here.
10569 * sysdeps/unix/opendir.c: Renamed to ...
10570 * sysdeps/posix/opendir.c: ... here.
10571 * sysdeps/unix/readdir.c: Renamed to ...
10572 * sysdeps/posix/readdir.c: ... here.
10573 * sysdeps/unix/readdir_r.c: Renamed to ...
10574 * sysdeps/posix/readdir_r.c: ... here.
10575 * sysdeps/unix/rewinddir.c: Renamed to ...
10576 * sysdeps/posix/rewinddir.c: ... here.
10577 * sysdeps/unix/seekdir.c: Renamed to ...
10578 * sysdeps/posix/seekdir.c: ... here.
10579 * sysdeps/unix/telldir.c: Renamed to ...
10580 * sysdeps/posix/telldir.c: ... here.
10581 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10582 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10583 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10584 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10586 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10587 * bits/fcntl.h: ... here.
10589 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10591 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10592 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10593 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10594 (struct flock): Move l_start, l_len to the beginning.
10595 Use __pid_t for l_pid.
10596 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10597 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10598 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10599 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10600 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10601 [__USE_LARGEFILE64] (struct flock64): New type.
10602 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10604 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10605 * bits/dirent.h: ... here.
10607 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10608 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10610 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10612 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10613 Change from 2.6.0 to 2.6.16.
10614 * sysdeps/unix/sysv/linux/configure: Regenerated.
10615 * sysdeps/unix/sysv/linux/kernel-features.h
10616 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10617 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10619 (__ASSUME_UTIMES): Likewise.
10620 (__ASSUME_CLONE_STOPPED): Remove.
10621 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10622 architectures, not kernel version.
10623 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10624 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10625 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10626 (__ASSUME_WAITID_SYSCALL): Likewise.
10627 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10628 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10629 * README: State 2.6.16 as minimum Linux kernel version. Do not
10630 refer to older versions.
10632 2012-08-06 Roland McGrath <roland@hack.frob.com>
10634 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10635 Define alphasort64 as an alias.
10636 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10637 Define versionsort64 as an alias.
10638 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10639 Define scandir64 as an alias.
10640 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10641 Define scandirat64 as an alias.
10642 * dirent/alphasort64.c (alphasort64):
10643 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10644 * dirent/versionsort64.c: Likewise.
10645 * dirent/scandir64.c: Likewise.
10646 * dirent/scandirat64.c: Likewise.
10647 * sysdeps/wordsize-64/alphasort.c: File removed.
10648 * sysdeps/wordsize-64/alphasort64.c: File removed.
10649 * sysdeps/wordsize-64/scandir.c: File removed.
10650 * sysdeps/wordsize-64/scandir64.c: File removed.
10651 * sysdeps/wordsize-64/scandirat.c: File removed.
10652 * sysdeps/wordsize-64/scandirat64.c: File removed.
10653 * sysdeps/wordsize-64/versionsort.c: File removed.
10654 * sysdeps/wordsize-64/versionsort64.c: File removed.
10655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10656 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10657 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10658 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10659 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10660 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10661 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10662 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10664 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10666 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10668 [defined __arch64__ || defined __sparcv9]
10669 (__INO_T_MATCHES_INO64_T): New macro.
10670 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10671 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10672 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10673 * sysdeps/unix/sysv/linux/bits/dirent.h
10674 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10675 (_DIRENT_MATCHES_DIRENT64): New macro.
10677 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10678 Define lockf64 as an alias.
10679 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10680 Define fseeko64 as an alias.
10681 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10682 Define ftello64 as an alias.
10683 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10684 Define _IO_fgetpos64 and fgetpos64 as aliases.
10685 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10686 Define _IO_fsetpos64 and fsetpos64 as aliases.
10687 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10688 Conditionalize body on this.
10689 * libio/fseeko64.c: Likewise.
10690 * libio/ftello64.c: Likewise.
10691 * libio/iofgetpos64.c: Likewise.
10692 * libio/iofsetpos64.c: Likewise.
10693 * sysdeps/wordsize-64/lockf.c: File removed.
10694 * sysdeps/wordsize-64/lockf64.c: File removed.
10695 * sysdeps/wordsize-64/fseeko.c: File removed.
10696 * sysdeps/wordsize-64/fseeko64.c: File removed.
10697 * sysdeps/wordsize-64/ftello.c: File removed.
10698 * sysdeps/wordsize-64/ftello64.c: File removed.
10699 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10700 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10701 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10702 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10703 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10704 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10705 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10706 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10707 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10708 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10709 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10710 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10711 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10712 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10714 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10716 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10718 [defined __arch64__ || defined __sparcv9]
10719 (__OFF_T_MATCHES_OFF64_T): New macro.
10720 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10721 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10723 (__OFF_T_MATCHES_OFF64_T): New macro.
10725 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10727 * stdlib/secure-getenv.c (__secure_getenv): Replace
10728 GLIBC_2_16 with GLIBC_2_17.
10730 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10732 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10733 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10735 2012-08-03 David S. Miller <davem@davemloft.net>
10737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10739 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10741 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10743 (__ASSUME_CORRECT_SI_PID): Likewise.
10744 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10745 (__ASSUME_TMPFS_NAME): Likewise.
10746 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10747 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10748 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10749 (HAVE_AUX_SECURE): Make definition unconditional.
10750 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10751 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10753 2012-08-03 Roland McGrath <roland@hack.frob.com>
10755 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10756 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10757 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10758 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10759 __eloop_threshold instead of SYMLOOP_MAX.
10761 * sysdeps/generic/eloop-threshold.h: New file.
10762 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10764 * elf/chroot_canon.c (chroot_canon): Likewise.
10766 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10769 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10770 Change to 2.6.0 everywhere.
10771 * sysdeps/unix/sysv/linux/configure: Regenerated.
10772 * sysdeps/unix/sysv/linux/kernel-features.h
10773 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10774 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10776 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10777 (__ASSUME_FUTEX_REQUEUE): Remove.
10778 (__ASSUME_STATFS64): Define unconditionally.
10779 (__ASSUME_AT_SECURE): Likewise.
10780 (__ASSUME_CORRECT_SI_PID): Likewise.
10781 (__ASSUME_TGKILL): Define without depending on kernel version for
10783 (__ASSUME_UTIMES): Likewise.
10784 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10786 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10787 (__ASSUME_TMPFS_NAME): Likewise.
10788 * README: Update reference to Linux kernel versions.
10790 2012-08-02 Marek Polacek <polacek@redhat.com>
10793 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10794 libc_cv_asm_type_prefix with %.
10795 * configure: Regenerated.
10796 * include/libc-symbols.h: Remove comment about
10797 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10798 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10799 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10800 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10801 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10802 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10803 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10804 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10805 * elf/tst-unique2mod1.c: Likewise.
10806 * elf/tst-unique1mod2.c: Likewise.
10807 * elf/tst-unique1mod1.c: Likewise.
10808 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10809 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10810 Replace ASM_TYPE_DIRECTIVE with .type.
10811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10812 * sysdeps/i386/sysdep.h: Likewise.
10813 * sysdeps/x86_64/sysdep.h: Likewise.
10814 * sysdeps/sh/sysdep.h: Likewise.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10816 Do not define ASM_TYPE_DIRECTIVE.
10817 * sysdeps/powerpc/sysdep.h: Likewise.
10818 * sysdeps/powerpc/powerpc32/sysdep.h:
10819 Replace ASM_TYPE_DIRECTIVE with .type.
10820 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10821 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10822 * sysdeps/i386/fpu/e_powf.S: Likewise.
10823 * sysdeps/i386/fpu/e_expl.S: Likewise.
10824 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10825 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10826 * sysdeps/i386/fpu/e_pow.S: Likewise.
10827 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10828 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10829 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10830 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10831 * sysdeps/i386/fpu/e_log2.S: Likewise.
10832 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10833 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10834 * sysdeps/i386/fpu/e_powl.S: Likewise.
10835 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10836 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10837 * sysdeps/i386/fpu/e_logl.S: Likewise.
10838 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10839 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10840 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10841 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10842 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10843 * sysdeps/i386/fpu/e_log.S: Likewise.
10844 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10845 * sysdeps/i386/fpu/e_logf.S: Likewise.
10846 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10847 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10848 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10849 * sysdeps/i386/fpu/e_log10.S: Likewise.
10850 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10851 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10852 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10853 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10854 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10855 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10856 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10857 * sysdeps/i386/i686/strtok.S: Likewise.
10858 * sysdeps/i386/i386-mcount.S: Likewise.
10859 * sysdeps/i386/strtok.S: Likewise.
10860 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10861 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10862 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10863 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10864 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10865 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10866 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10867 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10868 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10869 * sysdeps/x86_64/_mcount.S: Likewise.
10870 * sysdeps/x86_64/strtok.S: Likewise.
10871 * sysdeps/sh/_mcount.S: Likewise.
10873 2012-08-01 Roland McGrath <roland@hack.frob.com>
10875 * libio/iofopen.c: Include <fcntl.h>.
10876 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10877 (_IO_fopen64, fopen64): Define as aliases.
10878 * libio/iofopen64.c: Include <fcntl.h>.
10879 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10880 Conditionalize body on this.
10881 * sysdeps/wordsize-64/iofopen.c: File removed.
10882 * sysdeps/wordsize-64/iofopen64.c: File removed.
10884 2012-08-01 Marek Polacek <polacek@redhat.com>
10886 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10887 Use dlfcn directly instead of a variable.
10888 (binfmt-subdir): Do not define.
10891 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10894 Remove all definitions.
10895 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10896 <kernel-features.h>.
10897 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10898 (miss_F_GETOWN_EX): Remove all definitions.
10899 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10901 [!__ASSUME_FCNTL64]: Remove conditional code.
10902 [__ASSUME_FCNTL64]: Make code unconditional.
10903 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10904 <kernel-features.h>.
10905 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10906 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10907 (lockf64) [__NR_fcntl64]: Make code unconditional.
10908 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10910 * sysdeps/unix/sysv/linux/kernel-features.h
10911 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10912 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10913 Make code unconditional.
10914 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10915 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10917 [__NR_vfork]: Make code unconditional.
10918 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10919 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10921 [__NR_vfork]: Make code unconditional.
10922 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10923 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10925 2012-08-01 Roland McGrath <roland@hack.frob.com>
10927 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10928 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10930 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10931 Define mkstemp64 as an alias.
10932 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10933 Define mkstemps64 as an alias.
10934 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10935 Define mkostemp64 as an alias.
10936 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10937 Define mkostemps64 as an alias.
10938 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10939 Conditionalize body on this.
10940 * misc/mkostemp64.c: Likewise.
10941 * misc/mkostemps64.c: Likewise.
10942 * misc/mkstemps64.c: Likewise.
10943 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10944 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10945 * sysdeps/wordsize-64/mkostemp.c: File removed.
10946 * sysdeps/wordsize-64/mkstemp.c: File removed.
10947 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10948 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10949 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10950 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10953 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10954 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10955 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10956 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10958 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10959 compat_symbol macros from <shlib-compat.h> rather than the underlying
10960 default_symbol_version and symbol_version macros, so that DEFAULT
10961 lines in shlib-versions are respected.
10962 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10964 2012-08-01 Florian Weimer <fweimer@redhat.com>
10966 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10967 Declare with warn_unused_result.
10968 (setgid, setregid, setegid, setresgid): Likewise.
10969 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10971 * WUR-REPORT: Remove set*id functions.
10973 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10975 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10977 2012-07-31 Roland McGrath <roland@hack.frob.com>
10979 * include/sys/socket.h (__libc_accept, __libc_accept4):
10980 Add attribute_hidden.
10981 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10983 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10985 * inet/getnetgrent_r.c (setup): Likewise.
10987 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10989 2012-07-31 David S. Miller <davem@davemloft.net>
10991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10993 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10996 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10997 value between 1.0 and 2.0 and smaller part has absolute value less
10999 * math/s_clog10.c (__clog10): Likewise.
11000 * math/s_clog10f.c (__clog10f): Likewise.
11001 * math/s_clog10l.c (__clog10l): Likewise.
11002 * math/s_clogf.c (__clogf): Likewise.
11003 * math/s_clogl.c (__clogl): Likewise.
11004 * math/libm-test.inc (clog_test): Add more tests.
11005 (clog10_test): Likewise.
11006 * sysdeps/i386/fpu/libm-test-ulps: Update.
11007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11009 2012-07-31 Florian Weimer <fweimer@redhat.com>
11011 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11012 Exit with zero in case no suitable GID is found, and write a
11013 message to standard error.
11015 2012-07-30 Roland McGrath <roland@hack.frob.com>
11017 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11019 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11020 (MAXPATHLEN): Removed.
11021 (NOGROUP, NODEV): New macros.
11022 (setbit, clrbit, isset, isclr): New macros.
11023 (howmany, roundup, powerof2): New macros.
11024 (DEV_BSIZE): New macro.
11026 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11027 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11029 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11030 definition on [!__NO_LONG_DOUBLE_MATH].
11032 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11033 PTR_MANGLE and PTR_DEMANGLE.
11035 * socket/accept4.c (accept4): Rename to __libc_accept4.
11036 Define accept4 as a weak alias.
11038 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11039 on [_DIRENT_HAVE_D_TYPE].
11040 * io/ftw.c (ftw_dir): Likewise.
11042 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11044 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11046 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11047 Use the BSD numbers rather than the arbitrary ones we had.
11048 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11049 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11050 (SIGXCPU, SIGXFSZ): New macros.
11053 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11054 initializer on [_LIBC_REENTRANT].
11056 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11057 definitions inside [_POSIX_MAPPED_FILES].
11059 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11061 * dirent/opendir.c: Include <fcntl.h>.
11063 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11064 (__libc_getspecific): Likewise.
11065 (__libc_key_create): Likewise.
11067 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11068 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11069 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11070 (tmpfile64): Define as alias.
11071 * sysdeps/wordsize-64/tmpfile.c: File removed.
11072 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11073 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11074 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11076 * stdio-common/vfscanf.c: Include <stdbool.h>.
11077 * nss/makedb.c: Likewise.
11078 * stdio-common/_i18n_number.h: Likewise.
11079 * argp/argp-help.c: Likewise.
11080 * posix/wordexp.c: Likewise.
11081 * sysdeps/posix/spawni.c: Likewise.
11082 * nss/nss_files/files-initgroups.c: Likewise.
11083 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11084 * nss/nss_files/files-initgroups.c: Likewise.
11085 * nss/nss_db/db-netgrp.c: Likewise.
11086 * nss/nss_db/db-initgroups.c: Likewise.
11087 * io/fchmodat.c: Include <sys/stat.h>.
11089 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11090 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11092 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11095 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11096 Add multiple inclusion protection.
11098 2012-07-27 David S. Miller <davem@davemloft.net>
11100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11102 2012-07-27 Gary Benson <gbenson@redhat.com>
11105 * elf/rtld.c: Include <stap-probe.h>.
11106 (dl_main): Added static probes "init_start" and "init_complete".
11107 * elf/dl-load.c: Include <stap-probe.h>.
11108 (lose): Take new parameter "nsid".
11109 Added static probe "map_failed".
11110 (_dl_map_object_from_fd): Pass namespace id to lose.
11111 Added static probe "map_start".
11112 (open_verify): Pass namespace id to lose.
11113 * elf/dl-open.c: Include <stap-probe.h>.
11114 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11115 and "reloc_complete".
11116 * elf/dl-close.c: Include <stap-probe.h>.
11117 (_dl_close_worker): Added static probes "unmap_start" and
11119 * elf/rtld-debugger-interface.txt: New file documenting the above.
11121 2012-07-26 Roland McGrath <roland@hack.frob.com>
11123 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11124 rather than a string variable.
11125 * sunrpc/rpc_main.c (h_output): Likewise.
11126 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11128 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11130 * inet/check_native.c: New file.
11132 2012-07-26 Joseph Myers <joseph@codesourcery.com>
11135 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11136 if larger part has absolute value 1.0.
11137 * math/s_clog10.c (__clog10): Likewise.
11138 * math/s_clog10f.c (__clog10f): Likewise.
11139 * math/s_clog10l.c (__clog10l): Likewise.
11140 * math/s_clogf.c (__clogf): Likewise.
11141 * math/s_clogl.c (__clogl): Likewise.
11142 * math/libm-test.inc (clog_test): Add more tests.
11143 (clog10_test): Likewise.
11144 * sysdeps/i386/fpu/libm-test-ulps: Update.
11145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11147 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11148 (pltexit): Likewise.
11149 (La_regs): Likewise.
11150 (La_retval): Likewise.
11151 (int_retval): Likewise.
11152 Update #error for removed macros to refer only to definitions in
11154 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11156 (pltexit): Likewise.
11157 (La_regs): Likewise.
11158 (La_retval): Likewise.
11159 (int_retval): Likewise.
11160 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11162 (pltexit): Likewise.
11163 (La_regs): Likewise.
11164 (La_retval): Likewise.
11165 (int_retval): Likewise.
11166 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11168 (pltexit): Likewise.
11169 (La_regs): Likewise.
11170 (La_retval): Likewise.
11171 (int_retval): Likewise.
11172 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11174 (pltexit): Likewise.
11175 (La_regs): Likewise.
11176 (La_retval): Likewise.
11177 (int_retval): Likewise.
11178 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11180 (pltexit): Likewise.
11181 (La_regs): Likewise.
11182 (La_retval): Likewise.
11183 (int_retval): Likewise.
11184 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11186 (pltexit): Likewise.
11187 (La_regs): Likewise.
11188 (La_retval): Likewise.
11189 (int_retval): Likewise.
11190 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11191 macro definitions in tst-audit.h.
11192 * sysdeps/i386/tst-audit.h: New file.
11193 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11194 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11195 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11196 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11197 * sysdeps/sh/tst-audit.h: Likewise.
11198 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11199 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11200 * sysdeps/x86_64/tst-audit.h: Likewise.
11202 2012-07-26 Andreas Jaeger <aj@suse.de>
11204 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11207 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11208 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11209 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11211 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11212 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11213 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11215 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11218 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11220 (si_call_addr, si_syscall, si_arch): Define new macro.
11221 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11223 (si_call_addr, si_syscall, si_arch): Define new marcro.
11224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11226 (si_call_addr, si_syscall, si_arch): Define new macro.
11227 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11229 (si_call_addr, si_syscall, si_arch): Define new macro.
11231 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11235 Change to 2.4.21 where previously 2.4.1.
11236 * sysdeps/unix/sysv/linux/configure: Regenerated.
11237 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11238 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11239 Linux kernel version.
11240 (__ASSUME_STD_AUXV): Remove.
11241 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11243 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11244 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11245 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11246 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11247 (__ASSUME_NETLINK_SUPPORT): Likewise.
11248 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11249 (__no_netlink_support): Remove conditional definition.
11250 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11252 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11253 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11254 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11255 (if_nameindex_ioctl): Remove.
11256 (if_nameindex_netlink): Do not handle __no_netlink_support.
11257 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11259 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11260 Remove conditional code.
11261 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11263 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11265 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11266 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11267 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11269 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11270 [!__ASSUME_STD_AUXV]: Remove conditional code.
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11272 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11273 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11275 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11276 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11278 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11280 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11281 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11283 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11285 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11288 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11291 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11292 code unconditional.
11293 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11295 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11297 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11300 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11302 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11305 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11306 code unconditional.
11307 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11309 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11311 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11314 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11315 code unconditional.
11316 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11318 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11320 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11323 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11325 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11326 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11327 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11328 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11329 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11330 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11331 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11332 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11333 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11334 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11335 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11336 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11337 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11338 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11339 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11340 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11341 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11342 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11343 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11345 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11346 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11347 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11349 2012-07-25 Florian Weimer <fweimer@redhat.com>
11351 * Versions.def: Add GLIBC_2.17.
11352 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11353 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11354 Introduce __libc_secure_getenv.
11355 * stdlib/Versions (2.17): Add secure_getenv
11356 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11357 * stdlib/secure-getenv.c: Rename __secure_getenv to
11358 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11359 symbol __secure_getenv for GLIBC_2.0.
11360 * stdlib/tst-secure-getenv.c: New.
11361 * stdlib/Makefile (tests): Add testcase.
11362 * manual/startup.texi (Environment Access): Document
11364 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11365 __libc_secure_getenv.
11366 * inet/ruserpass.c (ruserpass): Likewise.
11367 * malloc/mtrace.c (mtrace): Likewise.
11368 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11369 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11370 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11371 * sysdeps/posix/tempname.c: Likewise. Evaluate
11372 HAVE_SECURE_GETENV.
11373 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11374 __secure_getenv to __libc_secure_getenv.
11375 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11388 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11390 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11391 (struct La_i86_retval): Likewise.
11392 (struct La_x86_64_regs): Likewise.
11393 (struct La_x86_64_retval): Likewise.
11394 (struct La_x32_regs): Likewise.
11395 (struct La_x32_retval): Likewise.
11396 (struct La_ppc32_regs): Likewise.
11397 (struct La_ppc32_retval): Likewise.
11398 (struct La_ppc64_regs): Likewise.
11399 (struct La_ppc64_retval): Likewise.
11400 (struct La_sh_regs): Likewise.
11401 (struct La_sh_retval): Likewise.
11402 (struct La_s390_32_regs): Likewise.
11403 (struct La_s390_32_retval): Likewise.
11404 (struct La_s390_64_regs): Likewise.
11405 (struct La_s390_64_retval): Likewise.
11406 (struct La_sparc32_regs): Likewise.
11407 (struct La_sparc32_retval): Likewise.
11408 (struct La_sparc64_regs): Likewise.
11409 (struct La_sparc64_retval): Likewise.
11410 (struct audit_ifaces): Remove architecture-specific pltenter and
11412 * sysdeps/i386/ldsodefs.h: New file.
11413 * sysdeps/powerpc/ldsodefs.h: Likewise.
11414 * sysdeps/s390/ldsodefs.h: Likewise.
11415 * sysdeps/sh/ldsodefs.h: Likewise.
11416 * sysdeps/sparc/ldsodefs.h: Likewise.
11417 * sysdeps/x86_64/ldsodefs.h: Likewise.
11419 2012-07-25 Marek Polacek <polacek@redhat.com>
11422 * math/libm-test.inc (yn_test): Add another test.
11423 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11424 to ERANGE when the result is +-Inf.
11425 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11426 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11427 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11428 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11430 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11432 * conform/data/time.h-data (NULL): Use macro-constant. Require
11434 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11436 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11438 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11440 * configure.in <sysdeps resolving>: Correct printing
11442 * configure: Regenerate.
11444 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11446 * math/w_ilogb.c: Include <limits.h>.
11447 * math/w_ilogbl.c: Likewise.
11449 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11451 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11452 va_copy. Document allowing for unavailable va_copy only as
11453 pre-C99 compatibility.
11454 * manual/string.texi (Copying and Concatenation): Use va_copy
11455 instead of __va_copy in concat example.
11457 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11459 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11460 (__sendto): Use create_address_port. Initialize APORT and deallocate
11463 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11464 with O_NOLINK passed to __file_name_lookup.
11466 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11467 with O_NOLINK passed to __file_name_lookup.
11469 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11470 negative N or less than NGIDS.
11472 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11473 type to string_t. Set ERANGE as errno and return it if NAME is not big
11474 enough. Use memcpy instead of strncpy.
11476 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11478 * elf/Makefile (check-data): Remove.
11479 (localplt.data): New vpath directive.
11480 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11481 instead of $(check-data).
11482 * scripts/data/localplt-generic.data: Move to ...
11483 * sysdeps/generic/localplt.data: ... here.
11484 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11485 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11486 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11489 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11492 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11495 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11498 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11501 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11505 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11507 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11508 PPC32 and PPC64 files.
11509 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11510 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11512 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11514 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11515 __makecontext_ret to ...
11516 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11517 ... here and call exit if uc_link is NULL. New file.
11518 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11519 __makecontext_ret.S.
11520 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11521 __makecontext_ret to ...
11522 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11523 ... here and call exit if uc_link is NULL. New file.
11524 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11525 __makecontext_ret.S.
11527 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11529 * elf/elf.h (R_390_IRELATIVE): New definition.
11530 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11531 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11532 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11533 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11534 (elf_machine_lazy_rel): Likewise.
11535 * sysdeps/s390/dl-irel.h: New file.
11536 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11537 * sysdeps/s390/s390-64/memset.S: New asm code.
11538 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11539 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11540 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11541 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11542 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11543 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11544 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11545 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11546 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11547 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11548 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11549 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11550 * sysdeps/s390/s390-32/memset.S: New asm code.
11551 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11553 2012-07-17 Marek Polacek <polacek@redhat.com>
11556 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11557 * sysdeps/s390/s390-64/configure.in: Likewise.
11558 * sysdeps/sparc/configure.in: Likewise.
11559 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11560 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11561 * sysdeps/i386/configure.in: Likewise.
11562 * sysdeps/x86_64/configure.in: Likewise.
11563 * sysdeps/sh/configure.in: Likewise.
11564 * sysdeps/s390/s390-32/configure: Regenerated.
11565 * sysdeps/s390/s390-64/configure: Likewise.
11566 * sysdeps/x86_64/configure: Likewise.
11567 * sysdeps/sh/configure: Likewise.
11568 * sysdeps/powerpc/powerpc64/configure: Likewise.
11569 * sysdeps/powerpc/powerpc32/configure: Likewise.
11570 * sysdeps/sparc/configure: Likwise.
11571 * sysdeps/i386/configure: Likewise.
11573 * elf/dl-open.c: Comment fixes.
11575 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11577 * Makefile [CXX] (check-data): Remove.
11578 [CXX] (c++-types.data): New vpath directive.
11579 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11580 vpath. Do not allow for C++ type data being missing.
11581 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11582 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11583 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11584 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11585 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11586 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11587 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11590 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11593 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11596 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11599 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11602 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11605 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11608 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11611 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11612 definitions to architecture-specific files.
11613 (TLS_IE): Likewise.
11614 (TLS_LD): Likewise.
11615 (TLS_GD): Likewise.
11616 * sysdeps/i386/tls-macros.h: New file.
11617 * sysdeps/powerpc/tls-macros.h: Likewise.
11618 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11619 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11620 * sysdeps/sh/tls-macros.h: Likewise.
11621 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11622 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11623 * sysdeps/x86_64/tls-macros.h: Likewise.
11625 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11627 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11628 zero value for regular exit case.
11630 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11631 (__start_context): Preserve zero value for regular exit case.
11633 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11634 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11636 * manual/setjmp.texi (setcontext): Clarify normal process
11637 termination when uc_link is the null pointer.
11638 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11641 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11643 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11644 preprocessor. Test for each exception mask separately.
11646 2012-07-16 Andreas Jaeger <aj@suse.de>
11648 * po/ru.po: Update from translation team.
11650 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11652 * conform/data/string.h-data (NULL): Use macro-constant. Require
11654 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11655 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11656 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11657 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11658 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11660 2012-07-13 Andreas Jaeger <aj@suse.de>
11662 * po/fr.po: Update from translation team.
11664 2012-07-12 Marek Polacek <polacek@redhat.com>
11667 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11668 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11671 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11674 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11675 Change to 2.4.1 where previously 2.4.0.
11676 * sysdeps/unix/sysv/linux/configure: Regenerated.
11677 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11678 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11680 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11681 (__ASSUME_AT_CLKTCK): Remove.
11682 (__ASSUME_AT_PAGESIZE): Likewise.
11683 (__ASSUME_AT_XID): Likewise.
11684 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11685 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11686 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11688 (HAVE_AUX_PAGESIZE): Likewise.
11689 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11690 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11691 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11693 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11697 the temporary buffer used to invoke __gethostbyname2_r,
11698 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11699 host_data / struct gaih_addrtuple.
11700 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11701 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11702 header file nss/nsswitch.h.
11703 * nss/nsswitch.h (global scope): Add definition of implementation
11704 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11705 resolv/nss_dns/dns-host.c).
11707 2012-07-11 Andreas Jaeger <aj@suse.de>
11709 * po/fr.po: Update from translation team.
11711 * po/sv.po: Update from translation team
11712 * po/fr.po: Another update from translation team.
11714 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11716 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11717 for subnormals or multiply small sinh result by itself.
11718 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11721 2012-07-11 David S. Miller <davem@davemloft.net>
11723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11725 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11728 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11729 (INTERNAL_MARK): Shift it here.
11731 2012-07-10 Marek Polacek <polacek@redhat.com>
11734 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11735 libc_cv_asm_global_directive with .globl.
11736 * configure: Regenerated.
11737 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11739 * sysdeps/i386/configure: Regenerated.
11740 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11742 * sysdeps/x86_64/configure: Regenerated.
11743 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11744 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11745 * elf/tst-unique2mod2.c: Likewise.
11746 * elf/tst-unique2mod1.c: Likewise.
11747 * elf/tst-unique1mod2.c: Likewise.
11748 * elf/tst-unique1mod1.c: Likewise.
11749 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11750 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11751 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11752 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11753 * sysdeps/mach/sysdep.h: Likewise.
11754 * sysdeps/i386/sysdep.h: Likewise.
11755 * sysdeps/i386/i386-mcount.S: Likewise.
11756 * sysdeps/x86_64/_mcount.S: Likewise.
11757 * sysdeps/x86_64/sysdep.h: Likewise.
11758 * sysdeps/sh/_mcount.S: Likewise.
11759 * sysdeps/sh/sysdep.h: Likewise.
11760 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11761 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11762 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11763 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11764 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11765 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11766 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11767 * locale/localeinfo.h: Likewise.
11768 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11769 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11771 2012-07-09 Roland McGrath <roland@hack.frob.com>
11774 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11776 * manual/message.texi (The Uniforum approach): Likewise.
11777 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11778 (glibc iconv Implementation): Likewise.
11780 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11783 * math/s_clog.c (__clog): Avoid scaling a value down where that
11784 could result in underflow.
11785 * math/s_clog10.c (__clog10): Likewise.
11786 * math/s_clog10f.c (__clog10f): Likewise.
11787 * math/s_clog10l.c (__clog10l): Likewise.
11788 * math/s_clogf.c (__clogf): Likewise.
11789 * math/s_clogl.c (__clogl): Likewise.
11790 * math/libm-test.inc (clog_test): Add more tests.
11791 (clog10_test): Likewise.
11792 * sysdeps/i386/fpu/libm-test-ulps: Update.
11793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11795 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11798 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11799 by 7 not 8 to examine high bit of fractional part.
11802 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11803 for call to __mcount_internal.
11804 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11805 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11806 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11808 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11811 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11812 approximation for values within 0x1p-13f of an odd multiple of
11814 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11815 exception. Add more tests.
11816 * sysdeps/i386/fpu/libm-test-ulps: Update.
11819 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11820 inputs and return -1 for them. Do not check for +Inf in case not
11821 reachable for +Inf.
11822 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11823 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11824 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11825 and return -1 for them. Do not check for +Inf in case not
11826 reachable for +Inf.
11827 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11829 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11830 and return -1 for them. Do not check for +Inf in case not
11831 reachable for +Inf.
11832 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11833 spurious underflow.
11834 * sysdeps/i386/fpu/libm-test-ulps: Update.
11835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11837 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11839 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11841 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11845 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11846 could result in spurious underflow. Scale down values above
11847 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11848 * math/s_csqrtf.c (__csqrtf): Likewise.
11849 * math/s_csqrtl.c (__csqrtl): Likewise.
11850 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11851 spurious underflow.
11852 * sysdeps/i386/fpu/libm-test-ulps: Update.
11853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11855 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11857 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11859 * catgets/xopen-msg.awk: New file.
11860 * catgets/xopen-msg.sed: Removed.
11862 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11864 * intl/po2test.awk: New file.
11865 * intl/po2test.sed: Removed.
11867 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11870 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11871 or multiply small sinh result by itself.
11872 * math/s_ctanf.c (__ctanf): Likewise.
11873 * math/s_ctanh.c (__ctanh): Likewise.
11874 * math/s_ctanhf.c (__ctanhf): Likewise.
11875 * math/s_ctanhl.c (__ctanhl): Likewise.
11876 * math/s_ctanl.c (__ctanl): Likewise.
11877 * math/libm-test.inc (ctan_test_tonearest): New function.
11878 (ctan_test_towardzero): Likewise.
11879 (ctan_test_downward): Likewise.
11880 (ctan_test_upward): Likewise.
11881 (ctanh_test_tonearest): Likewise.
11882 (ctanh_test_towardzero): Likewise.
11883 (ctanh_test_downward): Likewise.
11884 (ctanh_test_upward): Likewise.
11885 (main): Call these new functions.
11886 * sysdeps/i386/fpu/libm-test-ulps: Update.
11887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11889 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11891 * .gitignore: Delete /ports entry.
11893 2012-07-03 Andreas Jaeger <aj@suse.de>
11895 * po/bg.po: Update from translation team.
11896 * po/cs.po: Likewise.
11897 * po/de.po: Likewise.
11898 * po/hr.po: Likewise.
11899 * po/nl.pl: Likewise.
11900 * po/pl.po: Likewise.
11901 * po/vi.po: Likewise.
11903 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11905 * Makeconfig [!+link] (+link-before-libc): New variable.
11906 [!+link] (+link-after-libc): Likewise.
11907 [!+link] (+link-tests): Likewise.
11908 [!+link] (+link): Define in terms of $(+link-before-libc) and
11909 $(+link-after-libc).
11910 [!+link-static] (+link-static-before-libc): New variable.
11911 [!+link-static] (+link-static-after-libc): Likewise.
11912 [!+link-static] (+link-static-tests): Likewise.
11913 [!+link-static] (+link-static): Define in terms of
11914 $(+link-static-before-libc) and $(+link-static-after-libc).
11915 [build-shared] (link-libc-before-gnulib): New variable.
11916 [build-shared] (link-libc-tests): Likewise.
11917 [build-shared] (link-libc): Define in terms of
11918 $(link-libc-before-gnulib).
11919 [!build-shared] (link-libc-tests): New variable.
11920 (link-libc-static-tests): New variable.
11921 [!gnulib] (gnulib-arch): New variable.
11922 [!gnulib] (gnulib-tests): Likewise.
11923 [!gnulib] (static-gnulib-arch): Likewise.
11924 [!gnulib] (static-gnulib-tests): Likewise.
11925 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11926 Define with "=" instead of ":=".
11927 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11928 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11929 * Rules (binaries-all-notests): New variable.
11930 (binaries-all-tests): Likewise.
11931 (binaries-static-notests): Likewise.
11932 (binaries-static-tests): Likewise.
11933 (binaries-all): Define using $(binaries-all-notests) and
11934 $(binaries-all-tests).
11935 (binaries-static): Define using $(binaries-static-notests) and
11936 $(binaries-static-tests).
11937 (binaries-shared-tests): New variable.
11938 (binaries-shared-notests): Likewise.
11939 (binaries-shared): Remove variable.
11940 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11941 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11942 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11943 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11944 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11945 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11946 * elf/Makefile (sln-modules): New variable.
11947 (extra-objs): Add $(sln-modules:=.o).
11948 (ldconfig-modules): Add static-stubs.
11949 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11950 * elf/static-stubs.c: New file.
11953 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11954 by 7 not 8 to examine high bit of fractional part. Use volatile
11955 variables when splitting into final array of floats if
11956 __FLT_EVAL_METHOD__ != 0.
11957 * math/libm-test.inc (cos_test): Add another test.
11958 (sin_test): Likewise.
11959 * sysdeps/i386/fpu/libm-test-ulps: Update.
11962 * math/libm-test.inc (cosh_test): Add more tests.
11964 * version.h (RELEASE): Set to "development".
11965 (VERSION): Set to "2.16.90".
11967 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11969 * NEWS: Update copyright. Remove last-updated date.
11970 Mention math library bug fixes and timezone data changes.
11971 * README: Mention GNU/Hurd, x32, and HPPA support status.
11973 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11975 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11977 2012-06-27 Andreas Jaeger <aj@suse.de>
11979 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11981 2012-06-25 Andreas Jaeger <aj@suse.de>
11983 * sysdeps/s390/fpu/libm-test-ulps: Update.
11985 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11986 Thomas Schwinge <thomas@codesourcery.com>
11988 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11989 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11993 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11995 * sysdeps/mach/start.c: Remove file.
11996 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11997 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11998 * sysdeps/sh/init-first.c: Likewise.
12000 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12001 registers for frame unwinding purposes, add CFI directives.
12002 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12003 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12004 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12007 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12008 __fortify_fail returning.
12009 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12012 sysdeps/sh/____longjmp_chk.S.
12013 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12014 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12015 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12016 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12018 * sysdeps/sh/abort-instr.h: New file.
12019 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12020 process in case exit returns.
12022 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12023 initialize the GOT register before use.
12025 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12026 calculation of ARGC > 4.
12028 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12029 meaningful names to some local labels.
12031 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12032 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12034 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12035 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12036 (__arch_compare_and_exchange_val_16_acq): Likewise.
12037 (__arch_compare_and_exchange_val_32_acq): Likewise.
12038 (atomic_exchange_and_add): Fix gUSA sequence.
12039 (atomic_add): Likewise.
12040 (atomic_add_negative): Likewise.
12041 (atomic_add_zero): Likewise.
12042 (atomic_bit_test_set): Likewise.
12044 2012-06-22 Andreas Schwab <schwab@redhat.com>
12047 * include/link.h (struct link_map): Add l_free_initfini.
12048 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12050 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12051 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12052 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12055 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12057 * configure.in: Use AC_LANG_SOURCE.
12058 * configure: Regenerate.
12060 2012-06-22 Roland McGrath <roland@hack.frob.com>
12062 * configure.in (libc_cv_localstatedir): New substituted variable.
12063 * configure: Regenerated.
12064 * config.make.in (localstatedir): New variable, substituted from
12065 libc_cv_localstatedir.
12066 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12067 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12068 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12069 * sysdeps/gnu/configure: Regenerated.
12071 2012-06-21 Jeff Law <law@redhat.com>
12074 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12075 free. Simplify list management for _LIBC case.
12077 2012-06-21 Joseph Myers <joseph@codesourcery.com>
12080 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12081 Clear sign bit of 64-bit integer value before comparing against
12084 * sysdeps/mach/configure: Regenerated.
12086 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12089 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12091 2012-06-21 Jeff Law <law@redhat.com>
12094 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12095 uint16_t for elements in the "seen" array to avoid char overflows.
12096 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12097 * elf/dl-open.c (dl_open_worker): Likewise.
12099 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12101 * scripts/list-sources.sh: Scan PORTS for translations.
12102 * po/libc.pot: Regenerated.
12104 2012-06-21 Andreas Jaeger <aj@suse.de>
12107 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12109 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12110 * bits/byteswap-16.h (__bswap_16): Likewise.
12111 * bits/byteswap.h (__bswap_constant_16): Likewise.
12113 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12116 * sysdeps/i386/fpu_control.h: Removed.
12117 * sysdeps/x86_64/fpu_control.h: Moved to ...
12118 * sysdeps/x86/fpu_control.h: Here.
12120 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12121 (_FPU_SETCW): Likewise.
12123 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12126 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12127 * sysdeps/x86/fpu/bits/mathinline.h: This.
12128 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12132 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12133 functions if __x86_64__ is defined.
12135 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12137 * string/endian.h: Add !__ASSEMBLER__ condition for including
12138 conversion interfaces.
12140 2012-06-15 Joseph Myers <joseph@codesourcery.com>
12143 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12144 of ABS(x) in calculating zero to negative powers other than odd
12146 * math/libm-test.inc (pow_test): Add more tests.
12148 2012-06-15 Andreas Jaeger <aj@suse.de>
12150 * manual/contrib.texi (Contributors): Update entry of Liubov
12151 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12154 2012-06-15 Cyril Hrubis <metan@ucw.cz>
12156 * string/string.h: Add __wur to GNU version of strerror_r.
12158 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12161 * string/Makefile (tests): Add tst-strtok_r.
12162 * string/tst-strtok_r.c: New file.
12163 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12164 RAX_LP/RDX_LP on SAVE_PTR.
12166 2012-06-14 Roland McGrath <roland@hack.frob.com>
12168 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12170 2012-06-14 Joseph Myers <joseph@codesourcery.com>
12172 * libm_test.inc (csqrt_test): Allow more spurious underflow
12174 (j0_test): Likewise.
12175 (j1_test): Likewise.
12176 (y0_test): Likewise.
12177 (y1_test): Likewise.
12179 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12181 * po/Makefile (libc.pot): Use UTF-8 charset.
12183 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12186 Suppress sign-conversion warning from FD_SET.
12187 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12188 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12189 not unsigned long int.
12190 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12192 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12196 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12197 __extern_always_inline instead of __extern_inline.
12198 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12199 (__signbit): Likewise.
12200 (__signbitl): Support C++ namespace.
12201 (lrintf): New inline function.
12203 (llrintf): Likewise.
12204 (llrint): Likewise.
12214 (floorf): Likewise.
12215 (nearbyint): Likewise.
12216 (nearbyintf): Likewise.
12218 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12220 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12221 non-default versions.
12223 2012-06-11 Roland McGrath <roland@hack.frob.com>
12226 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12228 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12230 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12231 (FE_UPWARD, FE_DOWNWARD): Don't define.
12232 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12233 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12235 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12237 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12238 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12240 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12242 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12243 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12244 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12245 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12247 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12250 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12251 * sysdeps/i386/fpu/Implies: New file.
12252 * sysdeps/x86_64/fpu/Implies: Likewise.
12253 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12254 * sysdeps/x86/fpu/bits/fenv.h: This.
12256 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12259 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12262 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12263 character 0xffff that matches the last element of the
12266 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12271 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12273 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12274 values higher than 25.6283.
12276 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12278 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12279 subnormal exponent extraction and add some __builtin_expect.
12280 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12281 Fix for subnormal mantissa calculation.
12283 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12285 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12286 cpu2 is -1 and errno is not ENOSYS.
12288 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12291 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12292 * sysdeps/x86/bits/string.h: This.
12293 * sysdeps/x86_64/bits/string.h: Removed.
12295 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12296 if not compiling for x86-64, but compiling for >= i486.
12298 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12299 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12301 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12302 New macro from Linux kernel 3.4.0.
12303 (FP_XSTATE_MAGIC2): Likewise.
12304 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12305 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12306 (struct _fpx_sw_bytes): New struct.
12307 (struct _xsave_hdr): Likewise.
12308 (struct _ymmh_state): Likewise.
12309 (struct _xstate): Likewise.
12311 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12312 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12313 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12314 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12315 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12316 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12318 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12319 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12320 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12321 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12322 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12323 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12325 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12328 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12329 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12330 (sysdep_headers): Include sys/platform/ppc.h.
12331 * sysdeps/powerpc/test-gettimebase.c: Test for
12332 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12333 * manual/Makefile (appendices): Include platform.texi.
12334 * manual/contrib.texi (Contributors): Update @node pointers.
12335 * manual/maint.texi (Maintenance): Likewise.
12336 (Platform): New node.
12337 * manual/platform.texi: New file. Document the new features.
12339 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12340 Jakub Jelinek <jakub@redhat.com>
12343 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12344 where __builtin_expect is unavailable.
12346 2012-06-03 David S. Miller <davem@davemloft.net>
12348 * stdlib/longlong.h: Updated from GCC.
12350 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12353 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12354 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12357 (GLIBC_2.16): Likewise.
12359 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12361 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12363 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12366 (default-abi): New variable.
12367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12368 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12370 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12372 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12374 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12377 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12378 definition. Document in comment.
12380 2012-06-01 David S. Miller <davem@davemloft.net>
12382 * stdlib/longlong.h: Updated from GCC.
12384 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12387 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12388 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12389 sys/debugreg.h sys/io.h here.
12390 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12391 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12393 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12394 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12395 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12396 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12397 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12398 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12400 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12401 Define only if __x86_64__ is defined.
12403 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12406 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12407 Use int64_t for variable i.
12408 * math/libm-test.inc (fmod_test): Add more tests.
12410 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12411 z computation is not scheduled after fetestexcept.
12412 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12413 Use math_force_eval instead of asm to ensure calculation scheduled
12414 before exception test.
12415 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12416 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12418 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12421 computation is not scheduled after fetestexcept.
12423 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12426 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12427 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12429 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12431 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12432 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12434 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12437 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12439 (__WCHAR_MIN): Support __WORDSIZE == 64.
12440 (__WCHAR_MAX): Likewise.
12442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12443 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12446 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12447 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12450 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12451 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12453 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12454 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12456 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12457 Defined to 1 if __x86_64__ isn't defined.
12458 (_STAT_VER_LINUX_OLD): New.
12459 (st_atime): Remove duplicate.
12460 (st_mtime): Likewise.
12461 (st_ctime): Likewise.
12463 2012-05-31 David S. Miller <davem@davemloft.net>
12465 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12468 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12470 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12474 * elf/dl-reloc.c: Include <_itoa.h>.
12475 (_dl_reloc_bad_type): Remove use of INTUSE.
12476 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12477 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12478 * stdio-common/psiginfo.c (psiginfo): Likewise.
12479 * stdio-common/psignal.c (psignal): Likewise.
12480 * string/strsignal.c (strsignal): Likewise.
12481 * include/signal.h (_sys_siglist): Declare hidden proto.
12482 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12483 INTVARDEF with libc_hidden_data_def.
12484 * stdio-common/itoa-udigits.c: Likewise.
12485 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12486 (_itoa_lower_digits_internal): Remove declaration.
12487 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12488 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12489 (_sys_sigabbrev_internal): Remove aliases.
12490 (_sys_siglist): Define hidden alias.
12492 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12497 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12500 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12501 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12503 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12504 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12505 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12506 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12507 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12508 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12510 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12511 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12512 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12514 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12522 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12523 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12524 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12526 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12527 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12529 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12530 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12531 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12533 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12534 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12536 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12537 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12539 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12541 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12543 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12544 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12546 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12548 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12549 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12550 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12552 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12554 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12556 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12558 * math/math.h (M_El): Use two more decimal places.
12559 (M_LOG2El): Likewise.
12560 (M_LOG10El): Likewise.
12561 (M_LN2l): Likewise.
12562 (M_LN10l): Likewise.
12564 (M_PI_2l): Likewise.
12565 (M_PI_4l): Likewise.
12566 (M_1_PIl): Likewise.
12567 (M_2_PIl): Likewise.
12568 (M_2_SQRTPIl): Likewise.
12569 (M_SQRT2l): Likewise.
12570 (M_SQRT1_2l): Likewise.
12572 2012-05-31 David S. Miller <davem@davemloft.net>
12574 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12575 values between float registers.
12576 * sysdeps/sparc/sparc64/memset.S: Likewise.
12577 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12579 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12581 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12582 -D_FORTIFY_SOURCE=1.
12583 (CPPFLAGS-tst-longjmp_chk.c): Define.
12584 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12585 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12586 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12587 CFLAGS-tst-wchar-h.c.
12589 2012-05-31 Marek Polacek <polacek@redhat.com>
12592 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12593 __endmntent_internal): Remove declaration.
12594 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12595 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12596 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12598 2012-05-30 David S. Miller <davem@davemloft.net>
12600 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12601 (___Q_simulate_exceptions): Use real FP ops rather than writing
12603 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12606 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12609 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12610 * sysdeps/x86/bits/xtitypes.h: This.
12612 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12613 * sysdeps/x86/bits/wordsize.h: This.
12615 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12616 * sysdeps/x86/bits/huge_vall.h: This.
12618 * sysdeps/i386/bits/select.h: Removed.
12619 * sysdeps/x86_64/bits/select.h: Renamed to ...
12620 * sysdeps/x86/bits/select.h: This.
12622 * sysdeps/i386/bits/setjmp.h: Removed.
12623 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12624 * sysdeps/x86/bits/setjmp.h: This.
12626 * sysdeps/i386/bits/mathdef.h: Removed.
12627 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12628 * sysdeps/x86/bits/mathdef.h: This.
12630 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12633 * include/sys/socket.h (__connect_internal)
12634 (__libc_sa_len_internal): Remove declaration.
12635 (__connect, __libc_sa_len): Declare hidden_proto.
12636 (SA_LEN): Remove use of INTUSE.
12637 * socket/connect.c: Add libc_hidden_def.
12638 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12639 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12640 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12642 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12643 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12644 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12645 of adding _internal alias.
12647 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12650 * sysdeps/i386/bits/link.h: Removed.
12651 * sysdeps/i386/bits/linkmap.h: Likewise.
12652 * sysdeps/x86_64/bits/link.h: Renamed to ...
12653 * sysdeps/x86/bits/link.h: This.
12654 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12655 * sysdeps/x86/bits/linkmap.h: This.
12657 * sysdeps/i386/bits/endian.h: Removed.
12658 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12659 * sysdeps/x86/bits/endian.h: This.
12661 * sysdeps/i386/bits/byteswap.h: Removed.
12662 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12663 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12664 * sysdeps/x86/bits/byteswap.h: This.
12665 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12666 * sysdeps/x86/bits/byteswap-16.h: This.
12667 * sysdeps/i386/Implies: Add x86.
12668 * sysdeps/x86_64/Implies: Likewise.
12670 2012-05-30 David S. Miller <davem@davemloft.net>
12672 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12673 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12674 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12675 (FP_TRAPPING_EXCEPTIONS): Define.
12676 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12677 (FP_TRAPPING_EXCEPTIONS): Define.
12678 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12679 subnormals only when inexact has been signalled or underflow
12680 exceptions are enabled.
12681 (_FP_PACK_CANONICAL): Likewise.
12683 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12686 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12687 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12689 2012-05-30 Richard Henderson <rth@twiddle.net>
12691 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12692 with #ifndef NOT_IN_libc.
12694 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12695 marked to avoid plt entry.
12697 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12700 * Makeconfig (default-abi): New macro.
12701 (abi-includes): Likewise.
12702 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12703 $(abi-$(default-abi)-lib-soname) for soname if defined.
12704 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12706 * Makefile (installed-stubs): Likewise.
12707 * include/stubs-biarch.h: Removed.
12708 * scripts/lib-names.awk: Only handle one library at a time.
12709 * scripts/soversions.awk: Remove WORDSIZE support.
12710 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12712 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12714 (syscall-list-default-condition): Likewise.
12715 (syscall-list-default-condition): Likewise.
12716 (syscall-list-includes): Likewise.
12717 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12718 syscall-list-* with abi-*. Handle undefined abi-variants.
12719 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12720 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12721 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12722 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12723 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12724 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12726 (syscall-list-32-options): Likewise.
12727 (syscall-list-32-condition): Likewise.
12728 (syscall-list-64-options): Likewise.
12729 (syscall-list-64-condition): Likewise.
12730 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12732 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12735 (abi-64-ld-soname): New macro.
12736 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12737 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12740 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12741 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12743 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12745 * sysdeps/unix/sysv/linux/kernel-features.h
12746 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12747 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12748 include <kernel-features.h>.
12749 [!__NR_ftruncate64]: Remove conditional code.
12750 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12751 [__NR_ftruncate64]: Make code unconditional.
12752 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12753 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12754 include <kernel-features.h>.
12755 [!__NR_ftruncate64]: Remove conditional code.
12756 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12757 [__NR_ftruncate64]: Make code unconditional.
12758 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12760 include <kernel-features.h>.
12761 [!__NR_ftruncate64]: Remove conditional code.
12762 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12763 [__NR_ftruncate64]: Make code unconditional.
12764 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12766 include <kernel-features.h>.
12767 [!__NR_ftruncate64]: Remove conditional code.
12768 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12769 [__NR_ftruncate64]: Make code unconditional.
12770 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12772 * configure.in (libc_cv_fpie): Weaken to a compile test using
12773 LIBC_TRY_CC_OPTION.
12774 * configure: Regenerated.
12776 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12791 2012-05-27 David S. Miller <davem@davemloft.net>
12793 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12795 (__Q_simulate_exceptions): Return void. Change to simulate
12796 exceptions by writing into the %fsr.
12797 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12798 (__Qp_handle_exceptions): Likewise.
12800 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12801 __Qp_handle_exceptions.
12802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12803 __Qp_handle_exceptions.
12804 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12805 as unused and give dummy FP_RND_NEAREST initializer.
12806 (FP_INHIBIT_RESULTS): Define.
12807 (___Q_simulate_exceptions): Update declaration.
12808 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12810 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12811 as unused and give dummy FP_RND_NEAREST initializer.
12812 (__Qp_handle_exceptions): Update declaration.
12813 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12816 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12818 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12819 the temporary FPU control word.
12820 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12821 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12822 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12823 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12824 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12825 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12826 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12827 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12828 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12829 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12830 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12832 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12834 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12837 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12839 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12840 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12841 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12842 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12844 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12845 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12848 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12850 * po/h.po: Update from translation team.
12852 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12854 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12856 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12857 handling of denormals.
12858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12859 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12860 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12861 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12862 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12867 2012-05-26 Marek Polacek <polacek@redhat.com>
12870 * math/libm-test.inc (fma_test): Don't always expect underflow
12873 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12876 * elf/tst-execstack.c: Include stackinfo.h.
12877 (do_test): Adjust test case to ensure that pthread_getattr_np
12878 behaviour remains the same after marking stack executable.
12880 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12882 * sysdeps/unix/sysv/linux/kernel-features.h
12883 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12884 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12886 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12887 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12888 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12890 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12891 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12893 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12895 * configure.in: Define the default includes to being none.
12896 * configure: Regenerated.
12898 2012-05-25 Roland McGrath <roland@hack.frob.com>
12900 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12901 * sysdeps/x86_64/setjmp.S: Likewise.
12902 * sysdeps/i386/bsd-setjmp.S: Likewise.
12903 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12904 * sysdeps/i386/setjmp.S: Likewise.
12905 * sysdeps/i386/__longjmp.S: Likewise.
12906 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12907 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12909 * include/stap-probe.h: New file.
12910 * configure.in: Handle --enable-systemtap.
12911 * configure: Regenerated.
12912 * config.h.in (USE_STAP_PROBE): New #undef.
12913 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12914 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12915 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12917 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12920 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12921 to 2.4.0 where earlier.
12922 * sysdeps/unix/sysv/linux/configure: Regenerated.
12923 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12924 <kernel-features.h>.
12925 [__ASSUME_32BITUIDS]: Make code unconditional.
12926 [!__ASSUME_32BITUIDS]: Remove conditional code.
12927 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12928 <kernel-features.h>.
12929 [__ASSUME_32BITUIDS]: Make code unconditional.
12930 [!__ASSUME_32BITUIDS]: Remove conditional code.
12931 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12932 [__ASSUME_32BITUIDS]: Make code unconditional.
12933 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12934 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12935 <kernel-features.h>.
12936 [__ASSUME_32BITUIDS]: Make code unconditional.
12937 [!__ASSUME_32BITUIDS]: Remove conditional code.
12938 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12939 <kernel-features.h>.
12940 [__ASSUME_32BITUIDS]: Make code unconditional.
12941 [!__ASSUME_32BITUIDS]: Remove conditional code.
12942 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12943 <kernel-features.h>.
12944 [__ASSUME_32BITUIDS]: Make code unconditional.
12945 [!__ASSUME_32BITUIDS]: Remove conditional code.
12946 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12947 <kernel-features.h>.
12948 [__ASSUME_32BITUIDS]: Make code unconditional.
12949 [!__ASSUME_32BITUIDS]: Remove conditional code.
12950 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12951 <kernel-features.h>.
12952 [__ASSUME_32BITUIDS]: Make code unconditional.
12953 [!__ASSUME_32BITUIDS]: Remove conditional code.
12954 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12955 <kernel-features.h>.
12956 [__ASSUME_32BITUIDS]: Make code unconditional.
12957 [!__ASSUME_32BITUIDS]: Remove conditional code.
12958 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12959 <kernel-features.h>.
12960 [__ASSUME_32BITUIDS]: Make code unconditional.
12961 [!__ASSUME_32BITUIDS]: Remove conditional code.
12962 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12963 <kernel-features.h>.
12964 [__ASSUME_32BITUIDS]: Make code unconditional.
12965 [!__ASSUME_32BITUIDS]: Remove conditional code.
12966 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12967 <kernel-features.h>.
12968 [__ASSUME_32BITUIDS]: Make code unconditional.
12969 [!__ASSUME_32BITUIDS]: Remove conditional code.
12970 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12971 <kernel-features.h>.
12972 [__ASSUME_32BITUIDS]: Make code unconditional.
12973 [!__ASSUME_32BITUIDS]: Remove conditional code.
12974 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12975 <kernel-features.h>.
12976 [__NR_setresgid] (__setresgid): Do not declare.
12977 [__ASSUME_32BITUIDS]: Make code unconditional.
12978 [!__ASSUME_32BITUIDS]: Remove conditional code.
12979 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12980 <kernel-features.h>.
12981 [__NR_setresuid] (__setresuid): Do not declare.
12982 [__ASSUME_32BITUIDS]: Make code unconditional.
12983 [!__ASSUME_32BITUIDS]: Remove conditional code.
12984 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12985 <kernel-features.h>.
12986 [__ASSUME_32BITUIDS]: Make code unconditional.
12987 [!__ASSUME_32BITUIDS]: Remove conditional code.
12988 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12989 <kernel-features.h>.
12990 [__ASSUME_32BITUIDS]: Make code unconditional.
12991 [!__ASSUME_32BITUIDS]: Remove conditional code.
12992 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12993 <kernel-features.h>.
12994 [__ASSUME_32BITUIDS]: Make code unconditional.
12995 [!__ASSUME_32BITUIDS]: Remove conditional code.
12996 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12997 <kernel-features.h>.
12998 [__ASSUME_32BITUIDS]: Make code unconditional.
12999 [!__ASSUME_32BITUIDS]: Remove conditional code.
13000 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13001 <kernel-features.h>.
13002 [__ASSUME_32BITUIDS]: Make code unconditional.
13003 [!__ASSUME_32BITUIDS]: Remove conditional code.
13004 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13005 <kernel-features.h>.
13006 [__ASSUME_32BITUIDS]: Make code unconditional.
13007 [!__ASSUME_32BITUIDS]: Remove conditional code.
13008 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13009 <kernel-features.h>.
13010 [__ASSUME_32BITUIDS]: Make code unconditional.
13011 [!__ASSUME_32BITUIDS]: Remove conditional code.
13012 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13013 <kernel-features.h>.
13014 [__ASSUME_32BITUIDS]: Make code unconditional.
13015 [!__ASSUME_32BITUIDS]: Remove conditional code.
13016 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13017 <kernel-features.h>.
13018 [__ASSUME_32BITUIDS]: Make code unconditional.
13019 [!__ASSUME_32BITUIDS]: Remove conditional code.
13020 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13021 <kernel-features.h>.
13022 [__ASSUME_32BITUIDS]: Make code unconditional.
13023 [!__ASSUME_32BITUIDS]: Remove conditional code.
13024 * sysdeps/unix/sysv/linux/kernel-features.h
13025 (__ASSUME_SETRESUID_SYSCALL): Remove.
13026 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13027 (__ASSUME_32BITUIDS): Likewise.
13028 (__ASSUME_LDT_WORKS): Likewise.
13029 (__ASSUME_O_DIRECTORY): Likewise.
13030 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13031 architecture but not kernel version.
13032 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13033 (__ASSUME_MMAP2_SYSCALL): Likewise.
13034 (__ASSUME_STAT64_SYSCALL): Likewise.
13035 (__ASSUME_IPC64): Likewise.
13036 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13037 <kernel-features.h>.
13038 [__ASSUME_32BITUIDS]: Make code unconditional.
13039 [!__ASSUME_32BITUIDS]: Remove conditional code.
13040 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13041 <kernel-features.h>.
13042 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13043 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13044 132096]: Remove conditional code.
13045 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13046 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13047 <kernel-features.h>.
13048 [__ASSUME_32BITUIDS]: Make code unconditional.
13049 [!__ASSUME_32BITUIDS]: Remove conditional code.
13050 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13051 <kernel-features.h>.
13052 [__ASSUME_32BITUIDS]: Make code unconditional.
13053 [!__ASSUME_32BITUIDS]: Remove conditional code.
13054 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13055 <kernel-features.h>.
13056 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13058 (__setresgid): Do not declare.
13059 [__ASSUME_32BITUIDS]: Make code unconditional.
13060 [!__ASSUME_32BITUIDS]: Remove conditional code.
13061 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13062 <kernel-features.h>.
13063 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13065 (__setresuid): Do not declare.
13066 [__ASSUME_32BITUIDS]: Make code unconditional.
13067 [!__ASSUME_32BITUIDS]: Remove conditional code.
13068 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13069 <kernel-features.h>.
13070 [__ASSUME_32BITUIDS]: Make code unconditional.
13071 [!__ASSUME_32BITUIDS]: Remove conditional code.
13072 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13073 <kernel-features.h>.
13074 [__ASSUME_32BITUIDS]: Make code unconditional.
13075 [!__ASSUME_32BITUIDS]: Remove conditional code.
13077 2012-05-25 Richard Henderson <rth@twiddle.net>
13079 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13080 dl_hwcap to ifunc resolver.
13081 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13083 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13084 dl_hwcap to ifunc resolver.
13085 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13087 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13090 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13091 for |x| <= 2**-26, not 2**-57.
13092 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13095 2012-05-24 Jeff Law <law@redhat.com>
13097 * stdio-common/Makefile (tests): Add bug25.
13098 * stdio-common/bug25.c: New test.
13100 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13103 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13104 multiple of MALLOC_ALIGNMENT in size.
13105 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13107 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13109 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13111 (FILENAME_MAX): Use macro-int-constant.
13112 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13113 (_IOFBF): Use macro-int-constant.
13114 (_IOLBF): Likewise.
13115 (_IONBF): Likewise.
13116 (SEEK_CUR): Likewise.
13117 (SEEK_END): Likewise.
13118 (SEEK_SET): Likewise.
13119 (TMP_MAX): Likewise.
13120 (EOF): Use macro-int-constant. Require < 0.
13121 (NULL): Use macro-constant. Require == 0.
13122 (stdin): Require type to be FILE *.
13123 (stdout): Likewise.
13124 (stderr): Likewise.
13125 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13126 macro-int-constant.
13127 (EXIT_SUCCESS): Likewise.
13128 (NULL): Use macro-constant. Require == 0.
13129 (RAND_MAX): Use macro-int-constant.
13130 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13131 [C99-based standards] (strtof): Require function.
13132 [C99-based standards] (strtold): Likewise.
13133 [C99-based standards] (strtoll): Likewise.
13134 [C99-based standards] (strtoull): Likewise.
13135 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13136 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13137 [ISO || ISO99 || ISO11] (math.h): Likewise.
13138 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13139 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13140 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13142 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13145 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13146 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13147 * intl/dgettext.c (DCGETTEXT): Likewise.
13148 * intl/gettext.c (DCGETTEXT): Likewise.
13149 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13150 * posix/regex_internal.h (gettext): Likewise.
13151 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13152 Remove declaration.
13153 * include/argz.h (__argz_count_internal)
13154 (__argz_stringify_internal): Remove declaration.
13155 (__argz_count, __argz_stringify): Declare hidden proto.
13156 * intl/dcgettext.c: Remove use of INTDEF.
13157 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13158 * string/argz-stringify.c: Likewise.
13159 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13160 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13161 Declare hidden proto.
13162 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13163 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13164 Declare hidden proto.
13165 * include/stdio.h (__asprintf_internal): Don't declare.
13166 (__asprintf): Don't define as macro. Declare hidden proto.
13167 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13168 (__fsetlocking): Declare hidden proto.
13169 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13170 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13172 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13173 (_IO_setlinebuf): Remove use of INTUSE.
13174 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13175 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13176 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13177 Remove declaration.
13178 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13179 (_IO_do_flush): Remove use of INTUSE.
13180 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13181 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13182 (_IO_adjust_column, _IO_least_wmarker)
13183 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13184 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13185 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13186 (_IO_default_doallocate, _IO_wdefault_doallocate)
13187 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13188 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13189 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13190 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13191 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13192 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13193 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13194 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13195 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13196 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13197 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13198 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13199 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13201 (_IO_flush_all_internal, _IO_adjust_column_internal)
13202 (_IO_default_uflow_internal, _IO_default_finish_internal)
13203 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13204 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13205 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13206 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13207 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13208 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13209 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13210 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13211 (_IO_file_close_internal, _IO_file_close_it_internal)
13212 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13213 (_IO_file_init_internal, _IO_file_attach_internal)
13214 (_IO_file_fopen_internal, _IO_file_read_internal)
13215 (_IO_file_sync_internal, _IO_file_seek_internal)
13216 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13217 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13218 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13219 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13220 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13221 (_IO_list_all_internal, _IO_link_in_internal)
13222 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13223 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13224 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13225 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13226 (_IO_do_write_internal, _IO_padn_internal)
13227 (_IO_getline_info_internal, _IO_getline_internal)
13228 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13229 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13230 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13231 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13232 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13233 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13234 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13235 with libc_hidden_ver, remove use of INTUSE.
13236 * libio/genops.c: Likewise.
13237 * libio/freopen.c: Likewise.
13238 * libio/freopen64.c: Likewise.
13239 * libio/iofclose.c: Likewise.
13240 * libio/iofdopen.c: Likewise.
13241 * libio/iofflush.c: Likewise.
13242 * libio/iofflush_u.c: Likewise.
13243 * libio/iofgets.c: Likewise.
13244 * libio/iofgets_u.c: Likewise.
13245 * libio/iofopen.c: Likewise.
13246 * libio/iofopncook.c: Likewise.
13247 * libio/iofread.c: Likewise.
13248 * libio/iofread_u.c: Likewise.
13249 * libio/ioftell.c: Likewise.
13250 * libio/iofwrite.c: Likewise.
13251 * libio/iogetline.c: Likewise.
13252 * libio/iogets.c: Likewise.
13253 * libio/iogetwline.c: Likewise.
13254 * libio/iopadn.c: Likewise.
13255 * libio/iopopen.c: Likewise.
13256 * libio/ioseekoff.c: Likewise.
13257 * libio/ioseekpos.c: Likewise.
13258 * libio/iosetbuffer.c: Likewise.
13259 * libio/iosetvbuf.c: Likewise.
13260 * libio/ioungetc.c: Likewise.
13261 * libio/ioungetwc.c: Likewise.
13262 * libio/iovdprintf.c: Likewise.
13263 * libio/iovsprintf.c: Likewise.
13264 * libio/iovsscanf.c: Likewise.
13265 * libio/memstream.c: Likewise.
13266 * libio/obprintf.c: Likewise.
13267 * libio/oldfileops.c: Likewise.
13268 * libio/oldiofclose.c: Likewise.
13269 * libio/oldiofdopen.c: Likewise.
13270 * libio/oldiofopen.c: Likewise.
13271 * libio/oldiopopen.c: Likewise.
13272 * libio/oldstdfiles.c: Likewise.
13273 * libio/putc.c: Likewise.
13274 * libio/setbuf.c: Likewise.
13275 * libio/setlinebuf.c: Likewise.
13276 * libio/stdfiles.c: Likewise.
13277 * libio/strops.c: Likewise.
13278 * libio/vasprintf.c: Likewise.
13279 * libio/vscanf.c: Likewise.
13280 * libio/vsnprintf.c: Likewise.
13281 * libio/vswprintf.c: Likewise.
13282 * libio/wfiledoalloc.c: Likewise.
13283 * libio/wfileops.c: Likewise.
13284 * libio/wgenops.c: Likewise.
13285 * libio/wmemstream.c: Likewise.
13286 * libio/wstrops.c: Likewise.
13287 * libio/__fpurge.c: Likewise.
13288 * libio/__fsetlocking.c: Likewise.
13289 * assert/assert.c: Likewise.
13290 * debug/fgets_chk.c: Likewise.
13291 * debug/fgets_u_chk.c: Likewise.
13292 * debug/fread_chk.c: Likewise.
13293 * debug/fread_u_chk.c: Likewise.
13294 * debug/gets_chk.c: Likewise.
13295 * debug/obprintf_chk.c: Likewise.
13296 * debug/vasprintf_chk.c: Likewise.
13297 * debug/vdprintf_chk.c: Likewise.
13298 * debug/vsnprintf_chk.c: Likewise.
13299 * debug/vsprintf_chk.c: Likewise.
13300 * malloc/mtrace.c: Likewise.
13301 * misc/error.c: Likewise.
13302 * misc/syslog.c: Likewise.
13303 * stdio-common/asprintf.c: Likewise.
13304 * stdio-common/fxprintf.c: Likewise.
13305 * stdio-common/getw.c: Likewise.
13306 * stdio-common/isoc99_fscanf.c: Likewise.
13307 * stdio-common/isoc99_scanf.c: Likewise.
13308 * stdio-common/isoc99_vfscanf.c: Likewise.
13309 * stdio-common/isoc99_vscanf.c: Likewise.
13310 * stdio-common/isoc99_vsscanf.c: Likewise.
13311 * stdio-common/printf-prs.c: Likewise.
13312 * stdio-common/printf_fp.c: Likewise.
13313 * stdio-common/printf_fphex.c: Likewise.
13314 * stdio-common/printf_size.c: Likewise.
13315 * stdio-common/putw.c: Likewise.
13316 * stdio-common/scanf.c: Likewise.
13317 * stdio-common/sprintf.c: Likewise.
13318 * stdio-common/tmpfile.c: Likewise.
13319 * stdio-common/vfprintf.c: Likewise.
13320 * stdio-common/vfscanf.c: Likewise.
13321 * stdlib/strfmon_l.c: Likewise.
13322 * sunrpc/openchild.c: Likewise.
13323 * sunrpc/xdr_stdio.c: Likewise.
13324 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13325 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13327 2012-05-24 Roland McGrath <roland@hack.frob.com>
13329 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13331 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13332 in the third column, to generate for the shared library an IFUNC
13333 that uses _dl_vdso_vsym.
13334 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13335 * Makeconfig (object-suffixes-noshared): New variable.
13337 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13338 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13339 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13340 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13343 * include/sys/time.h (__gettimeofday): Remove macro.
13344 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13345 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13347 (__gettimeofday): Add libc_hidden_def.
13348 (gettimeofday): Add libc_hidden_weak.
13349 * sysdeps/mach/gettimeofday.c: Likewise.
13350 * sysdeps/posix/gettimeofday.c: Likewise.
13351 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13352 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13353 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13354 (__gettimeofday_internal): Remove strong_alias.
13355 (__gettimeofday): Add libc_hidden_def.
13356 (gettimeofday): Add libc_hidden_weak.
13357 * sysdeps/unix/syscalls.list (gettimeofday):
13358 Remove __gettimeofday_internal alias.
13360 2012-05-24 Daniel Jacobowitz <drow@false.org>
13361 H.J. Lu <hongjiu.lu@intel.com>
13364 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13365 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13366 (largebin_index_32_big): New.
13367 (largebin_index): Use it for 16-byte alignment.
13368 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13369 correction with front_misalign.
13371 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13399 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13400 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13402 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13406 * math/libm-test.inc (exp_test): Add test from bug 14036.
13407 (pow_test): Add test from bug 10846.
13409 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13411 (special_function): Do not include flags in test name.
13412 (parse_args): Likewise.
13413 * sysdeps/i386/fpu/libm-test-ulps: Update.
13414 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13415 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13416 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13419 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13421 * math/libm-test.inc ("Philosophy"): Update comment about
13423 (UNDERFLOW_EXCEPTION): New macro.
13424 (UNDERFLOW_EXCEPTION_OK): Likewise.
13425 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13426 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13427 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13428 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13429 (INVALID_EXCEPTION_OK): Update value.
13430 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13431 (OVERFLOW_EXCEPTION_OK): Likewise.
13432 (IGNORE_ZERO_INF_SIGN): Likewise.
13433 (test_exceptions): Handle underflow exceptions.
13434 (acos_test): Update for underflow exception expectations.
13435 (cexp_test): Likewise.
13436 (clog_test): Likewise.
13437 (clog10_test): Likewise.
13438 (csqrt_test): Likewise.
13439 (ctan_test): Likewise.
13440 (ctanh_test): Likewise.
13441 (exp_test): Likewise.
13442 (exp10_test): Likewise.
13443 (exp2_test): Likewise.
13444 (expm1_test): Likewise.
13445 (fma_test): Likewise.
13446 (j0_test): Likewise.
13447 (jn_test): Likewise.
13448 (nexttoward_test): Likewise.
13449 (pow_test): Likewise.
13450 (scalbn_test): Likewise.
13451 (scalbln_test): Likewise.
13452 (tan_test): Likewise.
13453 (y1_test): Likewise.
13454 * sysdeps/i386/fpu/libm-test-ulps: Update.
13455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13457 2012-05-23 David S. Miller <davem@davemloft.net>
13459 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13460 (__libc_sigaction): Remove unused local variables.
13462 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13464 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13466 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13468 mktime: avoid signed integer overflow
13469 * time/mktime.c (__mktime_internal): Do not mishandle the case
13470 where diff == INT_MIN.
13472 mktime: simplify computation of average
13473 * time/mktime.c (ranged_convert): Use new time_t_avg function
13474 instead of rolling our own (probably-slower) code.
13476 mktime: do not assume signed right shift propagates sign bit
13477 * time/mktime.c (isdst_differ): New static function.
13478 (__mktime_internal): No need to normalize tm_isdst now.
13479 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13482 mktime: merge another wrapv change from gnulib
13483 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13484 from some compilers.
13486 mktime: remove incorrect attempt at unusual arithmetics
13487 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13488 The code didn't really work on such machines anyway.
13489 (TYPE_MINIMUM): Assume two's complement.
13490 (twos_complement_arithmetic): Verify that long_int and time_t
13491 are two's complement (or unsigned, in the latter case).
13493 mktime: check signed shifts on long_int and time_t, too
13494 * time/mktime.c (SHR): Check that shifts work as desired
13495 on the types long_int and time_t too, as SHR is used on
13498 mktime: do not assume 'long' is wide enough
13499 * time/mktime.c (verify): Move decl up.
13500 (long_int): New type.
13501 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13502 to remove assumption in the code that 'long' is wide enough to
13503 store year values. This assumption is not true on x32 and on
13504 some non-glibc platforms.
13506 mktime: merge wrapv change from gnulib
13507 * time/mktime.c (WRAPV): New macro.
13508 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13509 (guess_time_tm, __mktime_internal): Do not assume that signed
13510 integer overflow wraps around; modern compilers generate code
13511 where this assumption is no longer valid.
13513 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13515 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13516 Replace "jmp L(pseudo_end)" with "ret".
13517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13520 2012-05-23 Andreas Jaeger <aj@suse.de>
13522 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13523 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13525 2012-05-23 Andreas Jaeger <aj@suse.de>
13526 Maximilian Attems <max@stro.at>
13528 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13531 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13533 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13534 code so that pseudo_end is just ret and the stack pointer is
13535 correct also for static library in error case.
13537 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13539 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13540 move to syscalls.list.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13546 * manual/install.texi (Running make install): Do not mention Linux
13547 kernel version for which pt_chown is not needed.
13548 (Linux): Do not mention problems with nscd with 2.0 kernels.
13549 * INSTALL: Regenerated.
13551 2012-05-23 Andreas Jaeger <aj@suse.de>
13553 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13554 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13556 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13558 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13560 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13561 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13562 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13564 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13566 * sysdeps/unix/sysv/linux/bits/in.h
13567 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13569 2012-05-22 Roland McGrath <roland@hack.frob.com>
13571 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13572 (PREPARE_VERSION): Just use assert instead, it will be elided
13573 under [NDEBUG] anyway.
13575 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13577 * sysdeps/unix/sysv/linux/Makefile: Include
13578 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13579 (sysdep_routines): Remove sysctl.
13580 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13581 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13582 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13583 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13584 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13586 2012-05-22 Andreas Jaeger <aj@suse.de>
13588 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13589 that pseudo_end is just ret and the stack pointer is correct also
13590 for static library in error case.
13592 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13595 * nss/nsswitch.c (defconfig_entries): New variable.
13596 (__nss_database_lookup): Don't leak defconfig entries.
13597 (nss_parse_service_list): Don't leak on error paths.
13598 (free_database_entries): New function.
13599 (free_defconfig): New function.
13600 (free_mem): Move common code to free_database_entries.
13602 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13604 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13606 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13608 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13609 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13612 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13613 (INTERNAL_SYSCALL_TYPES): Likewise.
13614 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13615 (LOAD_REGS_TYPES_[1-6]): Likewise.
13616 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13617 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13619 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13621 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13622 copysignl for GLIBC_2_0.
13623 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13624 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13626 logbl for GLIBC_2_0.
13627 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13628 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13630 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13633 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13635 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13638 * time/mktime.c: Update copyright years.
13640 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13642 mktime: merge comment-quoting-style change from gnulib
13643 * time/mktime.c: Quote 'like this' in comments.
13644 The GNU coding standards suggest that we no longer quote `like this',
13645 as "`" and "'" are typically rendered asymmetrically nowadays.
13646 The typical gnulib style is to quote 'like this' when quoting
13647 code, and "like this" when quoting English.
13649 * time/mktime.c (compile-command): Add "-I.".
13651 mktime: merge mktime-internal.h change from gnulib
13652 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13654 mktime: merge time_r change from gnulib
13655 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13657 mktime: merge DEBUG change from gnulib
13658 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13659 case system <time.h> has a #define.
13661 mktime: merge <sys/types.h> change from gnulib
13662 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13663 since <time.t> is now guaranteed to define time_t.
13665 mktime: merge HAVE_CONFIG_H change from gnulib
13666 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13668 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13673 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13675 (struct rusage): Use anonymous union to pad each field to
13678 2012-05-21 David S. Miller <davem@davemloft.net>
13680 * Makefules (o-iterator): Remove .s cases.
13681 (compile-command.s): Delete.
13682 (COMPILE.s): Delete.
13683 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13685 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13687 * configure.in (libc_cv_predef_stack_protector): Only consider
13688 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13689 * configure: Regenerated.
13691 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13694 New macro. Use R*LP on int and pointer.
13695 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13696 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13697 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13698 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13700 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13701 [__WORDSIZE_TIME64_COMPAT32] instead of
13702 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13703 (struct utmp): Likewise.
13704 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13705 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13707 (__WORDSIZE_TIME64_COMPAT32): This.
13708 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13709 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13710 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13711 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13712 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13713 (__WORDSIZE_TIME64_COMPAT32): New macro.
13715 2012-05-21 Andreas Jaeger <aj@suse.de>
13717 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13718 only if [SHARED]. Add prototype for __wcschr_ia32.
13720 2012-05-21 Roland McGrath <roland@hack.frob.com>
13722 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13723 of %rbp unmolested in the jmp_buf while mangling the low bits.
13724 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13725 unmolested high bits of %rbp while demangling the low bits.
13726 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13728 2012-05-21 Andreas Jaeger <aj@suse.de>
13730 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13731 * sunrpc/svc_simple.c: Use it for registerrpc.
13732 * sunrpc/xcrypt.c: Use it for passwd2des.
13734 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13736 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13738 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13739 Don't define if [__SYSCALL_WORDSIZE != 32].
13740 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13743 2012-05-21 Bruno Haible <bruno@clisp.org>
13744 Andreas Jaeger <aj@suse.de>
13746 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13747 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13748 inptr and inend for must_buffer_ch.
13749 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13750 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13751 * stdio-common/Makefile (tests): Remove bug15.
13752 (bug15-ENV): Remove macro.
13753 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13756 2012-05-19 Andreas Jaeger <aj@suse.de>
13757 Roland McGrath <roland@hack.frob.com>
13759 * manual/contrib.texi: Completely rewritten. It contains now an
13760 alphabetical list of contributors and their contributions.
13762 2012-05-21 Richard Henderson <rth@twiddle.net>
13764 * misc/getauxval.c (__getauxval): Use unsigned long int.
13765 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13766 (getauxval): Use unsigned long int.
13768 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13770 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13772 2012-05-21 Roland McGrath <roland@hack.frob.com>
13774 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13775 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13776 __alignof__ (long double).
13778 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13782 2012-05-20 Richard Henderson <rth@twiddle.net>
13784 * misc/getauxval.c: New file.
13785 * misc/sys/auxv.h: New file.
13786 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13787 (routines): Add getauxval.
13788 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13789 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13790 * elf/dl-sysdep.c (_dl_auxv): Remove.
13791 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13792 * elf/dl-support.c (_dl_auxv): New variable.
13793 (_dl_aux_init): Initialize it.
13794 * manual/startup.texi (Auxiliary Vector): New node.
13795 * sysdeps/generic/bits/hwcap.h: New file.
13796 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13797 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13798 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13799 * sysdeps/sparc/sysdep.h: ... here. Include it.
13800 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13807 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13813 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13817 2012-05-19 David S. Miller <davem@davemloft.net>
13819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13821 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13824 * math/s_ccosh.c: Include <float.h>
13825 (__ccosh): Avoid internal overflow calculating sinh and cosh
13826 values before multiplying by sin and cos values.
13827 * math/s_ccoshf.c: Likewise.
13828 * math/s_ccoshl.c: Likewise.
13829 * math/s_csin.c: Likewise.
13830 * math/s_csinf.c: Likewise.
13831 * math/s_csinl.c: Likewise.
13832 * math/s_csinh.c: Likewise.
13833 * math/s_csinhf.c: Likewise.
13834 * math/s_csinhl.c: Likewise.
13835 * math/libm-test.inc (ccos_test): Add more tests.
13836 (ccosh_test): Likewise.
13837 (csin_test): Likewise.
13838 (csinh_test): Likewise.
13839 * sysdeps/i386/fpu/libm-test-ulps: Update.
13840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13842 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13844 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13845 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13847 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13849 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13851 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13852 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13853 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13854 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13855 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13856 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13857 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13858 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13859 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13860 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13861 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13862 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13863 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13864 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13865 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13866 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13867 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13868 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13869 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13870 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13871 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13872 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13873 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13874 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13875 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13876 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13877 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13878 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13879 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13880 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13881 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13883 2012-05-18 Andreas Jaeger <aj@suse.de>
13885 * csu/.gitignore: Delete.
13887 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13889 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13890 (timex): Use __syscall_slong_t.
13892 2012-05-18 Andreas Jaeger <aj@suse.de>
13893 Carlos O'Donell <carlos_odonell@mentor.com>
13895 * manual/install.texi (Configuring and compiling): Update
13896 description about files modified in the source directory.
13897 * INSTALL: Regenerated.
13899 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13901 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13902 value. Use "or" to set return value to -1.
13903 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13904 negate return value.
13906 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13908 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13909 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13910 failure if the compiler has Graphite support disabled.
13911 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13913 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13914 CFLAGS-memmove.c): Likewise.
13915 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13918 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13920 * sysdeps/x86_64/x32/_itoa.h: New file.
13922 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13923 getdents system call only if kernel and user dirents have the
13924 same d_ino and d_off.
13926 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13927 LLONG_MAX != LONG_MAX.
13928 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13929 (_fitoa_word): Likewise.
13931 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13933 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13934 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13935 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13937 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13938 include <bits/wordsize.h>. Check __x86_64__ instead of
13940 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13941 if __x86_64__ is defined. Use anonymous union on fpstate.
13943 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13946 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13948 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13949 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13950 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13951 Refer to _rtld_local_ro instead of _rtld_global_ro.
13952 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13954 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13956 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13958 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13959 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13960 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13962 * sysdeps/powerpc/powerpc32/dl-machine.c
13963 (__elf_machine_runtime_setup) [PROF]: Don't reference
13966 2012-05-18 Andreas Jaeger <aj@suse.de>
13968 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13969 function only available for GCCs before 3.4 since GCC 3.4
13970 introduced a builtin.
13972 (llrintf): Likewise.
13973 (llrint): Likewise.
13980 (nearbyint): Likewise.
13981 (nearbyintf): Likewise.
13985 (floorf): Likewise.
13987 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13989 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13990 on both fields and cast pointer to __syscall_ulong_t.
13992 * bits/types.h (__fsword_t): New type.
13993 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13994 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13996 (__FSWORD_T_TYPE): Likewise.
13997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13998 (__FSWORD_T_TYPE): Likewise.
13999 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14000 (__FSWORD_T_TYPE): Likewise.
14001 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14002 (__FSWORD_T_TYPE): Likewise.
14003 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14004 __SWORD_TYPE with __fsword_t.
14005 (statfs64): Likewise.
14007 2012-05-17 David S. Miller <davem@davemloft.net>
14009 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14011 2012-05-17 Andreas Jaeger <aj@suse.de>
14013 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14016 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14018 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14020 2012-05-17 Andreas Jaeger <aj@suse.de>
14022 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14025 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14027 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14029 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14031 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14032 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14034 2012-05-17 Andreas Jaeger <aj@suse.de>
14035 Carlos O'Donell <carlos_odonell@mentor.com>
14038 * sysdeps/x86_64/multiarch/init-arch.h
14039 (bit_YMM_Usable): Rename to...
14040 (bit_AVX_Usable): ... this.
14041 (bit_FMA4_Usable): New macro.
14042 (bit_XMM_state): New macro.
14043 (bit_YMM_state): New macro.
14044 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14045 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14046 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14047 (CPUID_OSXSAVE): New macro.
14048 (CPUID_AVX): New macro.
14049 (CPUID_FMA4): New macro.
14050 (index_YMM_Usable): Rename to...
14051 (index_AVX_Usable): ... this.
14052 (HAS_AVX): Use HAS_ARCH_FEATURE.
14053 (HAS_FMA4): Likewise.
14054 (HAS_YMM_USABLE): Remove.
14055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14056 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14058 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14059 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14060 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14061 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14062 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14064 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14066 * math/libm-test.c: Support platforms without multiple rounding modes.
14067 * math/bug-nextafter.c: Support platforms without FP exceptions.
14068 * math/bug-nexttoward.c: Likewise.
14069 * math/test-fenv.c: Likewise.
14070 * math/test-misc.c: Likewise.
14071 * stdlib/bug-getcontext.c: Likewise.
14073 2012-05-17 Andreas Jaeger <aj@suse.de>
14075 * manual/examples/search.c (critter_cmp): Change signature to
14077 * manual/string.texi (Collation Functions): Likewise.
14079 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14081 * bits/types.h: Fold copyright years.
14082 * bits/typesizes.h: Likewise.
14083 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14087 * time/time.h: Likewise.
14089 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14092 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14093 in instead of returning them. Return void.
14094 (__libc_mallinfo): Accumulate over all arenas.
14095 (__malloc_stats): Adjust for change in int_mallinfo interface.
14097 2012-05-16 Roland McGrath <roland@hack.frob.com>
14100 * configure.in (NM): Add AC_CHECK_TOOL for it.
14101 (libc_extra_cflags): New substituted variable.
14102 Check for -fstack-protector being used implicitly.
14103 * configure: Regenerated.
14104 * config.make.in (config-extra-cflags): New variable,
14105 gets @libc_extra_cflags@.
14106 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14109 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14110 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14111 * configure: Regenerated.
14112 * config.make.in (CPPUNDEFS): New substituted variable.
14113 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14114 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14115 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14117 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14119 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14120 (mq_attr): Use __syscall_slong_t.
14122 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14124 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14125 Check __x86_64__ instead of __WORDSIZE.
14126 (_STAT_VER_LINUX): Likewise.
14127 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14128 __syscall_ulong_t and __syscall_slong_t.
14129 (stat64): Likewise.
14131 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14133 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14135 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14137 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14139 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14141 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14144 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14145 include <bits/wordsize.h>. Check __x86_64__ instead of
14147 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14149 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14151 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14152 include <bits/wordsize.h>. Check __x86_64__ instead of
14154 (user_regs_struct): Use "__extension__ unsigned long long"
14155 instead of "unsigned long" if __x86_64__ is defined.
14156 (user): Likewise. Pad after pointer field if __ILP32__ is
14159 2012-05-16 Joseph Myers <joseph@codesourcery.com>
14161 * configure.in (makeinfo): Require version 4.5 or later. Allow
14163 * configure: Regenerated.
14164 * manual/install.texi (texinfo): Increase version requirement to
14166 * INSTALL: Regenerated.
14168 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14170 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14172 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14174 * sysdeps/x86_64/x32/ffs.c: New file.
14176 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14178 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14179 defined. Use __syscall_ulong_t.
14180 (shminfo): Use __syscall_ulong_t.
14181 (shm_info): Likewise.
14183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14186 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14188 (msgqnum_t): Use __syscall_ulong_t.
14189 (msglen_t): Likewise.
14190 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14193 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14194 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14196 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14198 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14199 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14201 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14204 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14205 include <bits/wordsize.h>. Check __x86_64__ instead of
14208 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14209 "unsigned long long int" if __x86_64__ is defined.
14210 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14212 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14213 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14214 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14216 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14218 (GET_PC): Cast to uintptr_t first.
14219 (GET_FRAME): Likewise.
14220 (GET_STACK): Likewise.
14222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14224 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14225 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14226 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14227 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14228 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14229 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14230 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14231 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14233 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14234 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14235 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14236 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14237 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14238 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14239 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14240 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14241 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14242 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14243 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14244 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14245 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14246 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14247 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14248 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14249 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14250 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14252 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14254 * Makerules (+depfiles): Also collect depfiles from .oS in
14256 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14257 .oS, $(libnldbl-routines)).
14259 * Makerules (native-compile-mkdep-flags): Define.
14260 * sunrpc/Makefile (extra-objs): Add $(addprefix
14261 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14262 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14263 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14264 calling $(make-target-directory).
14266 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14268 * bits/types.h (__snseconds_t): Removed.
14269 * time/time.h (struct timespec): Replace __snseconds_t with
14271 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14272 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14275 (__SNSECONDS_T_TYPE): Likewise.
14276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14277 (__SNSECONDS_T_TYPE): Likewise.
14278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14279 (__SNSECONDS_T_TYPE): Likewise.
14281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14283 * sysdeps/mach/hurd/bits/typesizes.h
14284 (__SYSCALL_SLONG_TYPE): New macro.
14285 (__SYSCALL_ULONG_TYPE): Likewise.
14287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14289 * bits/types.h (__syscall_slong_t): New type.
14290 (__syscall_ulong_t): Likewise.
14292 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14293 (__SYSCALL_ULONG_TYPE): Likewise.
14294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14295 (__SYSCALL_SLONG_TYPE): Likewise.
14296 (__SYSCALL_ULONG_TYPE): Likewise.
14297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14298 (__SYSCALL_SLONG_TYPE): Likewise.
14299 (__SYSCALL_ULONG_TYPE): Likewise.
14300 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14301 (__SYSCALL_SLONG_TYPE): Likewise.
14302 (__SYSCALL_ULONG_TYPE): Likewise.
14304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14306 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14307 Add sigaltstack-offsets.sym.
14308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14309 <sigaltstack-offsets.h>.
14310 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14311 longjmp_msg pointer.
14312 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14313 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14315 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14317 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14319 * elf/stackguard-macros.h: Remove file.
14320 * sysdeps/generic/stackguard-macros.h: New file.
14321 * sysdeps/i386/stackguard-macros.h: Likewise.
14322 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14323 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14324 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14325 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14326 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14327 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14328 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14329 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14330 <elf/stackguard-macros.h>.
14333 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14334 __aligned__ in attribute.
14335 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14336 (gregset_t): Likewise.
14338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14340 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14341 * sysdeps/x86_64/64/Implies-after: Here. New file.
14342 * sysdeps/x86_64/x32/Implies-after: New file.
14344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14346 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14347 and access return value for _dl_profile_fixup. Use R10_LP to
14350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14352 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14356 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14357 * sysdeps/x86_64/x32/sysdep.h: New file.
14359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14361 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14362 * sysdeps/x86_64/setjmp.S: Likewise.
14364 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14366 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14367 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14368 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14369 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14370 remove unused global constant.
14372 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14374 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14375 include of <not-cancel.h>.
14377 2012-05-15 Roland McGrath <roland@hack.frob.com>
14379 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14381 2012-05-15 Jeff Law <law@redhat.com>
14382 Andreas Jaeger <aj@suse.de>
14385 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14387 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14388 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14389 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14390 code changing __hst_map_handle.map.
14392 2012-05-15 Roland McGrath <roland@hack.frob.com>
14394 * configure.in (sysnames): Look for Implies-before and Implies-after
14396 * configure: Regenerated.
14398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14400 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14401 8-byte data alignment with LP_SIZE alignment.
14403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14405 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14410 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14414 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14415 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14416 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14418 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14422 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14423 (stackinfo_sub_sp): Likewise.
14425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14427 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14432 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14442 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14446 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14447 into R11_LP and load __x86_64_shared_cache_size_half into
14450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14452 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14455 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14463 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14464 powerpc32/power7/fpu/s_logb.c via #include.
14465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14466 powerpc32/power7/fpu/s_logbf.c via #include.
14467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14468 powerpc32/power7/fpu/s_logbl.c via #include.
14470 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14472 * README.libm: Remove file.
14474 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14476 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14477 count for x32. Use R*_LP and omit operand-size suffix.
14479 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14481 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14482 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14483 * sysdeps/x86_64/x32/shlib-versions: New file.
14485 2012-05-14 Roland McGrath <roland@hack.frob.com>
14487 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14488 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14489 Use _dl_fatal_printf instead.
14491 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14493 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14494 set if not set by the user. Do not allow for being unset.
14495 * sysdeps/unix/sysv/linux/configure: Regenerated.
14497 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14499 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14500 the `q' suffix from lea and replace .quad with ASM_ADDR.
14502 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14505 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14507 (PTR_DEMANGLE): Likewise.
14509 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14511 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14513 (ASM_ADDR): Likewise.
14514 (RAX_LP): Likewise.
14515 (RBP_LP): Likewise.
14516 (RBX_LP): Likewise.
14517 (RCX_LP): Likewise.
14518 (RDI_LP): Likewise.
14519 (RSI_LP): Likewise.
14520 (RSP_LP): Likewise.
14523 (R10_LP): Likewise.
14524 (R10_LP): Likewise.
14525 (R11_LP): Likewise.
14526 (R12_LP): Likewise.
14527 (R13_LP): Likewise.
14528 (R14_LP): Likewise.
14529 (R15_LP): Likewise.
14531 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14533 * sysdeps/x86_64/x32/dl-machine.h: New file.
14535 2012-05-14 Andreas Jaeger <aj@suse.de>
14537 * manual/Makefile (subdir): Remove export of subdir.
14538 (all): Remove target.
14539 (.PHONY): Remove all from list.
14540 (mkinstalldirs): Remove.
14541 (.PHONY): Remove installdirs from list.
14542 ($(inst_infodir)/libc.info): Use make-target-directory.
14543 (installdirs): Remove.
14544 (subdir_%): Remove.
14545 (glibc-targets): Remove.
14548 ($(objpfx)stubs ../po/manual.pot): Remove.
14549 ($(objpfx)stamp%): Remove.
14550 (make-target-directory): Remove.
14551 (subdir_install): Remove.
14552 (routines): Remove.
14559 * manual/.gitignore: Remove, it's not needed anymore.
14560 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14562 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14564 (texis): Renamed to $(objpfx)texis.
14565 (texis-path): New, contains path to generated files.
14566 (chapters.%): Use texis-path for complete path, add extra argument
14568 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14569 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14570 (summary,texi, stamp-summary): Use complete path of
14571 files. Generate files in build dir.
14572 (dir-add.texi): Build in build dir.
14573 (libm-err.texi,stamp-libm-err): Likewise.
14574 (version.texi, stamp-version): Likewise.
14575 (.%c.texi): Likewise.
14576 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14577 (mostlyclean): Remove target.
14578 (realclean): Remove target.
14579 (generated): Add new variable with contents from mostlyclean and
14580 realclean, remove entries duplicated in common-mostlyclean, add
14581 stamp-libm-err and stamp-version.
14582 (generated-dirs): Add libc directory.
14583 ($(inst_infodir)/libc.info): Install files from build dir.
14585 * manual/install.texi (Configuring and compiling): Adjust since
14586 the info files are not part of the tar ball anymore.
14588 2012-05-14 Andreas Jaeger <aj@suse.de>
14590 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14593 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14597 to 2.2.0 where earlier.
14598 * sysdeps/unix/sysv/linux/configure: Regenerated.
14599 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14600 Remove conditional code.
14601 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14602 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14603 Remove conditional code.
14604 [!__NR_lchown]: Likewise.
14605 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14606 [__NR_lchown]: Likewise.
14607 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14608 comment referencing __ASSUME_LCHOWN_SYSCALL.
14609 * sysdeps/unix/sysv/linux/i386/sigaction.c
14610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14612 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14613 Remove conditional code.
14614 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14615 (__protocol_available): Remove #if 0 code.
14616 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14618 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14619 * sysdeps/unix/sysv/linux/kernel-features.h
14620 (__ASSUME_GETCWD_SYSCALL): Don't define.
14621 (__ASSUME_REALTIME_SIGNALS): Likewise.
14622 (__ASSUME_PREAD_SYSCALL): Likewise.
14623 (__ASSUME_PWRITE_SYSCALL): Likewise.
14624 (__ASSUME_POLL_SYSCALL): Likewise.
14625 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14626 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14628 (__ASSUME_SIOCGIFNAME): Don't define.
14629 (__ASSUME_MSG_NOSIGNAL): Likewise.
14630 (__ASSUME_SENDFILE): Define unconditionally.
14631 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14632 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14634 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14635 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14636 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14637 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14638 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14639 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14640 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14642 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14645 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14651 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14654 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14657 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14660 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14663 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14665 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14666 Remove conditional code.
14667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14668 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14669 Remove conditional code.
14670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14671 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14672 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14673 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14674 Remove conditional code.
14675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14676 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14677 Remove conditional code.
14678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14679 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14680 Remove conditional code.
14681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14682 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14683 Remove conditional code.
14684 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14685 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14686 Remove conditional code.
14687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14688 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14689 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14690 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14691 * sysdeps/unix/sysv/linux/sigaction.c
14692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14694 * sysdeps/unix/sysv/linux/sigpending.c
14695 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14696 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14697 * sysdeps/unix/sysv/linux/sigprocmask.c
14698 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14699 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14700 * sysdeps/unix/sysv/linux/sigsuspend.c
14701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14703 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14704 (__libc_missing_rt_sigs): Remove.
14705 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14706 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14707 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14708 Remove conditional code.
14709 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14710 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14712 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14713 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14714 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14715 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14717 2012-05-14 Andreas Jaeger <aj@suse.de>
14719 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14720 it's not used in glibc.
14721 (__coshm1): Likewise.
14722 (__acosh1p): Likewise.
14725 * manual/string.texi (Copying and Concatenation): Add missing
14726 variable in concat example.
14727 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14729 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14732 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14733 __builtin_clzl with __builtin_clzll.
14735 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14738 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14741 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14743 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14744 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14745 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14746 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14748 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14750 * NEWS: Update ia64 info.
14752 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14754 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14757 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14759 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14760 * sysdeps/unix/syscalls.list (dup3): Likewise.
14761 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14762 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14764 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14766 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14767 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14769 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14771 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14773 (TLS_IE): Use mov/add instead of movq/addq to load thread
14775 (TLS_GD_PREFIX): New.
14778 2012-05-11 David S. Miller <davem@davemloft.net>
14780 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14781 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14782 (_FPU_SETCW): Likewise.
14784 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14786 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14787 is 32-byte aligned.
14789 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14792 * iconvdata/gb18030.c: Update tables.
14793 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14794 characters specially.
14795 (BODY for TO_LOOP): Add encoding of missing ranges.
14797 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14800 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14801 * sysdeps/mach/hurd/dup3.c: Likewise.
14802 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14803 * sysdeps/powerpc/memmove.c:: Likewise.
14805 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14807 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14808 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14810 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14812 * elf/elf.h (R_X86_64_RELATIVE64): New.
14813 (R_X86_64_NUM): Updated.
14814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14815 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14816 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14817 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14818 tst-quad1pie tst-quad2pie
14819 (modules-names): Add tst-quadmod1 tst-quadmod2.
14820 ($(objpfx)tst-quad1): New dependency.
14821 ($(objpfx)tst-quad2): Likewise.
14822 ($(objpfx)tst-quad1pie): Likewise.
14823 ($(objpfx)tst-quad2pie): Likewise.
14824 * sysdeps/x86_64/tst-quad1.c: New file.
14825 * sysdeps/x86_64/tst-quad1pie.c: New file.
14826 * sysdeps/x86_64/tst-quad2.c: Likewise.
14827 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14828 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14829 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14830 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14831 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14833 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14835 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14836 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14837 * streams/stropts.h (t_scalar_t): Define type.
14839 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14840 (_PATH_PRESERVE): Set to "/var/lib".
14841 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14843 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14846 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14847 if __dir_mkfile succeeded.
14849 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14850 checking for _hurd_dtablesize. Unlock it right after having
14851 finished _hurd_dtable allocation.
14853 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14855 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14856 * sysdeps/mach/hurd/configure: Regenerated.
14857 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14858 special-casing to...
14859 * sysdeps/gnu/configure.in: ... this new file.
14860 * sysdeps/unix/sysv/linux/configure: Regenerated.
14861 * sysdeps/gnu/configure: New generated file.
14863 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14864 for Linux: use nsec instead of usec, as well as:
14865 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14866 members of type struct timespec.
14867 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14869 (struct stat64): Likewise.
14870 (_STATBUF_ST_NSEC): New macro.
14871 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14873 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14874 __strtoul_internal rather than strtoul.
14876 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14878 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14881 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14883 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14884 which preserves existing values.
14885 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14887 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14889 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14890 TIMEOUT values. Return EINVAL for NFDS values either negative or
14891 greater than FD_SETSIZE.
14893 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14895 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14896 allocated, call __vm_protect to finish enabling the existing space, and
14897 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14898 allocate the remainder.
14900 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14902 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14903 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14905 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14907 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14908 sysdeps/mach/hurd/readlink.c.
14910 * posix/tst-sysconf.c (posix_options): Only use
14911 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14912 _POSIX_SYNCHRONIZED_IO when they are defined
14913 * sysdeps/mach/hurd/bits/posix_opt.h:
14914 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14915 (_XOPEN_REALTIME): Undefine macro.
14916 (_XOPEN_REALTIME_THREADS): Undefine macro.
14917 (_XOPEN_SHM): Undefine macro.
14918 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14920 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14922 (_POSIX_ASYNC_IO): Undefine macro.
14923 (_POSIX_PRIORITIZED_IO): Undefine macro.
14924 (_POSIX_SPIN_LOCKS): Define macro to -1.
14926 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14927 SA_NODEFER, SA_RESETHAND.
14928 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14929 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14932 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14934 * elf/Makefile (pldd-modules): Define unconditionally.
14936 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14938 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14940 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14942 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14943 Return ENOENT when name is empty.
14944 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14946 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14948 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14950 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14952 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14954 Fix mlock in all cases except non-readable pages.
14955 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14956 instead of VM_PROT_ALL as parameter to __vm_wire function.
14958 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14959 (__mkdir): When path is `/', just fail with EEXIST.
14960 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14962 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14964 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14965 <sys/uio.h> (for writev).
14966 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14967 and <sys/param.h> (for MIN).
14969 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14971 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14972 REQUESTED_TIME. Properly set the remaining time and return EINTR
14975 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14977 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14978 Depend on against $(link-rpcuserlibs).
14980 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14982 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14983 (__libc_stack_end): Do not use attribute_relro.
14984 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14985 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14986 to libthread-provided value.
14987 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14993 * bits/libc-lock.h (__libc_once_get): New macro.
14994 * sysdeps/mach/bits/libc-lock.h: Likewise.
14995 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14996 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14997 instead of using implementation details.
14999 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15000 * libio/freopen.c: Likewise.
15001 * libio/freopen64.c: Likewise.
15002 * misc/syslog.c: Likewise.
15003 * nscd/connections.c: Likewise.
15004 * nscd/netgroupcache.c: Likewise.
15005 * sysdeps/posix/getcwd.c: Likewise.
15007 2012-05-10 Roland McGrath <roland@hack.frob.com>
15009 * math/w_ilogbf.c: Add #include <limits.h>.
15011 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15013 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15014 path instead of returning without unlocking.
15016 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15017 immediate-write ioctls.
15018 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15020 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15022 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15023 __builtin_frame_address instead of making assumptions about the
15024 location of the return address relative to DATA. Force early load of
15025 the return address.
15026 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15027 __builtin_frame_address.
15030 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15031 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15032 implement dup3 and do some further code clean-ups.
15033 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15034 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15036 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15038 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15040 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15041 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15042 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15043 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15044 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15047 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15048 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15049 when handler == SIG_ERR, not when handler != SIG_ERR.
15051 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15053 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15054 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15057 accept4 for GNU Hurd.
15058 * include/sys/socket.h (__libc_accept4): New prototype.
15059 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15060 to implement __libc_accept4.
15061 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15063 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15065 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15066 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15067 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15068 signal-defines.sym.
15070 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15072 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15074 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15076 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15077 assertion on O_CLOEXEC flag.
15078 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15079 * hurd/intern-fd.c: Likewise.
15080 * hurd/port2fd.c: Likewise.
15082 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15085 * bits/in.h (IPV6_PKTINFO): Define new macro.
15086 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15088 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15093 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15094 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15095 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15096 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15097 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15098 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15099 * math/libm-test.inc (logb_test) : Additional logb tests.
15101 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15102 Andreas Jaeger <aj@suse.de>
15104 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15105 * configure: Regenerated.
15106 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15107 * config.make.in (link-obsolete-rpc): New substituted variable.
15108 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15109 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15110 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15111 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15112 so that libc.a contains the symbols.
15113 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15114 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15115 * sunrpc/auth_none.c: Likewise.
15116 * sunrpc/auth_unix.c: Likewise.
15117 * sunrpc/authdes_prot.c: Likewise.
15118 * sunrpc/authuxprot.c: Likewise.
15119 * sunrpc/clnt_gen.c: Likewise.
15120 * sunrpc/clnt_perr.c: Likewise.
15121 * sunrpc/clnt_raw.c: Likewise.
15122 * sunrpc/clnt_simp.c: Likewise.
15123 * sunrpc/clnt_tcp.c: Likewise.
15124 * sunrpc/clnt_udp.c: Likewise.
15125 * sunrpc/clnt_unix.c: Likewise.
15126 * sunrpc/des_crypt.c: Likewise.
15127 * sunrpc/des_soft.c: Likewise.
15128 * sunrpc/get_myaddr.c: Likewise.
15129 * sunrpc/key_call.c: Likewise.
15130 * sunrpc/key_prot.c: Likewise.
15131 * sunrpc/netname.c: Likewise.
15132 * sunrpc/pm_getmaps.c: Likewise.
15133 * sunrpc/pm_getport.c: Likewise.
15134 * sunrpc/pmap_clnt.c: Likewise.
15135 * sunrpc/pmap_prot.c: Likewise.
15136 * sunrpc/pmap_prot2.c: Likewise.
15137 * sunrpc/pmap_rmt.c: Likewise.
15138 * sunrpc/publickey.c: Likewise.
15139 * sunrpc/rpc_cmsg.c: Likewise.
15140 * sunrpc/rpc_common.c: Likewise.
15141 * sunrpc/rpc_dtable.c: Likewise.
15142 * sunrpc/rpc_prot.c: Likewise.
15143 * sunrpc/rpc_thread.c: Likewise.
15144 * sunrpc/rtime.c: Likewise.
15145 * sunrpc/svc.c: Likewise.
15146 * sunrpc/svc_auth.c: Likewise.
15147 * sunrpc/svc_raw.c: Likewise.
15148 * sunrpc/svc_run.c: Likewise.
15149 * sunrpc/svc_tcp.c: Likewise.
15150 * sunrpc/svc_udp.c: Likewise.
15151 * sunrpc/svc_unix.c: Likewise.
15152 * sunrpc/svcauth_des.c: Likewise.
15153 * sunrpc/xcrypt.c: Likewise.
15154 * sunrpc/xdr.c: Likewise.
15155 * sunrpc/xdr_array.c: Likewise.
15156 * sunrpc/xdr_float.c: Likewise.
15157 * sunrpc/xdr_intXX_t.c: Likewise.
15158 * sunrpc/xdr_mem.c: Likewise.
15159 * sunrpc/xdr_rec.c: Likewise.
15160 * sunrpc/xdr_ref.c: Likewise.
15161 * sunrpc/xdr_sizeof.c: Likewise.
15162 * sunrpc/xdr_stdio.c: Likewise.
15164 2012-05-10 Roland McGrath <roland@hack.frob.com>
15166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15167 change. Update copyright years.
15169 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15171 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15173 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15174 Joseph Myers <joseph@codesourcery.com>
15175 Paul Pluzhnikov <ppluzhnikov@google.com>
15178 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15180 [cross-compiling] (extra-libs): Likewise.
15181 [cross-compiling] (extra-libs-others): Likewise.
15182 [cross-compiling] (librpcsvc-routines): Likewise.
15183 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15184 [cross-compiling] (omit-deps): Likewise.
15185 (sunrpc-CPPFLAGS): New variable.
15186 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15187 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15188 (cross-rpcgen-objs): New variable.
15189 (extra-objs): Append $(cross-rpcgen-objs).
15190 ($(cross-rpcgen-objs)): New rule.
15191 ($(objpfx)cross-rpcgen): Likewise.
15192 (rpcgen-cmd): Define to use $(built-program-file). Expand
15194 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15195 ($(objpfx)x%.stmp): Likewise.
15196 * sunrpc/proto.h [IS_IN_build] (_): Define.
15197 [IS_IN_build] (_libc_intl_domainname): Likewise.
15199 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15202 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15203 and R_X86_64_TPOFF64.
15205 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15207 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15208 sysdeps/unix/sysv/syscalls.list.
15211 * sysdeps/unix/sysv/syscalls.list: Remove file.
15213 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15216 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15217 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15218 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15219 (__LC_IDENTIFICATION): Make these macros useful in #if
15220 expressions, as required by C99.
15222 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15224 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15225 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15228 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15230 * stdlib/longlong.h: Updated from GCC.
15232 2012-05-09 Andreas Jaeger <aj@suse.de>
15234 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15235 default is first entry.
15236 (run_mode): Set type.
15237 (main): Remove informal message about syslog.
15238 (options): Fix typo.
15241 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15244 (llrintf): Likewise.
15245 (llrint): Likewise.
15248 (nearbyint): Likewise.
15249 (nearbyintf): Likewise.
15251 2012-05-09 Andreas Jaeger <aj@suse.de>
15252 Pedro Alves <palves@redhat.com>
15254 * nscd/nscd.c (run_mode): Use enum.
15255 (main): Cleanup coding style issue.
15257 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15258 Andreas Jaeger <aj@suse.de>
15260 * nscd/nscd.c (go_background): Replaced with...
15261 (run_mode): ... this.
15262 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15263 (options): Add -F --foreground.
15264 (main): Implement it.
15265 (parse_opt): Parse it.
15267 2012-05-09 Andreas Jaeger <aj@suse.de>
15270 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15271 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15272 -Wconversion warning.
15273 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15276 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15278 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15280 (LC_ALL): Use macro-int-constant.
15281 (LC_COLLATE): Likewise.
15282 (LC_CTYPE): Likewise.
15283 (LC_MESSAGES): Likewise.
15284 (LC_MONETARY): Likewise.
15285 (LC_NUMERIC): Likewise.
15286 (LC_TIME): Likewise.
15287 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15288 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15290 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15292 [C99-based standards] (float_t): Expect type.
15293 [C99-based standards] (double_t): Expect type.
15294 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15296 [C99-based standards] (HUGE_VALL): Likewise.
15297 [C99-based standards] (INFINITY): Likewise.
15298 [C99-based standards] (NAN): Likewise.
15299 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15300 [C99-based standards] (FP_NAN): Likewise.
15301 [C99-based standards] (FP_NORMAL): Likewise.
15302 [C99-based standards] (FP_SUBNORMAL): Likewise.
15303 [C99-based standards] (FP_ZERO): Likewise.
15304 [C99-based standards] (FP_FAST_FMA): Use
15305 optional-macro-int-constant. Specify type. Require == 1.
15306 [C99-based standards] (FP_FAST_FMAF): Likewise.
15307 [C99-based standards] (FP_FAST_FMAL): Likewise.
15308 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15309 [C99-based standards] (FP_ILOGBNAN): Likewise.
15310 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15312 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15313 [C99-based standards] (math_errhandling): Specify type.
15314 [ISO99 || ISO11] (signgam): Do not allow.
15315 [non-C99-based standards] (copysignf): Do not allow.
15316 [non-C99-based standards] (exp2f): Likewise.
15317 [non-C99-based standards] (log2f): Likewise.
15318 [non-C99-based standards] (modff): Allow.
15319 [non-C99-based standards] (erff): Do not allow.
15320 [non-C99-based standards] (erfcf): Likewise.
15321 [non-C99-based standards] (gammaf): Likewise.
15322 [non-C99-based standards] (hypotf): Likewise.
15323 [non-C99-based standards] (j0f): Likewise.
15324 [non-C99-based standards] (j1f): Likewise.
15325 [non-C99-based standards] (jnf): Likewise.
15326 [non-C99-based standards] (lgammaf): Likewise.
15327 [non-C99-based standards] (tgammaf): Likewise.
15328 [non-C99-based standards] (y0f): Likewise.
15329 [non-C99-based standards] (y1f): Likewise.
15330 [non-C99-based standards] (ynf): Likewise.
15331 [non-C99-based standards] (isnanf): Likewise.
15332 [non-C99-based standards] (acoshf): Likewise.
15333 [non-C99-based standards] (asinhf): Likewise.
15334 [non-C99-based standards] (atanhf): Likewise.
15335 [non-C99-based standards] (cbrtf): Likewise.
15336 [non-C99-based standards] (expm1f): Likewise.
15337 [non-C99-based standards] (ilogbf): Likewise.
15338 [non-C99-based standards] (log1pf): Likewise.
15339 [non-C99-based standards] (logbf): Likewise.
15340 [non-C99-based standards] (nextafterf): Likewise.
15341 [non-C99-based standards] (remainderf): Likewise.
15342 [non-C99-based standards] (rintf): Likewise.
15343 [non-C99-based standards] (scalbf): Likewise.
15344 [non-C99-based standards] (copysignl): Likewise.
15345 [non-C99-based standards] (exp2l): Likewise.
15346 [non-C99-based standards] (log2l): Likewise.
15347 [non-C99-based standards] (modfl): Allow.
15348 [non-C99-based standards] (erfl): Do not allow.
15349 [non-C99-based standards] (erfcl): Likewise.
15350 [non-C99-based standards] (gammal): Likewise.
15351 [non-C99-based standards] (hypotl): Likewise.
15352 [non-C99-based standards] (j0l): Likewise.
15353 [non-C99-based standards] (j1l): Likewise.
15354 [non-C99-based standards] (jnl): Likewise.
15355 [non-C99-based standards] (lgammal): Likewise.
15356 [non-C99-based standards] (tgammal): Likewise.
15357 [non-C99-based standards] (y0l): Likewise.
15358 [non-C99-based standards] (y1l): Likewise.
15359 [non-C99-based standards] (ynl): Likewise.
15360 [non-C99-based standards] (isnanl): Likewise.
15361 [non-C99-based standards] (acoshl): Likewise.
15362 [non-C99-based standards] (asinhl): Likewise.
15363 [non-C99-based standards] (atanhl): Likewise.
15364 [non-C99-based standards] (cbrtl): Likewise.
15365 [non-C99-based standards] (expm1l): Likewise.
15366 [non-C99-based standards] (ilogbl): Likewise.
15367 [non-C99-based standards] (log1pl): Likewise.
15368 [non-C99-based standards] (logbl): Likewise.
15369 [non-C99-based standards] (nextafterl): Likewise.
15370 [non-C99-based standards] (remainderl): Likewise.
15371 [non-C99-based standards] (rintl): Likewise.
15372 [non-C99-based standards] (scalbl): Likewise.
15373 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15374 [non-C99-based standards] (FP_*): Do not allow.
15375 [C99-based standards] (FP_*): Change to
15376 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15377 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15379 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15380 (SIG_ERR): Likewise.
15381 [X/Open-based standards] (SIG_HOLD): Likewise.
15382 (SIG_IGN): Likewise.
15383 (SIGABRT): Use macro-int-constant. Specify type. Require
15385 (SIGFPE): Likewise.
15386 (SIGILL): Likewise.
15387 (SIGINT): Likewise.
15388 (SIGSEGV): Likewise.
15389 (SIGTER): Likewise.
15390 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15391 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15392 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15393 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15394 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15395 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15396 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15397 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15398 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15399 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15400 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15401 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15402 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15403 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15404 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15405 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15406 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15407 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15408 [X/Open-based standards] (SIGTRAP): Likewise.
15409 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15410 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15411 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15412 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15413 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15416 2012-05-08 Ian Wienand <ianw@vmware.com>
15419 * time/tzset.c (__tzset_parse_tz): Update default rules for
15420 daylight time changes in the Energy Policy Act of 2005.
15422 2012-05-09 Andreas Jaeger <aj@suse.de>
15425 * elf/ldconfig.c (parse_conf): Change string to make clear that
15426 ldconfig only issued a warning if ld.so.conf does not exist.
15428 2012-05-08 David S. Miller <davem@davemloft.net>
15430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15431 movxtod instead of popping the value on the stack.
15433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15435 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15437 * config.h.in: Add HAVE_ARM_PCS_VFP.
15439 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15442 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15443 checking but the checks are disabled for any reason.
15445 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15447 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15448 and ELF64_R_TYPE with ELFW(R_TYPE).
15450 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15452 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15453 (ulimit): Likewise.
15455 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15456 (settimeofday): Likewise.
15458 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15460 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15461 a struct th_u2 inside the union, and move tu_block/tu_code into
15462 a new th_u3 union of tu_block/tu_code inside of that. Move
15463 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15464 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15465 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15466 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15467 (th_stuff): Change to th_u1.tu_stuff.
15469 (th_msg): Change to th_u1.th_u2.tu_data.
15471 2012-05-07 David S. Miller <davem@davemloft.net>
15473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15476 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15477 (SETUP_PIC_REG): Use it.
15478 (SETUP_PIC_REG_LEAF): Use it.
15480 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15486 (EXPL_FINITE): Likewise.
15487 (FLDLOG): Likewise.
15488 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15489 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15491 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15493 (EXPL_FINITE): Likewise.
15494 (FLDLOG): Likewise.
15495 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15496 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15498 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15499 test of -max_value argument for long double.
15500 * sysdeps/i386/fpu/libm-test-ulps: Update.
15501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15503 2012-05-06 David S. Miller <davem@davemloft.net>
15505 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15506 quad soft-float symbols whose references which are compiler
15508 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15510 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15514 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15516 (EXPL_FINITE): Likewise.
15517 (FLDLOG): Likewise.
15520 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15521 Adjust comments for base varying.
15522 (__expl_finite): Change alias to EXPL_FINITE.
15523 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15525 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15526 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15528 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15529 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15531 (EXPL_FINITE): Likewise.
15532 (FLDLOG): Likewise.
15535 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15536 Adjust comments for base varying.
15537 (__expl_finite): Change alias to EXPL_FINITE.
15538 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15543 * math/libm-test.inc (check_float_internal): Correct ulp
15544 calculation for subnormal expected results.
15546 2012-05-06 Andreas Jaeger <aj@suse.de>
15548 * Makeconfig (+math-flags): New, set to -frounding-math.
15549 (+cflags): Add +math-flags so that all of glibc gets compiled with
15552 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15554 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15556 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15562 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15563 (__ieee754_expl): Allow for and saturate large arguments.
15564 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15565 (u_threshold): Likewise.
15566 (__exp): Call __ieee754_exp before checking for overflow and
15568 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15569 (u_threshold): Likewise.
15570 (__expf): Call __ieee754_expf before checking for overflow and
15572 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15573 (u_threshold): Likewise.
15574 (__expl): Call __ieee754_expl before checking for overflow and
15576 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15577 (__ieee754_expl): Allow for and saturate large arguments.
15578 * math/libm-test.inc (exp_test): Add another test. Do not allow
15579 missing overflow exception on overflow.
15580 (expm1_test): Do not allow missing overflow exception on overflow.
15582 * sysdeps/i386/fpu/e_expl.c: Move to ...
15583 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15584 rather than using inline asm.
15585 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15586 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15587 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15589 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15592 (signal): Likewise.
15596 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15598 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15599 sysdeps/unix/common/syscalls.list.
15600 (fchmod): Likewise.
15601 (fchown): Likewise.
15602 (ftruncate): Likewise.
15603 (getrusage): Likewise.
15604 (gettimeofday): Likewise.
15605 (setpgid): Likewise.
15606 (setregid): Likewise.
15607 (setreuid): Likewise.
15608 (sigaction): Likewise.
15609 (truncate): Likewise.
15610 (vhangup): Likewise.
15611 * sysdeps/unix/common/syscalls.list: Remove file.
15612 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15613 * sysdeps/unix/sysv/linux/Implies: Likewise.
15615 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15617 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15619 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15623 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15626 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15629 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15632 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15635 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15638 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15641 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15645 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15649 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15652 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15656 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15660 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15662 * sysdeps/unix/common/bits/dirent.h: Remove file.
15663 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15665 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15666 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15667 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15668 * sysdeps/unix/bsd/isatty.c: Likewise.
15669 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15670 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15671 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15673 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15676 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15677 long double comparison inaccuracies.
15678 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15681 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15683 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15684 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15686 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15689 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15690 nonzero digits before rounding a hex value.
15691 * stdlib/tst-strtod.c (tests): Add another test.
15693 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15695 * sysdeps/s390/fpu/libm-test-ulps: Update.
15697 2012-05-03 Andreas Jaeger <aj@suse.de>
15699 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15700 does not get optimized out.
15701 (malloc_opt_barrier): New.
15703 2012-05-03 Andreas Jaeger <aj@suse.de>
15704 Roland McGrath <roland@hack.frob.com>
15706 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15707 intermediate file deletion.
15708 (generated): Add .symlist files.
15710 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15713 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15714 Redirect under this condition.
15715 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15716 [__USE_GNU] (__dprintf_chk): Not under this condition.
15717 [__USE_GNU] (__vdprintf_chk): Likewise.
15718 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15719 under this condition.
15720 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15721 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15722 [__USE_XOPEN2K8] (vdprintf): Likewise.
15723 [__USE_GNU] (__dprintf_chk): Not under this condition.
15724 [__USE_GNU] (__vdprintf_chk): Likewise.
15725 [__USE_GNU] (dprintf): Likewise.
15726 [__USE_GNU] (vdprintf): Likewise.
15728 2012-05-03 Roland McGrath <roland@hack.frob.com>
15730 * elf/Makefile (common-generated): Set this instead of generated for
15731 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15732 $(all-built-dso)-derived lists.
15734 2012-05-03 Andreas Jaeger <aj@suse.de>
15736 * sysdeps/i386/fpu/libm-test-ulps: Update.
15739 * FAQ.in: Likewise.
15740 * scripts/gen-FAQ.pl: Likewise.
15741 * manual/install.texi (Installation): Point to online location of
15743 * Makefile (files-for-dist): Remove FAQ.
15746 2012-05-02 Allan McRae <allan@archlinux.org>
15748 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15749 (LDFLAGS-reldepmod5.so): Likewise.
15750 (LDFLAGS-reldep6mod1.so): Likewise.
15751 (LDFLAGS-reldep6mod4.so): Likewise.
15752 (LDFLAGS-reldep8mod3.so): Likewise.
15753 (LDFLAGS-unload4mod1.so): Likewise.
15754 (LDFLAGS-unload4mod2.so): Likewise.
15755 (LDFLAGS-tst-initorder): Likewise.
15756 (LDFLAGS-tst-initordera2.so): Likewise.
15757 (LDFLAGS-tst-initordera3.so): Likewise.
15758 (LDFLAGS-tst-initordera4.so): Likewise.
15759 (LDFLAGS-tst-initorderb2.so): Likewise.
15760 (LDFLAGS-noload): Likewise.
15761 (LDFLAGS-next): Likewise.
15762 (LDFLAGS-order2mod1.so): Likewise.
15763 (LDFLAGS-order2mod2.so): Likewise.
15764 (LDFLAGS-tst-initorder2): Likewise.
15765 (LDFLAGS-tst-initorder2a.so): Likewise.
15766 (LDFLAGS-tst-initorder2b.so): Likewise.
15767 (LDFLAGS-tst-initorder2c.so): Likewise.
15768 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15770 2012-05-02 David S. Miller <davem@davemloft.net>
15772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15774 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15777 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15779 2012-05-02 Andreas Jaeger <aj@suse.de>
15781 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15782 since we manipulate rounding mode.
15783 (CPPFLAGS-test-idouble.c): Likewise.
15784 (CPPFLAGS-test-ifloat.c): Likewise.
15785 (CFLAGS-test-ldouble.c): Likewise.
15786 (CFLAGS-test-double.c): Likewise.
15787 (CFLAGS-test-float.c): Likewise.
15788 (CFLAGS-test-misc.c): Likewise.
15789 (CFLAGS-test-test-fenv.c): Likewise.
15791 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15796 comparisons to determine direction to adjust input.
15798 2012-05-01 Roland McGrath <roland@hack.frob.com>
15800 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15801 output to the target.
15803 * scripts/localplt.awk: New file.
15804 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15805 (check-localplt-CFLAGS): Variable removed.
15806 ($(all-built-dso:=.jmprel)): New static pattern rule.
15807 (generated): Add those targets.
15808 (localplt-built-dso): New variable.
15809 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15811 * elf/check-localplt.c: File removed.
15813 * scripts/check-execstack.awk: New file.
15814 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15815 (check-execstack-CFLAGS): Variable removed.
15816 ($(objpfx)check-execstack.h): Target removed.
15817 ($(objpfx)execstack-default): New target.
15818 (generated): Add that instead of check-execstack.h.
15819 ($(all-built-dso:=.phdr)): New static pattern rule.
15820 (generated): Add those targets.
15821 * elf/check-execstack.c: File removed.
15823 * scripts/check-textrel.awk: New file.
15824 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15825 (check-textrel-CFLAGS): Variable removed.
15826 (all-built-dso): Use := to define.o
15827 ($(all-built-dso:=.dyn)): New static pattern rule.
15828 (generated): Add those targets.
15829 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15830 * config.make.in (READELF): New substituted variable.
15831 * elf/check-textrel.c: File removed.
15833 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15835 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15837 * conform/data/ctype.h-data [C99-based standards] (isblank):
15839 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15840 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15842 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15843 Specify type. Require positive value.
15844 (EILSEQ): Likewise.
15845 (ERANGE): Likewise.
15846 [ISO || POSIX] (EILSEQ): Do not expect.
15847 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15848 Specify type. Require positive value.
15849 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15850 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15851 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15852 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15853 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15854 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15855 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15856 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15857 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15858 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15859 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15860 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15861 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15862 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15863 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15864 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15865 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15866 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15867 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15868 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15869 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15870 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15871 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15872 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15873 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15874 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15875 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15876 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15877 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15878 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15879 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15880 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15881 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15882 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15883 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15884 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15885 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15886 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15887 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15888 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15889 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15890 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15891 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15892 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15893 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15894 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15895 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15896 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15897 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15898 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15899 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15900 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15901 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15902 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15903 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15904 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15905 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15906 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15907 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15908 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15909 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15910 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15911 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15912 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15913 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15914 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15915 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15916 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15917 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15918 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15919 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15920 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15921 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15922 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15923 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15924 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15925 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15927 (FLT_ROUNDS): Expect as macro, not constant.
15928 (FLT_MANT_DIG): Use macro-int-constant.
15929 (DBL_MANT_DIG): Likewise.
15930 (LDBL_MANT_DIG): Likewise.
15931 (FLT_DIG): Likewise.
15932 (DBL_DIG): Likewise.
15933 (LDBL_DIG): Likewise.
15934 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15935 (DBL_MIN_EXP): Likewise.
15936 (LDBL_MIN_EXP): Likewise.
15937 (FLT_MAX_EXP): Use macro-int-constant.
15938 (DBL_MAX_EXP): Likewise.
15939 (LDBL_MAX_EXP): Likewise.
15940 (FLT_MAX_10_EXP): Likewise.
15941 (DBL_MAX_10_EXP): Likewise.
15942 (LDBL_MAX_10_EXP): Likewise.
15943 (FLT_MAX): Use macro-constant.
15944 (DBL_MAX): Likewise.
15945 (LDBL_MAX): Likewise.
15946 (FLT_EPSILON): Use macro-constant. Give upper bound.
15947 (DBL_EPSILON): Likewise.
15948 (LDBL_EPSILON): Likewise.
15949 (FLT_MIN): Likewise.
15950 (DBL_MIN): Likewise.
15951 (LDBL_MIN): Likewise.
15952 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15953 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15954 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15955 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15956 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15957 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15958 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15959 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15960 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15961 [ISO11] (FLT_TRUE_MIN): Likewise.
15962 [ISO11] (LDBL_TRUE_MIN): Likewise.
15963 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15964 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15965 (SCHAR_MIN): Use macro-int-constant. Specify type.
15966 (SCHAR_MAX): Likewise.
15967 (UCHAR_MAX): Likewise.
15968 (CHAR_MIN): Likewise.
15969 (CHAR_MAX): Likewise.
15970 (MB_LEN_MAX): Use macro-int-constant.
15971 (SHRT_MIN): Use macro-int-constant. Specify type.
15972 (SHRT_MAX): Likewise.
15973 (USHRT_MAX): Likewise.
15974 (INT_MAX): Likewise.
15975 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15977 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15979 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15981 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15982 bound negative. Suffix upper bound with "L".
15983 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15985 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15987 [C99-based standards] (LLONG_MAX): Likewise.
15988 [C99-based standards] (ULLONG_MAX): Likewise.
15989 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15991 [ISO11] (max_align_t): Require type.
15992 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15994 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15995 from $CFLAGS, without defining away __attribute__ calls.
15996 (checknamespace): Use $CFLAGS_namespace.
15998 * conform/conformtest.pl (@keywords): Only include C99 keywords
15999 for standards based on C99 or C11.
16001 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16003 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16006 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16007 usability of symbols in #if.
16009 * conform/conformtest.pl: If macro or constant types start
16010 "promoted:", expect the symbol to be of the following type
16011 promoted by the integer promotions.
16013 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16014 in one place. Also handle "macro-constant".
16016 * conform/conformtest.pl: Only accept expected macro values with
16017 "==". Parse all "macro" lines in one place.
16018 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16020 * conform/conformtest.pl: Handle braced types on "constant" lines
16021 instead of handling "typed-constant".
16022 * conform/data/signal.h-data: Use "constant" instead of
16025 * conform/conformtest.pl: Handle "optional-" at start of lines in
16026 one place rather than duplicating several cases. Handle each
16027 format of "macro" line with initial "optional-".
16029 * conform/conformtest.pl: Only accept expected constant or
16030 optional-constant values with "==". Parse all "constant" lines in
16031 one place. Parse all "optional-constant" lines in one place.
16032 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16033 * conform/data/fmtmsg.h-data: Likewise.
16034 * conform/data/netinet/in.h-data: Likewise.
16035 * conform/data/tar.h-data: Likewise.
16036 * conform/data/limits.h-data: Use "==" form on "constant" and
16037 "optional-constant" lines.
16039 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16040 Use -std=c99 for XOPEN2K.
16041 (@knownproblems): Remove.
16042 (newtoken): Don't check %isknown.
16044 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16045 Do not expect macro.
16046 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16047 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16048 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16049 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16050 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16051 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16052 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16053 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16054 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16055 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16056 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16057 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16058 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16059 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16060 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16061 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16062 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16063 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16064 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16065 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16066 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16067 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16068 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16069 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16070 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16071 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16072 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16073 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16074 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16075 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16076 [XPG3] (acosh): Likewise.
16077 [XPG3] (asinh): Likewise.
16078 [XPG3] (atanh): Likewise.
16079 [XPG3] (cbrt): Likewise.
16080 [XPG3] (expm1): Likewise.
16081 [XPG3] (ilogb): Likewise.
16082 [XPG3] (log1p): Likewise.
16083 [XPG3] (logb): Likewise.
16084 [XPG3] (nextafter): Likewise.
16085 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16086 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16087 [XPG3] (remainder): Likewise.
16088 [XPG3] (rint): Likewise.
16089 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16090 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16091 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16092 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16093 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16094 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16095 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16096 [UNIX98 || XOPEN2K] (scalb): Expect.
16097 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16098 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16099 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16100 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16101 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16102 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16103 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16104 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16105 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16106 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16107 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16108 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16109 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16110 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16111 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16112 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16113 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16114 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16115 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16116 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16117 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16118 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16119 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16120 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16121 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16122 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16123 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16124 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16125 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16126 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16127 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16128 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16129 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16130 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16131 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16132 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16133 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16134 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16135 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16136 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16137 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16138 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16139 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16140 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16141 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16142 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16143 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16144 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16145 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16146 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16147 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16148 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16149 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16150 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16151 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16152 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16153 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16154 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16155 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16156 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16157 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16158 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16159 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16160 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16161 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16162 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16163 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16164 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16165 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16166 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16167 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16168 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16169 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16170 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16171 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16172 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16173 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16174 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16175 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16176 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16177 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16178 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16179 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16180 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16181 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16182 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16183 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16184 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16185 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16186 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16187 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16188 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16189 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16190 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16191 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16192 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16193 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16194 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16195 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16196 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16197 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16198 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16199 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16200 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16201 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16202 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16203 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16204 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16205 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16206 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16207 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16208 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16209 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16210 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16211 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16212 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16213 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16214 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16215 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16216 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16217 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16218 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16219 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16220 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16221 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16222 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16223 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16224 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16225 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16226 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16227 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16228 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16229 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16230 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16231 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16232 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16233 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16235 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16236 _XOPEN_SOURCE_EXTENDED for XPG4.
16238 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16240 * Makeconfig (localtime): Remove variable.
16241 (inst_localtime-file): Likewise.
16243 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16264 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16268 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16269 comparisons to determine direction to adjust input.
16270 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16271 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16272 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16274 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16276 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16278 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16279 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16281 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16283 * math/libm-test.inc (nexttoward_test): Add more tests.
16285 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16288 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16289 in version GLIBC_2.1, not GLIBC_2.0.
16290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16293 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16296 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16298 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16299 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16300 * math/libm-test.inc (acos_test): Add more tests.
16301 (asin_test): Likewise.
16302 * sysdeps/i386/fpu/libm-test-ulps: Update.
16303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16306 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16308 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16309 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16310 * math/libm-test.inc (acos_test_tonearest): New function.
16311 (acos_test_towardzero): Likewise.
16312 (acos_test_downward): Likewise.
16313 (acos_test_upward): Likewise.
16314 (asin_test_tonearest): Likewise.
16315 (asin_test_towardzero): Likewise.
16316 (asin_test_downward): Likewise.
16317 (asin_test_upward): Likewise.
16318 (main): Call the new functions.
16319 * sysdeps/i386/fpu/libm-test-ulps: Update.
16320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16324 * math/e_exp10.c: Include <float.h>.
16325 (__ieee754_exp10): Handle underflow here rather than multiplying
16326 large negative argument by M_LN10.
16327 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16329 * math/e_exp10l.c: Include <float.h>.
16330 (__ieee754_exp10l): Handle underflow here rather than multiplying
16331 large negative argument by M_LN10l.
16332 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16333 spurious overflow exception on underflow.
16335 2012-04-29 Marek Polacek <polacek@redhat.com>
16337 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16338 (__fortify_function): New macro.
16339 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16340 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16341 __extern_always_inline.
16342 * libio/bits/stdio2.h: Likewise.
16343 * libio/bits/stdio.h: Likewise.
16344 * string/string.h: Likewise.
16345 * string/bits/string3.h: Likewise.
16346 * include/stdio.h: Likewise.
16347 * stdlib/bits/stdlib.h: Likewise.
16348 * stdlib/stdlib.h: Likewise.
16349 * rt/bits/mqueue2.h: Likewise.
16350 * rt/mqueue.h: Likewise.
16351 * posix/bits/unistd.h: Likewise.
16352 * posix/unistd.h: Likewise.
16353 * io/bits/poll2.h: Likewise.
16354 * io/bits/fcntl2.h: Likewise.
16355 * io/fcntl.h: Likewise.
16356 * io/sys/poll.h: Likewise.
16357 * misc/bits/syslog.h: Likewise.
16358 * misc/bits/syslog-ldbl.h: Likewise.
16359 * misc/sys/syslog.h: Likewise.
16360 * socket/bits/socket2.h: Likewise.
16361 * socket/sys/socket.h: Likewise.
16362 * debug/tst-chk1.c: Likewise.
16363 * wcsmbs/bits/wchar2.h: Likewise.
16364 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16365 * wcsmbs/wchar.h: Likewise.
16367 2012-04-29 Andreas Jaeger <aj@suse.de>
16369 * Makerules (tests): Remove enable-check-abi protection.
16370 (check-abi-warn): Remove.
16371 (check-abi-%): Remove check-abi-warn usage.
16373 * configure.in: Remove check-abi configure option.
16374 * configure: Regenerated.
16375 * config.make.in (enable-check-abi): Remove.
16377 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16380 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16381 double functions to double *_finite functions.
16384 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16385 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16387 * stdio-common/Makefile (tests): Add tst-sprintf3.
16388 * stdio-common/tst-sprintf3.c: New file.
16390 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16391 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16393 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16395 * conform/conformtest.pl: Remove duplicate typed-constant
16398 2012-04-28 David S. Miller <davem@davemloft.net>
16400 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16401 (check-abi-%): Remove AWK script prerequisite and explicit
16403 (check-abi): Rewrite to just diff the symlist with the abilist.
16404 (config-tls, config-abi-config): Delete, no longer used.
16405 (update-abi-%): Remove AWK script and explicit abilist directory.
16406 (update-abi): Rewrite to simply compare and conditionally copy the
16407 symlist and the sysdep abilist file. Remove update-abi-config
16409 * abilist/ld.abilist: Remove.
16410 * abilist/libBrokenLocale.abilist: Remove.
16411 * abilist/libanl.abilist: Remove.
16412 * abilist/libcrypt.abilist: Remove.
16413 * abilist/libdl.abilist: Remove.
16414 * abilist/librt.abilist: Remove.
16415 * abilist/libthread_db.abilist: Remove.
16416 * abilist/libutil.abilist: Remove.
16417 * scripts/extract-abilist.awk: Remove.
16418 * scripts/merge-abilist.awk: Remove.
16419 * sysdeps/generic/libcidn.abilist: New file.
16420 * sysdeps/generic/libnss_compat.abilist: New file.
16421 * sysdeps/generic/libnss_db.abilist: New file.
16422 * sysdeps/generic/libnss_dns.abilist: New file.
16423 * sysdeps/generic/libnss_files.abilist: New file.
16424 * sysdeps/generic/libnss_hesiod.abilist: New file.
16425 * sysdeps/generic/libnss_nis.abilist: New file.
16426 * sysdeps/generic/libnss_nisplus.abilist: New file.
16427 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16428 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16429 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16431 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16432 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16433 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16434 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16435 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16436 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16437 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16438 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16439 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16441 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16442 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16443 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16444 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16446 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16447 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16448 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16449 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16450 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16451 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16453 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16454 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16455 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16457 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16560 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16561 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16562 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16564 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16565 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16566 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16567 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16568 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16569 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16570 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16571 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16572 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16573 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16625 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16627 * conform/conformtest.pl: Fix typo in handling typed-constant from
16630 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16632 * README: Cut down references to pre-2.6 Linux kernels and
16633 Linuxthreads. Update lists of configurations in libc and ports
16634 and sort alphabetically. Say "or newer" with Linux kernel version
16637 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16639 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16642 * math/libm-test.inc (logb_test_downward): New test to expose
16643 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16646 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16649 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16651 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16652 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16654 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16656 * sysdeps/unix/i386/brk.S: Remove file.
16657 * sysdeps/unix/i386/dl-brk.S: Likewise.
16658 * sysdeps/unix/i386/pipe.S: Likewise.
16659 * sysdeps/unix/i386/sigreturn.S: Likewise.
16660 * sysdeps/unix/i386/syscall.S: Likewise.
16661 * sysdeps/unix/i386/vfork.S: Likewise.
16662 * sysdeps/unix/i386/wait.S: Likewise.
16664 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16665 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16667 * configure.in (arm*-none*): Do not allow without
16668 --enable-hacker-mode.
16669 (netbsd*): Remove case setting base_os.
16670 (386bsd*): Likewise.
16671 (freebsd*): Likewise.
16674 (sunos*): Likewise.
16675 (ultrix*): Likewise.
16676 (newsos*): Likewise.
16677 (dynix*): Likewise.
16683 (minix*): Likewise.
16684 (irix4*): Likewise.
16685 (irix6*): Likewise.
16686 (solaris[2-9]*): Likewise.
16688 * configure: Regenerated.
16690 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16693 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16694 overflow or cancellation in calculating denominator.
16695 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16697 down expression to avoid unexpected rounding in newer GCCs.
16698 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16700 2012-04-26 David S. Miller <davem@davemloft.net>
16702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16703 long-double compat symbols.
16704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16718 2012-04-25 David S. Miller <davem@davemloft.net>
16720 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16721 HWCAP_* values only after the memory barriers have been defined.
16722 (atomic_full_barrier): Define.
16723 (atomic_read_barrier): Define.
16724 (atomic_write_barrier): Define.
16726 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16728 * shlib-versions: Add libgcc_s version information.
16729 * sysdeps/generic/libgcc_s.h: Remove.
16730 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16732 * sysdeps/gnu/unwind-resume.c: Likewise.
16733 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16735 2012-04-25 David S. Miller <davem@davemloft.net>
16737 * sysdeps/unix/sparc/brk.S: Delete.
16738 * sysdeps/unix/sparc/dl-brk.S: Delete.
16739 * sysdeps/unix/sparc/pipe.S: Delete.
16740 * sysdeps/unix/sparc/sysdep.S: Delete.
16741 * sysdeps/unix/sparc/sysdep.h: Delete.
16742 * sysdeps/unix/sparc/vfork.S: Delete.
16743 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16744 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16745 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16746 ret_ERRVAL, r0, r1, MOVE): Define.
16747 (JUMPTARGET): Remove.
16748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16749 sysdeps/unix/sparc/sysdep.h
16750 (ENTRY, END): Remove.
16751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16753 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16755 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16756 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16759 * timezone/README: Update upstream location and email address for
16761 * timezone/zdump.c: Update from tzcode 2012b.
16762 * timezone/zic.c: Likewise.
16764 * configure.in (libc_cv_as_needed): Remove test.
16765 * configure: Regenerated.
16766 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16767 conditional definition.
16768 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16769 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16770 * config.make.in (have-as-needed): Remove variable.
16772 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16773 Paul Pluzhnikov <ppluzhnikov@google.com>
16775 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16778 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16780 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16781 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16782 * sysdeps/sh/strlen.S: Likewise.
16784 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16786 * sysdeps/unix/fork.S: Remove file.
16787 * sysdeps/unix/i386/fork.S: Likewise.
16788 * sysdeps/unix/sparc/fork.S: Likewise.
16790 * sysdeps/unix/system.c: Remove file.
16791 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16793 * sysdeps/unix/getegid.S: Remove file.
16794 * sysdeps/unix/geteuid.S: Likewise.
16796 2012-04-24 Roland McGrath <roland@hack.frob.com>
16798 * scripts/check-localplt.awk: New file.
16799 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16801 * scripts/data/localplt-generic.data: Add a comment.
16803 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16804 NODE when __dir_mkfile failed.
16805 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16806 Reported by Ludovic Courtès <ludo@gnu.org>.
16808 2012-04-24 Andreas Jaeger <aj@suse.de>
16810 * Makerules (common-clean): Also remove gen-as-const-headers
16813 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16815 * Makerules (native-compile): Do not change working directory for
16816 build. Use $(OUTPUT_OPTION) in command.
16817 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16819 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16822 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16823 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16824 * math/libm-test.inc (floor_test): Add more tests.
16825 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16827 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16829 * sysdeps/unix/getdents.c: Remove file.
16830 * sysdeps/unix/sysv/getdents.c: Likewise.
16831 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16833 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16834 sysdeps/unix/mman/syscalls.list.
16836 (mprotect): Likewise.
16838 (munmap): Likewise.
16839 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16840 * sysdeps/unix/mman/syscalls.list: Remove.
16841 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16843 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16844 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16845 * configure: Regenerated.
16846 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16847 $(libgcc_s_suffix).
16848 * config.make.in (libgcc_s_suffix): Remove variable.
16850 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16852 * sysdeps/unix/sysv/gethostname.c: Move to ...
16853 * sysdeps/posix/gethostname.c: ... here.
16855 * sysdeps/unix/execve.S: Remove file.
16857 * sysdeps/unix/_exit.S: Remove file.
16859 2012-04-23 Andreas Jaeger <aj@suse.de>
16862 * manual/Makefile: Remove make dist support, there's no
16863 need for a stand-alone documentation tar ball.
16864 (TEXI2DVI): Define always, it's not in Makeconfig.
16867 (edition): Removed.
16868 (glibc-doc-$(edition).tar): Removed
16872 (ETAGS): Remove, it's in Makeconfig.
16873 (move-if-change): Remove, it's in Makeconfig.
16875 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16878 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16879 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16880 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16881 (strtod_l, strtof_l, strtold_l): Remove __wur.
16882 It is not necessarily an error to ignore strtol's return value.
16883 One can reliably look at the stored endptr to decide whether
16884 the number had valid syntax.
16886 2012-04-21 Andreas Jaeger <aj@suse.de>
16889 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16891 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16893 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16894 * sysdeps/unix/sysv/Versions: Remove file.
16896 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16901 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16904 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16905 version from __vm86.
16907 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16909 * sysdeps/unix/common/lxstat.c: Remove file.
16910 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16912 * sysdeps/unix/sysv/Makefile: Remove file.
16914 * sysdeps/unix/sysv/direct.h: Remove file.
16916 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16917 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16918 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16919 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16920 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16921 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16922 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16924 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16926 * sysdeps/unix/xmknod.c: Remove file.
16927 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16929 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16931 * sysdeps/unix/sysv/i386/time.S: Remove file.
16933 * sysdeps/unix/fxstat.c: Remove file.
16934 * sysdeps/unix/xstat.c: Likewise.
16935 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16937 * sysdeps/unix/sysv/sigaction.c: Remove file.
16939 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16940 (sysdep_headers): Remove variable.
16941 [termio.h not in sysdep_headers] (generated): Likewise.
16942 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16943 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16944 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16945 * sysdeps/unix/sysv/tcflow.c: Likewise.
16946 * sysdeps/unix/sysv/tcflush.c: Likewise.
16947 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16948 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16949 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16950 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16951 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16953 * sysdeps/unix/siglist.c: Remove file.
16955 * sysdeps/unix/getppid.S: Remove file.
16957 * sysdeps/unix/mkdir.c: Remove file.
16958 * sysdeps/unix/rmdir.c: Likewise.
16960 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16962 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16964 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16965 errlist-compat value.
16967 2012-04-18 David S. Miller <davem@davemloft.net>
16969 * sysdeps/generic/memcopy.h (reg_char): Delete.
16970 * debug/strcat_chk.c: Use char, not reg_char.
16971 * debug/strcpy_chk.c: Likewise.
16972 * debug/strncat_chk.c: Likewise.
16973 * debug/strncpy_chk.c: Likewise.
16974 * string/memchr.c: Likewise.
16975 * string/memrchr.c: Likewise.
16976 * string/rawmemchr.c: Likewise.
16977 * string/strcat.c: Likewise.
16978 * string/strchr.c: Likewise.
16979 * string/strchrnul.c: Likewise.
16980 * string/strcmp.c: Likewise.
16981 * string/strcpy.c: Likewise.
16982 * string/strncat.c: Likewise.
16983 * string/strncmp.c: Likewise.
16984 * string/strncpy.c: Likewise.
16986 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16988 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16989 __builtin_memcopy is called when src and dest ranges are known to not
16992 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16994 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16995 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16996 fwd_align_merge macro call.
16997 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16998 bwd_align_merge macro call.
16999 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17001 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17004 bwd_align_merge macros.
17005 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17006 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17009 2012-04-18 David S. Miller <davem@davemloft.net>
17011 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17013 2012-04-18 Andreas Jaeger <aj@suse.de>
17016 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17017 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17018 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17020 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17021 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17022 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17024 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17025 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17026 Adjust for changed ldbl-128 files.
17028 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17029 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17030 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17032 2012-04-17 David S. Miller <davem@davemloft.net>
17034 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17036 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17038 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17039 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17040 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17041 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17042 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17043 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17045 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17048 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17049 * math/libm-test.inc: Add ilogb errno and exception tests.
17050 * math/w_ilogb.c: New file: ilogb wrapper.
17051 * math/w_ilogbf.c: New file: ilogbf wrapper.
17052 * math/w_ilogbl.c: New file: ilogbl wrapper.
17053 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17054 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17055 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17056 exception being thrown with 0.0 as argument.
17057 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17058 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17059 exception being thrown with 0.0 as argument.
17060 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17061 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17062 exception being thrown with 0.0 as argument.
17063 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17064 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17065 exception being thrown with 0.0 as argument.
17066 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17067 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17068 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17069 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17070 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17071 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17072 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17073 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17074 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17076 2012-04-17 Petr Baudis <pasky@ucw.cz>
17078 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17081 2012-04-16 Marek Polacek <polacek@redhat.com>
17083 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17085 2012-04-16 Marek Polacek <polacek@redhat.com>
17087 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17088 operands of fdivp instruction.
17090 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17092 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17093 * elf/tst-auditmod3b.c: Likewise.
17094 * elf/tst-auditmod4b.c: Likewise.
17095 * elf/tst-auditmod5b.c: Likewise.
17096 * elf/tst-auditmod6b.c: Likewise.
17097 * elf/tst-auditmod6c.c: Likewise.
17098 * elf/tst-auditmod7b.c: Likewise.
17099 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17100 * sysdeps/x86_64/preconfigure.in: Likewise.
17101 * sysdeps/x86_64/preconfigure: Regenerated.
17103 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17105 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17108 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
17110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17111 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17113 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17116 * locale/iso-639.def: Fix gl language name. Spotted by
17119 2012-04-12 Roland McGrath <roland@hack.frob.com>
17122 * libio/libio.h (__io_write_fn): Update comment.
17124 2012-04-12 Petr Baudis <pasky@ucw.cz>
17127 * stdio.texi (Hook Functions): The user provided writer function
17128 is not allowed to return -1.
17130 2012-04-11 David S. Miller <davem@davemloft.net>
17132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17134 2012-04-11 Mike Frysinger <vapier@gentoo.org>
17136 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17137 Add a leading slash to rtkaio.
17139 2012-04-11 Jim Meyering <meyering@redhat.com>
17142 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17143 It is not necessarily an error to ignore fwrite's return
17144 value. One can reliably use ferror to test for errors after
17147 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17149 * bits/types.h (__snseconds_t): New type.
17150 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17152 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17154 (__SNSECONDS_T_TYPE): Likewise.
17155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17156 (__SNSECONDS_T_TYPE): Likewise.
17157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17158 (__SNSECONDS_T_TYPE): Likewise.
17160 2012-04-10 Andreas Jaeger <aj@suse.de>
17163 * manual/time.texi (Processor Time): Return type of times is
17164 elapsed real time since an arbitrary point in the past.
17165 (CPU Time): Move CLK_TCK from here...
17166 (Processor Time): ...to here. Correct description.
17167 * manual/conf.texi (Constants for Sysconf): Correct description of
17170 2012-04-10 David S. Miller <davem@davemloft.net>
17173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17174 where the is a gap between DT_REL(A) and DT_JMPREL.
17176 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17178 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17179 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17180 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17182 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17184 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17185 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17186 (dl_main): Handle --inhibit-cache.
17187 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17189 * elf/dl-load.c (_dl_map_object): Use it.
17190 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17192 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17195 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17196 (__ieee754_powl): Saturate large exponents rather than testing for
17197 overflow of y*log2(x).
17198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17199 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17203 * math/s_ctan.c: Include <float.h>.
17204 (__ctan): Avoid internal overflow or cancellation in calculating
17206 * math/s_ctanf.c: Likewise.
17207 * math/s_ctanl.c: Likewise.
17208 * math/s_ctanh.c: Likewise.
17209 * math/s_ctanhf.c: Likewise.
17210 * math/s_ctanhl.c: Likewise.
17211 * math/libm-test.inc (ctan_test): Add more tests.
17212 (ctanh_test): Likewise.
17213 * sysdeps/i386/fpu/libm-test-ulps: Update.
17214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17216 2012-04-09 Andreas Jaeger <aj@suse.de>
17219 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17220 is an optional BSD extension.
17223 * manual/stdio.texi (Opening Streams): Document additional fopen
17226 2012-04-09 Roland McGrath <roland@hack.frob.com>
17228 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17229 %eax without telling the compiler.
17231 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17234 * manual/install.texi: Use sourceware.org.
17236 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17239 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17240 (__ieee754_pow): Generate overflow and underflow using huge*huge
17241 and tiny*tiny rather than just returning constant infinity or zero
17242 for large exponents.
17243 * math/libm-test.inc (pow_test): Require overflow exceptions for
17244 applicable cases of large exponents.
17247 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17248 (__ieee754_pow): Use iterative multiplication algorithm only for
17249 integer exponents with absolute value below 1024. Check for odd
17250 integer exponents when using algorithm for real exponents.
17251 * math/libm-test.inc (pow_test): Add more tests.
17252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17254 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17257 * math/libm-test.inc (exp_test): Do not allow overflow exception
17260 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17263 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17264 instead of __kernel_standard_f.
17266 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17268 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17269 * sysdeps/x86_64/memset_chk.S: Likewise.
17271 2012-04-08 Andreas Jaeger <aj@suse.de>
17274 * manual/startup.texi (Environment Access): Describe return value
17275 for putenv and setenv.
17278 * manual/filesys.texi (Directory Entries): Add description for
17282 * manual/filesys.texi (Directory Entries): Clarify that it's file
17283 system not operating system in the description of DT_UNKNOWN.
17286 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17288 2012-04-08 Stephen Compall <s11@member.fsf.org>
17291 * manual/llio.texi (Opening and Closing Files): Add cross
17292 reference to explain mode argument.
17294 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17296 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17297 * sysdeps/x86_64/memset_chk.S: Likewise.
17299 2012-04-07 David S. Miller <davem@davemloft.net>
17301 * elf/elf.h (R_SPARC_WDISP10): Define.
17302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17305 R_SPARC_SIZE64 and R_SPARC_H34.
17307 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17309 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17310 conditions and remove no longer applicable assertion.
17312 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17314 * bits/byteswap.h: Include <features.h>.
17315 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17316 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17318 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17320 * bits/byteswap.h (__bswap_16): Removed.
17321 Include <bits/byteswap-16.h> to get __bswap_16.
17322 * sysdeps/i386/bits/byteswap.h: Likewise.
17323 * sysdeps/s390/bits/byteswap.h: Likewise.
17324 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17325 * bits/byteswap-16.h: New file.
17326 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17327 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17328 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17329 * string/Makefile (headers): Add bits/byteswap-16.h.
17331 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17334 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17336 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17337 * nss/tst-nss-static.c: New.
17339 2012-04-06 Robert Millan <rmh@gnu.org>
17342 * manual/llio.texi (File Position Primitive): lseek
17343 refers to WHENCE when it really means OFFSET.
17345 2012-04-06 Andreas Jaeger <aj@suse.de>
17347 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17348 strncmp declarations.
17350 * abilist/libc.abilist: Add __poll and __ppoll.
17352 2012-04-05 David S. Miller <davem@davemloft.net>
17354 * scripts/check-local-headers.sh: Accept a host triplet in the
17355 path matched by the exclude regexp.
17357 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17359 * sysdeps/powerpc/powerpc32/dl-machine.h
17360 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17361 * sysdeps/s390/s390-32/dl-machine.h
17362 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17363 * sysdeps/sparc/sparc32/dl-machine.h
17364 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17365 * sysdeps/sparc/sparc64/dl-machine.h
17366 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17368 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17370 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17371 undefined symbol errors.
17373 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17376 2012-04-05 Michael Matz <matz@suse.de>
17379 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17381 2012-04-05 Andreas Jaeger <aj@suse.de>
17384 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17387 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17389 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17390 which ROUND is no valid rounding mode.
17392 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17394 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17396 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17398 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17400 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17401 an exception using FPU order intentionally.
17403 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17405 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17406 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17407 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17408 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17410 2012-04-05 Simon Josefsson <simon@josefsson.org>
17413 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17414 EINVAL when BUFLEN is too smal.
17416 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17419 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17420 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17422 2012-04-03 Andreas Jaeger <aj@suse.de>
17425 * manual/setjmp.texi (System V contexts): Fix sentence.
17428 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17429 New macro for this case.
17430 [!__GNUC__] (__bswap_64): New inline function for this case.
17431 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17432 * bits/byteswap.h: Likewise.
17433 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17434 ull, guard with __GLIBC_HAVE_LONG_LONG.
17436 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17437 __GLIBC_HAVE_LONG_LONG.
17439 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17440 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17442 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17445 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17446 inptr and inend, rather than using last_ch.
17448 2012-04-02 David S. Miller <davem@davemloft.net>
17450 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17451 * stdio-common/printf-parse.h (read_int): Change return type to
17452 'int', return -1 on INT_MAX overflow.
17453 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17454 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17455 overflows INT_MAX. Check for overflow of in-format-string precision
17456 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17457 SIZE_MAX not INT_MAX for integer overflow test.
17458 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17459 skip the construct in the format string but do not record anything.
17460 * stdio-common/bug22.c: Adjust to test both width/prevision
17461 INT_MAX overflow as well as total length INT_MAX overflow. Check
17462 explicitly for proper errno values.
17464 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17466 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17468 * string/test-strcmp.c [! WIDE]: Likewise.
17469 * time/tst-mktime2.c: Likewise for INT_MAX.
17470 * string/test-string.h: #include <sys/param.h> for MIN.
17472 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17473 * sysdeps/i386/init-first.c (init): Likewise.
17474 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17475 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17476 * sysdeps/sh/init-first.c (init): Likewise.
17478 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17480 * po/ru.po: Update from translation team.
17481 * po/vi.po: Likewise.
17483 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17485 * resolv/nss_dns/dns-host.c: Merge copyright years.
17487 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17490 Optimize memcpy with prefetch if
17491 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17492 src, dst pointers have unequal 16 byte alignments.
17494 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17497 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17498 from a CNAME entry and return the minimum ttl for the query.
17499 (gaih_getanswer_slice): Likewise.
17501 2012-03-30 Jeff Law <law@redhat.com>
17503 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17505 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17506 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17508 * resolv/nss_dns/dns-host.c: Update copyright year.
17510 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17512 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17513 requests to save a system call. Fix check that all bytes are sent.
17515 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17516 comments for sendmmsg.
17518 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17521 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17522 with only 1 character between 0x0041 and 0x01b0.
17523 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17524 * wcsmbs/tst-mbsnrtowcs.c: New file.
17526 2012-03-29 David S. Miller <davem@davemloft.net>
17528 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17529 small copies by hand.
17531 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17534 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17535 _nss_compat_initgroups_dyn): Fall back to malloc/free
17536 for large group memberships.
17538 2012-03-28 David S. Miller <davem@davemloft.net>
17540 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17541 that branches into memcpy.
17542 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17543 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17545 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17548 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17549 implementation too.
17550 * sysdeps/sparc/mempcpy.S: New file.
17552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17553 the IFUNC routine in the libc case.
17554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17556 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17557 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17558 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17559 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17560 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17561 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17562 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17563 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17565 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17566 loop to 256 bytes instead of 64 bytes and fix test signedness.
17568 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17569 * sysdeps/sparc/sparc32/Makefile: rather than here...
17570 * sysdeps/sparc/sparc64/Makefile: and here.
17572 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17574 * malloc/mallocbug.c: Avoid warnings about unused variables.
17576 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17579 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17580 in the right place. Discard and retry query if response is
17581 larger than input buffer size.
17583 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17588 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17589 x for large integer exponent.
17590 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17591 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17592 sign of result as needed afterwards.
17593 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17594 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17595 result for underflowing pow the same as for overflow.
17596 (__kernel_standard_l): Handle powl overflow and underflow here
17597 rather than calling __kernel_standard.
17598 * math/libm-test.inc (pow_test): Add more tests.
17613 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17614 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17615 (__kernel_standard_l): New function.
17616 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17618 * math/w_acosl.c (__acosl): Likewise.
17619 * math/w_asinl.c (__asinl): Likewise.
17620 * math/w_atan2l.c (__atan2l): Likewise.
17621 * math/w_atanhl.c (__atanhl): Likewise.
17622 * math/w_coshl.c (__coshl): Likewise.
17623 * math/w_exp10l.c (__exp10l): Likewise.
17624 * math/w_exp2l.c (__exp2l): Likewise.
17625 * math/w_fmodl.c (__fmodl): Likewise.
17626 * math/w_hypotl.c (__hypotl): Likewise.
17627 * math/w_j0l.c (__j0l, __y0l): Likewise.
17628 * math/w_j1l.c (__j1l, __y1l): Likewise.
17629 * math/w_jnl.c (__jnl, __ynl): Likewise.
17630 * math/w_lgammal.c (__lgammal): Likewise.
17631 * math/w_log10l.c (__log10l): Likewise.
17632 * math/w_log2l.c (__log2l): Likewise.
17633 * math/w_logl.c (__logl): Likewise.
17634 * math/w_powl.c (__powl): Likewise.
17635 * math/w_remainderl.c (__remainderl): Likewise.
17636 * math/w_scalbl.c (sysv_scalbl): Likewise.
17637 * math/w_sinhl.c (__sinhl): Likewise.
17638 * math/w_sqrtl.c (__sqrtl): Likewise.
17639 * math/w_tgammal.c (__tgammal): Likewise.
17640 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17641 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17642 * math/libm-test.inc (acos_test): Add more tests.
17643 (acosh_test): Likewise.
17644 (asin_test): Likewise.
17645 (atanh_test): Likewise.
17646 (exp_test): Likewise.
17647 (exp10_test): Likewise.
17648 (exp2_test): Likewise.
17649 (expm1_test): Likewise.
17650 (lgamma_test): Likewise.
17651 (log_test): Likewise.
17652 (log10_test): Likewise.
17653 (log1p_test): Likewise.
17654 (log2_test): Likewise.
17655 (pow_test): Do not allow some spurious overflow exceptions.
17656 (sqrt_test): Add more tests.
17657 (tgamma_test): Likewise.
17658 (y0_test): Likewise.
17659 (y1_test): Likewise.
17660 (yn_test): Likewise.
17662 2012-03-27 Anton Blanchard <anton@samba.org>
17664 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17666 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17667 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17668 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17670 2012-03-27 David S. Miller <davem@davemloft.net>
17672 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17674 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17675 have-as-vis3 check.
17677 2012-03-27 Andreas Jaeger <aj@suse.de>
17679 * sysdeps/x86_64/elf/configure.in: Moved to ...
17680 * sysdeps/x86_64/configure.in: ... here.
17681 * sysdeps/x86_64/elf/start.S: Moved to ...
17682 * sysdeps/x86_64/start.S: ... here.
17683 * sysdeps/x86_64/elf/configure: Delete.
17685 * sysdeps/x86_64/configure.in: Merge contents from
17686 sysdeps/i386/configure.in (without i686 check).
17688 * sysdeps/i386/elf/Versions: Merge into ...
17689 * sysdeps/i386/Versions: ... this.
17690 * sysdeps/i386/elf/Versions: Delete file.
17691 * sysdeps/i386/elf/start.S: Moved to ...
17692 * sysdeps/i386/start.S: ...here.
17693 * sysdeps/i386/elf/configure.in: Merge into...
17694 * sysdeps/i386/configure.in: ...here.
17695 * sysdeps/i386/elf/configure.in: Delete file.
17696 * sysdeps/i386/elf/configure: Delete file.
17698 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17699 * debug/backtracesyms.c: ... here.
17700 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17701 * debug/backtracesymsfd.c: ... here.
17702 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17703 * sysdeps/generic/ifunc-sel.h: ... here.
17705 * sysdeps/unix/i386/start.c: Delete file.
17706 * sysdeps/unix/sparc/start.c: Delete file.
17707 * sysdeps/unix/start.c: Delete file.
17709 * sysdeps/sh/elf/configure.in: Moved to ...
17710 * sysdeps/sh/configure.in: ... here.
17711 * sysdeps/sh/elf/start.S: Moved to ...
17712 * sysdeps/sh/start.S: ... here.
17713 * sysdeps/sh/elf/configure: Delete file.
17715 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17716 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17717 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17718 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17719 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17720 * sysdeps/powerpc/powerpc64/start.S: here.
17721 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17722 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17723 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17724 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17725 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17727 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17728 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17729 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17730 * sysdeps/powerpc/powerpc32/start.S: ... here.
17731 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17732 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17733 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17735 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17736 * sysdeps/powerpc/ifunc-sel.h: ... here.
17737 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17738 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17740 * sysdeps/sparc/elf/configure.in: Moved to ...
17741 * sysdeps/sparc/configure.in: ... here.
17742 * sysdeps/sparc/elf/configure: Delete file.
17743 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17744 * sysdeps/sparc/sparc32/start.S: ... here.
17745 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17746 * sysdeps/sparc/sparc64/start.S: ... here.
17747 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17748 * sysdeps/sparc/sparc32/Makefile: ... this.
17749 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17750 * sysdeps/sparc/sparc64/Makefile: ... this.
17752 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17753 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17754 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17755 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17756 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17757 * sysdeps/s390/s390-32/setjmp.S: ... here.
17758 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17759 * sysdeps/s390/s390-32/configure.in: ... here.
17760 * sysdeps/s390/s390-32/elf/configure: Delete file.
17761 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17762 * sysdeps/s390/s390-32/start.S: ... here.
17764 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17765 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17766 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17767 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17768 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17769 * sysdeps/s390/s390-64/setjmp.S: ... here.
17770 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17771 * sysdeps/s390/s390-64/configure.in: ... here
17772 * sysdeps/s390/s390-64/elf/configure: Delete file.
17773 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17774 * sysdeps/s390/s390-64/start.S: ... here.
17775 * sysdeps/s390/s390-64/elf/configure: Delete.
17777 * configure.in: Remove support for elf directories in sysdeps.
17779 * configure: Regenerated.
17780 * sysdeps/i386/configure: Regenerated.
17781 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17782 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17783 * sysdeps/s390/s390-32/configure: Regenerated.
17784 * sysdeps/s390/s390-64/configure: Regenerated.
17785 * sysdeps/sh/configure: Regenerated.
17786 * sysdeps/sparc/configure: Regenerated.
17787 * sysdeps/x86_64/configure: Regenerated.
17789 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17794 denormal result into account.
17796 2012-03-25 Roland McGrath <roland@hack.frob.com>
17798 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17799 Reported by Allan McRae <allan@archlinux.org>.
17801 2012-03-23 Jeff Law <law@redhat.com>
17803 * nss/getnssent.c (__nss_getent): Fix typo.
17805 2012-03-23 David S. Miller <davem@davemloft.net>
17807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17809 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17811 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17812 to pad to uint64_t for each field.
17813 (dl_tls_index): Replace unsigned long with uint64_t.
17815 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17816 Paul Pluzhnikov <ppluzhnikov@google.com>
17819 * grp/Makefile (otherlibs): Don't set it.
17820 * inet/Makefile (otherlibs): Likewise.
17821 * login/Makefile (otherlibs): Likewise.
17822 * nscd/Makefile (otherlibs): Likewise.
17823 * posix/Makefile (otherlibs): Likewise.
17824 * pwd/Makefile (otherlibs): Likewise.
17825 * rt/Makefile (otherlibs): Likewise.
17826 * sunrpc/Makefile (otherlibs): Likewise.
17827 * nss/Makefile (otherlibs): Likewise.
17828 Add libnss_files to routines and static-only-routines.
17829 ($(objpfx)getent): Remove rule.
17830 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17831 static-only-routines.
17833 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17836 * math/s_cexp.c: Include <float.h>.
17837 (__cexp): Handle exp result overflowing not necessarily
17838 overflowing both real and imaginary parts of result.
17839 * math/s_cexpf.c: Likewise.
17840 * math/s_cexpl.c: Likewise.
17841 * math/libm-test.inc (cexp_test): Add more tests.
17842 * sysdeps/i386/fpu/libm-test-ulps: Update.
17843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17845 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17847 * include/link.h (ELFW): New macro.
17848 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17849 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17851 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17853 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17856 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17858 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17860 (struct La_x32_retval): Likewise.
17862 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17864 * sysdeps/x86_64/preconfigure.in: New file.
17865 * sysdeps/x86_64/preconfigure: New generated file.
17867 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17870 * math/e_exp2l.c: Include <float.h>.
17871 (__ieee754_exp2l): Handle overflow and underflow cases
17872 separately. Only pass fractional part of argument to
17874 * math/libm-test.inc (exp2_test): Add more tests.
17876 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17877 negating x to take absolute value.
17878 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17883 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17884 computing low part if x was negated.
17885 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17887 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17889 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17890 la_x32_gnu_pltexit.
17891 (pltexit): Cast int_retval to ptrdiff_t.
17892 * elf/tst-auditmod3b.c: Likewise.
17893 * elf/tst-auditmod4b.c: Likewise.
17894 * elf/tst-auditmod5b.c: Likewise.
17895 * elf/tst-auditmod6b.c: Likewise.
17896 * elf/tst-auditmod6c.c: Likewise.
17897 * elf/tst-auditmod7b.c: Likewise.
17899 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17900 and x32_gnu_pltexit.
17902 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17903 __ELF_NATIVE_CLASS.
17904 (La_x32_regs): New macro.
17905 (La_x32_retval): Likewise.
17906 (la_x32_gnu_pltenter): New function prototype.
17907 (la_x32_gnu_pltexit): Likewise.
17909 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17916 * configure.in (libc_cv_cc_nofma): Check for option to disable
17917 generation of FMA instructions.
17918 * configure: Regenerate.
17919 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17920 * sysdeps/ieee754/dbl-64/Makefile: New file.
17921 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17922 Remove brandred-fma4.
17923 (CFLAGS-brandred-fma4.c): Remove.
17924 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17925 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17927 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17930 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17932 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17933 LLONG_MAX != LONG_MAX.
17934 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17935 (_fitoa_word): Likewise.
17936 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17937 LLONG_MAX != LONG_MAX.
17938 * stdio-common/_itowa.h: Include <_itoa.h>.
17939 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17940 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17941 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17942 only if not defined.
17943 (_ITOA_WORD_TYPE): Likewise.
17944 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17945 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17947 2012-03-21 David S. Miller <davem@davemloft.net>
17949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17951 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17953 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17954 of x86_64 when setting libc_cv_slibdir, libdir and
17956 * sysdeps/unix/sysv/linux/configure: Regenerated.
17958 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17960 * manual/lang.texi (Old Varargs): Remove section.
17961 (How Variadic): Update menu.
17962 (va_start): Do not mention varargs.h.
17964 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17965 Joseph Myers <joseph@codesourcery.com>
17967 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17969 * configure: Regenerated.
17971 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17973 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17974 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17977 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17980 * Makefile (files-for-dist): Remove NOTES.
17981 (NOTES): Remove rule.
17982 * README: Don't refer to NOTES.
17983 * manual/creature.texi: Don't include macros.texi.
17984 * manual/intro.texi (creature.texi): Remove comment referring to
17987 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17988 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17989 * configure: Regenerated.
17990 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17991 LIBC_TRY_CC_OPTION.
17992 (libc_cv_as_i686): Likewise.
17993 (libc_cv_cc_avx): Likewise.
17994 (libc_cv_cc_sse2avx): Likewise.
17995 (libc_cv_cc_fma4): Likewise.
17996 (libc_cv_cc_novzeroupper): Likewise.
17997 * sysdeps/i386/configure: Regenerated.
18000 * sysdeps/i386/fpu/s_cexp.S: Remove.
18001 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18002 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18003 * math/libm-test.inc (cexp_test): Add more tests.
18004 * sysdeps/i386/fpu/libm-test-ulps: Update.
18005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18007 2012-03-21 Allan McRae <allan@archlinux.org>
18009 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18011 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18014 * math/w_exp2.c: Do not include <float.h>.
18015 (o_threshold, u_threshold): Remove.
18016 (__exp2): Calculate result before checking finiteness and calling
18018 * math/w_exp2f.c: Likewise.
18019 * math/w_exp2l.c: Likewise.
18020 * math/libm-test.inc (exp2_test): Require overflow exception for
18024 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18025 range of signed 64-bit integers before using fistpll. Remove
18026 checks for whether integers fit in mantissa bits.
18027 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18028 the range of signed 32-bit integers before using fistpl. Remove
18029 checks for whether integers fit in mantissa bits.
18030 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18031 (__ieee754_powl): Test for y outside the range of signed 64-bit
18032 integers before using fistpll. Reduce 64-bit values to 63-bit
18034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18035 divide-by-zero is raised for zero to large negative powers.
18036 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18037 (__ieee754_powl): Test for y outside the range of signed 64-bit
18038 integers before using fistpll. Reduce 64-bit values to 63-bit
18040 * math/libm-test.inc (pow_test): Add more tests.
18042 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18044 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18045 <stdio-common/_itoa.h>.
18046 * debug/segfault.c: Likewise.
18047 * elf/dl-cache.c: Likewise.
18048 * elf/dl-minimal.c: Likewise.
18049 * elf/dl-misc.c: Likewise.
18050 * elf/dl-sysdep.c: Likewise.
18051 * elf/dl-version.c: Likewise.
18052 * elf/rtld.c: Likewise.
18053 * hurd/hurdsock.c: Likewise.
18054 * hurd/lookup-retry.c: Likewise.
18055 * malloc/malloc.c: Likewise.
18056 * malloc/mtrace.c: Likewise.
18057 * nscd/nscd_getgr_r.c: Likewise.
18058 * nscd/nscd_getpw_r.c: Likewise.
18059 * nscd/nscd_getserv_r.c: Likewise.
18060 * posix/getopt_init.c: Likewise.
18061 * posix/wordexp.c: Likewise.
18062 * stdio-common/_itoa.c: Likewise.
18063 * stdio-common/printf_fphex.c: Likewise.
18064 * stdio-common/vfprintf.c: Likewise.
18065 * string/_strerror.c: Likewise.
18066 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18067 * sysdeps/i386/i686/hp-timing.h: Likewise.
18068 * sysdeps/mach/_strerror.c: Likewise.
18069 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18070 * sysdeps/mach/hurd/sethostid.c: Likewise.
18071 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18072 * sysdeps/mach/xpg-strerror.c: Likewise.
18073 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18074 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18075 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18076 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18077 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18078 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18079 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18080 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18081 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18082 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18083 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18084 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18085 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18086 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18087 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18088 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18089 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18090 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18091 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18092 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18093 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18095 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18097 * stdio-common/_itoa.h: Moved to ...
18098 * sysdeps/generic/_itoa.h: Here.
18100 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18102 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18103 instead of "_itoa.h" and "_itowa.h".
18104 * stdio-common/vfprintf.: Likewise.
18106 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18108 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18110 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18111 (__signbit): Likwise.
18112 (llrintf): Likwise.
18115 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18117 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18120 2012-03-20 Joseph Myers <joseph@codesourcery.com>
18122 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18123 OVERFLOW_EXCEPTION_OK.
18124 * math/libm-test.inc ("Philosophy"): Update comment about
18126 (OVERFLOW_EXCEPTION): Define.
18127 (OVERFLOW_EXCEPTION_OK): Likewise.
18128 (INVALID_EXCEPTION_OK): Renumber.
18129 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18130 (IGNORE_ZERO_INF_SIGN): Likewise.
18131 (test_exceptions): Handle FE_OVERFLOW.
18132 (exp10_test): Expect overflow exceptions.
18133 (exp2_test): Likewise.
18134 (expm1_test): Likewise.
18135 (nextafter_test): Likewise.
18136 (pow_test): Likewise.
18137 (scalbn_test): Likewise.
18138 (scalbln_test): Likewise.
18140 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18142 * sysdeps/x86_64/bits/atomic.h
18143 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18145 (atomic_exchange_acq): Likewise.
18146 (__arch_exchange_and_add_body): Likewise.
18147 (__arch_add_body): Likewise.
18148 (atomic_add_negative): Likewise.
18149 (atomic_add_zero): Likewise.
18151 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18153 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18154 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18156 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18158 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18159 Check __x86_64__ instead of __WORDSIZE.
18161 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18163 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18165 2012-03-19 David S. Miller <davem@davemloft.net>
18167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18169 * sysdeps/sparc/fpu/fenv_private.h: New file.
18170 * sysdeps/sparc/fpu/math_private.h: Use it.
18171 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18173 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18174 (libc_feholdexcept_setroundl): Remove.
18175 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18177 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18178 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18180 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18182 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18183 int64_t instead of long int.
18184 (INSERT_WORDS64): Likwise.
18186 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18188 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18189 _Unwind_GetCFA return to _Unwind_Ptr first.
18191 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18194 * math/s_clog.c: Include <float.h>.
18195 (__clog): Scale large or subnormal inputs.
18196 * math/s_clogf.c: Likewise.
18197 * math/s_clogl.c: Likewise.
18198 * math/s_clog10.c: Include <float.h>.
18199 (M_LOG10_2): Define.
18200 (__clog10): Scale large or subnormal inputs.
18201 * math/s_clog10f.c: Likewise.
18202 * math/s_clog10l.c: Likewise.
18203 * math/libm-test.inc (clog_test): Add more tests.
18204 (clog10_test): Likewise.
18205 * sysdeps/i386/fpu/libm-test-ulps: Update.
18206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18209 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18211 * math/libm-test.inc (atan2_test): Add another test.
18213 * Makerules (common-objdir-compile): Remove.
18214 * sysdeps/unix/Makefile (config-generated): Do not add
18215 $(unix-generated) to variable.
18216 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18217 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18219 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18221 [generic bits/local_lim.h] (before-compile): Do not append to
18223 [generic bits/local_lim.h] (common-generated): Likewise.
18224 [generic sys/param.h] (before-compile): Do not append to variable.
18225 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18226 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18227 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18228 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18230 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18231 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18232 [generic sys/param.h] ($(addprefix
18233 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18234 [generic sys/param.h] (common-generated): Do not append to
18236 [generic sys/param.h] (sysdep_headers): Likewise.
18237 [generic bits/errno.h] (before-compile): Do not append to
18239 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18241 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18242 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18243 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18244 [generic bits/errno.h] (common-generated): Do not append to
18246 [generic bits/ioctls.h] (before-compile): Do not append to
18248 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18250 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18251 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18252 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18254 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18255 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18256 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18257 [generic bits/ioctls.h] (common-generated): Do not append to
18259 [generic sys/syscall.h] (syscall.h): Remove variable.
18260 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18262 [generic sys/syscall.h] (before-compile): Do not append to
18264 [generic sys/syscall.h] (common-generated): Likewise.
18265 * sysdeps/unix/errnos-tmpl.c: Remove file.
18266 * sysdeps/unix/errnos.awk: Likewise.
18267 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18268 * sysdeps/unix/ioctls.awk: Likewise.
18269 * sysdeps/unix/mk-local_lim.c: Likewise.
18270 * sysdeps/unix/snarf-ioctls: Likewise.
18272 2012-03-19 Richard Henderson <rth@twiddle.net>
18274 * sysdeps/i386/fpu/fenv_private.h: New file.
18275 * sysdeps/i386/fpu/math_private.h: Use it.
18276 (math_opt_barrier, math_force_eval): Remove.
18277 (libc_feholdexcept_setround_53bit): Remove.
18278 (libc_feupdateenv_53bit): Remove.
18279 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18280 (math_opt_barrier, math_force_eval): Remove.
18281 (libc_feholdexcept): Remove.
18282 (libc_feholdexcept_setround): Remove.
18283 (libc_fetestexcept, libc_fesetenv): Remove.
18284 (libc_feupdateenv_test): Remove.
18285 (libc_feupdateenv, libc_feholdsetround): Remove.
18286 (libc_feresetround): Remove.
18288 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18289 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18291 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18292 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18293 (libc_feupdateenv_testl): New.
18294 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18295 (libc_feupdateenv_testf): New.
18296 (libc_feupdateenv): Use libc_feupdateenv_test.
18297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18298 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18300 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18301 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18302 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18303 (libc_feresetround_noex): New.
18304 (libc_feresetround_noexf): New.
18305 (libc_feresetround_noexl): New.
18306 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18307 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18308 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18309 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18314 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18315 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18316 SET_RESTORE_ROUND_NOEX.
18317 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18318 SET_RESTORE_ROUND_NOEXF.
18319 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18320 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18321 (libc_feholdsetroundf): New.
18322 (libc_feresetround, libc_feresetroundf): New.
18324 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18325 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18326 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18328 * sysdeps/generic/math_private.h: Include <fenv.h>.
18329 (default_libc_feholdexcept): New.
18330 (default_libc_feholdexcept_setround): New.
18331 (default_libc_fesetenv, default_libc_feupdateenv): New.
18332 (libc_feholdexcept): Only define if undefined.
18333 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18334 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18335 (libc_feholdexcept_setroundl): Likewise.
18336 (libc_feholdexcept_setround_53bit): Likewise.
18337 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18338 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18339 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18340 (libc_feupdateenv_53bit): Likewise.
18341 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18342 (libc_feholdexcept): Convert from macro to inline function.
18343 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18344 (libc_fesetenv, libc_feupdateenv): Likewise.
18346 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18347 not previously defined.
18348 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18349 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18350 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18351 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18352 * sysdeps/ieee754/flt-32/math_private.h: New file.
18353 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18354 math_private.h below SET_FLOAT_WORD.
18355 (__isnan, __isinf_ns, __finite): Remove.
18356 (__isnanf, __isinf_nsf, __finitef): Remove.
18358 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18362 2012-03-17 David S. Miller <davem@davemloft.net>
18365 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18368 2012-03-16 David S. Miller <davem@davemloft.net>
18370 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18374 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18376 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18377 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18378 sysdep_routines when subdir is sysvipc.
18379 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18380 __getshmlba helper.
18382 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18384 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18386 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18389 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18391 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18392 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18393 (__lround): Renamed to ...
18394 (__llround): This. Replace long int with long long int.
18395 Define lround functions as aliases of llround functions.
18396 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18398 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18400 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18401 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18402 adresses to uintptr_t. Replace "long int" and "unsigned long
18403 int" with "greg_t" on va_arg.
18405 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18407 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18408 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18410 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18411 Move e_machine check before EI_CLASS check. Handle x32
18412 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18413 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18414 SKIP_EM_IA_64 and include
18415 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18417 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18418 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18419 (add_system_dir): New macro.
18421 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18422 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18424 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18435 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18437 * math/w_j0f.c (j0f): Likewise.
18439 * math/w_j0l.c (__j0l): Likewise.
18441 * math/w_j1.c (j1): Likewise.
18443 * math/w_j1f.c (j1f): Likewise.
18445 * math/w_j1l.c (__j1l): Likewise.
18447 * math/w_jn.c (jn): Likewise.
18449 * math/w_jnf.c (jnf): Likewise.
18451 * math/w_jnl.c (__jnl): Likewise.
18453 * math/libm-test.inc (j0_test): Add more tests.
18454 (j1_test): Likewise.
18455 (jn_test): Likewise. Add trailing semicolon to existing test.
18456 (y0_test): Likewise.
18457 (y1_test): Likewise.
18458 * sysdeps/i386/fpu/libm-test-ulps: Update.
18459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18463 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18464 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18465 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18466 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18467 (__tanl): Set errno for infinite argument.
18468 * sysdeps/i386/fpu/mptan.c: Remove.
18469 * sysdeps/i386/fpu/s_tan.S: Likewise.
18470 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18471 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18472 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18473 * math/libm-test.inc (tan_test): Add more tests and enable more
18474 tests for double and long double.
18475 * sysdeps/i386/fpu/libm-test-ulps: Update.
18476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18478 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18480 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18481 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18483 2012-03-16 Roland McGrath <roland@hack.frob.com>
18485 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18486 * configure.in: Use it for both main tree and add-ons.
18487 * configure: Regenerated.
18489 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18491 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18493 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18495 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18499 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18500 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18501 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18502 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18503 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18505 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18507 != 0 for prec == 2.
18508 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18509 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18510 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18511 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18512 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18513 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18514 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18515 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18516 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18517 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18518 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18519 * math/libm-test.inc (cos_test): Add more tests and enable more
18520 tests for long double.
18521 (sin_test): Likewise.
18522 (sincos_test): Likewise.
18523 * sysdeps/i386/fpu/libm-test-ulps: Update.
18524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18526 2012-03-16 David S. Miller <davem@davemloft.net>
18528 * sysdeps/sparc/fpu/math_private.h: New file.
18530 2012-03-15 David S. Miller <davem@davemloft.net>
18532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18546 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18547 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18549 * sysdeps/sparc/sparc-ifunc.h: New file.
18550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18595 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18597 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18601 2012-03-15 Andreas Jaeger <aj@suse.de>
18604 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18605 ieee754/flt-32 implementation for sin, cos and sincos.
18606 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18607 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18608 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18609 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18610 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18611 ieee754/flt-32 implementation for tan.
18613 * math/libm-test.inc (cos_test): Enable some large input tests for
18615 (sin_test): Likewise.
18616 (sincos_test): Likewise.
18617 (tan_test): Add tests for large input.
18619 * sysdeps/i386/fpu/libm-test-ulps: Update.
18621 2012-03-15 Andreas Jaeger <aj@suse.de>
18624 * math/libm-test.inc (cos_test): Add more test cases.
18625 (sin_test): Likewise.
18626 (sincos_test): Likewise.
18628 2012-03-15 Andreas Jaeger <aj@suse.de>
18631 * math/libm-test.inc (cos_test): Add a test case for large input
18633 (sin_test): Likewise.
18634 (sincos_test): Likewise.
18636 2012-03-15 Andreas Jaeger <aj@suse.de>,
18637 Joseph Myers <joseph@codesourcery.com>
18640 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18641 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18642 * sysdeps/i386/fpu/branred.c: Likewise.
18643 * sysdeps/i386/fpu/dosincos.c: Likewise.
18644 * sysdeps/i386/fpu/mpa.c: Likewise.
18645 * sysdeps/i386/fpu/s_cos.S: Likewise.
18646 * sysdeps/i386/fpu/s_sin.S: Likewise.
18647 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18648 * sysdeps/i386/fpu/sincos32.c: Likewise.
18650 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18652 (libc_feupdateenv_53bit): Define.
18653 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18655 (libc_feupdateenv_53bit): Define.
18657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18658 53 bit (without extend i386 double precision).
18660 * math/libm-test.inc (sincos_test): Add tests for large input.
18664 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18666 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18670 2012-03-15 David S. Miller <davem@davemloft.net>
18672 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18673 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18674 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18675 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18699 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18700 fmin/fmax sysdep routines.
18701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18703 2012-03-14 David S. Miller <davem@davemloft.net>
18705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18777 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18782 * sysdeps/sparc/configure.in: New file.
18783 * sysdeps/sparc/configure: Generate.
18784 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18785 * configure: Regenerate.
18786 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18787 * config.make.in (have-as-vis3): New.
18788 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18789 available use -Av9d instead of -Av9a.
18790 * sysdeps/sparc/sparc64/Makefile: Likewise.
18791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18806 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18807 fzeros/fnegs to load 0x80000000 into a float register instead of
18809 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18811 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18815 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18816 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18817 ($(inst_includedir)/bits/syscall.h): Remove rule.
18818 ($(objpfx)bits/syscall.d): Include instead of
18819 $(objpfx)syscall-list.d.
18820 (generated): Change syscall-list.h and syscall-list.d to
18821 bits/syscall.h and bits/syscall.d.
18823 2012-03-14 Roland McGrath <roland@hack.frob.com>
18826 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18828 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18831 * math/s_csqrt.c: Include <float.h>.
18832 (__csqrt): Scale large or subnormal inputs.
18833 * math/s_csqrtf.c: Likewise.
18834 * math/s_csqrtl.c: Likewise.
18835 * math/libm-test.inc (csqrt_test): Add more tests.
18836 * sysdeps/i386/fpu/libm-test-ulps: Update.
18837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18840 * math/libm-test.inc (hypot_test): Add more tests.
18842 2012-03-13 David S. Miller <davem@davemloft.net>
18845 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18846 double-precision for the calculation instead of scaling.
18848 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18850 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18851 manipulate bits before adding and subtracting TWO52[sx].
18852 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18853 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18855 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18857 2012-03-13 David S. Miller <davem@davemloft.net>
18859 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18860 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18862 rtld-global-offsets.h
18863 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18865 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18868 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18870 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18871 'err' in the ifdef scope in which it is actually used.
18873 * nss/nss_db/db-init.c: Include string.h
18875 2012-03-12 David S. Miller <davem@davemloft.net>
18877 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18878 masking out of the most significant byte of random value used.
18879 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18880 Fix coding style in previous change.
18882 * sysdeps/unix/sysv/linux/kernel-features.h
18883 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18884 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18886 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18889 2012-03-11 David S. Miller <davem@davemloft.net>
18891 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18892 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18893 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18894 for 'resultvar' otherwise things get truncated on 64-bit.
18896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18897 Fix masking out of the most significant byte of random value used.
18899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18901 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18905 2012-03-09 David S. Miller <davem@davemloft.net>
18907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18908 variables with appropriate CPP guards.
18909 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18910 frame pointer, not the stack pointer. Correct layout comments. Fix test
18911 on resulting framesize and the management of the outregs buffer for pltexit.
18912 Preserve floating point return values across _dl_call_pltexit call.
18913 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18914 framesize and the management of the outregs buffer for pltexit.
18915 Preserve floating point return values across _dl_call_pltexit
18917 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18918 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18919 (print_exit): Fix format string for return register value.
18921 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18923 * sunrpc/Makefile (others): Add rpcgen.
18924 ($(objpfx)rpcgen): Remove special build rule and dependency on
18926 * sunrpc/rpcgen.c: New file.
18928 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18931 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18932 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18933 * sysdeps/i386/crti.S: Likewise.
18934 * sysdeps/i386/crtn.S: Likewise.
18935 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18936 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18937 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18938 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18939 * sysdeps/sh/crti.S: Likewise.
18940 * sysdeps/sh/crtn.S: Likewise.
18941 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18944 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18946 * locale/programs/locfile-kw.gperf: Likewise.
18947 * locale/programs/charmap-kw.h: Regenerated.
18948 * locale/programs/locfile-kw.h: Likewise.
18951 * intl/plural.y: Replace FSF snail mail address with URL.
18952 * intl/plural.c: Regenerated.
18954 2012-03-09 Richard Henderson <rth@twiddle.net>
18956 * include/math_private.h: Remove file.
18957 * math/math_private.h: Move file ...
18958 * sysdeps/generic/math_private.h: ... here.
18960 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18961 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18962 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18964 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18965 and <math_private.h>.
18966 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18967 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18968 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18969 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18970 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18971 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18972 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18974 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18975 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18977 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18980 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18981 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18982 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18983 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18984 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18985 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18988 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18990 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18991 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18992 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18993 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18994 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18995 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18996 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18998 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18999 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19002 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19003 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19004 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19005 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19006 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19007 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19008 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19009 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19010 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19011 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19012 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19013 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19014 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19015 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19016 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19017 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19018 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19019 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19020 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19021 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19023 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19024 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19025 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19027 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19029 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19030 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19031 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19032 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19034 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19035 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19036 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19037 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19038 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19040 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19045 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19046 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19047 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19048 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19049 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19050 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19053 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19054 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19055 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19056 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19057 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19058 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19059 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19060 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19061 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19062 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19063 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19064 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19065 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19066 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19067 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19068 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19069 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19070 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19071 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19072 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19073 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19074 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19075 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19076 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19077 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19078 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19079 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19080 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19081 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19082 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19083 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19084 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19085 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19086 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19087 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19088 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19089 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19090 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19091 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19092 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19093 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19094 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19095 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19096 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19097 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19098 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19099 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19100 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19101 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19102 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19103 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19104 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19105 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19106 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19107 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19108 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19109 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19110 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19111 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19112 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19113 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19114 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19115 * sysdeps/ieee754/k_standard.c: Likewise.
19116 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19117 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19118 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19119 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19120 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19121 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19122 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19123 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19124 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19125 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19126 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19127 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19128 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19129 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19130 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19131 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19132 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19133 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19134 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19136 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19137 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19138 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19139 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19140 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19141 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19142 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19144 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19145 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19146 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19147 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19148 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19151 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19152 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19153 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19154 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19155 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19156 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19157 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19158 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19159 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19160 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19161 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19162 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19163 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19164 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19165 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19167 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19168 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19169 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19170 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19171 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19172 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19173 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19174 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19175 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19176 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19177 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19178 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19182 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19183 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19184 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19185 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19186 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19188 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19189 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19190 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19192 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19193 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19195 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19196 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19197 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19198 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19199 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19200 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19201 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19202 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19203 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19208 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19212 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19213 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19214 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19215 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19216 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19218 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19219 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19220 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19223 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19224 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19226 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19230 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19231 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19232 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19233 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19234 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19235 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19237 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19238 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19239 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19241 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19249 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19252 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19253 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19254 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19255 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19256 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19257 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19258 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19259 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19260 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19262 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19263 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19264 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19265 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19266 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19267 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19268 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19269 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19270 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19271 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19272 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19273 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19274 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19275 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19276 * sysdeps/ieee754/s_lib_version.c: Likewise.
19277 * sysdeps/ieee754/s_matherr.c: Likewise.
19278 * sysdeps/ieee754/s_signgam.c: Likewise.
19279 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19280 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19281 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19282 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19283 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19284 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19285 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19286 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19287 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19288 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19289 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19290 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19291 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19292 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19293 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19294 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19295 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19296 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19297 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19301 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19303 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19304 * sunrpc/rpc_main.c: Likewise.
19305 * sunrpc/rpc_svcout.c: Likewise.
19307 2012-03-09 David S. Miller <davem@davemloft.net>
19309 * include/math_private.h: New file.
19311 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19313 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19314 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19315 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19316 from <bits/socket_type.h>.
19317 (enum __socket_type): Don't define here.
19318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19320 bits/socket_type.h.
19323 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19324 checking __USE_GNU.
19326 * Makerules ($(inst_includedir)/%.h): New rule.
19327 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19328 (install-others): Remove variable setting.
19329 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19331 2012-03-08 Richard Henderson <rth@twiddle.net>
19333 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19334 from macro to inline function; merge with the
19335 !__LIBC_INTERNAL_MATH_INLINES version.
19336 (__ieee754_sqrtf): Likewise.
19338 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19339 to inline function.
19340 (__rintf, __floor, __floorf): Likewise.
19342 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19343 macro to inline function.
19344 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19346 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19347 not <math/math_private.h>.
19349 2012-03-08 David S. Miller <davem@davemloft.net>
19351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19353 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19355 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19357 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19359 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19360 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19362 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19364 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19365 be defined individually, they must be defined as a block. Define
19366 S for printing a string instead of hidint the different by using a
19367 macro for adding the 'l'.
19368 * stdio-common/tst-fphex-wide.c: Adjust.
19370 2012-03-07 Marek Polacek <polacek@redhat.com>
19372 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19374 2012-03-08 Marek Polacek <polacek@redhat.com>
19377 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19378 * stdio-common/tst-fphex.c: Define a few macros to make the
19379 test reusable. Use them.
19380 * stdio-common/tst-fphex-wide.c: New file.
19382 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19385 * manual/macros.texi (gnusystems): New macro.
19386 (nongnusystems): Likewise.
19387 (gnulinuxhurdsystems): Likewise.
19388 (gnuhurdsystems): Likewise..
19389 (gnulinuxsystems): Likewise.
19390 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19391 variants of the GNU system, not "GNU system".
19392 * manual/conf.texi: Likewise.
19393 * manual/errno.texi: Likewise. Update example of errno macro
19395 * manual/filesys.texi: Likewise.
19396 (getumask): Document as specific to GNU/Hurd.
19397 * manual/install.texi: Likewise. Reword some references to
19399 * manual/intro.texi: Likewise.
19400 * manual/io.texi: Likewise.
19401 (File Name Portability): Detail which constraints are inapplicable
19402 to all GNU systems and which are only inapplicable to GNU/Hurd.
19403 * manual/job.texi: Likewise.
19404 * manual/llio.texi: Likewise.
19405 (O_NOCTTY): Document as present on GNU/Linux.
19406 * manual/maint.texi: Likewise.
19407 * manual/memory.texi: Likewise.
19408 * manual/pattern.texi: Likewise.
19409 * manual/pipe.texi: Likewise.
19410 * manual/process.texi: Likewise.
19411 * manual/resource.texi: Likewise.
19412 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19414 * manual/setjmp.texi: Likewise.
19415 * manual/signal.texi: Likewise.
19416 * manual/startup.texi: Likewise.
19417 * manual/stdio.texi: Likewise.
19418 * manual/terminal.texi: Likewise.
19419 (ONLCR): Document as POSIX.
19420 (OXTABS): Document availability on GNU/Linux as XTABS.
19421 (ONOEOT): Document availability separately from other bits.
19422 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19423 * manual/time.texi: Likewise.
19424 * manual/users.texi: Likewise.
19425 * INSTALL: Regenerated.
19426 * sysdeps/gnu/errlist.c: Regenerated.
19428 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19429 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19430 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19432 * configure: Regenerated.
19434 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19436 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19437 default includes instead of AC_HEADER_CHECK.
19438 * sysdeps/i386/configure: Regenerated.
19441 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19442 * math/s_cacoshf.c (__cacoshf): Likewise.
19443 * math/s_cacoshl.c (__cacoshl): Likewise.
19444 * math/s_casinh.c (__casinh): Set signs of result from argument.
19445 * math/s_casinhf.c (__casinhf): Likewise.
19446 * math/s_casinhl.c (__casinhl): Likewise.
19447 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19448 (casinh_test): Add more tests.
19449 * sysdeps/i386/fpu/libm-test-ulps: Update.
19450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19452 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19454 * po/zh_TW.po: Update from translation team.
19456 * login/Makefile (distribute): Remove variable.
19457 * catgets/Makefile: Likewise.
19458 * mach/Makefile: Likewise.
19459 * malloc/Makefile: Likewise.
19460 * misc/Makefile: Likewise.
19461 * iconv/Makefile: Likewise.
19462 * nscd/Makefile: Likewise.
19463 * hurd/Makefile: Likewise.
19464 * manual/Makefile: Likewise.
19465 * locale/Makefile: Likewise.
19466 * intl/Makefile: Likewise.
19467 * conform/Makefile: Likewise.
19468 * nss/Makefile: Likewise.
19469 * time/Makefile: Likewise.
19470 * soft-fp/Makefile: Likewise.
19471 * dirent/Makefile: Likewise.
19472 * gmon/Makefile: Likewise.
19473 * po/Makefile: Likewise.
19474 * rt/Makefile: Likewise.
19475 * socket/Makefile: Likewise.
19476 * math/Makefile: Likewise.
19477 * signal/Makefile: Likewise.
19478 * debug/Makefile: Likewise.
19479 * elf/Makefile: Likewise.
19480 * timezone/Makefile: Likewise.
19481 * stdlib/Makefile: Likewise.
19482 * iconvdata/Makefile: Likewise.
19483 * sunrpc/Makefile: Likewise.
19484 * io/Makefile: Likewise.
19485 * argp/Makefile: Likewise.
19486 * inet/Makefile: Likewise.
19487 * hesiod/Makefile: Likewise.
19488 * grp/Makefile: Likewise.
19489 * csu/Makefile: Likewise.
19490 * wctype/Makefile: Likewise.
19491 * crypt/Makefile: Likewise.
19492 * libio/Makefile: Likewise.
19493 * string/Makefile: Likewise.
19494 * nis/Makefile: Likewise.
19495 * resolv/Makefile: Likewise.
19496 * stdio-common/Makefile: Likewise.
19497 * wcsmbs/Makefile: Likewise.
19498 * dlfcn/Makefile: Likewise.
19499 * posix/Makefile: Likewise.
19502 * timezone/Makefile: Don't install timezone files, just the programs
19505 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19507 * nss/databases.def: Add missing gshadow entry.
19509 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19511 2012-03-06 Marek Polacek <polacek@redhat.com>
19514 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19515 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19516 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19517 * stdio-common/tst-long-dbl-fphex.c: New file.
19519 2012-03-06 David S. Miller <davem@davemloft.net>
19521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19522 (set_obp_int): New function.
19523 (get_obp_int): New function.
19524 (__get_clockfreq_via_dev_openprom): Likewise.
19525 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19526 Avoid unused variable warnings on 'val' and use builtin_expect.
19527 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19529 (INLINE_CLONE_SYSCALL): Likewise.
19531 2012-03-05 David S. Miller <davem@davemloft.net>
19533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19535 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19540 only for |x| >= 40.
19541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19543 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19545 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19546 Replace gettimeofday with __vdso_gettimeofday.
19548 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19549 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19550 __vdso_clock_gettime and __vdso_getcpu.
19552 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19553 time with __vdso_time.
19555 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19557 * manual/lang.texi (size_t): Note types to which size_t may be
19558 equivalent with the GNU C Library, but do not describe when
19559 differences between them are significant.
19561 2012-03-05 Andreas Jaeger <aj@suse.de>
19563 * sysdeps/i386/fpu/libm-test-ulps: Update.
19565 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19568 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19569 (__ieee754_pow): Save and restore rounding mode and use
19570 round-to-nearest for main computations.
19571 * math/libm-test.inc (pow_test_tonearest): New function.
19572 (pow_test_towardzero): Likewise.
19573 (pow_test_downward): Likewise.
19574 (pow_test_upward): Likewise.
19575 (main): Call the new functions.
19576 * sysdeps/i386/fpu/libm-test-ulps: Update.
19577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19580 * math/libm-test.inc (cosh_test_tonearest): New function.
19581 (cosh_test_towardzero): Likewise.
19582 (cosh_test_downward): Likewise.
19583 (cosh_test_upward): Likewise.
19584 (sinh_test_tonearest): Likewise.
19585 (sinh_test_towardzero): Likewise.
19586 (sinh_test_downward): Likewise.
19587 (sinh_test_upward): Likewise.
19588 (main): Call the new functions.
19589 * sysdeps/i386/fpu/libm-test-ulps: Update.
19590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19592 2012-03-05 Tom de Vries <tom@codesourcery.com>
19594 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19595 default stack guard is set in last bytes.
19596 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19598 2012-03-05 Kees Cook <keescook@chromium.org>
19600 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19603 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19604 possibly allocate from heap instead of stack.
19605 * stdio-common/bug-vfprintf-nargs.c: New file.
19606 * stdio-common/Makefile (tests): Add nargs overflow test.
19608 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19612 2012-03-03 Marek Polacek <polacek@redhat.com>
19614 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19615 * math/math_private.h: Likewise.
19616 * stdlib/tst-strtod.c: Likewise.
19617 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19618 * sysdeps/x86_64/bits/atomic.h: Likewise.
19620 2012-03-02 David S. Miller <davem@davemloft.net>
19622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19626 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19627 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19628 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19629 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19631 2012-03-02 Roland McGrath <roland@hack.frob.com>
19634 * manual/examples/README: New file, says the example source files
19635 can be used under GPL>=2.
19636 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19637 line containing just "*/".
19638 * manual/examples/add.c: Add copyright header (GPL>=2).
19639 * manual/examples/argp-ex1.c: Likewise.
19640 * manual/examples/argp-ex2.c: Likewise.
19641 * manual/examples/argp-ex3.c: Likewise.
19642 * manual/examples/argp-ex4.c: Likewise.
19643 * manual/examples/atexit.c: Likewise.
19644 * manual/examples/db.c: Likewise.
19645 * manual/examples/dir.c: Likewise.
19646 * manual/examples/dir2.c: Likewise.
19647 * manual/examples/execinfo.c: Likewise.
19648 * manual/examples/filecli.c: Likewise.
19649 * manual/examples/filesrv.c: Likewise.
19650 * manual/examples/fmtmsgexpl.c: Likewise.
19651 * manual/examples/genpass.c: Likewise.
19652 * manual/examples/inetcli.c: Likewise.
19653 * manual/examples/inetsrv.c: Likewise.
19654 * manual/examples/isockad.c: Likewise.
19655 * manual/examples/longopt.c: Likewise.
19656 * manual/examples/memopen.c: Likewise.
19657 * manual/examples/memstrm.c: Likewise.
19658 * manual/examples/mkfsock.c: Likewise.
19659 * manual/examples/mkisock.c: Likewise.
19660 * manual/examples/mygetpass.c: Likewise.
19661 * manual/examples/pipe.c: Likewise.
19662 * manual/examples/popen.c: Likewise.
19663 * manual/examples/rprintf.c: Likewise.
19664 * manual/examples/search.c: Likewise.
19665 * manual/examples/select.c: Likewise.
19666 * manual/examples/setjmp.c: Likewise.
19667 * manual/examples/sigh1.c: Likewise.
19668 * manual/examples/sigusr.c: Likewise.
19669 * manual/examples/stpcpy.c: Likewise.
19670 * manual/examples/strdupa.c: Likewise.
19671 * manual/examples/strftim.c: Likewise.
19672 * manual/examples/strncat.c: Likewise.
19673 * manual/examples/subopt.c: Likewise.
19674 * manual/examples/swapcontext.c: Likewise.
19675 * manual/examples/termios.c: Likewise.
19676 * manual/examples/testopt.c: Likewise.
19677 * manual/examples/testpass.c: Likewise.
19678 * manual/examples/timeval_subtract.c: Likewise.
19681 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19683 * manual/timeval_subtract.c.texi: ... here, new file.
19685 2012-03-02 David S. Miller <davem@davemloft.net>
19687 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19689 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19692 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19693 (__sin): Save and restore rounding mode and use round-to-nearest
19694 for all computations.
19695 (__cos): Save and restore rounding mode and use round-to-nearest
19696 for all computations.
19697 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19699 (tan): Save and restore rounding mode and use round-to-nearest for
19701 * math/libm-test.inc (cos_test_tonearest): New function.
19702 (cos_test_towardzero): Likewise.
19703 (cos_test_downward): Likewise.
19704 (cos_test_upward): Likewise.
19705 (sin_test_tonearest): Likewise.
19706 (sin_test_towardzero): Likewise.
19707 (sin_test_downward): Likewise.
19708 (sin_test_upward): Likewise.
19709 (tan_test_tonearest): Likewise.
19710 (tan_test_towardzero): Likewise.
19711 (tan_test_downward): Likewise.
19712 (tan_test_upward): Likewise.
19713 (main): Call the new functions.
19714 * sysdeps/i386/fpu/libm-test-ulps: Update.
19715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19718 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19719 small n, then large n, before computing and testing k+n.
19720 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19721 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19725 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19726 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19727 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19728 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19729 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19730 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19731 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19732 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19733 * math/libm-test.inc (scalbn_test): Add more tests.
19734 (scalbln_test): Likewise.
19736 * manual/filesys.texi (mode_t): Describe constraints on size and
19737 signedness, not exact equivalence to a particular type.
19739 (ino64_t): Likewise.
19741 (nlink_t): Likewise.
19742 (blkcnt_t): Likewise.
19743 (blkcnt64_t): Likewise.
19744 * manual/llio.texi (off_t): Likewise.
19747 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19748 (__ieee754_exp): Save and restore rounding mode and use
19749 round-to-nearest for all computations.
19750 * math/libm-test.inc (exp_test_tonearest): New function.
19751 (exp_test_towardzero): Likewise.
19752 (exp_test_downward): Likewise.
19753 (exp_test_upward): Likewise.
19754 (main): Call the new functions.
19755 * sysdeps/i386/fpu/libm-test-ulps: Update.
19756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19758 2012-03-01 Chris Demetriou <cgd@google.com>
19760 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19761 have predictable order.
19763 2012-03-01 David S. Miller <davem@davemloft.net>
19765 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19767 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19768 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19769 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19770 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19772 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19773 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19774 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19776 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19777 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19778 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19779 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19780 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19784 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19785 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19786 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19788 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19789 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19790 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19791 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19792 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19795 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19796 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19797 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19798 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19799 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19801 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19802 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19803 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19804 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19805 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19806 * sysdeps/sparc/elf/configure: Regenerated.
19808 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19810 * configure.in (AS, LD): Require binutils 2.20 or later.
19811 * configure: Regenerated.
19812 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19813 as required minimum version.
19814 * INSTALL: Regenerated.
19818 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19819 before squaring exponent.
19820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19821 bottom long double and 27 bits of top long double before squaring
19823 * math/libm-test.inc (erfc_test): Add more tests.
19824 * sysdeps/i386/fpu/libm-test-ulps: Update.
19825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19828 2012-03-01 Kai Tietz <ktietz@redhat.com>
19830 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19831 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19832 containing bit-fields.
19833 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19834 * soft-fp/single.h (_FP_UNION_S): Likewise.
19835 * soft-fp/double.h (_FP_UNION_D): Likewise.
19837 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19840 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19841 not include ../strcmp.S.
19842 [USE_AS_STRNCASECMP_L]: Likewise.
19843 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19844 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19845 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19846 (__strncasecmp_l_ia32): Define as alias to
19847 __strncasecmp_l_nonascii.
19850 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19851 * sysdeps/i386/fpu/libm-test-ulps: Update.
19852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19854 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19857 2012-02-29 Jeff Law <law@redhat.com>
19859 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19860 out of bounds read.
19862 2012-02-29 Marek Polacek <polacek@redhat.com>
19865 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19866 * elf/Makefile: Add rules to run tst-unused-dep.out.
19868 2012-02-28 David S. Miller <davem@davemloft.net>
19870 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19871 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19872 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19874 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19875 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19877 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19879 * math/libm-test.inc (llround_test): Move one test from
19880 lround_test. Use TEST_f_L in moved test.
19881 (lround_test): Move misplaced test to llround_test. Add testcase
19884 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19886 * sysdeps/x86_64/fpu/e_expf.S: New file.
19887 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19889 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19892 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19893 of remain_len that may cause incomplete multi-byte character and
19895 * posix/bug-regex33.c: New file.
19896 * posix/Makefile (tests): Add bug-regex33.
19898 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19900 * manual/macros.texi: New file.
19901 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19902 * manual/libc.texinfo: Include macros.texi.
19903 * manual/creatute.texi: Likewise.
19904 * manual/install.texi: Likewise.
19905 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19906 @glibcadj{} in references to the GNU C Library.
19907 * manual/charset.texi: Likewise.
19908 * manual/conf.texi: Likewise.
19909 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19910 when not using those macros.
19911 * manual/creature.texi: Likewise.
19912 * manual/crypt.texi: Likewise.
19913 * manual/errno.texi: Likewise.
19914 * manual/filesys.texi: Likewise.
19915 * manual/header.texi: Likewise.
19916 * manual/install.texi: Likewise.
19917 * manual/intro.texi: Likewise.
19918 * manual/io.texi: Likewise.
19919 * manual/job.texi: Likewise.
19920 * manual/lang.texi: Likewise.
19921 * manual/libc.texiinfo: Likewise.
19922 * manual/llio.texi: Likewise.
19923 * manual/locale.texi: Likewise.
19924 * manual/maint.texi: Likewise.
19925 * manual/math.texi: Likewise.
19926 * manual/memory.texi: Likewise.
19927 * manual/message.texi: Likewise.
19928 * manual/nss.texi: Likewise.
19929 * manual/pattern.texi: Likewise.
19930 * manual/process.texi: Likewise.
19931 * manual/resource.texi: Likewise.
19932 * manual/search.texi: Likewise.
19933 * manual/setjmp.texi: Likewise.
19934 * manual/signal.texi: Likewise.
19935 * manual/socket.texi: Likewise.
19936 * manual/startup.texi: Likewise.
19937 * manual/stdio.texi: Likewise.
19938 * manual/string.texi: Likewise.
19939 * manual/sysinfo.texi: Likewise.
19940 * manual/syslog.texi: Likewise.
19941 * manual/terminal.texi: Likewise.
19942 * manual/time.texi: Likewise.
19943 * manual/users.texi: Likewise.
19944 * INSTALL: Regenerated.
19945 * NOTES: Regenerated.
19946 * sysdeps/gnu/errlist.c: Regenerated.
19948 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19950 * include/dirent.h: Include <dirstream.h> before
19953 2012-02-28 David S. Miller <davem@davemloft.net>
19955 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19956 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19957 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19958 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19960 2012-02-27 David S. Miller <davem@davemloft.net>
19962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19964 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19965 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19968 frame pointer instead of stack pointer relative arg slot.
19969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19973 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19976 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19978 2012-02-27 David S. Miller <davem@davemloft.net>
19980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19984 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19985 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19986 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19987 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19989 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19991 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19992 later. Allow versions 5-9.
19993 * configure: Regenerated.
19994 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19995 required minimum version and 4.6 as recommended version. Do not
19996 mention bugs in GCC 2.7 and 2.8.
19997 * INSTALL: Regenerated.
19999 2012-02-27 David S. Miller <davem@davemloft.net>
20001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20005 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20006 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20007 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20008 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20011 manipulate bits before adding and subtracting TWO112[sx].
20012 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20014 2012-02-27 Roland McGrath <roland@hack.frob.com>
20017 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20018 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20019 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20020 being in POSIX, because they are in 1003.1-2008.
20022 * rt/tst-aio.c: Include <fcntl.h>.
20023 * rt/tst-aio7.c: Likewise.
20024 * rt/tst-aio64.c: Likewise.
20026 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20028 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20030 * manual/install.texi (--with-headers): Describe headers as
20031 interface headers, not private headers.
20032 (Specific advice for GNU/Linux systems): Describe use of headers
20033 from "make headers_install", not private headers from older
20035 * INSTALL: Regenerated.
20036 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20038 * sysdeps/unix/sysv/linux/configure: Regenerated.
20040 * manual/llio.texi (fclean): Remove documentation.
20042 * manual/Makefile (libc-texi-generated): New variable. Include
20044 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20045 $(libc-texi-generated), not duplicated list of files.
20046 (version.texi, stamp-version): New rules.
20047 (realclean): Remove $(libc-texi-generated), not individual files
20048 from that list. Do not remove dir-add.texinfo.
20049 * manual/libc.texinfo: Comment out uses of edition numbers and
20050 references to printed manual. Remove last-updated dates.
20051 (EDITION): Comment out.
20053 (VERSION, UPDATED): Remove.
20054 (version.texi): Include.
20056 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20058 * sysdeps/posix/spawni.c: Include <signal.h>.
20059 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20060 * sysdeps/pthread/aio_fsync.c: Likewise.
20062 2012-02-26 Ulrich Drepper <drepper@gmail.com>
20064 * conform/Makefile (tests): Run only when not cross-compiling and
20065 when fast-check is not defined.
20067 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20068 * conform/data/limits.h-data: Fixes for POSIX2008.
20069 * conform/run-conformtest.sh: Run all tests.
20070 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20072 * include/bits/dlfcn.h: Likewise.
20073 * include/langinfo.h: Likewise.
20074 * include/monetary.h: Likewise.
20075 * include/sys/poll.h: Likewise.
20077 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20079 * posix/spawn.h: Define __need_sigset_t.
20080 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20081 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20082 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20083 to get sigevent_t only.
20084 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20085 only for __USE_GNU.
20086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20087 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20088 process_vm_writev only for __USE_GNU.
20089 * termios/termios.h: Declare tcgetsid also for POSIX2008.
20091 * conform/Makefile: For now ignore errors from run-conformtest.
20092 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20093 POSIX to avoid namespace pollution. Don't prepend headers.
20094 * conform/data/aio.h-data: Fixes for POSIX testing.
20095 * conform/data/fcntl.h-data: Likewise.
20096 * conform/data/glob.h-data: Likewise.
20097 * conform/data/grp.h-data: Likewise.
20098 * conform/data/pthread.h-data: Likewise.
20099 * conform/data/pwd.h-data: Likewise.
20100 * conform/data/signal.h-data: Likewise.
20101 * conform/data/spawn.h-data: Likewise.
20102 * conform/data/stdio.h-data: Likewise.
20103 * conform/data/stdlib.h-data: Likewise.
20104 * conform/data/stropts.h-data: Likewise.
20105 * conform/data/sys/mman.h-data: Likewise.
20106 * conform/data/sys/stat.h-data: Likewise.
20107 * conform/data/sys/types.h-data: Likewise.
20108 * conform/data/sys/wait.h-data: Likewise.
20109 * conform/data/time.h-data: Likewise.
20110 * conform/data/unistd.h-data: Likewise.
20111 * conform/data/utime.h-data: Likewise.
20113 * io/sys/stat.h: fchmod was always in POSIX.
20114 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20115 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20116 * rt/aio.h: Define __need_timespec before including <time.h>.
20117 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20118 struct. Add forward declaration of pthread_attr_t and use it in
20120 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20121 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20122 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20123 always remove CLK_TCK definition.
20125 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20127 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20129 2012-02-25 Ulrich Drepper <drepper@gmail.com>
20131 * conform/run-conformtest.sh: New file.
20132 * conform/Makefile: Run run-conformtest for tests.
20133 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20136 * conform/data/uchar.h-data: New file.
20137 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20138 * conform/data/arpa/inet.h-data: Likewise.
20139 * conform/data/assert.h-data: Likewise.
20140 * conform/data/complex.h-data: Likewise.
20141 * conform/data/cpio.h-data: Likewise.
20142 * conform/data/ctype.h-data: Likewise.
20143 * conform/data/dirent.h-data: Likewise.
20144 * conform/data/dlfcn.h-data: Likewise.
20145 * conform/data/errno.h-data: Likewise.
20146 * conform/data/fcntl.h-data: Likewise.
20147 * conform/data/float.h-data: Likewise.
20148 * conform/data/fmtmsg.h-data: Likewise.
20149 * conform/data/fnmatch.h-data: Likewise.
20150 * conform/data/ftw.h-data: Likewise.
20151 * conform/data/glob.h-data: Likewise.
20152 * conform/data/grp.h-data: Likewise.
20153 * conform/data/iconv.h-data: Likewise.
20154 * conform/data/inttypes.h-data: Likewise.
20155 * conform/data/langinfo.h-data: Likewise.
20156 * conform/data/libgen.h-data: Likewise.
20157 * conform/data/limits.h-data: Likewise.
20158 * conform/data/locale.h-data: Likewise.
20159 * conform/data/math.h-data: Likewise.
20160 * conform/data/monetary.h-data: Likewise.
20161 * conform/data/mqueue.h-data: Likewise.
20162 * conform/data/ndbm.h-data: Likewise.
20163 * conform/data/net/if.h-data: Likewise.
20164 * conform/data/netdb.h-data: Likewise.
20165 * conform/data/netinet/in.h-data: Likewise.
20166 * conform/data/nl_types.h-data: Likewise.
20167 * conform/data/poll.h-data: Likewise.
20168 * conform/data/pthread.h-data: Likewise.
20169 * conform/data/pwd.h-data: Likewise.
20170 * conform/data/regex.h-data: Likewise.
20171 * conform/data/sched.h-data: Likewise.
20172 * conform/data/search.h-data: Likewise.
20173 * conform/data/semaphore.h-data: Likewise.
20174 * conform/data/setjmp.h-data: Likewise.
20175 * conform/data/signal.h-data: Likewise.
20176 * conform/data/spawn.h-data: Likewise.
20177 * conform/data/stdarg.h-data: Likewise.
20178 * conform/data/stdio.h-data: Likewise.
20179 * conform/data/stdlib.h-data: Likewise.
20180 * conform/data/string.h-data: Likewise.
20181 * conform/data/strings.h-data: Likewise.
20182 * conform/data/stropts.h-data: Likewise.
20183 * conform/data/sys/ipc.h-data: Likewise.
20184 * conform/data/sys/mman.h-data: Likewise.
20185 * conform/data/sys/msg.h-data: Likewise.
20186 * conform/data/sys/resource.h-data: Likewise.
20187 * conform/data/sys/select.h-data: Likewise.
20188 * conform/data/sys/sem.h-data: Likewise.
20189 * conform/data/sys/shm.h-data: Likewise.
20190 * conform/data/sys/socket.h-data: Likewise.
20191 * conform/data/sys/stat.h-data: Likewise.
20192 * conform/data/sys/statvfs.h-data: Likewise.
20193 * conform/data/sys/time.h-data: Likewise.
20194 * conform/data/sys/timeb.h-data: Likewise.
20195 * conform/data/sys/times.h-data: Likewise.
20196 * conform/data/sys/types.h-data: Likewise.
20197 * conform/data/sys/uio.h-data: Likewise.
20198 * conform/data/sys/un.h-data: Likewise.
20199 * conform/data/sys/utsname.h-data: Likewise.
20200 * conform/data/sys/wait.h-data: Likewise.
20201 * conform/data/syslog.h-data: Likewise.
20202 * conform/data/tar.h-data: Likewise.
20203 * conform/data/termios.h-data: Likewise.
20204 * conform/data/utime.h-data: Likewise.
20205 * conform/data/utmpx.h-data: Likewise.
20206 * conform/data/varargs.h-data: Likewise.
20207 * conform/data/wchar.h-data: Likewise.
20208 * conform/data/wctype.h-data: Likewise.
20209 * conform/data/wordexp.h-data: Likewise.
20211 * include/stropts.h: New file.
20212 * include/uchar.h: New file.
20213 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20214 * include/assert.h: Likewise.
20215 * include/ctype.h: Likewise.
20216 * include/dirent.h: Likewise.
20217 * include/dlfcn.h: Likewise.
20218 * include/fcntl.h: Likewise.
20219 * include/fnmatch.h: Likewise.
20220 * include/glob.h: Likewise.
20221 * include/grp.h: Likewise.
20222 * include/libio.h: Likewise.
20223 * include/locale.h: Likewise.
20224 * include/math.h: Likewise.
20225 * include/net/if.h: Likewise.
20226 * include/netdb.h: Likewise.
20227 * include/netinet/in.h: Likewise.
20228 * include/pthread.h: Likewise.
20229 * include/pwd.h: Likewise.
20230 * include/regex.h: Likewise.
20231 * include/sched.h: Likewise.
20232 * include/search.h: Likewise.
20233 * include/setjmp.h: Likewise.
20234 * include/signal.h: Likewise.
20235 * include/stdio.h: Likewise.
20236 * include/stdlib.h: Likewise.
20237 * include/string.h: Likewise.
20238 * include/sys/cdefs.h: Likewise.
20239 * include/sys/mman.h: Likewise.
20240 * include/sys/msg.h: Likewise.
20241 * include/sys/resource.h: Likewise.
20242 * include/sys/select.h: Likewise.
20243 * include/sys/socket.h: Likewise.
20244 * include/sys/stat.h: Likewise.
20245 * include/sys/statvfs.h: Likewise.
20246 * include/sys/time.h: Likewise.
20247 * include/sys/times.h: Likewise.
20248 * include/sys/uio.h: Likewise.
20249 * include/sys/utsname.h: Likewise.
20250 * include/sys/wait.h: Likewise.
20251 * include/termios.h: Likewise.
20252 * include/time.h: Likewise.
20253 * include/ulimit.h: Likewise.
20254 * include/unistd.h: Likewise.
20255 * include/utime.h: Likewise.
20256 * include/wchar.h: Likewise.
20257 * include/wctype.h: Likewise.
20258 * include/wordexp.h: Likewise.
20260 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20262 * time/time.h: TIME_UTC must be a macro.
20263 Make timespec_get available for ISO C11 only as well.
20265 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20267 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20268 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20270 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20272 * configure.in: Use -o not -a in test for unsupported multi-arch.
20274 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20276 * manual/texinfo.tex: Update to version 2012-01-19.16.
20278 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20280 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20282 2012-02-24 Roland McGrath <roland@hack.frob.com>
20285 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20286 * manual/fdl-1.3.texi: New file.
20287 * manual/fdl-1.1.texi: File removed.
20290 * manual/libc.texinfo (FDL_VERSION): New @set.
20291 Use it for mention of FDL in cover text.
20292 (Documentation License): Use it in @include file name.
20294 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20295 Roland McGrath <roland@hack.frob.com>
20298 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20299 not LONG_LONG_MAX and LONG_LONG_MIN.
20300 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20301 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20303 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20305 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20309 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20310 manipulate bits before adding and subtracting TWO23[sx].
20311 * math/libm-test.inc (nearbyint_test): Add more tests.
20313 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20316 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20317 bits before adding and subtracting TWO23[sx].
20318 * math/libm-test.inc (rint_test): Add more tests.
20319 (rint_test_tonearest): Likewise.
20320 (rint_test_towardzero): Likewise.
20321 (rint_test_downward): Likewise.
20322 (rint_test_upward: Likewise.
20324 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20327 * include/stdc-predef.h: New file. Extracted from features.h.
20328 * include/features.h: Include stdc-predef.h.
20329 * Makefile (headers): Add stdc-predef.h.
20330 * CONFORMANCE (Compiler limitations): Update.
20332 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20334 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20336 2012-02-21 David S. Miller <davem@davemloft.net>
20338 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20339 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20341 2012-02-20 David S. Miller <davem@davemloft.net>
20343 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20344 using a normal save/restore sequence, rather than allocating a
20345 dummy stack frame just to store a frame pointer and restore.
20346 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20348 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20350 * manual/install.texi: Fix stray word in line-wrapped comment.
20352 2012-02-20 David S. Miller <davem@davemloft.net>
20354 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20355 both binutils and gcc support GOTDATA.
20357 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20358 "rd %pc" in the PIC register setup sequences.
20360 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20361 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20362 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20363 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20364 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20366 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20367 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20369 (SYSCALL_ERROR_HANDLER): Likewise.
20370 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20371 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20373 (SYSCALL_ERROR_HANDLER): Likewise.
20375 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20376 (HAVE_GCC_GOTDATA): New.
20377 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20378 relocation support in both binutils and gcc.
20379 * sysdeps/sparc/elf/configure: Regenerate.
20381 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20382 * sysdeps/sparc/sparc32/elf/configure: Delete.
20383 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20384 * sysdeps/sparc/sparc64/elf/configure: Delete.
20385 * sysdeps/sparc/elf/configure.in: New file.
20386 * sysdeps/sparc/elf/configure: Generate.
20388 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20389 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20390 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20391 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20392 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20394 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20396 * manual/install.texi: Do not mention specific glibc version
20398 * manual/libc.texinfo (VERSION, UPDATED): Update.
20399 (@copying): Use @copyright{} and range of years.
20401 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20404 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20405 [crti.S not in sysdirs] (generated): Do not append.
20406 [crti.S not in sysdirs] (omit-deps): Likewise.
20407 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20408 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20409 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20410 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20411 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20413 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20414 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20415 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20416 * csu/defs.awk: Remove file.
20417 * sysdeps/generic/initfini.c: Likewise.
20418 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20420 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20423 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20425 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20426 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20427 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20428 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20429 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20430 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20432 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20433 (__EPOLL_PACKED): Define to empty if not defined by
20435 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20439 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20441 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20442 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20443 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20444 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20446 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20450 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20452 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20454 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20455 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20456 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20459 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20461 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20462 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20464 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20466 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20467 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20469 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20471 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20474 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20476 * math/w_acos.c: Use non-signaling floating-point comparisons.
20477 * math/w_acosf.c: Likewise.
20478 * math/w_acosh.c: Likewise.
20479 * math/w_acoshf.c: Likewise.
20480 * math/w_acoshl.c: Likewise.
20481 * math/w_acosl.c: Likewise.
20482 * math/w_asin.c: Likewise.
20483 * math/w_asinf.c: Likewise.
20484 * math/w_asinl.c: Likewise.
20485 * math/w_atanh.c: Likewise.
20486 * math/w_atanhf.c: Likewise.
20487 * math/w_atanhl.c: Likewise.
20488 * math/w_exp2.c: Likewise.
20489 * math/w_exp2f.c: Likewise.
20490 * math/w_exp2l.c: Likewise.
20491 * math/w_j0.c: Likewise.
20492 * math/w_j0f.c: Likewise.
20493 * math/w_j0l.c: Likewise.
20494 * math/w_j1.c: Likewise.
20495 * math/w_j1f.c: Likewise.
20496 * math/w_j1l.c: Likewise.
20497 * math/w_jn.c: Likewise.
20498 * math/w_jnf.c: Likewise.
20499 * math/w_log.c: Likewise.
20500 * math/w_log10.c: Likewise.
20501 * math/w_log10f.c: Likewise.
20502 * math/w_log10l.c: Likewise.
20503 * math/w_log2.c: Likewise.
20504 * math/w_log2f.c: Likewise.
20505 * math/w_log2l.c: Likewise.
20506 * math/w_logf.c: Likewise.
20507 * math/w_logl.c: Likewise.
20508 * math/w_sqrt.c: Likewise.
20509 * math/w_sqrtf.c: Likewise.
20510 * math/w_sqrtl.c: Likewise.
20511 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20512 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20513 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20514 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20515 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20517 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20520 * manual/string.texi (strnlen): Use correct parameter name in
20521 equivalent expression.
20523 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20526 * manual/users.texi (seteuid): Consistently use neweuid for
20529 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20532 * manual/nss.texi (Services in the NSS configuration): Correct
20533 list of services in example configuration file.
20535 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20538 * manual/arith.texi: Remove statements about negative zero
20539 behaving identically to zero.
20541 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20544 * manual/install.texi: Do not document upgrading from libc5.
20546 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20549 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20551 2012-02-18 David S. Miller <davem@davemloft.net>
20553 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20554 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20555 %o7 across the call.
20556 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20559 SETUP_PIC_REG_LEAF.
20560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20561 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20562 * sysdeps/sparc/crtn.S: Likewise.
20564 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20566 * aout/Makefile: Remove.
20568 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20571 * manual/examples/argp-ex1.c (main): Format definition in GNU
20573 * manual/examples/argp-ex2.c (main): Likewise.
20574 * manual/examples/argp-ex3.c (main): Likewise.
20575 * manual/examples/argp-ex4.c (main): Likewise.
20576 * manual/examples/longopt.c (main): Use new-style prototype
20578 * manual/examples/strncat.c (main): Specify return type and use
20579 (void) for arguments.
20580 * manual/examples/subopt.c (main): Use char **argv argument.
20582 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20585 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20588 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20591 * manual/string.texi (strchr): Change when strchrnul is
20594 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20597 * manual/locale.texi (setlocale): Document LOCPATH.
20599 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20602 * manual/process.texi (execle): Move @dots{} before last argument.
20604 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20607 * manual/charset.texi (Generic Charset Conversion): Fix typo
20608 (LC_TYPE -> LC_CTYPE).
20610 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20613 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20614 (scalbnf): Likewise.
20615 (scalbnl): Likewise.
20616 (scalbln): Likewise.
20617 (scalblnf): Likewise.
20618 (scalblnl): Likewise.
20619 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20620 (vwarnx): Likewise.
20623 * manual/filesys.texi (telldir): Use braces around return type.
20624 * manual/llio.texi (mmap): Add space after comma.
20625 (mmap64): Likewise.
20626 * manual/math.texi (jn): Use @var{} on parameter names.
20632 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20634 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20636 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20637 (sched_get_priority_max): Likewise.
20638 * manual/signal.texi (sigvec): Add space after comma.
20639 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20641 (if_indextoname): Likewise.
20642 (if_freenameindex): Likewise.
20643 (sendto): Use ',' instead of '.' in prototype.
20644 * manual/startup.texi (syscall): Use @dots{} instead of literal
20646 * manual/stdio.texi (__fpending): Separate initial words of
20647 paragraph from @deftypefun line.
20648 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20650 (vsyslog): Use @var{} on parameter names.
20651 * manual/terminal.texi (stty): Use @var{} on parameter names.
20652 * manual/users.texi (getutmp): Use @var{} on parameter names.
20653 (getutmpx): Likewise.
20655 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20658 * manual/stdio.texi (fopen): Fix typos in description of
20661 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20664 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20665 get clock_id definition.
20667 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20670 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20671 (madvise): Cast every argument to void on its own.
20673 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20676 * manual/startup.texi (Exit Status): Fix typo.
20678 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20681 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20682 * manual/examples/argp-ex2.c: Likewise.
20683 * manual/examples/argp-ex3.c: Likewise.
20685 2012-02-16 Richard Henderson <rth@redhat.com>
20687 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20688 * sysdeps/s390/s390-32/initfini.c: Remove.
20689 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20690 * sysdeps/s390/s390-64/initfini.c: Remove.
20692 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20694 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20695 compiler output for sysdeps/generic/initfini.c.
20696 * sysdeps/sh/elf/initfini.c: Remove file.
20698 2012-02-16 David S. Miller <davem@davemloft.net>
20701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20703 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20704 * sysdeps/sparc/crti.S: New file.
20705 * sysdeps/sparc/crtn.S: New file.
20706 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20707 * sysdeps/sparc/sparc64/Makefile: Likewise.
20709 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20712 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20714 2012-02-15 Roland McGrath <roland@hack.frob.com>
20717 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20719 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20720 (write, read, close): Likewise.
20721 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20723 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20725 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20726 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20727 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20728 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20730 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20734 2012-02-14 Marek Polacek <polacek@redhat.com>
20736 * sysdeps/x86_64/crti.S: New file.
20737 * sysdeps/x86_64/crtn.S: New file.
20738 * sysdeps/x86_64/elf/initfini.c: Remove file.
20740 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20742 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20743 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20744 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20745 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20747 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20751 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20753 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20754 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20755 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20756 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20758 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20762 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20764 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20765 __feraiseexcept instead of feraiseexcept.
20767 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20768 nanosleep invocations.
20769 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20770 strings, and add error checking for a nanosleep invocations.
20772 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20774 Replace FSF snail mail address with URLs, as per GNU coding standards.
20775 Most of the snail mail addresses were wrong anyway, and omitting
20776 them makes the source code easier to maintain. Almost all of the
20777 changes are to license notices and to locale LC_IDENTIFICATION
20778 addresses, except for this one:
20779 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20780 not its snail mail address.
20782 2012-02-09 Richard Henderson <rth@twiddle.net>
20784 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20785 of kernel-features.h.
20787 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20789 2012-02-08 Marek Polacek <polacek@redhat.com>
20791 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20792 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20793 * sysdeps/gnu/_G_config.h: Likewise.
20794 * sysdeps/generic/_G_config.h: Likewise.
20796 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20798 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20802 * sysdeps/powerpc/powerpc32/crti.S: New file.
20803 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20804 * sysdeps/powerpc/powerpc64/crti.S: New file.
20805 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20807 * Makeconfig (have-initfini): Don't set.
20808 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20809 * configure.in (nopic_initfini): Don't substitute.
20810 * config.h.in (HAVE_INITFINI): Don't #undef.
20811 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20812 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20814 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20816 Support crti.S and crtn.S provided directly by architectures.
20817 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20818 [crti.S in sysdirs] (omit-deps): Likewise.
20819 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20820 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20821 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20822 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20823 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20824 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20825 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20826 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20827 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20828 compiler output for sysdeps/generic/initfini.c.
20829 * sysdeps/i386/elf/Makefile: Remove file.
20830 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20832 2012-02-07 Marek Polacek <polacek@redhat.com>
20834 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20835 * sysdeps/gnu/_G_config.h: Likewise.
20836 * sysdeps/mach/hurd/_G_config.h: Likewise.
20838 2012-02-07 Marek Polacek <polacek@redhat.com>
20840 * math/Makefile (tests): Add tst-CMPLX2.
20841 * math/tst-CMPLX2.c: New file.
20843 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20845 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20847 * math/libm-test.inc (jn_test): Add missing L suffix.
20849 2012-02-06 Marek Polacek <polacek@redhat.com>
20851 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20852 * sysdeps/i386/fpu/e_powf.S: Likewise.
20853 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20854 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20855 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20856 * sysdeps/i386/fpu/e_pow.S: Likewise.
20857 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20859 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20860 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20861 * sysdeps/i386/fpu/e_log2.S: Likewise.
20862 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20863 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20864 * sysdeps/i386/fpu/e_powl.S: Likewise.
20865 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20866 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20867 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20868 * sysdeps/i386/fpu/e_logl.S: Likewise.
20869 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20870 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20871 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20872 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20873 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20874 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20875 * sysdeps/i386/fpu/e_log.S: Likewise.
20876 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20877 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20878 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20879 * sysdeps/i386/fpu/e_logf.S: Likewise.
20880 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20881 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20882 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20883 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20884 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20885 * sysdeps/i386/fpu/e_log10.S: Likewise.
20886 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20887 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20888 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20889 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20890 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20891 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20892 * sysdeps/i386/asm-syntax.h: Likewise.
20893 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20894 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20895 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20896 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20897 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20898 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20899 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20900 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20901 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20902 * sysdeps/powerpc/sysdep.h: Likewise.
20903 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20904 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20906 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20909 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20911 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20913 * sysdeps/i386/sysdep.h: Include <features.h>.
20914 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20917 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20919 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20921 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20924 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20926 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20927 (SETUP_PIC_REG): Use GET_PC_THUNK.
20928 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20931 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20933 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20934 for non-PIC compilation.
20935 (SETUP_PIC_REG): Add .p2align directive.
20936 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20937 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20938 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20939 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20940 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20941 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20942 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20943 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20944 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20945 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20946 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20947 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20948 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20949 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20950 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20951 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20952 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20953 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20954 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20955 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20956 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20958 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20959 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20960 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20961 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20962 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20964 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20965 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20966 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20968 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20969 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20970 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20971 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20972 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20973 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20974 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20975 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20976 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20978 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20980 * math/tst-CMPLX.c: Include <stdio.h>.
20982 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20984 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20986 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20987 * sysdeps/sparc/bits/mathdef.h: Likewise.
20989 2012-01-31 Marek Polacek <polacek@redhat.com>
20991 * libio/libio.h: Don't define _PARAMS.
20992 * locale/programs/config.h: Don't define PARAMS.
20993 * stdlib/strtol_l.c: Likewise.
20994 (__strtol_l): Remove PARAMS from the prototype.
20996 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20998 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20999 names. Just use the correct names. Remove unnecessary wrapper
21001 * malloc/arena.c: Likewise.
21002 * malloc/hooks.c: Likewise.
21004 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21005 ARENA_TEST says not to. Simplify test for creation of a new arena.
21006 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21008 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21010 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21012 (update_get_addr): New function.
21013 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21014 GET_ADDR_MODULE parameter.
21016 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21018 * crypt/cert.c: Remove __STDC__ conditionals.
21019 * crypt/crypt-entry.c: Likewise.
21020 * crypt/crypt_util.c: Likewise.
21021 * libio/filedoalloc.c: Likewise.
21022 * libio/fileops.c: Likewise.
21023 * libio/genops.c: Likewise.
21024 * libio/iofclose.c: Likewise.
21025 * libio/iofdopen.c: Likewise.
21026 * libio/iofopen.c: Likewise.
21027 * libio/iofopen64.c: Likewise.
21028 * libio/iogetdelim.c: Likewise.
21029 * libio/iopopen.c: Likewise.
21030 * libio/obprintf.c: Likewise.
21031 * libio/oldfileops.c: Likewise.
21032 * libio/oldiofclose.c: Likewise.
21033 * libio/oldiofdopen.c: Likewise.
21034 * libio/oldiofopen.c: Likewise.
21035 * libio/oldiopopen.c: Likewise.
21036 * libio/wfiledoalloc.c: Likewise.
21037 * libio/wgenops.c: Likewise.
21038 * locale/programs/xmalloc.c: Likewise.
21039 * misc/syslog.c: Likewise.
21040 * stdio-common/xbug.c: Likewise.
21041 * string/memchr.c: Likewise.
21042 * string/memcmp.c: Likewise.
21043 * string/memrchr.c: Likewise.
21044 * string/rawmemchr.c: Likewise.
21045 * sysdeps/posix/getcwd.c: Likewise.
21046 * time/strftime_l.c: Likewise.
21048 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21050 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21051 * config.make.in (config-cflags-sse2avx): Define.
21052 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21055 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21057 * scripts/config.guess: Update from upstream config git repository.
21058 * scripts/config.sub: Likewise.
21060 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21062 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21064 (R_TILEPRO_*, R_TILEGX_*): New macros.
21066 * scripts/firstversions.awk: Fix bug in version range handling.
21068 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21070 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21072 * include/sys/epoll.h: New file.
21073 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21076 2012-01-28 Ulrich Drepper <drepper@gmail.com>
21078 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21079 Avoid unnecessary __WORDSIZE == 64 test.
21080 (fmaxf): Use VEX format if possible.
21085 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21086 * math/math_private.h: Remove libc_fegetround* and
21088 * sysdeps/i386/configure.in: Check for -msse2avx.
21089 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21090 also if SSE2AVX is defined.
21091 Remove libc_fegetround* and libc_fesetround*.
21092 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21093 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21096 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21097 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21098 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21099 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21100 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21102 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21104 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21106 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21110 2012-01-27 Ulrich Drepper <drepper@gmail.com>
21113 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21115 * Makeconfig (libm): Define.
21116 * elf/Makefile: Add rules to build and run tst-relsort1.
21117 * elf/tst-relsort1.c: New file.
21118 * elf/tst-relsort1mod1.c: New file.
21119 * elf/tst-relsort1mod2.c: New file.
21121 2012-01-27 Joseph Myers <joseph@codesourcery.com>
21123 * math/s_ldexp.c: Remove __STDC__ conditionals.
21124 * math/s_ldexpf.c: Likewise.
21125 * math/s_ldexpl.c: Likewise.
21126 * math/s_nextafter.c: Likewise.
21127 * math/s_nexttowardf.c: Likewise.
21128 * math/s_significand.c: Likewise.
21129 * math/s_significandf.c: Likewise.
21130 * math/s_significandl.c: Likewise.
21131 * math/w_jnl.c: Likewise.
21132 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21133 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21134 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21135 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21136 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21137 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21138 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21139 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21140 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21141 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21142 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21149 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21153 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21154 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21156 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21157 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21158 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21159 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21160 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21161 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21162 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21163 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21164 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21165 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21166 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21167 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21168 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21169 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21170 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21171 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21172 * sysdeps/ieee754/k_standard.c: Likewise.
21173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21174 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21175 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21176 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21177 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21179 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21180 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21181 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21182 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21183 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21184 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21185 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21186 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21187 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21188 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21189 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21190 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21191 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21192 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21193 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21194 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21195 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21196 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21197 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21230 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21233 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21234 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21239 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21242 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21244 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21245 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21246 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21247 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21248 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21249 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21250 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21251 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21252 * sysdeps/ieee754/s_matherr.c: Likewise.
21253 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21254 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21258 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21260 * crypt/md5.h: Remove __STDC__ conditionals.
21261 * libio/libioP.h: Likewise.
21262 * locale/programs/config.h: Likewise.
21263 * sysdeps/generic/sysdep.h: Likewise.
21264 * sysdeps/i386/asm-syntax.h: Likewise.
21265 * sysdeps/s390/asm-syntax.h: Likewise.
21266 * sysdeps/unix/sysdep.h: Likewise.
21267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21270 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21272 * libio/libio.h: Remove __STDC__ conditionals.
21273 * malloc/obstack.h: Likewise.
21274 * math/complex.h: Likewise.
21275 * math/math.h: Likewise.
21276 * sysdeps/generic/_G_config.h: Likewise.
21277 * sysdeps/gnu/_G_config.h: Likewise.
21278 * sysdeps/mach/hurd/_G_config.h: Likewise.
21279 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21280 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21281 * sysdeps/sparc/bits/mathdef.h: Likewise.
21283 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21286 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21287 Clean up HAS_* macros.
21288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21289 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21291 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21293 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21294 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21295 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21296 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21297 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21299 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21301 * elf/tst-unique3.cc (gets): Remove declaration.
21302 * elf/tst-unique3lib.cc (gets): Likewise.
21303 * elf/tst-unique3lib2.cc (gets): Likewise.
21304 * elf/tst-unique4.cc (gets): Likewise.
21306 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21308 * include/stdio.h: Add C++ protection. Add gets declarations and
21310 * debug/tst-chk1.c: Don't declare gets here.
21311 * stdio-common/tst-gets.c: Likewise.
21313 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21315 * posix/glob: Remove directory.
21317 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21319 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21321 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21323 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21324 of the non-standard EPFNOSUPPORT.
21326 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21328 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21329 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21330 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21332 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21334 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21336 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21338 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21340 * nscd/grpcache.c (cache_addgr): Likewise.
21341 * nscd/hstcache.c (cache_addhst): Likewise.
21342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21343 * nscd/pwdcache.c (cache_addpw): Likewise.
21344 * nscd/servicescache.c (cache_addserv): Likewise.
21346 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21348 * malloc/malloc.c: Various cleanups.
21349 * malloc/hooks.c: Likewise.
21351 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21352 * stdlib/bug-fmtmsg1.c: New file.
21354 * stdlib/fmtmsg.c (init): Add missing unlock.
21355 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21357 2012-01-12 Marek Polacek <polacek@redhat.com>
21359 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21362 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21364 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21365 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21366 macro to ensure uniqueness of label name.
21367 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21368 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21370 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21372 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21374 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21375 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21376 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21379 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21381 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21383 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21384 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21385 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21387 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21389 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21390 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21391 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21392 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21394 * math/bits/math-finite.h: Add ldexp support.
21396 2012-01-10 Marek Polacek <polacek@redhat.com>
21398 * locale/programs/localedef.h (show_archive_content): Add noreturn
21401 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21403 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21405 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21407 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21409 * io/Makefile (headers): Add bits/poll2.h.
21411 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21414 typo #include statement.
21416 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21418 * include/sys/cdefs.h: Define __attribute_alloc_size.
21419 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21420 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21421 * elf/pldd.c: Likewise.
21422 * iconv/iconv_charmap.c: Likewise.
21423 * iconv/iconvconfig.c: Likewise.
21424 * iconv/strtab.c: Likewise.
21425 * locale/programs/locale.c: Likewise.
21426 * locale/programs/localedef.h: Likewise.
21427 * locale/programs/simple-hash.c: Likewise.
21428 * nscd/nscd.h: Likewise.
21429 * nss/makedb.c: Likewise.
21430 * sysdeps/generic/ldconfig.h: Likewise.
21431 * locale/programs/localedef.c: Remove xmalloc prototype.
21432 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21434 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21436 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21439 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21441 * math/Makefile (tests): Add tst-CMPLX.
21442 * math/tst-CMPLX.c: New file.
21444 * math/complex.h (CMPLXL): Fix typo.
21446 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21447 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21449 * debug/tst-chk1.c: Add poll and ppoll tests.
21450 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21451 * include/sys/poll.h: Add hidden proto for ppoll.
21452 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21453 * sysdeps/mach/hurd/ppoll.c: Likewise.
21454 * io/ppoll.c: Likewise.
21455 * debug/poll_chk.c: New file.
21456 * debug/ppoll_chk.c: New file.
21457 * include/bits/poll2.h: New file.
21458 * io/bits/poll2.h: New file.
21461 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21463 * configure.in: static is always set to yes. Remove.
21464 * config.make.in: Don't set build-static.
21465 * Makeconfig: Remove use of build-static.
21466 * dlfcn/Makefile: Likewise.
21467 * elf/Makefile: Likewise.
21468 * math/Makefile: Likewise.
21469 * misc/Makefile: Likewise.
21470 * nptl/Makefile: Likewise.
21471 * sysdeps/mach/hurd/Makefile: Likewise.
21473 * configure.in: PWD_P is not used anymore.
21474 * config.make.in: Remove PWD_P entry.
21476 * configure.in: Remove last remnants of RANLIB.
21477 No need to check for signed size_t anymore.
21478 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21480 Remove __builtin_expect test because we require at least gcc 3.4.
21481 * aclocal.m4: Likewise.
21483 * wcsmbs/mbrtoc16.c: Implement using towc function.
21484 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21485 * wcsmbs/wcsmbsload.c: Likewise.
21486 * iconv/gconv_simple.c: Likewise.
21487 * iconv/gconv_int.h: Likewise.
21488 * iconv/gconv_builtin.h: Likewise.
21489 * iconv/iconv_prog.c: Remove CHAR16 handling.
21491 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21493 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21495 * configure.in: Remove --with-elf and --enable-bounded options.
21496 Dont set base_machine for ia64. More non-ELF conditions removed.
21497 Remove testing and setting of leading underscore information.
21498 * config.make.in (build-bounded): Set to no.
21499 * config.h.in: Remove NO_UNDERSCORES entry.
21500 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21502 * csu/start.c: Remove !NO_UNDERSCORE code.
21503 * locale/localeinfo.h: Likewise.
21504 * sysdeps/generic/machine-gmon.h: Likewise.
21505 * sysdeps/generic/sysdep.h: Likewise.
21506 * sysdeps/i386/sysdep.h: Likewise.
21507 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21508 * sysdeps/mach/sysdep.h: Likewise.
21509 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21510 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21511 * sysdeps/sh/sysdep.h: Likewise.
21512 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21513 * sysdeps/unix/i386/sysdep.S: Likewise.
21514 * sysdeps/unix/sparc/start.c: Likewise.
21515 * sysdeps/unix/sparc/sysdep.S: Likewise.
21516 * sysdeps/unix/sparc/sysdep.h: Likewise.
21517 * sysdeps/unix/start.c: Likewise.
21518 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21519 * sysdeps/x86_64/sysdep.h: Likewise.
21521 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21524 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21526 * argp/argp-fmtstream.h: Use const instead __const.
21527 * argp/argp.h: Likewise.
21528 * assert/assert.h: Likewise.
21529 * bits/fenv.h: Likewise.
21530 * bits/sched.h: Likewise.
21531 * bits/sigset.h: Likewise.
21532 * bits/sigthread.h: Likewise.
21533 * catgets/nl_types.h: Likewise.
21534 * conform/data/pthread.h-data: Likewise.
21535 * crypt/crypt-private.h: Likewise.
21536 * crypt/crypt.h: Likewise.
21537 * crypt/crypt_util.c: Likewise.
21538 * ctype/ctype.h: Likewise.
21539 * debug/execinfo.h: Likewise.
21540 * debug/mbsnrtowcs_chk.c: Likewise.
21541 * debug/mbsrtowcs_chk.c: Likewise.
21542 * debug/wcsnrtombs_chk.c: Likewise.
21543 * debug/wcsrtombs_chk.c: Likewise.
21544 * debug/wcstombs_chk.c: Likewise.
21545 * dirent/dirent.h: Likewise.
21546 * dlfcn/dlfcn.h: Likewise.
21547 * elf/neededtest4.c: Likewise.
21548 * grp/grp.h: Likewise.
21549 * gshadow/gshadow.h: Likewise.
21550 * iconv/gconv.h: Likewise.
21551 * iconv/gconv_int.h: Likewise.
21552 * iconv/gconv_simple.c: Likewise.
21553 * iconv/iconv.h: Likewise.
21554 * iconv/loop.c: Likewise.
21555 * iconv/skeleton.c: Likewise.
21556 * include/aio.h: Likewise.
21557 * include/aliases.h: Likewise.
21558 * include/argz.h: Likewise.
21559 * include/arpa/inet.h: Likewise.
21560 * include/assert.h: Likewise.
21561 * include/dirent.h: Likewise.
21562 * include/dlfcn.h: Likewise.
21563 * include/execinfo.h: Likewise.
21564 * include/fcntl.h: Likewise.
21565 * include/fenv.h: Likewise.
21566 * include/glob.h: Likewise.
21567 * include/grp.h: Likewise.
21568 * include/libintl.h: Likewise.
21569 * include/mntent.h: Likewise.
21570 * include/netdb.h: Likewise.
21571 * include/pwd.h: Likewise.
21572 * include/rpc/netdb.h: Likewise.
21573 * include/sched.h: Likewise.
21574 * include/search.h: Likewise.
21575 * include/shadow.h: Likewise.
21576 * include/signal.h: Likewise.
21577 * include/stdio.h: Likewise.
21578 * include/stdlib.h: Likewise.
21579 * include/string.h: Likewise.
21580 * include/sys/socket.h: Likewise.
21581 * include/sys/stat.h: Likewise.
21582 * include/sys/statfs.h: Likewise.
21583 * include/sys/statvfs.h: Likewise.
21584 * include/sys/syslog.h: Likewise.
21585 * include/sys/time.h: Likewise.
21586 * include/sys/uio.h: Likewise.
21587 * include/time.h: Likewise.
21588 * include/unistd.h: Likewise.
21589 * include/utmp.h: Likewise.
21590 * include/wchar.h: Likewise.
21591 * include/wctype.h: Likewise.
21592 * inet/aliases.h: Likewise.
21593 * inet/arpa/inet.h: Likewise.
21594 * inet/netinet/ether.h: Likewise.
21595 * inet/netinet/in.h: Likewise.
21596 * intl/libintl.h: Likewise.
21597 * io/bits/fcntl2.h: Likewise.
21598 * io/fcntl.h: Likewise.
21599 * io/ftw.h: Likewise.
21600 * io/sys/poll.h: Likewise.
21601 * io/sys/stat.h: Likewise.
21602 * io/sys/statfs.h: Likewise.
21603 * io/sys/statvfs.h: Likewise.
21604 * io/utime.h: Likewise.
21605 * libio/bits/stdio.h: Likewise.
21606 * libio/bits/stdio2.h: Likewise.
21607 * libio/libio.h: Likewise.
21608 * libio/libioP.h: Likewise.
21609 * libio/stdio.h: Likewise.
21610 * locale/lc-ctype.c: Likewise.
21611 * locale/locale.h: Likewise.
21612 * login/utmp.h: Likewise.
21613 * malloc/arena.c: Likewise.
21614 * malloc/malloc.c: Likewise.
21615 * malloc/malloc.h: Likewise.
21616 * malloc/mcheck.c: Likewise.
21617 * malloc/mtrace.c: Likewise.
21618 * math/bits/mathcalls.h: Likewise.
21619 * math/fenv.h: Likewise.
21620 * math/math_private.h: Likewise.
21621 * misc/bits/error.h: Likewise.
21622 * misc/bits/syslog.h: Likewise.
21623 * misc/err.h: Likewise.
21624 * misc/error.h: Likewise.
21625 * misc/fstab.h: Likewise.
21626 * misc/mntent.h: Likewise.
21627 * misc/regexp.h: Likewise.
21628 * misc/search.h: Likewise.
21629 * misc/sgtty.h: Likewise.
21630 * misc/sys/mman.h: Likewise.
21631 * misc/sys/syslog.h: Likewise.
21632 * misc/sys/uio.h: Likewise.
21633 * misc/sys/xattr.h: Likewise.
21634 * misc/ttyent.h: Likewise.
21635 * nis/rpcsvc/ypclnt.h: Likewise.
21636 * nss/nss.h: Likewise.
21637 * posix/bits/unistd.h: Likewise.
21638 * posix/fnmatch.h: Likewise.
21639 * posix/glob.h: Likewise.
21640 * posix/sched.h: Likewise.
21641 * posix/spawn.h: Likewise.
21642 * posix/sys/wait.h: Likewise.
21643 * posix/unistd.h: Likewise.
21644 * posix/wordexp.h: Likewise.
21645 * pwd/pwd.h: Likewise.
21646 * resolv/netdb.h: Likewise.
21647 * resource/sys/resource.h: Likewise.
21648 * rt/aio.h: Likewise.
21649 * rt/bits/mqueue2.h: Likewise.
21650 * rt/mqueue.h: Likewise.
21651 * shadow/shadow.h: Likewise.
21652 * signal/signal.h: Likewise.
21653 * socket/send.c: Likewise.
21654 * socket/sendto.c: Likewise.
21655 * socket/sys/socket.h: Likewise.
21656 * stdio-common/printf.h: Likewise.
21657 * stdlib/bits/stdlib.h: Likewise.
21658 * stdlib/fmtmsg.h: Likewise.
21659 * stdlib/monetary.h: Likewise.
21660 * stdlib/stdlib.h: Likewise.
21661 * stdlib/ucontext.h: Likewise.
21662 * streams/stropts.h: Likewise.
21663 * string/argz.h: Likewise.
21664 * string/bits/string2.h: Likewise.
21665 * string/string.h: Likewise.
21666 * string/strings.h: Likewise.
21667 * sunrpc/rpc/auth.h: Likewise.
21668 * sunrpc/rpc/auth_des.h: Likewise.
21669 * sunrpc/rpc/clnt.h: Likewise.
21670 * sunrpc/rpc/netdb.h: Likewise.
21671 * sunrpc/rpc/pmap_clnt.h: Likewise.
21672 * sunrpc/rpc/xdr.h: Likewise.
21673 * sysdeps/generic/inttypes.h: Likewise.
21674 * sysdeps/generic/net/if.h: Likewise.
21675 * sysdeps/generic/sys/swap.h: Likewise.
21676 * sysdeps/gnu/net/if.h: Likewise.
21677 * sysdeps/gnu/utmpx.h: Likewise.
21678 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21679 * sysdeps/i386/i486/bits/string.h: Likewise.
21680 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21681 * sysdeps/s390/bits/string.h: Likewise.
21682 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21683 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21684 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21685 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21686 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21687 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21688 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21689 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21690 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21691 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21692 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21693 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21694 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21695 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21696 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21697 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21698 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21700 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21701 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21702 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21703 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21704 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21705 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21706 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21707 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21708 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21709 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21710 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21711 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21712 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21713 * sysvipc/sys/ipc.h: Likewise.
21714 * sysvipc/sys/msg.h: Likewise.
21715 * sysvipc/sys/sem.h: Likewise.
21716 * sysvipc/sys/shm.h: Likewise.
21717 * termios/termios.h: Likewise.
21718 * time/sys/time.h: Likewise.
21719 * time/time.h: Likewise.
21720 * wcsmbs/bits/wchar2.h: Likewise.
21721 * wcsmbs/uchar.h: Likewise.
21722 * wcsmbs/wchar.h: Likewise.
21723 * wctype/wctype.h: Likewise.
21726 * Makeconfig: Remove all but ELF support including AIX support.
21727 * Makerules: Likewise.
21728 * config.h.in: Likewise.
21729 * config.make.in: Likewise.
21730 * configure: Likewise.
21731 * configure.in: Likewise.
21732 * csu/Makefile: Likewise.
21733 * csu/version.c: Likewise.
21734 * debug/Makefile: Likewise.
21735 * dlfcn/Makefile: Likewise.
21736 * elf/Makefile: Likewise.
21737 * extra-lib.mk: Likewise.
21738 * iconv/Makefile: Likewise.
21739 * include/libc-symbols.h: Likewise.
21740 * include/shlib-compat.h: Likewise.
21741 * resolv/Makefile: Likewise.
21742 * resolv/res_libc.c: Likewise.
21743 * rt/Makefile: Likewise.
21744 * sysdeps/i386/asm-syntax.h: Likewise.
21745 * sysdeps/i386/sysdep.h: Likewise.
21746 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21747 * sysdeps/mach/sysdep.h: Likewise.
21748 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21749 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21750 * sysdeps/s390/asm-syntax.h: Likewise.
21751 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21753 * sysdeps/sh/sysdep.h: Likewise.
21754 * sysdeps/unix/sparc/sysdep.h: Likewise.
21755 * sysdeps/wordsize-32/divdi3.c: Likewise.
21756 * sysdeps/x86_64/sysdep.h: Likewise.
21758 * argp/Versions: Remove _argp_unlock_xxx.
21761 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21762 * abilist/libBrokenLocale.abilist: Likewise.
21763 * abilist/libanl.abilist: Likewise.
21764 * abilist/libc.abilist: Likewise.
21765 * abilist/libcrypt.abilist: Likewise.
21766 * abilist/libdl.abilist: Likewise.
21767 * abilist/libm.abilist: Likewise.
21768 * abilist/libnsl.abilist: Likewise.
21769 * abilist/libpthread.abilist: Likewise.
21770 * abilist/libresolv.abilist: Likewise.
21771 * abilist/librt.abilist: Likewise.
21772 * abilist/libthread_db.abilist: Likewise.
21773 * abilist/libutil.abilist: Likewise.
21774 * abilist/libnss_db.abilist: New file.
21776 * scripts/abilist.awk: Add support for indirect functions.
21778 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21780 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21782 * shlib-versions: Remove entries for ports architectures.
21784 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21786 * elf/stackguard-macros.h: Remove support for IA-64.
21787 * elf/tst-auditmod1.c: Likewise.
21788 * sysdeps/generic/ldsodefs.h: Likewise.
21790 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21791 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21795 * configure.in: Remove --enable-omitfp support.
21797 * config.make.in: Likewise.
21798 * Makeconfig: Likewise.
21799 * manual/install.texi: Likewise.
21801 In case anyone cares, the IA-64 architecture could move to ports.
21802 * sysdeps/ia64/*: Removed.
21803 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21804 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21807 * configure.in: Remove entries for unsupported architectures.
21810 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21811 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21813 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21814 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21815 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21816 fall back to using wcrtomb.
21817 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21818 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21820 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21821 * wcsmbs/tst-c16c32-1.c: New file.
21823 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21826 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21828 * elf/tst-unique3.cc: Add explicit declaration of gets.
21829 * elf/tst-unique3lib.cc: Likewise.
21830 * elf/tst-unique3lib2.cc: Likewise.
21831 * elf/tst-unique4.cc: Likewise.
21833 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21835 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21838 * assert/assert.h (static_assert): Don't define for C++.
21839 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21840 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21842 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21844 * iconv/loop.c (single loop): Fix assertion in storing of
21847 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21849 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21851 * posix/getconf.c: Update copyright year.
21852 * nss/getent.c: Likewise.
21853 * nss/makedb.c: Likewise.
21854 * iconv/iconvconfig.c: Likewise.
21855 * iconv/iconv_prog.c: Likewise.
21856 * elf/ldconfig.c: Likewise.
21857 * elf/pldd.c: Likewise.
21858 * elf/sotruss.ksh: Likewise.
21859 * catgets/gencat.c: Likewise.
21860 * csu/version.c: Likewise.
21861 * elf/ldd.bash.in: Likewise.
21862 * elf/sprof.c (print_version): Likewise.
21863 * locale/programs/locale.c: Likewise.
21864 * locale/programs/localedef.c: Likewise.
21865 * login/programs/pt_chown.c: Likewise.
21866 * nscd/nscd.c (print_version): Likewise.
21867 * debug/xtrace.sh: Likewise.
21868 * malloc/memusage.sh: Likewise.
21869 * malloc/mtrace.pl: Likewise.
21870 * debug/catchsegv.sh: Likewise.
21872 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21874 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21877 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21880 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21881 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21883 * iconv/gconv_int.h: Likewise.
21884 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21885 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21886 from libc for GLIBC_2.16.
21887 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21888 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21889 * wcsmbs/uchar.h: Really define mbstate_t.
21890 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21891 * wcsmbs/c16rtomb.c: New file.
21892 * wcsmbs/mbrtoc16.c: New file.
21893 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21894 for C/POSIX locale.
21895 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21896 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21898 * wcsmbs/wchar.h: Add missing __restrict.
21900 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21903 * time/Makefile (routines): Add timespec_get.
21904 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21905 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21906 timespec for ISO C11.
21907 * time/timespec_get.c: New file.
21908 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21909 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21912 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21913 * stdlib/stdlib.h: Declare aligned_alloc.
21914 * Versions.def: Add GLIBC_2.16 for libc.
21915 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21918 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21921 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21925 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21928 * assert/assert.h (static_assert): Define.
21930 * version.h: Update for 2.16 development version.
21933 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21936 * version.h (RELEASE): Bump for 2.15 release.
21937 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21939 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21940 Patch by Marek Polacek <mpolacek@redhat.com>.
21942 * bits/byteswap.h: Protect long long constants with __extension__.
21943 * sysdeps/i386/bits/byteswap.h: Likewise.
21944 * sysdeps/ia64/bits/byteswap.h: Likewise.
21945 * sysdeps/s390/bits/byteswap.h: Likewise.
21946 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21948 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21951 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21952 destination buffer.
21953 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21955 2011-12-23 Marek Polacek <polacek@redhat.com>
21957 * elf/dl-addr.c (determine_info): Add inline keyword.
21958 * elf/tst-auditmod4b.c (check_avx): Likewise.
21959 * elf/tst-auditmod6b.c (check_avx): Likewise.
21960 * elf/tst-auditmod6c.c (check_avx): Likewise.
21961 * elf/tst-auditmod7b.c (check_avx): Likewise.
21963 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21965 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21968 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21971 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21972 processing for last bytes.
21974 2011-08-06 Bruno Haible <bruno@clisp.org>
21977 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21978 U+0385, not to U+1FEE.
21981 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21982 entry for U+00A5 U+0301.
21984 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21987 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21988 buffer for the output is too small.
21990 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21994 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21995 SSE flags if possible.
21997 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22001 processing for last bytes.
22003 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22005 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22006 (syscall-list-default-options, syscall-list-default-condition)
22007 (syscall-list-includes): Define.
22008 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22009 list of ABIs and options and #if conditions for each ABI. Do not
22010 handle common syscalls between ABIs specially.
22011 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22013 (syscall-list-variants, syscall-list-32bit-options)
22014 (syscall-list-32bit-condition, syscall-list-64bit-options)
22015 (syscall-list-64bit-condition): Define.
22016 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22017 (syscall-list-variants, syscall-list-32bit-options)
22018 (syscall-list-32bit-condition, syscall-list-64bit-options)
22019 (syscall-list-64bit-condition): Define.
22020 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22022 (syscall-list-variants, syscall-list-32bit-options)
22023 (syscall-list-32bit-condition, syscall-list-64bit-options)
22024 (syscall-list-64bit-condition): Define.
22025 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22027 (syscall-list-variants, syscall-list-32bit-options)
22028 (syscall-list-32bit-condition, syscall-list-64bit-options)
22029 (syscall-list-64bit-condition): Define.
22031 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22033 * locale/iso-639.def: Add brx entry.
22036 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22037 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22039 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22040 __feraiseexcept_renamed.
22042 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22045 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22046 EPOLLET with unsigned values.
22047 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22048 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22050 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22051 to large cancellation.
22052 * math/s_cacoshf.c: Likewise.
22053 * math/s_cacoshl.c: Likewise.
22055 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22059 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22060 * math/s_cacoshf.c: Likewise.
22061 * math/s_cacoshl.c: Likewise.
22063 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22066 * iconv/gconv.h: Define __GCONV_SWAP.
22067 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22068 * iconvdata/utf-16.c: Likewise.
22069 * iconvdata/utf-32.c: Likewise.
22071 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22074 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22075 numerator after shifting it by one limb.
22077 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22079 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22080 under [__USE_EXTERN_INLINES].
22082 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22085 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22087 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22089 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22090 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22092 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22093 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22094 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22095 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22096 for strncasecmp/strncasecmp_l compilation.
22097 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22098 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22100 2011-12-08 Marek Polacek <mpolacek@redhat.com>
22103 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22106 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22109 * time/tzfile.c (__tzfile_read): Check values from file header.
22111 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22113 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22114 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22115 * powerpc/powerpc32/dl-start.S: Likewise.
22116 * powerpc/powerpc32/elf/start.S: Likewise.
22117 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22118 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22119 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22120 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22121 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22122 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22123 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22124 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22125 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22126 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22127 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22128 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22129 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22130 * powerpc/powerpc32/memset.S: Likewise.
22131 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22132 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22133 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22134 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22135 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22136 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22137 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22138 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22139 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22140 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22141 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22142 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22143 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22145 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22147 * math/libm-test.inc: Added more nearbyint tests.
22148 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22149 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22151 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22153 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22155 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22158 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22160 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22161 Add wcscpy-ssse3 wcscpy-c.
22162 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22163 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22164 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22165 * sysdeps/x86_64/wcschr.S: New file.
22166 * sysdeps/x86_64/wcsrchr.S: New file.
22167 * string/test-strcmp.c: Remove checking of wcscmp function for
22169 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22170 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22171 wcsrchr-sse2 wcsrchr-c.
22172 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22173 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22174 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22175 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22176 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22177 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22178 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22179 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22180 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22181 * wcsmbc/wcschr.c (WCSCHR): New macro.
22183 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22185 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22186 * wcsmbs/test-wcsrchr.c: New file.
22187 * string/test-strrchr.c: Add wcsrchr support.
22189 * wcsmbs/test-wcscpy.c: New file.
22190 * string/test-strcpy.c: Add wcscpy support.
22193 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22198 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22201 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22203 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22205 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22206 Minor optimizations.
22208 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22209 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22210 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22212 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22214 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22215 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22216 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22217 for gcc to avoid warnings.
22218 * inet/Makefile (tests): Add tst-checks.
22219 * inet/tst-checks.c: New file.
22221 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22224 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22227 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22228 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22230 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22232 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22234 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22237 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22239 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22241 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22242 conditional on GCC version.
22243 (__arch_compare_and_exchange_val_8_acq)
22244 (__arch_compare_and_exchange_val_16_acq)
22245 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22246 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22247 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22249 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22251 * sysdeps/sh/backtrace.c: New file.
22253 2011-12-02 Andreas Schwab <schwab@redhat.com>
22255 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22258 2011-12-01 Andreas Schwab <schwab@redhat.com>
22260 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22261 falling back to utime.
22263 2011-11-30 Andreas Schwab <schwab@redhat.com>
22265 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22266 expectations for float.
22268 2011-11-29 Andreas Schwab <schwab@redhat.com>
22270 * locale/weight.h (findidx): Add parameter len.
22271 * locale/weightwc.h (findidx): Likewise.
22272 * posix/fnmatch_loop.c (FCT): Adjust caller.
22273 * posix/regcomp.c (build_equiv_class): Likewise.
22274 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22275 * posix/regexec.c (check_node_accept_bytes): Likewise.
22276 * string/strcoll_l.c (STRCOLL): Likewise.
22277 * string/strxfrm_l.c (STRXFRM): Likewise.
22279 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22281 * Makefile.in: Remove CVSOPT handling.
22282 * configure.in: Remove use of AC_REVISION.
22283 * iconvdata/Makefile (distribute): No need to filter out CVS.
22284 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22287 2011-11-16 Andreas Schwab <schwab@redhat.com>
22289 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22290 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22291 [USE_AS_STRNCASECMP_L]: Likewise.
22292 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22293 NO_TLS_DIRECT_SEG_REFS.
22294 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22295 Fix argument offsets for non-PIC.
22296 [USE_AS_STRNCASECMP_L]: Likewise.
22297 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22298 NO_TLS_DIRECT_SEG_REFS.
22300 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22302 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22304 * locale/loadlocale.c (_nl_load_locale): Likewise.
22306 2011-11-15 Andreas Schwab <schwab@redhat.com>
22308 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22309 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22310 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22311 (SYSCALL_GETTIME): Set errno on error.
22313 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22314 count references to noai6ai_cached.
22316 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22318 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22320 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22321 FD_CLOEXEC for /proc/self/maps.
22323 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22324 FD_CLOEXEC for /proc/meminfo.
22326 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22329 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22330 FD_CLOEXEC for given file.
22332 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22334 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22335 FD_CLOEXEC for /etc/hosts.
22336 (_gethtent): Likewise.
22338 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22340 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22341 cancellation and set FD_CLOEXEC for /etc/netgroup.
22343 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22344 reading /etc/publickey.
22346 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22347 allow cancellation when reading /etc/group.
22349 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22351 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22353 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22354 when using data file.
22356 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22358 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22359 (write_nis_obj): Use "c" and "e" in fopen.
22361 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22363 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22365 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22367 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22369 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22372 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22374 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22376 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22378 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22379 file parsing and set FD_CLOEXEC.
22381 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22383 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22385 2011-11-14 Andreas Schwab <schwab@redhat.com>
22387 * malloc/arena.c (arena_get2): Don't call reused_arena when
22388 _int_new_arena failed.
22390 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22392 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22393 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22395 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22398 to compile strcasecmp and strncasecmp.
22399 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22400 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22404 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22406 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22407 locale-defines.sym to gen-as-const-headers.
22408 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22409 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22411 to compile strcasecmp and strncasecmp.
22412 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22413 strcasecmp_l and strncasecmp_l.
22414 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22415 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22416 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22417 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22418 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22419 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22420 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22421 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22422 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22423 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22424 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22426 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22428 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22429 result of SYSDEP_GETTIME_CPU to retval.
22430 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22431 parameter list to macro. Remove trailing semicolon. Adjust users.
22433 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22436 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22438 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22440 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22441 from unused variable.
22443 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22445 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22448 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22451 * sunrpc/rpc_prot.c (rejected): Fix case value.
22453 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22454 unsigned long long int to avoid warnings in shift.
22456 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22458 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22461 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22462 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22463 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22465 * nis/nis_table.c (nis_list): Use variable of correct type for
22466 result of __follow_path call.
22468 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22470 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22471 of math functions ceil, trunc, floor, round, and sqrt, when
22472 avaliable on the platform.
22473 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22475 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22476 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22477 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22479 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22481 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22482 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22484 2011-11-11 Roland McGrath <roland@hack.frob.com>
22486 * include/unistd.h: Fix __readlink return type.
22487 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22489 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22491 * stdlib/ucontext.h: Undo last change for makecontext.
22493 2011-11-11 Andreas Schwab <schwab@redhat.com>
22495 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22497 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22498 * setjmp/setjmp.h: Mark functions as non-leaf.
22499 * setjmp/bits/setjmp2.h: Likewise.
22500 * stdlib/ucontext.h: Likewise.
22502 2011-11-10 Andreas Schwab <schwab@redhat.com>
22504 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22505 (reused_arena): Don't check arena limit.
22506 (arena_get2): Atomically check arena limit.
22508 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22510 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22511 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22516 2011-11-07 Andreas Schwab <schwab@redhat.com>
22518 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22519 handler when locking.
22521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22522 Fix size of allocated buffer.
22524 2011-11-04 Andreas Schwab <schwab@redhat.com>
22527 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22528 declarations for long double functions.
22529 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22531 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22533 2011-11-03 Andreas Schwab <schwab@redhat.com>
22535 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22538 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22541 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22543 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22545 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22547 * include/alloca.h (stackinfo_alloca_round): Define.
22548 (extend_alloca): Use it.
22549 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22550 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22553 * scripts/check-local-headers.sh: Ignore libaudit.h.
22555 * nscd/Makefile (extra-objs): Make recursively expanded.
22557 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22559 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22562 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22563 * posix/tst-rfc3484-2.c: Likewise.
22564 * posix/tst-rfc3484-3.c: Likewise.
22566 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22568 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22570 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22571 process_vm_writev from libc using GLIBC_2.15 version.
22573 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22575 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22577 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22580 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22583 * nss/getent.c (initgroups_keys): Show error message in case no group
22586 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22587 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22588 __bump_nl_timestamp.
22589 * nscd/connections (nscd_init): When host database is served open
22590 netlink socket and request notification about configuration changes.
22591 (main_loop_poll): Track netlink file descriptor and bump timestamp
22592 in case data becomes available.
22593 (main_loop_epoll): Likewise.
22594 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22595 (database_pers_head): Add extra_data fileds.
22596 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22597 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22598 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22601 in6ai data, call __free_in6ai.
22602 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22603 Add -DHAVE_NETLINK.
22604 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22605 interface information. Reuse previous data if netlink timestamp
22607 (__bump_nl_timestamp): New function.
22608 (__free_in6ai): New function.
22610 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22612 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22613 close_not_cancel_no_status here.
22614 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22616 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22619 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22622 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22623 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22624 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22626 2011-07-03 Andreas Jaeger <aj@suse.de>
22629 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22630 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22631 * math/libm-test.inc (sin_test): Add test case.
22633 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22636 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22637 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22639 * elf/chroot_canon.c (chroot_canon): Cleanups.
22641 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22644 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22645 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22647 * string/test-strchr.c: Make usable for strchrnul testing.
22648 * string/test-strchrnul.c: New file.
22649 * string/Makefile (strop-tests): Add strchrnul.
22651 * po/it.po: Update from translation team.
22652 * po/es.po: Likewise.
22654 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22656 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22657 the three constants needed as parameters. Drop the others.
22658 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22659 __m128i_strloadu_tolower.
22660 Create and initialize variable zero and use it in all the places
22661 where _mm_setzero_si128 was used.
22663 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22664 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22665 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22666 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22668 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22669 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22670 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22671 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22672 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22673 __mpranred, __mptan.
22674 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22675 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22676 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22677 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22678 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22679 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22680 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22681 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22682 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22684 2011-10-28 Andreas Schwab <schwab@redhat.com>
22686 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22687 redefine if SHARED.
22688 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22691 wide char related routines to wcsmbs subdir.
22693 2011-10-27 Andreas Schwab <schwab@redhat.com>
22696 * misc/sys/cdefs.h (__THROWNL): Define.
22697 * posix/unistd.h: Use __THREADNL instead of __THREAD
22698 for memory synchronization functions.
22700 2011-10-26 Roland McGrath <roland@hack.frob.com>
22703 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22705 * manual/stdio.texi (Obstack Streams): Node removed.
22707 2011-10-26 Andreas Schwab <schwab@redhat.com>
22709 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22710 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22711 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22713 * math/math_private.h (math_force_eval): Allow non-addressable
22715 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22717 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22719 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22720 file is not needed.
22722 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22723 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22724 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22725 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22726 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22727 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22728 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22729 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22731 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22732 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22733 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22734 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22735 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22736 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22737 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22738 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22739 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22740 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22741 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22742 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22744 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22745 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22746 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22747 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22748 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22749 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22751 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22752 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22755 place. Use VEX encoding when compiling for AVX.
22757 2011-10-25 Andreas Schwab <schwab@redhat.com>
22759 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22760 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22762 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22764 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22766 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22767 useless if() expression.
22768 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22769 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22778 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22779 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22780 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22782 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22783 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22784 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22786 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22788 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22790 2011-10-25 Andreas Schwab <schwab@redhat.com>
22792 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22794 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22796 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22798 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22799 .text section. Avoid duplicate constants.
22800 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22802 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22808 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22809 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22810 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22811 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22812 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22813 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22814 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22815 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22816 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22817 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22818 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22820 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22821 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22822 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22823 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22824 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22825 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22826 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22827 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22828 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22829 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22830 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22831 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22832 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22833 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22834 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22835 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22836 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22837 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22838 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22839 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22840 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22841 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22842 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22843 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22844 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22846 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22848 * sysdeps/x86_64/dla.h: Move to ...
22849 * sysdeps/x86_64/fpu/dla.h: ...here.
22850 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22851 situations. Use __builtin_fma only for gcc 4.6 and up.
22853 * config.make.in: Add have-mfma4 entry.
22854 * configure.in: Substitute libc_cv_cc_fma4.
22855 * math/Makefile (dbl-only-routines): Add sincostab.
22856 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22857 Use __sincostab not sincos.
22858 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22860 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22865 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22866 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22867 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22868 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22870 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22871 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22873 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22874 define aliases when function name is a macro.
22875 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22876 sysdeps/ieee754/dbl-64/sincos.tbl.
22877 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22878 fma4-enabled routines.
22879 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22880 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22881 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22882 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22883 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22884 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22885 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22886 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22887 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22888 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22889 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22890 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22891 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22892 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22894 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22895 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22896 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22897 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22898 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22899 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22900 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22901 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22902 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22903 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22904 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22905 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22906 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22907 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22908 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22910 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22919 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22921 2011-10-24 Andreas Schwab <schwab@redhat.com>
22923 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22925 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22927 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22929 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22931 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22933 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22934 Remove unused variable magic_bits.
22935 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22937 * string/strnlen.c: Define and use STRNLEN macro.
22938 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22939 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22941 * wcsmbs/wcslen.c: Define and use WCSLEN.
22942 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22943 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22944 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22945 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22946 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22947 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22948 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22950 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22953 strnlen-sse2-no-bsf.
22954 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22955 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22956 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22957 Add strnlen support.
22958 (USE_AS_STRNLEN): New macro.
22959 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22960 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22961 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22962 * sysdeps/x86_64/wcslen.S: New file.
22964 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22966 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22967 XMM-moves are used for copying on small sizes.
22969 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22971 * wcsmbs/Makefile (strop-tests): Add wcschr.
22972 * wcsmbs/test-wcschr.c: New file.
22973 * string/test-strchr.c: Update.
22974 Add wcschr support.
22977 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22979 * wcsmbs/Makefile (strop-tests): Add wcslen.
22980 * wcsmbs/test-wcslen.c: New file.
22981 * string/test-strlen.c: Update.
22982 Add wcslen support.
22985 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22987 * po/it.po: Update from translation team.
22989 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22991 * sysdeps/x86_64/wcscmp.S: Update.
22992 Fix wrong comparison semantics.
22993 wcscmp shall use signed comparison not unsigned.
22994 Don't use substraction to avoid overflow bug.
22995 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22996 * wcsmbc/wcscmp.c: Likewise.
22997 * string/test-strcmp.c: Likewise.
22998 Add new tests to check cases with negative values.
23000 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23002 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23003 * sysdeps/x86_64/dla.h: ...here. New file.
23004 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23009 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23010 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23011 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23014 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23017 __ynl_finite aliases.
23019 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23023 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23025 [DLA_FMA] (EMULV): Use DLA_FMA.
23026 [DLA_FMA] (MUL12): Use EMULV.
23027 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23028 that are not needed.
23029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23037 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23039 * math/s_nan.c: Undef __nan.
23040 * math/s_nanf.c: Undef __nanf.
23041 * math/s_nanl.c: Undef __nanl.
23042 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23045 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23047 * math/s_catan.c: Add branch predictions.
23048 * math/s_catanf.c: Likewise.
23049 * math/s_catanh.c: Likewise.
23050 * math/s_catanhf.c: Likewise.
23051 * math/s_catanhl.c: Likewise.
23052 * math/s_catanl.c: Likewise.
23053 * math/s_cexp.c: Likewise.
23054 * math/s_cexpf.c: Likewise.
23055 * math/s_cexpl.c: Likewise.
23056 * math/s_clog.c: Likewise.
23057 * math/s_clog10.c: Likewise.
23058 * math/s_clog10f.c: Likewise.
23059 * math/s_clog10l.c: Likewise.
23060 * math/s_clogf.c: Likewise.
23061 * math/s_clogl.c: Likewise.
23062 * math/s_csqrt.c: Likewise.
23063 * math/s_csqrtf.c: Likewise.
23064 * math/s_csqrtl.c: Likewise.
23065 * math/s_ctanf.c: Likewise.
23066 * math/s_ctanh.c: Likewise.
23067 * math/s_ctanhf.c: Likewise.
23068 * math/s_ctanhl.c: Likewise.
23069 * math/s_ctanl.c: Likewise.
23071 * math/math_private.h: Define __nan, __nanf, __nanl.
23072 * math/s_cacosh.c: Include <math_private.h>.
23073 * math/s_cacoshl.c: Likewise.
23074 * math/s_casinh.c: Likewise.
23075 * math/s_casinhf.c: Likewise.
23076 * math/s_casinhl.c: Likewise.
23077 * math/s_ccos.c: Rely entire on ccosh.
23078 * math/s_ccosf.c: Rely entire on ccoshf.
23079 * math/s_ccosl.c: Rely entirely on ccoshl.
23080 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23081 Remove tests for FE_INVALID.
23082 * math/s_ccoshf.c: Likewise.
23083 * math/s_ccoshl.c: Likewise.
23084 * math/s_csin.c: Likewise.
23085 * math/s_csinf.c: Likewise.
23086 * math/s_csinh.c Likewise.
23087 * math/s_csinhf.c: Likewise.
23088 * math/s_csinhl.c: Likewise.
23089 * math/s_csinl.c: Likewise.
23090 * math/s_ctan.c: Likewise.
23091 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23092 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23093 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23095 2011-10-21 Ulrich Drepper <drepper@gmail.com>
23097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23098 compilation problems.
23100 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23103 2011-10-20 Ulrich Drepper <drepper@gmail.com>
23105 * sysdeps/i386/configure.in: Test for -mfma4 option.
23106 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23107 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23108 COMMON_CPUID_INDEX_80000001.
23109 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23110 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23111 use it if FMA3 is not supported.
23112 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23114 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23115 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23117 2011-10-20 Andreas Schwab <schwab@redhat.com>
23120 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23121 it would create a cycle with a link time dependency.
23123 2011-10-19 Ulrich Drepper <drepper@gmail.com>
23125 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23127 * string/Makefile (strop-tests): Add rawmemchr.
23128 * string/test-rawmemchr.c: New file.
23130 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23132 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23133 when compiling str{,n}casecmp and when AVX is available. Hook up
23134 new optimized code in initializers.
23136 2011-10-19 Andreas Schwab <schwab@redhat.com>
23138 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23139 __feraiseexcept instead of feraiseexcept.
23141 2011-10-18 Ulrich Drepper <drepper@gmail.com>
23143 * math/math_private.h: Define defaults for libc_fetestexcept and
23145 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23146 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23147 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23148 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23149 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23150 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23151 libc_fetestexcept and libc_feupdateenv.
23153 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23154 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23155 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23156 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23157 libc_feholdexcept_setround.
23159 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23160 Add s_nearbyint-c and s_nearbyintf-c.
23161 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23162 nearbyintf inlines.
23163 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23164 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23165 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23166 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23168 * math/math_private.h: Define defaults for libc_fegetround,
23169 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23170 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23171 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23172 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23173 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23174 standard functions.
23175 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23176 Remove comments and hacks for old compiler versions.
23177 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23178 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23179 libc_feholdexceptl.
23181 2011-10-18 Andreas Schwab <schwab@redhat.com>
23183 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23184 (__feraiseexcept_renamed): Add __NTH.
23185 (feraiseexcept): Add __NTH. Rename local variables to fix
23186 namespace violations.
23188 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23190 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23192 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23194 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23195 recently added interfaces.
23196 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23198 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23199 about macro parameter expansion.
23201 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23202 __NO_MATH_INLINES is defined. Cleanups.
23204 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23205 and __floorf is target has SSE4.1.
23206 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23207 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23208 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23209 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23211 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23213 (floorf): Likewise.
23215 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23217 2011-10-17 Andreas Schwab <schwab@redhat.com>
23219 * misc/sys/cdefs.h: Fix last change.
23221 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23224 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23226 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23228 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23230 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23231 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23234 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23235 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23236 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23237 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23238 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23239 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23240 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23241 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23242 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23243 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23244 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23245 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23246 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23247 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23248 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23249 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23251 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23252 ceil, ceilf, floor, floorf.
23254 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23255 Perform IRELATIVE relocations last.
23257 * elf/do-rel.h: Add another parameter nrelative, replacing the
23258 local variable with the same name. Change name of the function
23259 to end in Rel or Rela (uppercase).
23260 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23261 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23262 elf_dynamic_do_##reloc function.
23264 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23266 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23267 is sufficient, at least on modern CPUs.
23269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23271 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23272 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23274 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23276 * math/bits/math-finite.h: Add entries for exp.
23277 * math/e_expl.c: Add __*_finite alias.
23278 * sysdeps/i386/fpu/e_exp.S: Likewise.
23279 * sysdeps/i386/fpu/e_expf.S: Likewise.
23280 * sysdeps/i386/fpu/e_expl.c: Likewise.
23281 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23282 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23283 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23286 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23287 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23289 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23290 is sufficient, at least on modern CPUs.
23292 * ctype/ctype-info.c (__ctype_init): Define.
23293 * include/ctype.h (__ctype_init): Declare.
23294 (__ctype_b_loc): The variable is always initialized.
23295 (__ctype_toupper_loc): Likewise.
23296 (__ctype_tolower_loc): Likewise.
23297 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23298 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23300 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23302 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23304 * configure.in: Also look in $cxxmachine/include for C++ system
23307 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23309 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23310 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23311 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23312 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23313 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23314 (USE_AS_WMEMCMP): New macro.
23316 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23317 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23318 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23319 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23321 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23322 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23323 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23324 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23325 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23326 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23327 (USE_AS_WMEMCMP): New macro.
23328 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23329 * sysdeps/string/test-memcmp.c: Update.
23330 Fix simple_wmemcmp.
23332 * wcsmbs/wmemcmp.c: Update.
23333 (WMEMCMP): New macro.
23336 2011-10-12 Andreas Jaeger <aj@suse.de>
23339 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23341 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23343 * libio/iofwide.c (do_length): Avoid warning.
23345 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23347 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23349 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23351 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23352 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23353 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23354 * sysdeps/i386/i686/fpu/e_log.S: New file.
23355 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23356 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23358 * ctype/ctype.h: Add support for inlined isXXX functions when
23359 compiling C++ code.
23361 2011-10-14 Andreas Schwab <schwab@redhat.com>
23363 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23365 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23367 2011-10-13 Roland McGrath <roland@hack.frob.com>
23370 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23372 2011-10-13 Andreas Schwab <schwab@redhat.com>
23374 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23375 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23378 * sysdeps/x86_64/memrchr.S: Check for zero size.
23380 * string/stratcliff.c: Add memrchr tests.
23382 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23385 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23386 rawmemchr-sse2 rawmemchr-sse2-bsf.
23387 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23388 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23389 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23390 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23391 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23392 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23393 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23394 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23395 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23396 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23397 * string/memrchr.c (MEMRCHR): New macro.
23399 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23401 Add integration with gcc's -ffinite-math-only and optimize wrapper
23403 * Versions.def: Define GLIBC_2.15 version for libm.
23404 * math/Makefile (headers): Add bits/math-finite.h.
23405 * math/bits/math-finite.h: New file.
23406 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23407 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23408 * math/e_acoshl.c: Add __*_finite alias.
23409 * math/e_acosl.c: Likewise.
23410 * math/e_asinl.c: Likewise.
23411 * math/e_atan2l.c: Likewise.
23412 * math/e_atanhl.c: Likewise.
23413 * math/e_coshl.c: Likewise.
23414 * math/e_exp10.c: Likewise.
23415 * math/e_exp10f.c: Likewise.
23416 * math/e_exp10l.c: Likewise.
23417 * math/e_exp2l.c: Likewise.
23418 * math/e_fmodl.c: Likewise.
23419 * math/e_gammal_r.c: Likewise.
23420 * math/e_hypotl.c: Likewise.
23421 * math/e_j0l.c: Likewise.
23422 * math/e_j1l.c: Likewise.
23423 * math/e_jnl.c: Likewise.
23424 * math/e_lgammal_r.c: Likewise.
23425 * math/e_log10l.c: Likewise.
23426 * math/e_log2l.c: Likewise.
23427 * math/e_logl.c: Likewise.
23428 * math/e_powl.c: Likewise.
23429 * math/e_sinhl.c: Likewise.
23430 * math/e_sqrtl.c: Likewise.
23431 * math/e_scalb.c: Completely rewritten and optimized.
23432 * math/e_scalbf.c: Likewise.
23433 * math/e_scalbl.c: Likewise.
23434 * math/w_acos.c: Likewise.
23435 * math/w_acosf.c: Likewise.
23436 * math/w_acosl.c: Likewise.
23437 * math/w_acosh.c: Likewise.
23438 * math/w_acoshf.c: Likewise.
23439 * math/w_acoshl.c: Likewise.
23440 * math/w_asin.c: Likewise.
23441 * math/w_asinf.c: Likewise.
23442 * math/w_asinl.c: Likewise.
23443 * math/w_atan2.c: Likewise.
23444 * math/w_atan2f.c: Likewise.
23445 * math/w_atan2l.c: Likewise.
23446 * math/w_atanh.c: Likewise.
23447 * math/w_atanhf.c: Likewise.
23448 * math/w_atanhl.c: Likewise.
23449 * math/w_exp10.c: Likewise.
23450 * math/w_exp10f.c: Likewise.
23451 * math/w_exp10l.c: Likewise.
23452 * math/w_fmod.c: Likewise.
23453 * math/w_fmodf.c: Likewise.
23454 * math/w_fmodl.c: Likewise.
23455 * math/w_j0.c: Likewise.
23456 * math/w_j0f.c: Likewise.
23457 * math/w_j0l.c: Likewise.
23458 * math/w_j1.c: Likewise.
23459 * math/w_j1f.c: Likewise.
23460 * math/w_j1l.c: Likewise.
23461 * math/w_jn.c: Likewise.
23462 * math/w_jnf.c: Likewise.
23463 * math/w_log.c: Likewise.
23464 * math/w_logf.c: Likewise.
23465 * math/w_logl.c: Likewise.
23466 * math/w_log10.c: Likewise.
23467 * math/w_log10f.c: Likewise.
23468 * math/w_log10l.c: Likewise.
23469 * math/w_log2.c: Likewise.
23470 * math/w_log2f.c: Likewise.
23471 * math/w_log2l.c: Likewise.
23472 * math/w_pow.c: Likewise.
23473 * math/w_powf.c: Likewise.
23474 * math/w_powl.c: Likewise.
23475 * math/w_remainder.c: Likewise.
23476 * math/w_remainderf.c: Likewise.
23477 * math/w_remainderl.c: Likewise.
23478 * math/w_scalb.c: Likewise.
23479 * math/w_scalbf.c: Likewise.
23480 * math/w_scalbl.c: Likewise.
23481 * math/w_sqrt.c: Likewise.
23482 * math/w_sqrtf.c: Likewise.
23483 * math/w_sqrtl.c: Likewise.
23484 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23485 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23487 * math/math_private.h: Declare __kernel_standard_f.
23488 * math/w_cosh.c: Remove cruft and optimize a bit.
23489 * math/w_coshf.c: Likewise.
23490 * math/w_coshl.c: Likewise.
23491 * math/w_exp2.c: Likewise.
23492 * math/w_exp2f.c: Likewise.
23493 * math/w_exp2l.c: Likewise.
23494 * math/w_hypot.c: Likewise.
23495 * math/w_hypotf.c: Likewise.
23496 * math/w_hypotl.c: Likewise.
23497 * math/w_lgamma.c: Likewise.
23498 * math/w_lgamma_r.c: Likewise.
23499 * math/w_lgammaf.c: Likewise.
23500 * math/w_lgammaf_r.c: Likewise.
23501 * math/w_lgammal.c: Likewise.
23502 * math/w_lgammal_r.c: Likewise.
23503 * math/w_sinh.c: Likewise.
23504 * math/w_sinhf.c: Likewise.
23505 * math/w_sinhl.c: Likewise.
23506 * math/w_tgamma.c: Likewise.
23507 * math/w_tgammaf.c: Likewise.
23508 * math/w_tgammal.c: Likewise.
23509 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23510 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23511 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23512 Minor optimizations. Pretty printing. Remove cruft.
23513 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23514 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23515 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23516 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23517 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23518 * sysdeps/i386/fpu/e_asin.S: Likewise.
23519 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23520 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23521 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23522 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23523 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23524 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23525 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23526 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23527 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23528 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23529 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23530 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23531 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23532 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23533 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23534 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23535 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23536 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23537 * sysdeps/i386/fpu/e_log.S: Likewise.
23538 * sysdeps/i386/fpu/e_log10.S: Likewise.
23539 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23540 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23541 * sysdeps/i386/fpu/e_log2.S: Likewise.
23542 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23543 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23544 * sysdeps/i386/fpu/e_logf.S: Likewise.
23545 * sysdeps/i386/fpu/e_logl.S: Likewise.
23546 * sysdeps/i386/fpu/e_pow.S: Likewise.
23547 * sysdeps/i386/fpu/e_powf.S: Likewise.
23548 * sysdeps/i386/fpu/e_powl.S: Likewise.
23549 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23550 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23551 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23552 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23553 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23554 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23555 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23556 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23557 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23559 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23561 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23562 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23563 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23564 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23565 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23566 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23567 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23568 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23569 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23571 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23572 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23573 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23574 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23575 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23578 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23579 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23580 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23581 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23582 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23583 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23584 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23585 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23586 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23587 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23588 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23589 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23590 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23591 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23592 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23593 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23594 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23595 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23596 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23597 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23598 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23599 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23600 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23607 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23608 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23610 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23611 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23615 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23617 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23623 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23629 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23635 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23636 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23637 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23638 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23641 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23643 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23644 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23646 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23648 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23649 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23650 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23651 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23652 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23653 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23654 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23655 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23656 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23657 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23658 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23659 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23660 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23661 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23662 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23663 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23664 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23665 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23666 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23667 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23668 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23669 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23670 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23671 (__isnanf): Likewise.
23672 (__isinf_ns): Likewise.
23673 (__isinf_nsf): Likewise.
23674 (__finite): Likewise.
23675 (__finitef): Likewise.
23676 (__ieee754_sqrt): Define as macro.
23677 (__ieee754_sqrtf): Define as macro.
23678 (__ieee754_sqrtl): Define as macro.
23679 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23681 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23682 __FINITE_MATH_ONLY__ consistent.
23683 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23685 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23687 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23690 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23692 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23694 * po/ja.po: Update from translation team.
23696 2011-10-08 Roland McGrath <roland@hack.frob.com>
23698 * locale/programs/locarchive.c (prepare_address_space): New function.
23699 (create_archive, enlarge_archive, open_archive): Use it.
23701 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23702 inside [SHARED], where it is used.
23704 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23706 * nss/getent.c (netgroup_keys): Remove unused variable.
23707 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23709 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23711 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23712 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23714 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23715 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23716 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23717 * math/Makefile (libm-calls): Add s_isinf_ns.
23718 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23719 * math/multc3.c: Likewise.
23720 * math/s_casin.c: Likewise.
23721 * math/s_casinf.c: Likewise.
23722 * math/s_casinl.c: Likewise.
23723 * math/s_ccos.c: Likewise.
23724 * math/s_ccosf.c: Likewise.
23725 * math/s_ccosl.c: Likewise.
23726 * math/s_ctan.c: Likewise.
23727 * math/s_ctanf.c: Likewise.
23728 * math/s_ctanh.c: Likewise.
23729 * math/s_ctanhf.c: Likewise.
23730 * math/s_ctanhl.c: Likewise.
23731 * math/s_ctanl.c: Likewise.
23732 * math/w_fmod.c: Likewise.
23733 * math/w_fmodf.c: Likewise.
23734 * math/w_fmodl.c: Likewise.
23735 * math/w_remainder.c: Likewise.
23736 * math/w_remainderf.c: Likewise.
23737 * math/w_remainderl.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23739 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23740 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23742 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23743 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23744 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23745 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23747 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23749 * stdio-common/printf_fphex.c: Likewise.
23750 * stdio-common/printf_size.c: Likewise.
23752 * math/e_exp10.c: Include math_private.h using <...> not "...".
23753 * math/e_exp10f.c: Likewise.
23754 * math/e_exp10l.c: Likewise.
23755 * math/e_exp2l.c: Likewise.
23756 * math/e_j0l.c: Likewise.
23757 * math/e_j1l.c: Likewise.
23758 * math/e_jnl.c: Likewise.
23759 * math/e_lgammal_r.c: Likewise.
23760 * math/e_rem_pio2l.c: Likewise.
23761 * math/e_scalb.c: Likewise.
23762 * math/e_scalbf.c: Likewise.
23763 * math/e_scalbl.c: Likewise.
23764 * math/k_cosl.c: Likewise.
23765 * math/k_sinl.c: Likewise.
23766 * math/k_tanl.c: Likewise.
23767 * math/s_cacoshf.c: Likewise.
23768 * math/s_catan.c: Likewise.
23769 * math/s_catanf.c: Likewise.
23770 * math/s_catanh.c: Likewise.
23771 * math/s_catanhf.c: Likewise.
23772 * math/s_catanhl.c: Likewise.
23773 * math/s_catanl.c: Likewise.
23774 * math/s_ccosh.c: Likewise.
23775 * math/s_ccoshf.c: Likewise.
23776 * math/s_ccoshl.c: Likewise.
23777 * math/s_cexp.c: Likewise.
23778 * math/s_cexpf.c: Likewise.
23779 * math/s_cexpl.c: Likewise.
23780 * math/s_clog.c: Likewise.
23781 * math/s_clog10.c: Likewise.
23782 * math/s_clog10f.c: Likewise.
23783 * math/s_clog10l.c: Likewise.
23784 * math/s_clogf.c: Likewise.
23785 * math/s_clogl.c: Likewise.
23786 * math/s_csin.c: Likewise.
23787 * math/s_csinf.c: Likewise.
23788 * math/s_csinh.c: Likewise.
23789 * math/s_csinhf.c: Likewise.
23790 * math/s_csinhl.c: Likewise.
23791 * math/s_csinl.c: Likewise.
23792 * math/s_csqrt.c: Likewise.
23793 * math/s_csqrtf.c: Likewise.
23794 * math/s_csqrtl.c: Likewise.
23795 * math/s_ctan.c: Likewise.
23796 * math/s_ctanf.c: Likewise.
23797 * math/s_ctanh.c: Likewise.
23798 * math/s_ctanhf.c: Likewise.
23799 * math/s_ctanhl.c: Likewise.
23800 * math/s_ctanl.c: Likewise.
23801 * math/s_ldexp.c: Likewise.
23802 * math/s_ldexpf.c: Likewise.
23803 * math/s_ldexpl.c: Likewise.
23804 * math/s_significand.c: Likewise.
23805 * math/s_significandf.c: Likewise.
23806 * math/s_significandl.c: Likewise.
23807 * math/w_acos.c: Likewise.
23808 * math/w_acosf.c: Likewise.
23809 * math/w_acosh.c: Likewise.
23810 * math/w_acoshf.c: Likewise.
23811 * math/w_acoshl.c: Likewise.
23812 * math/w_acosl.c: Likewise.
23813 * math/w_asin.c: Likewise.
23814 * math/w_asinf.c: Likewise.
23815 * math/w_asinl.c: Likewise.
23816 * math/w_atan2.c: Likewise.
23817 * math/w_atan2f.c: Likewise.
23818 * math/w_atan2l.c: Likewise.
23819 * math/w_atanh.c: Likewise.
23820 * math/w_atanhf.c: Likewise.
23821 * math/w_atanhl.c: Likewise.
23822 * math/w_cosh.c: Likewise.
23823 * math/w_coshf.c: Likewise.
23824 * math/w_coshl.c: Likewise.
23825 * math/w_dremf.c: Likewise.
23826 * math/w_exp10.c: Likewise.
23827 * math/w_exp10f.c: Likewise.
23828 * math/w_exp10l.c: Likewise.
23829 * math/w_exp2.c: Likewise.
23830 * math/w_exp2f.c: Likewise.
23831 * math/w_fmod.c: Likewise.
23832 * math/w_fmodf.c: Likewise.
23833 * math/w_fmodl.c: Likewise.
23834 * math/w_hypot.c: Likewise.
23835 * math/w_hypotf.c: Likewise.
23836 * math/w_hypotl.c: Likewise.
23837 * math/w_j0.c: Likewise.
23838 * math/w_j0f.c: Likewise.
23839 * math/w_j0l.c: Likewise.
23840 * math/w_j1.c: Likewise.
23841 * math/w_j1f.c: Likewise.
23842 * math/w_j1l.c: Likewise.
23843 * math/w_jn.c: Likewise.
23844 * math/w_jnf.c: Likewise.
23845 * math/w_jnl.c: Likewise.
23846 * math/w_lgamma.c: Likewise.
23847 * math/w_lgamma_r.c: Likewise.
23848 * math/w_lgammaf.c: Likewise.
23849 * math/w_lgammaf_r.c: Likewise.
23850 * math/w_lgammal.c: Likewise.
23851 * math/w_lgammal_r.c: Likewise.
23852 * math/w_log.c: Likewise.
23853 * math/w_log10.c: Likewise.
23854 * math/w_log10f.c: Likewise.
23855 * math/w_log10l.c: Likewise.
23856 * math/w_log2.c: Likewise.
23857 * math/w_log2f.c: Likewise.
23858 * math/w_log2l.c: Likewise.
23859 * math/w_logf.c: Likewise.
23860 * math/w_logl.c: Likewise.
23861 * math/w_pow.c: Likewise.
23862 * math/w_powf.c: Likewise.
23863 * math/w_powl.c: Likewise.
23864 * math/w_remainder.c: Likewise.
23865 * math/w_remainderf.c: Likewise.
23866 * math/w_remainderl.c: Likewise.
23867 * math/w_scalb.c: Likewise.
23868 * math/w_scalbf.c: Likewise.
23869 * math/w_scalbl.c: Likewise.
23870 * math/w_sinh.c: Likewise.
23871 * math/w_sinhf.c: Likewise.
23872 * math/w_sinhl.c: Likewise.
23873 * math/w_sqrt.c: Likewise.
23874 * math/w_sqrtf.c: Likewise.
23875 * math/w_sqrtl.c: Likewise.
23876 * math/w_tgamma.c: Likewise.
23877 * math/w_tgammaf.c: Likewise.
23878 * math/w_tgammal.c: Likewise.
23880 * po/ja.po: Update from translation team.
23882 2011-09-29 Andreas Jaeger <aj@suse.de>
23885 * sunrpc/netname.c (netname2host): Fix logic.
23889 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23891 * math/w_remainder.c (__remainder): Likewise.
23892 * math/w_remainderf.c (__remainderf): Likewise.
23893 * math/libm-test.inc (remainder_test): Add test cases.
23895 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23897 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23900 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23902 * string/test-memcmp.c: Avoid unncessary #defines.
23903 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23905 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23907 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23908 Use new sse2 version for core i3 - i7 as it's faster
23909 than sse42 version.
23910 (bit_Prefer_PMINUB_for_stringop): New.
23911 * sysdeps/x86_64/rawmemchr.S: Update.
23912 Replace with faster SSE2 version.
23913 * sysdeps/x86_64/memrchr.S: New file.
23914 * sysdeps/x86_64/memchr.S: Update.
23915 Replace with faster SSE2 version.
23917 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23919 * elf/dl-load.c (lose): Add cast to avoid warning.
23921 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23923 * po/ca.po: Update from translation team.
23925 * inet/getnetgrent_r.c: Hook up nscd.
23926 * nscd/Makefile (routines): Add nscd_netgroup.
23927 (nscd-modules): Add netgroupcache.
23928 (CFLAGS-netgroupcache.c): Define.
23929 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23930 (cache_search): Add const to second parameter.
23931 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23933 (dbs): Add netgrdb entry.
23934 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23935 (verify_persistent_db): Handle netgrdb.
23936 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23937 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23939 (netgroup_response_header): Define.
23940 (innetgroup_response_header): Define.
23941 (datahead): Add netgroup_response_header and innetgroup_response_header
23943 * nscd/nscd.conf: Add entries for netgroup cache.
23944 * nscd/nscd.h (dbtype): Add netgrdb.
23945 (_PATH_NSCD_NETGROUP_DB): Define.
23946 (netgroup_iov_disabled): Declare.
23947 (xmalloc, xcalloc, xrealloc): Move declarations here.
23948 (cache_search): Adjust prototype.
23949 Add netgroup-related prototypes.
23950 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23951 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23952 (__nscd_innetgr): Declare.
23953 * nscd/selinux.c (perms): Use access_vector_t as element type and
23954 add netgroup-related initializers.
23955 * nscd/netgroupcache.c: New file.
23956 * nscd/nscd_netgroup.c: New file.
23957 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23958 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23959 For four parameters use innetgr.
23960 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23961 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23962 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23963 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23965 * nscd/connections.c (register_traced_file): Don't register file
23966 for disabled databases.
23968 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23970 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23972 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23973 from tree and freeing node.
23975 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23977 * nss/nsswitch.c (__nss_database_lookup): Handle
23978 nss_parse_service_list out of memory case.
23980 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23982 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23983 out of memory case.
23985 2011-10-04 Andreas Schwab <schwab@redhat.com>
23987 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23988 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23990 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23991 elf_machine_rela, elf_machine_lazy_rel.
23992 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23993 (ELF_DYNAMIC_DO_REL): Likewise.
23994 (ELF_DYNAMIC_DO_RELA): Likewise.
23995 (ELF_DYNAMIC_RELOCATE): Likewise.
23996 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23997 to ELF_DYNAMIC_DO_REL.
23998 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23999 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24000 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24003 skip_ifunc, don't call ifunc function if non-zero.
24004 (elf_machine_rela): Likewise.
24005 (elf_machine_lazy_rel): Likewise.
24006 (elf_machine_lazy_rela): Likewise.
24007 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24008 (elf_machine_lazy_rel): Likewise.
24009 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24011 (elf_machine_lazy_rel): Likewise.
24012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24014 (elf_machine_lazy_rel): Likewise.
24015 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24016 (elf_machine_lazy_rel): Likewise.
24017 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24018 (elf_machine_lazy_rel): Likewise.
24019 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24020 (elf_machine_lazy_rel): Likewise.
24021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24022 (elf_machine_lazy_rel): Likewise.
24023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24024 (elf_machine_lazy_rel): Likewise.
24025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24026 (elf_machine_lazy_rel): Likewise.
24028 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24030 * nss/nss_files/files-init.c (_nss_files_init): Use static
24031 initialization for all the *_traced_file variables.
24033 2011-09-28 Andreas Schwab <schwab@redhat.com>
24035 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24037 2011-09-27 Roland McGrath <roland@hack.frob.com>
24040 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24042 2011-09-27 Andreas Schwab <schwab@redhat.com>
24044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24045 Reread the line before reparsing it.
24047 2011-09-26 Andreas Schwab <schwab@redhat.com>
24049 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24051 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24052 Maxim Kuvyrkov <maxim@codesourcery.com>
24053 Joseph Myers <joseph@codesourcery.com>
24055 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24056 if needed for __stack_chk_guard.
24058 2011-09-19 Roland McGrath <roland@hack.frob.com>
24060 * sysdeps/posix/spawni.c (script_execute): Always define it.
24061 It will be optimized away if unused.
24062 (maybe_script_execute): New function.
24063 (__spawni): Call it.
24065 * Makerules: Don't include tls.make.
24066 (config-tls): Always set to thread.
24067 * tls.make.c: File removed.
24069 2011-09-19 Mike Frysinger <vapier@gentoo.org>
24071 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24072 * config.make.in (CPPFLAGS-config): New substituted variable.
24074 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24076 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24079 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24080 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24082 2011-09-15 Roland McGrath <roland@hack.frob.com>
24084 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24085 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24086 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24087 (CALL_FAIL): Likewise.
24088 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24089 (CALL_FAIL): Macro removed.
24090 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24092 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24094 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24095 for __FINITE_MATH_ONLY__ == 1.
24097 2011-09-15 Andreas Schwab <schwab@redhat.com>
24099 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24100 __ieee754_sqrt instead of sqrt.
24101 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24102 __ieee754_sqrtf instead of sqrtf.
24103 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24104 __floorf instead of floorf.
24105 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24106 __floorf, __truncf instead of floorf, truncf.
24108 2011-09-14 Ulrich Drepper <drepper@gmail.com>
24110 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24112 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24113 __extern_always_inline.
24114 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24117 2011-09-14 Andreas Schwab <schwab@redhat.com>
24119 * elf/rtld.c (dl_main): Also relocate in dependency order when
24120 doing symbol dependency testing.
24122 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24124 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24125 Always define `refsym'.
24127 2011-09-13 Andreas Schwab <schwab@redhat.com>
24129 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24130 (__FD_ELT): Renamed from __FDELT.
24131 * misc/bits/select2.h (__FD_ELT): Likewise.
24132 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24133 __FD_MASK instead of __FDELT, __FDMASK.
24134 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24136 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24139 * elf/Makefile (gen-ldd): Fix pattern.
24141 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24142 (init_tls): Likewise.
24144 2011-09-12 Ulrich Drepper <drepper@gmail.com>
24146 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24148 2011-09-12 Andreas Schwab <schwab@redhat.com>
24150 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24151 `struct cmsghdr *' instead of `void *'.
24152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24155 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24157 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24159 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24160 ldd_rewrite_script.
24162 2011-09-11 Ulrich Drepper <drepper@gmail.com>
24164 * configure.in: Remove --with-tls option.
24165 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24166 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24167 out in case it is missing.
24168 * sysdeps/ia64/elf/configure.in: Likewise.
24169 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24170 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24171 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24172 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24173 * sysdeps/sh/elf/configure.in: Likewise.
24174 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24175 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24176 * sysdeps/x86_64/elf/configure.in: Likewise.
24177 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24178 * sysdeps/mach/hurd/tls.h: Likewise.
24181 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24184 * configure.in: Fix use of AC_INIT.
24186 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24188 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24190 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24192 * malloc/hooks.c: Likewise.
24195 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24196 variables statically.
24197 (narenas): Initialize.
24198 (list_lock): Initialize.
24199 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24200 initializtion of main_arena and list_lock. Small cleanups.
24201 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24202 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24203 Add initializers to main_arena and mp_.
24204 (malloc_state): Remove pagesize member. Change all users to use
24207 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24208 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24209 is always initialized.
24211 * malloc/malloc.c: Removed unused configurations and dead code.
24212 * malloc/arena.c: Likewise.
24213 * malloc/hooks.c: Likewise.
24214 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24216 * include/tls.h: Removed. USE___THREAD must always be defined.
24217 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24218 * elf/dl-libc.c: Likewise.
24219 * elf/dl-tsd.c: Likewise.
24220 * include/errno.h: Likewise.
24221 * include/netdb.h: Likewise.
24222 * include/resolv.h: Likewise.
24223 * inet/herrno-loc.c: Likewise.
24224 * inet/herrno.c: Likewise.
24225 * malloc/arena.c: Likewise.
24226 * malloc/hooks.c: Likewise.
24227 * malloc/malloc.c: Likewise.
24228 * resolv/res-state.c: Likewise.
24229 * resolv/res_libc.c: Likewise.
24230 * sysdeps/i386/dl-machine.h: Likewise.
24231 * sysdeps/ia64/dl-machine.h: Likewise.
24232 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24233 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24234 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24235 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24236 * sysdeps/sh/dl-machine.h: Likewise.
24237 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24238 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24239 * sysdeps/unix/i386/sysdep.S: Likewise.
24240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24241 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24245 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24246 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24250 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24251 * sysdeps/x86_64/dl-machine.h: Likewise.
24252 * tls.make.c: Likewise.
24254 * configure.in: Remove --with-__thread option. Make tests for
24255 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24256 tls_model attribute fail if no support is available. Remove
24258 * Makeconfig: Adjust for dropped configure option. All features are
24260 * Makerules: Likewise.
24261 * Versions.def: Likewise.
24262 * argp/argp-fmtstream.c: Likewise.
24263 * argp/argp-fmtstream.h: Likewise.
24264 * argp/argp-help.c: Likewise.
24265 * assert/assert.c: Likewise.
24266 * config.h.in: Likewise.
24267 * config.make.in: Likewise.
24268 * configure: Likewise.
24269 * configure.in: Likewise.
24270 * csu/Versions: Likewise.
24271 * csu/init.c: Likewise.
24272 * elf/tst-audit2.c: Likewise.
24273 * elf/tst-tls10.c: Likewise.
24274 * elf/tst-tls10.h: Likewise.
24275 * elf/tst-tls11.c: Likewise.
24276 * elf/tst-tls12.c: Likewise.
24277 * elf/tst-tls14.c: Likewise.
24278 * elf/tst-tlsmod11.c: Likewise.
24279 * elf/tst-tlsmod12.c: Likewise.
24280 * elf/tst-tlsmod13.c: Likewise.
24281 * elf/tst-tlsmod13a.c: Likewise.
24282 * elf/tst-tlsmod14a.c: Likewise.
24283 * elf/tst-tlsmod15b.c: Likewise.
24284 * elf/tst-tlsmod16a.c: Likewise.
24285 * elf/tst-tlsmod16b.c: Likewise.
24286 * elf/tst-tlsmod7.c: Likewise.
24287 * elf/tst-tlsmod8.c: Likewise.
24288 * elf/tst-tlsmod9.c: Likewise.
24289 * gmon/gmon.c: Likewise.
24290 * grp/fgetgrent_r.c: Likewise.
24291 * grp/putgrent.c: Likewise.
24292 * hurd/fopenport.c: Likewise.
24293 * include/libc-symbols.h: Likewise.
24294 * include/tls.h: Likewise.
24295 * intl/gettextP.h: Likewise.
24296 * intl/loadinfo.h: Likewise.
24297 * locale/global-locale.c: Likewise.
24298 * locale/localeinfo.h: Likewise.
24299 * mach/devstream.c: Likewise.
24300 * malloc/arena.c: Likewise.
24301 * malloc/set-freeres.c: Likewise.
24302 * misc/err.c: Likewise.
24303 * misc/getttyent.c: Likewise.
24304 * misc/mntent_r.c: Likewise.
24305 * posix/getopt.c: Likewise.
24306 * posix/wordexp.c: Likewise.
24307 * pwd/fgetpwent_r.c: Likewise.
24308 * resolv/Versions: Likewise.
24309 * resolv/res_hconf.c: Likewise.
24310 * shadow/fgetspent_r.c: Likewise.
24311 * shadow/putspent.c: Likewise.
24312 * stdio-common/printf_fphex.c: Likewise.
24313 * stdio-common/tmpfile.c: Likewise.
24314 * stdlib/abort.c: Likewise.
24315 * stdlib/fmtmsg.c: Likewise.
24316 * sunrpc/auth_unix.c: Likewise.
24317 * sunrpc/clnt_perr.c: Likewise.
24318 * sunrpc/clnt_tcp.c: Likewise.
24319 * sunrpc/clnt_udp.c: Likewise.
24320 * sunrpc/clnt_unix.c: Likewise.
24321 * sunrpc/openchild.c: Likewise.
24322 * sunrpc/svc_simple.c: Likewise.
24323 * sunrpc/svc_tcp.c: Likewise.
24324 * sunrpc/svc_udp.c: Likewise.
24325 * sunrpc/svc_unix.c: Likewise.
24326 * sunrpc/xdr.c: Likewise.
24327 * sunrpc/xdr_array.c: Likewise.
24328 * sunrpc/xdr_rec.c: Likewise.
24329 * sunrpc/xdr_ref.c: Likewise.
24330 * sunrpc/xdr_stdio.c: Likewise.
24332 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24334 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24336 2011-07-03 Andreas Jaeger <aj@suse.de>
24338 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24339 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24340 regenerate with gen-libm-tests.pl.
24342 2010-05-12 Petr Baudis <pasky@suse.cz>
24345 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24346 around j0() zero points by switching to j1().
24347 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24350 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24352 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24354 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24356 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24359 Patch in part by Pavel Roskin <proski@gnu.org>.
24362 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24364 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24365 Free memory block if necessary.
24368 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24369 be NULL. Don't lock in this case.
24371 2011-09-09 Roland McGrath <roland@hack.frob.com>
24373 * elf/elf.h (ELFOSABI_GNU): New macro.
24374 (ELFOSABI_LINUX): Define to that.
24376 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24378 * string/strncat.c (strncat): Undef the symbol in case it has been
24379 defined in bits/string.h.
24381 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24383 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24385 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24388 2011-08-17 Andreas Jaeger <aj@suse.de>
24390 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24392 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24393 Ian Lance Taylor <iant@google.com>
24395 * math/libm-test.inc (lround_test): New testcase.
24396 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24398 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24400 * Makefile: Remove support for automatic cvs check-ins.
24401 * Makerules: Likewise.
24402 * config.make.in: Likewise.
24403 * configure.in: Likewise.
24404 * intl/Makefile: Likewise.
24405 * locale/Makefile: Likewise.
24406 * po/Makefile: Likewise.
24407 * posix/Makefile: Likewise.
24408 * sysdeps/gnu/Makefile: Likewise.
24409 * sysdeps/mach/hurd/Makefile: Likewise.
24410 * sysdeps/sparc/sparc32/Makefile: Likewise.
24413 * posix/Makefile (bug-regex32-ENV): Define.
24414 Patch by John Stanley <jpsinthemix@verizon.net>.
24416 * misc/Makefile (headers): Add bits/select2.h.
24417 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24418 * misc/bits/select2.h: New file.
24419 * include/bits/select2.h: New file.
24420 * debug/Makefile (routines): Add fdelt_chk.
24421 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24422 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24424 * debug/fdelt_chk.c: New file.
24426 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24427 * wcsmbs/test-wmemcmp.c: Likewise.
24428 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24429 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24431 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24433 * string/Makefile (strop-tests): Add memcmp.
24434 * string/test-wmemcmp.c: New file.
24435 * string/test-memcmp.c: Add wmemcmp support.
24437 2011-09-08 Roland McGrath <roland@hack.frob.com>
24440 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24443 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24444 garbage value in a __mach_port_mod_refs call in the cases of the
24445 task-self and thread-self ports.
24447 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24449 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24451 2011-09-08 Andreas Schwab <schwab@redhat.com>
24453 * elf/dl-load.c (lose): Check for non-null L.
24455 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24457 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24459 * elf/dl-libc.c (dlerror_run): Pass back error code from
24463 * elf/dl-load.c (lose): Free l_origin if it is valid.
24465 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24467 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24468 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24470 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24471 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24472 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24474 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24476 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24477 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24478 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24479 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24480 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24481 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24482 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24483 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24484 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24485 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24487 2011-08-15 Alan Modra <amodra@gmail.com>
24490 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24491 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24492 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24493 ppc_mcount to static-only-routines.
24494 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24496 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24497 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24499 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24501 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24502 for finite and infinity parameters.
24504 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24507 and add nop instructions for throughput optimization.
24508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24510 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24512 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24513 aligned copy for power7 with vector-scalar instructions.
24514 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24516 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24521 2011-09-07 Andreas Schwab <schwab@redhat.com>
24524 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24527 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24530 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24531 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24532 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24535 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24538 Forgot to demangle the pointer.
24540 * sysdeps/i386/sysdep.h: Define atom_text_section.
24541 * sysdeps/x86_64/sysdep.h: Likewise.
24542 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24543 section with atom_text_section.
24544 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24545 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24546 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24548 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24550 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24551 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24552 already be defined. Change to take two parameters and don't assign
24553 result to variable. Adjust all users.
24554 Define INTERNAL_GETTIME if not already defined.
24555 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24558 HAVE_CLOCK_GETTIME_VSYSCALL.
24559 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24562 gettimeofday vsyscall, just use time.
24564 2011-09-06 Andreas Schwab <schwab@redhat.com>
24566 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24569 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24571 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24573 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24575 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24576 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24577 syscall if possible.
24579 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24581 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24582 e_ident. Don't pass to find_mapsXX.
24583 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24585 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24588 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24589 * sysdeps/x86_64/multiarch/strchr.S: Update.
24590 Check bit_slow_BSF bit.
24591 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24592 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24593 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24595 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24598 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24600 (tryshell): Define.
24601 (__spawni): Change last parameter to be flag. Test
24602 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24603 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24604 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24605 * posix/spawni.c: Likewise.
24606 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24607 * posix/spawnp.c: Likewise. Change normal version to use
24608 SPAWN_XFLAGS_USE_PATH.
24609 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24610 SPAWN_XFLAGS_TRY_SHELL.
24613 * posix/glob.h: Remove gcc 1.x support.
24616 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24618 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24621 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24623 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24624 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24625 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24626 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24627 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24630 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24632 * sysdeps/x86_64/wcscmp.S: New file.
24634 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24635 wcscmp-c wcscmp-sse2
24636 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24637 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24638 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24639 * wcsmbs/wcscmp.c: Allow renaming.
24641 2011-09-05 David S. Miller <davem@davemloft.net>
24643 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24644 stack slot, rather than the struct return pointer slot.
24645 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24646 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24648 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24650 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24652 * po/ja.po: Update from translation team.
24655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24656 kernel in 64-bit binaries.
24658 2011-09-01 David S. Miller <davem@davemloft.net>
24660 * elf/elf.h (HWCAP_SPARC_*): Move to..
24661 * sysdeps/sparc/sysdep.h: this new file and add new values.
24662 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24663 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24664 _DL_HWCAP_COUNT to 24.
24665 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24667 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24668 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24669 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24671 instead of magic constants.
24672 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24674 2011-08-31 David S. Miller <davem@davemloft.net>
24676 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24678 Reimplement to do errno handling inline.
24679 (SYSCALL_ERROR_HANDLER): New macro.
24680 (__SYSCALL_STRING): Do not do errno handling in asm.
24681 (__CLONE_SYSCALL_STRING): Delete.
24682 (__INTERNAL_SYSCALL_STRING): Delete.
24683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24684 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24685 (PSEUDO): Reimplement to do errno handling inline.
24686 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24687 (SYSCALL_ERROR_HANDLER): New macro.
24688 (__SYSCALL_STRING): Do not do errno handling in asm.
24689 (__CLONE_SYSCALL_STRING): Delete.
24690 (__INTERNAL_SYSCALL_STRING): Delete.
24691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24692 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24694 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24695 (inline_syscall*): Add 'err' argument.
24696 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24697 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24698 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24699 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24701 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24702 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24704 2011-08-30 Andreas Schwab <schwab@redhat.com>
24706 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24708 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24710 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24713 2011-08-24 David S. Miller <davem@davemloft.net>
24715 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24717 2011-08-24 Andreas Schwab <schwab@redhat.com>
24719 * elf/Makefile: Add rules to build and run unload8 test.
24720 * elf/unload8.c: New file.
24721 * elf/unload8mod1.c: New file.
24722 * elf/unload8mod1x.c: New file.
24723 * elf/unload8mod2.c: New file.
24724 * elf/unload8mod3.c: New file.
24726 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24729 2011-08-23 David S. Miller <davem@davemloft.net>
24731 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24732 subtract stack bias.
24733 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24734 %sp not %fp in calculations.
24735 (_JMPBUF_UNWINDS_ADJ): Likewise.
24737 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24738 (aio_suspend): Call it to force an exception region around the
24739 AIO_MISC_WAIT() invocation.
24741 2011-08-23 Andreas Schwab <schwab@redhat.com>
24743 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24746 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24748 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24750 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24751 and <dl-machine.h>.
24752 (Elf64_FuncDesc): Remove.
24754 2011-08-22 David S. Miller <davem@davemloft.net>
24756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24757 sigaltstack check, add missing cfi directives.
24758 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24759 missing cfi directives, and sigaltstack handling.
24761 2011-08-16 Andreas Schwab <schwab@redhat.com>
24764 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24765 object is seen twice.
24766 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24768 * elf/Makefile (distribute): Add tst-initorder2.c.
24769 (tests): Add tst-initorder2.
24770 (modules-names): Add tst-initorder2a tst-initorder2b
24771 tst-initorder2c tst-initorder2d. Add rules to build them.
24772 ($(objpfx)tst-initorder2.out): New rule.
24773 * elf/tst-initorder2.c: New file.
24774 * elf/tst-initorder2.exp: New file.
24776 2011-08-22 Andreas Schwab <schwab@redhat.com>
24778 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24780 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24781 dependencies back to end of function.
24783 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24784 $(elfobjdir)/ld.so.
24786 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24788 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24789 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24791 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24792 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24793 of __vdso_gettimeofday.
24794 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24795 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24797 (_libc_vdso_platform_setup): Remove initialization of
24798 __vdso_gettimeofday and __vdso_time.
24800 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24802 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24803 and fgetc_unlocked.
24804 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24807 * elf/dl-open.c (add_to_global): Report additions to the global scope
24808 for LD_DEBUG=scopes.
24809 (dl_open_worker): Also print scope of newly loaded dependencies.
24810 (_dl_show_scope): Indicate if there is no scope.
24813 * stdio-common/Makefile (tests): Add bug24.
24814 * stdio-common/bug24.c: New file.
24816 2011-08-19 Andreas Jaeger <aj@suse.de>
24819 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24820 non-existant file when using close-on-exec mode.
24822 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24825 the very first instruction.
24827 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24828 the CFI state in the end.
24829 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24830 inclusion of dl-trampoline.h.
24831 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24833 2011-08-19 Andreas Schwab <schwab@redhat.com>
24835 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24836 expectations for long double.
24838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24839 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24841 2011-08-14 David S. Miller <davem@davemloft.net>
24843 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24844 artificual limit depends upon the system page size.
24846 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24848 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24849 * resolv/Makefile: Define CFLAGS-libresolv.
24851 2011-08-17 Andreas Schwab <schwab@redhat.com>
24853 * nss/makedb.c (compute_tables): Make variables used in nested
24856 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24858 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24859 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24860 if buffer was too small.
24862 * elf/pldd.c (main): Attach to all threads in the process.
24863 Rewrite /proc handling to use *at functions.
24865 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24867 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24868 specifies first scope to show.
24869 (dl_open_worker): Update callers. Move printing scope of new
24870 object to before the relocation.
24871 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24872 * sysdeps/generic/ldsodefs.h: Update declaration.
24874 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24875 string for the scope number.
24877 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24879 * nscd/servicescache.c (cache_addserv): Make sure written is always
24882 2011-08-14 Roland McGrath <roland@hack.frob.com>
24884 * sysdeps/i386/i486/bits/atomic.h
24885 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24886 statement expression, so as to suppress "set but not used" warning.
24887 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24889 * string/strncat.c (STRNCAT): Use prototype definition.
24891 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24892 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24894 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24895 (localedef-modules): Add localedef.
24896 (locale-modules): Add locale.
24898 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24899 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24900 to avoid a warning.
24902 2011-08-14 David S. Miller <davem@davemloft.net>
24904 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24905 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24907 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24909 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24910 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24911 * elf/rtld.c (dl_main): Set l_name of vDSO.
24912 Call _dl_show_scope when DL_DEBUG_SCOPES.
24913 (process_dl_debug): Recognize scopes flag and also set it for all.
24914 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24915 Declare _dl_show_scope.
24917 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24918 (do_dlopen): Pass caller_dlopen to dl_open.
24919 (__libc_dlopen_mode): Initialize caller_dlopen.
24921 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24922 of libc. Make tolower call locale-independent. Optimize a bit by
24923 using isdigit instead of isalnum.
24924 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24926 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24928 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24929 was a dependency or dynamically loaded.
24931 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24933 * intl/l10nflist.c: Allow architecture-specific pop function.
24934 * sysdeps/x86_64/l10nflist.c: New file.
24936 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24939 2011-08-10 Andreas Schwab <schwab@redhat.com>
24941 * include/dirent.h: Add libc_hidden_proto for scandirat and
24942 scandirat64. Don't declare __scandirat64.
24943 * dirent/scandirat.c: Add libc_hidden_def.
24944 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24945 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24947 2011-08-10 David S. Miller <davem@davemloft.net>
24949 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24951 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24952 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24953 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24955 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24957 * Versions.def [libc]: Add GLIBC_2.15.
24958 * dirent/Makefile (routines): Add scandirat and scandirat64.
24959 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24961 * dirent/dirent.h: Declare scandirat and scandirat64.
24962 * dirent/scandirat.c: New file.
24963 * dirent/scandirat64.c: New file.
24964 * sysdeps/wordsize-64/scandirat.c: New file.
24965 * sysdeps/wordsize-64/scandirat64.c: New file.
24966 * dirent/opendir.c: Define opendirat.
24967 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24969 * dirent/scandir64.c: Adjust for scandir.c change.
24970 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24971 __scandirat64, and __scandir_cancel_handler.
24972 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24973 additional parameter and use openat instead of open (outside of ld.so).
24974 Add new __opendir as wrapper around __opendirat.
24975 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24976 here without requiring old scandirat implementation.
24978 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24980 * dirent/scandir.c (cancel_handler): Renamed to
24981 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24982 defined. Adjust users.
24983 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24986 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24988 * string/test-string.h (IMPL): Use __STRING to expand name and then
24991 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24994 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24996 * string/Makefile: Update.
24997 (strop-tests): Append strncat.
24998 * string/test-wcscmp.c: New file.
24999 New comprehensive test for wcscmp.
25000 * string/test-strcmp.c: Update.
25001 (WIDE): New define.
25003 2011-07-22 Andreas Schwab <schwab@redhat.com>
25005 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25008 2011-07-26 Andreas Schwab <schwab@redhat.com>
25010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25011 encoding to ACE if AI_IDN.
25013 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25016 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25018 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25020 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25021 Fix overflow bug in strncat.
25022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25024 * string/test-strncat.c: Update.
25025 Add new tests for checking overflow bugs.
25027 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25030 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25031 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25032 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25033 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25034 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25035 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25036 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25037 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25040 (USE_AS_STRCAT): Define.
25041 Add strcat and strncat support.
25042 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25044 2011-07-25 Andreas Schwab <schwab@redhat.com>
25046 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25047 __n bigger than INT_MAX+1.
25048 (__strncmp_g): Likewise.
25050 2011-07-23 Ulrich Drepper <drepper@gmail.com>
25052 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25053 * libio/stido.h: Likewise.
25055 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25060 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25061 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25063 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25064 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25067 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25072 (_dl_x86_64_save_sse): Likewise.
25074 2011-07-22 Ulrich Drepper <drepper@gmail.com>
25076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25078 (_dl_x86_64_save_sse): Likewise.
25080 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25082 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25084 2011-07-21 Andreas Schwab <schwab@redhat.com>
25086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25088 (_dl_x86_64_save_sse): Use correct AVX check.
25090 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25093 bug in strncpy/strncat.
25094 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25096 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25098 * string/tester.c (test_strcat): Add tests for different alignments
25099 of source and destination.
25100 (test_strncat): Likewise.
25102 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25105 * posix/glob.c (glob): Check passed in values before using them in
25106 expressions to avoid some overflows.
25107 (glob_in_dir): Likewise.
25110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25111 check for AVX enablement so that we don't crash with old kernels and
25113 * elf/tst-audit4.c: Add same checks here.
25114 * elf/tst-audit6.c: Likewise.
25116 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25118 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25120 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25122 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25124 * po/cs.po: Update from translation team.
25125 * po/bg.po: Likewise.
25127 2011-07-12 Marek Polacek <mpolacek@redhat.com>
25129 * misc/sys/cdefs.h: Add support for const attribute.
25130 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25131 to gnu_dev_{major,minor,makedev} functions.
25133 2011-07-20 Marek Polacek <mpolacek@redhat.com>
25135 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25137 2011-07-20 Andreas Schwab <schwab@redhat.com>
25139 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25142 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25144 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25145 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25146 register in order to avoid conflicts with the soft frame pointer
25147 being held in r11 when necessary.
25148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25149 (INTERNAL_VSYSCALL_NCS): Likewise.
25151 2011-07-14 Marek Polacek <mpolacek@redhat.com>
25153 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25154 * elf/dl-fini.c (_dl_fini): Adjust caller.
25155 * elf/dl-close.c (_dl_close_worker): Likewise.
25156 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25158 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25160 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25161 "aux_cache->nlibs < 0".
25163 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25164 in the reload-count case.
25166 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25169 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25170 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25171 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25172 * sysdeps/x86_64/multiarch/strcat.S: New file.
25173 * sysdeps/x86_64/multiarch/strncat.S: New file.
25174 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25175 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25176 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25177 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25179 (USE_AS_STRCAT): Define.
25180 Add strcat and strncat support.
25181 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25182 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25183 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25184 * string/strncat.c: Update.
25185 (USE_AS_STRNCAT): Define.
25186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25187 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25189 * sysdeps/x86_64/multiarch/init-arch.h
25190 (bit_Prefer_PMINUB_for_stringop): New.
25191 (index_Prefer_PMINUB_for_stringop): Likewise.
25192 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25193 bit_Prefer_PMINUB_for_stringop.
25195 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25197 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25199 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25200 of casting of buffer.
25201 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25202 buffer32 and buffer64.
25203 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25204 writes instead of casting of buffer.
25205 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25207 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25210 2011-07-19 Andreas Schwab <schwab@redhat.com>
25212 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25214 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25216 * nscd/nscd.c (termination_handler): Don't do anything for a database
25217 if it has not yet been initialized.
25219 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25221 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25223 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25225 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25227 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25229 * po/nl.po: Update from translation team.
25230 * po/sv.po: Likewise.
25232 2011-07-16 Roland McGrath <roland@hack.frob.com>
25234 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25235 now disallowed by GCC.
25237 * configure.in (use-default-link): Default to yes if a test -shared
25238 link meets our qualifications.
25239 * configure: Regenerated.
25241 * config.make.in (output-format): New variable.
25242 * configure.in: Check for ld --print-output-format support.
25243 * configure: Regenerated.
25244 * Makerules ($(common-objpfx)format.lds)
25245 [$(output-format) != unknown]: Just use $(output-format),
25246 instead of the linker-script munging.
25248 2011-07-14 Roland McGrath <roland@hack.frob.com>
25250 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25251 of $(common-objpfx)shlib.lds.
25252 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25254 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25255 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25257 * configure.in (-z relro check): Adjust test code to add a large
25258 writable data section after it.
25259 * configure: Regenerated.
25261 2011-07-11 Roland McGrath <roland@hack.frob.com>
25263 * configure.in (-z relro check): Fix test code to make the variable
25265 * configure: Regenerated.
25267 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25269 * nscd/nscd.h (struct traced_file): Define.
25270 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25271 elements. Add traced_files.
25272 (inotify_fd): Declare.
25273 (register_traced_file): Declare.
25274 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25275 (inotify_fd): Export.
25276 (resolv_conf_descr): Remove.
25277 (nscd_init): Move inotify descriptor creation to main.
25278 Don't register files for notification here.
25279 (register_traced_file): New function.
25280 (invalidate_cache): Don't use reset_res to determine whether to call
25281 res_init, go through the list of registered files.
25282 (main_loop_poll): The inotify descriptors are now stored in the
25283 structures for the traced files.
25284 (main_loop_epoll): Likewise
25285 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25286 to __nss_disable_nscd.
25287 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25288 for a database anymore. Check the records for all the registered
25290 * nss/Makefile (libnss_files-routines): Add files-init.
25291 (libnss_db-routines): Add db-init.
25292 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25293 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25294 * nss/nss_db/db-init.c: New file.
25295 * nss/nss_files/files-init.c: New file.
25296 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25297 __nss_lookup_function.
25298 (__nss_lookup_function): Call nss_load_library.
25299 (nss_load_all_libraries): New function.
25300 (__nss_disable_nscd): Take parameter with callback function for files
25301 to register. Set is_nscd. Load all the DSOs for the NSS modules
25302 used for the cached services.
25303 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25304 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25305 options for features to all the files in nscd.
25307 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25309 2011-07-10 Roland McGrath <roland@hack.frob.com>
25311 * csu/elf-init.c (__libc_csu_init): Comment typo.
25313 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25315 * po/pl.po: Update from translation team.
25316 * po/ja.po: Likewise.
25317 * po/ru.po: Likewise.
25318 * po/ko.po: Likewise.
25319 * po/fr.po: Likewise.
25321 2011-07-09 Roland McGrath <roland@hack.frob.com>
25323 * configure.in (.ctors/.dtors header and trailer check):
25324 Use an empirical test on a built program.
25325 * configure: Regenerated.
25327 * configure.in (-z relro check): Use an empirical test on a built DSO.
25328 Detect, but do not require, on ia64.
25329 * configure: Regenerated.
25331 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25332 Update tests that use readelf to use $READELF instead.
25333 * configure: Regenerated.
25335 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25337 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25338 if the result is not used.
25340 2011-07-05 Andreas Jaeger <aj@suse.de>
25343 * stdlib/tst-strtod.c: Add testcase.
25345 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25347 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25348 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25349 The latter has a higher limit. Take additional parameter to pass to
25351 (__pathconf): Pass file to __statfs_link_max.
25352 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25354 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25358 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25362 (__statfs_filesize_max): Likewise.
25363 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25365 2011-07-05 Andreas Jaeger <aj@suse.de>
25367 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25369 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25371 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25373 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25376 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25378 * Makefile (strop-tests): Add strncat.
25379 * string/test-strncat.c: New file.
25381 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25383 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25385 2011-06-21 Andreas Jaeger <aj@suse.de>
25387 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25388 Copy rule from iconvdata/Makefile.
25390 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25393 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25394 but no long options are defined, just return 'W'.
25396 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25399 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25401 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25403 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25405 (innetgr): Likewise.
25407 2011-07-05 Roland McGrath <roland@hack.frob.com>
25409 * config.make.in (install_root): Default to $(DESTDIR).
25411 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25413 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25415 2011-07-02 Roland McGrath <roland@hack.frob.com>
25417 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25419 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25420 containing directory rather than embedding absolute directory names.
25422 * scripts/check-local-headers.sh: Rewritten using awk.
25423 Match by word, not by line. Print error messages for matches.
25424 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25426 * Makerules [shlib-lds-flags empty]:
25427 ($(common-objpfx)libc_pic.opts): New target.
25428 ($(common-objpfx)libc_pic.os.clean): New target.
25429 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25431 * config.make.in (OBJCOPY): New variable.
25432 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25433 * configure: Regenerated.
25435 * config.make.in (use-default-link): New variable.
25436 * configure.in (use_default_link): Grok --with-default-link to set it.
25437 * configure: Regenerated.
25438 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25439 (shlib-lds, shlib-lds-flags): Define to empty.
25441 * Makerules (shlib-lds): New variable.
25442 (shlib-lds-flags): New variable.
25443 (build-shlib, build-moduile, build-module-asneeded): Use it.
25444 ($(common-objpfx)libc.so): Use $(shlib-lds).
25445 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25446 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25448 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25449 DT_FLAGS/DT_FLAGS_1 with zero flags.
25451 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25452 linker script munging.
25454 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25456 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25458 * crypt/sha512.c (sha512_process_block): Perform total addition using
25459 128-bit if possible.
25460 (__sha512_finish_ctx): Likewise.
25461 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25463 * crypt/sha256.c (SWAP64): Define.
25464 (sha256_process_block): Perform total addition using 64-bit if
25466 (__sha256_finish_ctx): Likewise.
25468 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25470 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25472 * nscd/hstcache.c (cache_addhst): Likewise.
25473 * nscd/grpcache.c (cache_addgr): Likewise.
25474 * nscd/aicache.c (addhstaiX): Likewise
25475 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25477 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25479 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25481 * nscd/hstcache.c (cache_addhst): Likewise.
25482 * nscd/grpcache.c (cache_addgr): Likewise.
25483 * nscd/aicache.c (addhstaiX): Likewise
25485 2011-07-01 Andreas Schwab <schwab@redhat.com>
25487 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25488 domain only when needed.
25490 2011-06-30 Andreas Schwab <schwab@redhat.com>
25492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25493 is always restored.
25495 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25497 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25498 are re-adding the entry.
25499 * nscd/servicescache.c (cache_addserv): Likewise.
25501 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25503 * sysdeps/generic/dl-irel.h: fix protection against multiple
25505 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25507 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25510 * malloc/memusage.sh: Fix quoting in message.
25511 * debug/xtrace.sh: Likewise.
25513 * configure.in: Remove support for --experimental-malloc option, make
25515 * config.make.in: Likewise.
25516 * malloc/Makefile: Likewise.
25518 2011-06-27 Andreas Schwab <schwab@redhat.com>
25520 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25521 two-byte characters.
25523 2011-06-27 Roland McGrath <roland@hack.frob.com>
25525 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25526 AC_CACHE_CHECK invocation.
25527 * configure: Regenerated.
25529 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25531 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25534 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25535 bit from old_res_options.
25537 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25539 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25540 value type for setfct.
25542 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25544 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25545 __gettimeofday instead of gettimeofday.
25547 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25549 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25551 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25558 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25561 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25562 strcpy-sse2-unaligned strncpy-sse2-unaligned
25563 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25564 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25565 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25566 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25567 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25569 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25570 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25571 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25572 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25573 (STRCPY): Support SSE2 and SSSE3 versions.
25575 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25578 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25579 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25580 kernels which artificially limit size of requests.
25582 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25585 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25586 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25587 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25588 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25589 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25590 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25591 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25594 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25595 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25596 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25597 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25598 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25600 Enable unaligned load optimization for Intel Core i3, i5 and i7
25602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25604 (index_Fast_Unaligned_Load): Define.
25605 (HAS_FAST_UNALIGNED_LOAD): Define.
25607 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25609 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25611 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25614 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25615 until it is clear that the information is realy needed.
25616 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25618 2011-06-22 Andreas Schwab <schwab@redhat.com>
25620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25622 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25624 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25625 /sys/devices/system/cpu/online if it is usable.
25627 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25628 reading the information from the /proc filesystem to once a second.
25630 2011-06-21 Andreas Jaeger <aj@suse.de>
25632 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25633 NULL after inclusion of kernel headers.
25635 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25637 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25638 calls to internal_setent.
25641 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25642 addresses using gethostbyname4_r ignore IPv4 addresses.
25644 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25645 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25647 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25649 2011-06-20 David S. Miller <davem@davemloft.net>
25651 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25653 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25655 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25656 (elf_irel): Use it.
25657 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25658 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25659 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25660 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25661 * sysdeps/x86_64/dl-irel.h: Likewise.
25663 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25664 * elf/dl-sym.c: Likewise.
25666 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25668 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25669 need to dereference resplen2.
25671 2011-06-14 Andreas Schwab <schwab@redhat.com>
25673 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25675 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25677 * Makeconfig: Define vardbdir and inst_vardbdir.
25678 * nss/Makefile: Add rules to install db-Makefile.
25680 * nss/nss_db/db-XXX.c: Cleanup.
25682 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25683 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25685 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25686 * nss/makedb.c: Implement -g option to specify that value strings
25687 are generated and should not be added to table iterated over for
25689 * nss/nss_db/db-initgroups.c: New file.
25691 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25694 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25695 (internal_getgrouplist): Adjust to name change.
25696 Update use_initgroups_entry if this is not the first call.
25697 * nss/databases.def: Add initgroups entry.
25699 * nss/makedb.c (compute_tables): Check result of multiple hash table
25700 sizes to minimize maximum chain length.
25702 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25704 * Versions.def: Add entry for libnss_db.
25705 * shlib-versions: Likewise.
25706 * nss/Makefile: Add rules to build libnss_db.
25707 * nss/Versions: Add libnss_db information. Organize libnss_files
25709 * nss/db-Makefile: Add gshadow support. Change rules for the new
25710 makedb progra. Some minor improvements to generate smaller files.
25711 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25713 * nss/makedb.c: ...here.
25714 Improve database format to be smaller and require less memory at
25716 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25718 * nss/nss_db/db-netgrp.c: Likewise.
25719 * nss/nss_db/db-open.c: Likewise.
25720 * nss/nss_files/flies-XXX.x: Adjust comments.
25721 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25722 * nss/nss_files/files-grp.c: Likewise.
25723 * nss/nss_files/files-hosts.c: Likewise.
25724 * nss/nss_files/files-network.c: Likewise.
25725 * nss/nss_files/files-proto.c: Likewise.
25726 * nss/nss_files/files-pwd.c: Likewise.
25727 * nss/nss_files/files-rpc.c: Likewise.
25728 * nss/nss_files/files-service.c: Likewise.
25729 * nss/nss_files/files-sgrp.c: Likewise.
25730 * nss/nss_files/files-spwd.c: Likewise.
25731 * nss/nss_db/db-alias.c: Removed.
25732 * nss/nss_db/dummy-db.h: Removed.
25734 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25736 * nss/makedb.c: Rewritten to not use database library.
25737 * nss/Makefile: Update to build new makedb program.
25739 2011-06-14 Andreas Jaeger <aj@suse.de>
25741 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25742 memset declaration.
25744 2011-06-10 Andreas Schwab <schwab@redhat.com>
25746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25749 2011-06-10 Roland McGrath <roland@hack.frob.com>
25751 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25752 * elf/Makefile ($(objpfx)ld.so): Likewise.
25754 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25755 Don't list ld.so twice in dependencies.
25757 * posix/bug-regex31.c: Include <stdlib.h>.
25759 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25761 * nis/nss_compat/compat-spwd.c
25762 (getspent_next_nss_netgr): Remove unused variable.
25763 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25765 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25766 nonmembers" output to use the right array.
25768 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25770 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25772 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25773 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25774 * catgets/gencat.c (read_input_file): Likewise.
25775 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25777 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25778 variable definition inside #if's controlling its use.
25780 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25782 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25784 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25786 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25789 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25791 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25792 * configure: Regenerated.
25794 * Makerules: Revert last change.
25795 * elf/Makefile: Likewise.
25797 2011-06-09 Roland McGrath <roland@hack.frob.com>
25799 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25800 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25801 (reloc-link): Likewise.
25803 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25805 * elf/Makefile: Add rules to build pldd.
25806 * elf/pldd.c: New file.
25807 * elf/pldd-xx.c: New file.
25809 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25811 * version.h: Update for 2.15 development version.
25813 2011-06-07 David S. Miller <davem@davemloft.net>
25815 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25818 elf_machine_lazy_rel): Likewise.
25819 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25821 elf_machine_lazy_rel): Likewise.
25822 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25823 dl_hwcap via passed in argument.
25824 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25827 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25829 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25831 2011-06-06 Roland McGrath <roland@hack.frob.com>
25834 * manual/fdl-1.1.texi: New file, verbatim from:
25835 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25836 * manual/lgpl-2.1.texi: New file, verbatim from:
25837 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25838 * manual/Makefile (licenses): New variable, list those new file names.
25840 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25842 * manual/fdl.texi: File removed.
25843 * manual/lesser.texi: File removed.
25844 * manual/libc.texinfo (Copying, Documentation License):
25845 Use new @include file names, put @appendix directive before @include.
25847 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25850 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25851 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25852 (mq_open): Add __NTH.
25854 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25857 Assume Intel Core i3/i5/i7 processor if AVX is available.
25859 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25864 2011-05-31 Andreas Schwab <schwab@redhat.com>
25866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25867 memory. Use alloca_account. Fix memory leak when retrying.
25869 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25871 * version.h (RELEASE): Bump for 2.14 release.
25872 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25874 * config.make.in (RANLIB): Remove entry.
25876 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25878 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25879 (libc.pot): Work around missing support for .ksh extension in xgettext.
25882 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25883 if both request failed.
25884 (send_dg): In case of server errors clear resplen or *resplen2.
25887 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25888 when there are multiple maps.
25889 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25890 (_dl_fini): Remove test here.
25892 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25894 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25897 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25898 bit from old_res_options.
25899 (gaih_inet): Likewise.
25902 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25905 * resolv/res_init.c (res_setoptions): Make the code more compact.
25908 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25912 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25914 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25917 * malloc/malloc.h: Declare malloc hook variables as volatile.
25919 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25923 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25924 raise in the comment.
25925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25926 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25927 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25929 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25932 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25933 grow the buffers more if it already has to be sufficient.
25934 (build_wcs_upper_buffer): Likewise.
25935 * posix/regexec.c (check_matching): Likewise.
25936 (clean_state_log_if_needed): Likewise.
25937 (extend_buffers): Don't enlarge buffers beyond size of the input
25939 Patches mostly by Emil Wojak <emil@wojak.eu>.
25940 * posix/bug-regex32.c: New file.
25941 * posix/Makefile (tests): Add bug-regex32.
25943 * locale/findlocale.c (_nl_find_locale): Return right away if
25944 _nl_explode_name failed.
25945 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25947 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25949 * debug/xtrace.sh: Unify messages.
25950 * malloc/memusage.sh: Likewise.
25953 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25954 time symbol from vDSO. Substitute with vsyscall if not available.
25955 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25958 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25959 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25960 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25961 Add sendmmsg and internal_sendmmsg.
25962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25963 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25964 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25966 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25967 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25968 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25970 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25973 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25974 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25976 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25980 * iconvdata/Makefile (tests): Add bug-iconv9.
25981 * iconvdata/bug-iconv9.c: New file.
25983 2011-05-27 Andreas Schwab <schwab@redhat.com>
25986 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25988 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25991 (struct user_regs_struct): Change intcs field back to cs.
25993 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25995 * po/ja.po: Update from translation team.
25997 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26000 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26001 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26003 2011-05-20 Andreas Schwab <schwab@redhat.com>
26005 * stdlib/longlong.h: Update from GCC.
26007 2011-05-23 Andreas Schwab <schwab@redhat.com>
26009 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26011 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26012 Add parameter name.
26013 (__sysconf): Pass it down.
26015 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26018 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26020 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26021 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26022 add in in __libc_use_alloca calls. Adjust callers.
26023 (glob): Use malloc in some situations.
26025 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26026 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26029 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26031 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26032 and CLOCK_BOOTTIME_ALARM.
26035 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26038 * string/_strerror.c (__strerror_r): Print negative errors as signed
26042 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26043 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26044 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26046 * configure.in: Fix typo in redirection and correct removal of test
26047 files in two cases.
26050 * locale/setlocale.c (new_composite_name): Fix test to check for
26051 identical name of all categories.
26054 * libio/filedoalloc.c (local_isatty): New function.
26055 (_IO_file_doallocate): Use local_isatty.
26056 * stdio-common/perror.c (perror): In case a new stream is used
26057 forward the stream error.
26058 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26061 2011-05-20 Ulrich Drepper <drepper@gmail.com>
26064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26066 * include/alloca.h (extend_alloca_account): Define.
26069 * posix/regex.h: Fix comments with documentation of user-accessible
26070 fields after compilation and describe correct free'ing of pattern
26071 after re_compile_pattern.
26072 Patch by Reuben Thomas <rrt@sc3d.org>.
26074 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26076 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26077 and -mno-altivec to prevent the compiler from using Altivec and/or
26078 VSX instructions when the corresponding registers are not available.
26080 2011-05-19 Andreas Schwab <schwab@redhat.com>
26082 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26084 2011-05-19 Ulrich Drepper <drepper@gmail.com>
26086 * libio/freopen.c (freopen): Use __dup2, not dup2.
26087 * libio/freopen64.c (freopen64): Likewise.
26089 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26092 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26093 * math/Makefile (tests): Add test-powl.
26094 (CFLAGS-test-powl.c): Define.
26095 * math/test-powl.c: New file.
26097 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26099 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26101 2011-05-17 Ulrich Drepper <drepper@gmail.com>
26104 * iconvdata/gb18030.c: Update to GB18020-2005.
26106 2011-05-16 Ulrich Drepper <drepper@gmail.com>
26108 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26109 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26110 Patch by Aharon Robbins <arnold@skeeve.com>.
26113 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26117 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26118 through underflows.
26121 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26122 point to strings before performing equality test for error_one_per_line
26126 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26130 (struct user_fpregs_struct): Avoid __uint*_t types.
26133 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26134 symbol info. Use it instead of calling _dl_addr locally.
26135 (lock_and_info): New function.
26136 (tr_freehook): Call lock_and_info and pass symbol info as additional
26137 parameter to tr_where.
26138 (tr_mallochook): Likewise.
26139 (tr_reallochook): Likewise.
26140 (tr_memalignhook): Likewise.
26142 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26143 used and couldn't be at all thread-safe.
26145 2011-05-15 Ulrich Drepper <drepper@gmail.com>
26147 * libio/freopen.c (freopen): Don't close old file descriptor
26148 before the new one is opened. Instead dup the new file descriptor
26149 to the old one after the new stream is created.
26150 * libio/freopen64.c (freopen64): Likewise.
26151 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26152 * libio/fileops.c (_IO_new_file_close_it): Handle new
26153 _IO_FLAGS2_NOCLOSE flag.
26154 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26155 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26156 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26157 _IO_FLAGS2_NOCLOSE flag.
26158 * include/unistd.h: Add hidden_proto for dup3.
26159 Define __have_dup3.
26160 * io/dup3.c: Define hidden symbol.
26161 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26164 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26165 when an incomplete long option is used.
26166 * posix/tst-getopt_long1.c: New file.
26167 * posix/Makefile (tests): Add tst-getopt_long1.
26170 * scripts/config.guess: Update from autoconf-2.68.
26171 * scripts/config.sub: Likewise.
26174 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26176 (has_cpuclock): ...this. New function.
26177 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26178 macro here based on has_cpuclock code.
26181 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26182 First byte (not low byte) is now always NUL.
26183 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26186 Use non-cancelable interfaces.
26189 * locale/iso-639.def: Add entry for Sorani.
26192 * include/stdlib.h: Move include protection to the right place.
26193 Define abort_msg_s. Declare __abort_msg with it.
26194 * stdlib/abort.c (__abort_msg): Adjust type.
26195 * assert/assert.c (__assert_fail_base): New function. Majority
26196 of code from __assert_fail. Allocate memory for __abort_msg with
26198 (__assert_fail): Now call __assert_fail_base.
26199 * assert/assert-perr.c: Remove bulk of implementation. Use
26200 __assert_fail_base.
26201 * include/assert.hL Declare __assert_fail_base.
26202 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26204 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26206 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26210 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26211 until all modules are registered in the DTV.
26212 * elf/Makefile: Add rules to build and run tst-tls19.
26213 * elf/tst-tls19.c: New file.
26214 * elf/tst-tls19mod1.c: New file.
26215 * elf/tst-tls19mod2.c: New file.
26216 * elf/tst-tls19mod3.c: New file.
26217 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26220 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26224 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26225 two-byte sequence errors.
26226 * iconvdata/Makefile (tests): Add bug-iconv8.
26227 * iconvdata/bug-iconv8.c: New file.
26230 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26233 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26236 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26237 (dummy_getcfa): New function.
26238 (init): Get _Unwind_GetCFA address, use dummy if not found.
26239 (backtrace_helper): In recursion check, also check whether CFA changes.
26240 (__backtrace): Completely initialize arg.
26242 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26243 storing incomplete byte sequence in state object. Avoid testing for
26244 guaranteed too small input if we know there is enough data available.
26246 2011-05-11 Andreas Schwab <schwab@redhat.com>
26248 * Makeconfig (+link-pie): Indent.
26249 * Rules (binaries-pie): Define if $(have-fpie) and
26251 (binaries-shared): Also filter out $(binaries-pie).
26252 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26253 * nscd/Makefile (others-pie): Add nscd.
26254 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26255 ($(objpfx)nscd): Remove command override.
26256 * login/Makefile (others-pie): Add pt_chown.
26257 ($(objpfx)pt_chown): Remove command override.
26258 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26259 remove command overrides.
26261 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26263 * libio/tst_putwc.c: Fix error messages.
26266 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26267 currently writing and seek to current position when not.
26268 * libio/Makefile (tests): Add bug-fclose1.
26269 * libio/bug-fclose1.c: New file.
26271 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26274 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26275 don't set DF_1_NODELETE here.
26276 (do_lookup_x): When entering new entry test for copy relocation
26277 and if necessary set DF_1_NODELETE flag.
26278 * elf/tst-unique4.cc: New file.
26279 * elf/tst-unique4.h: New file.
26280 * elf/tst-unique4lib.cc: New file.
26281 * elf/Makefile: Add rules to build and run tst-unique4.
26282 Patch by Piotr Bury <pbury@goahead.com>.
26284 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26287 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26290 * misc/mntent_r.c (addmntent): Flush the stream after the output
26293 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26294 (is_trusted_path_normalize): Skip initial colon. Append slash
26295 to empty buffer. Duplicate is_trusted_path code but allow
26296 constructed patch to be prefix.
26297 (is_dst): Allow $ORIGIN followed by /.
26298 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26299 Correct testing of result of is_trusted_path_normalize
26300 (decompose_rpath): Fix warning.
26302 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26305 * grp/initgroups.c (internal_getgrouplist): When we found the service
26306 list through the initgroups entry in nsswitch.conf do not always
26307 continue on a successful lookup. Don't always use the
26308 __nss_group_database value if it is set.
26309 * nss/nsswitch.conf (initgroups): Change action for successful db
26310 lookup to continue for compatibility.
26312 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26315 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26317 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26319 * iconvdata/tst-tables.sh: Likewise.
26320 * iconvdata/cp770.c: New file.
26321 * iconvdata/cp771.c: New file.
26322 * iconvdata/cp772.c: New file.
26323 * iconvdata/cp773.c: New file.
26324 * iconvdata/cp774.c: New file.
26325 * iconvdata/testdata/CP770: New file.
26326 * iconvdata/testdata/CP770..UTF8: New file.
26327 * iconvdata/testdata/CP771: New file.
26328 * iconvdata/testdata/CP771..UTF8: New file.
26329 * iconvdata/testdata/CP772: New file.
26330 * iconvdata/testdata/CP772..UTF8: New file.
26331 * iconvdata/testdata/CP773: New file.
26332 * iconvdata/testdata/CP773..UTF8: New file.
26333 * iconvdata/testdata/CP774: New file.
26334 * iconvdata/testdata/CP774..UTF8: New file.
26336 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26338 * iconvdata/gen-8bit-gap.sh: Likewise.
26339 * iconvdata/gen-8bit.sh: Likewise.
26341 * locale/iso-639.def: Add ary entry.
26344 * locale/C-translit.h.in: Add U20A1 transliteration.
26347 * locale/iso-639.def: Add wae entry.
26348 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26351 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26355 * locale/C-translit.h.in: Add entry for U20B9.
26356 Patch by pravin.d.s@gmail.com.
26358 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26361 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26362 ENAMETOOLONG use generic getcwd.
26363 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26364 in rtld. Use *stat64.
26365 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26366 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26367 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26368 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26369 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26370 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26371 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26372 __fstatat64 macros.
26373 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26374 * dirent/rewinddir.c: Add libc_hidden_def.
26375 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26376 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26378 * include/dirent.h (__alloc_dir): Add flags parameter.
26379 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26380 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26382 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26383 from fdopendir if O_CLOEXEC is already set.
26385 2011-03-15 Alan Modra <amodra@gmail.com>
26387 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26388 l_tls_firstbyte_offset non-zero. Save padding offset in
26389 l_tls_firstbyte_offset for later use.
26390 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26391 freeing static tls block.
26393 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26395 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26396 where #ifdef was intended. The intent is to prevent ARG_MAX from
26397 being defined by the kernel headers.
26399 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26402 * resolv/resolv.h: Define RES_NOTLDQUERY.
26403 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26404 no-tld-query and set RES_NOTLDQUERY.
26405 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26406 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26407 modern BIND to search name as TLD unless forbidden.
26409 2011-05-07 Petr Baudis <pasky@suse.cz>
26410 Ulrich Drepper <drepper@gmail.com>
26413 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26414 (is_trusted_path): ...to here.
26415 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26416 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26417 using is_trusted_path_normalize() in setuid scripts.
26419 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26421 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26422 __BEGIN/__END_DECLS.
26424 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26427 NSS_STATUS_NOTFOUND if no record was found.
26429 2011-05-05 Andreas Schwab <schwab@redhat.com>
26431 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26432 (headers-not-in-tirpc): Remove rpc/netdb.h
26433 * resolv/netdb.h: Revert last change.
26435 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26437 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26438 circular dependency between libgcc.a and libc.a.
26440 2011-05-05 Andreas Schwab <schwab@redhat.com>
26442 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26443 * nis/Makefile: Don't install rpcsvc/*.
26444 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26445 instead of <rpc/types.h>.
26446 (MAXHOSTNAMELEN): Define.
26448 2011-05-03 Andreas Schwab <schwab@redhat.com>
26450 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26452 2011-04-28 Maciej Babinski <mbabinski@google.com>
26455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26456 gethostbyname4_r when IPv6 results are possible.
26458 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26461 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26462 _PC_PIPE_BUF handling.
26464 2011-04-30 Bruno Haible <bruno@clisp.org>
26467 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26468 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26470 * inet/getnameinfo.c (getnameinfo): Likewise.
26472 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26474 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26475 to groups setting in database lookup.
26476 * nss/nsswitch.conf: Add initgroups entry.
26478 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26481 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26483 Patch by Eric Blake <eblake@redhat.com>.
26485 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26487 * sunrpc/Makefile (need-export-routines): Add svc_run.
26488 (routines): Remove svc_run.
26489 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26490 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26491 * sunrpc/svc_run.c (svc_run): Likewise.
26492 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26494 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26497 problem in reallocation in last patch.
26499 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26501 * sunrpc/Makefile: Move inclusion of Rules.
26503 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26505 * nss/nss_files/files-initgroups.c: New file.
26506 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26507 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26508 _nss_files_initgroups_dyn.
26510 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26512 * elf/elf.h (R_ARM_IRELATIVE): Define.
26514 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26516 * po/ru.po: Update from translation team.
26518 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26520 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26523 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26526 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26527 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26532 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26536 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26537 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26540 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26543 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26545 * stdlib/bug-getcontext.c: New file.
26546 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26548 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26550 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26551 instructions into .machine "z9-109".
26552 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26553 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26555 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26557 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26558 between environment variables and auxiliary vector.
26560 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26562 * Makefile: Add rules to build linkobj/libc.so.
26563 * include/libc-symbols.h: Define libc_hidden_nolink.
26564 * include/rpc/auth.h: Mark functions which are to be hidden.
26565 * include/rpc/auth_des.h: Likewise.
26566 * include/rpc/auth_unix.h: Likewise.
26567 * include/rpc/clnt.h: Likewise.
26568 * include/rpc/des_crypt.h: Likewise.
26569 * include/rpc/key_prot.h: Likewise.
26570 * include/rpc/pmap_clnt.h: Likewise.
26571 * include/rpc/pmap_prot.h: Likewise.
26572 * include/rpc/pmap_rmt.h: Likewise.
26573 * include/rpc/rpc_msg.h: Likewise.
26574 * include/rpc/svc.h: Likewise.
26575 * include/rpc/svc_auth.h: Likewise.
26576 * include/rpc/xdr.h: Likewise.
26577 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26578 * nss/Makefile: Likewise.
26579 * sunrpc/Makefile: Don't install headers. Build library with normal
26580 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26581 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26582 for the compat linking library. Remove use of INTDEF/INTUSE.
26583 * sunrpc/auth_none.c: Likewise.
26584 * sunrpc/auth_unix.c: Likewise.
26585 * sunrpc/authdes_prot.c: Likewise.
26586 * sunrpc/authuxprot.c: Likewise.
26587 * sunrpc/clnt_gen.c: Likewise.
26588 * sunrpc/clnt_perr.c: Likewise.
26589 * sunrpc/clnt_raw.c: Likewise.
26590 * sunrpc/clnt_simp.c: Likewise.
26591 * sunrpc/clnt_tcp.c: Likewise.
26592 * sunrpc/clnt_udp.c: Likewise.
26593 * sunrpc/clnt_unix.c: Likewise.
26594 * sunrpc/des_crypt.c: Likewise.
26595 * sunrpc/des_soft.c: Likewise.
26596 * sunrpc/get_myaddr.c: Likewise.
26597 * sunrpc/key_call.c: Likewise.
26598 * sunrpc/key_prot.c: Likewise.
26599 * sunrpc/netname.c: Likewise.
26600 * sunrpc/pm_getmaps.c: Likewise.
26601 * sunrpc/pm_getport.c: Likewise.
26602 * sunrpc/pmap_clnt.c: Likewise.
26603 * sunrpc/pmap_prot.c: Likewise.
26604 * sunrpc/pmap_prot2.c: Likewise.
26605 * sunrpc/pmap_rmt.c: Likewise.
26606 * sunrpc/publickey.c: Likewise.
26607 * sunrpc/rpc_cmsg.c: Likewise.
26608 * sunrpc/rpc_common.c: Likewise.
26609 * sunrpc/rpc_dtable.c: Likewise.
26610 * sunrpc/rpc_prot.c: Likewise.
26611 * sunrpc/rpc_thread.c: Likewise.
26612 * sunrpc/rtime.c: Likewise.
26613 * sunrpc/svc.c: Likewise.
26614 * sunrpc/svc_auth.c: Likewise.
26615 * sunrpc/svc_authux.c: Likewise.
26616 * sunrpc/svc_raw.c: Likewise.
26617 * sunrpc/svc_run.c: Likewise.
26618 * sunrpc/svc_simple.c: Likewise.
26619 * sunrpc/svc_tcp.c: Likewise.
26620 * sunrpc/svc_udp.c: Likewise.
26621 * sunrpc/svc_unix.c: Likewise.
26622 * sunrpc/svcauth_des.c: Likewise.
26623 * sunrpc/xcrypt.c: Likewise.
26624 * sunrpc/xdr.c: Likewise.
26625 * sunrpc/xdr_array.c: Likewise.
26626 * sunrpc/xdr_float.c: Likewise.
26627 * sunrpc/xdr_intXX_t.c: Likewise.
26628 * sunrpc/xdr_mem.c: Likewise.
26629 * sunrpc/xdr_rec.c: Likewise.
26630 * sunrpc/xdr_ref.c: Likewise.
26631 * sunrpc/xdr_sizeof.c: Likewise.
26632 * sunrpc/xdr_stdio.c: Likewise.
26634 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26637 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26638 * sysdeps/ia64/dl-tls.h: Likewise.
26639 * sysdeps/powerpc/dl-tls.h: Likewise.
26640 * sysdeps/s390/dl-tls.h: Likewise.
26641 * sysdeps/sh/dl-tls.h: Likewise.
26642 * sysdeps/sparc/dl-tls.h: Likewise.
26643 * sysdeps/x86_64/dl-tls.h: Likewise.
26644 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26646 2011-03-14 Andreas Schwab <schwab@redhat.com>
26648 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26649 rpath element also skip the following colon.
26650 (expand_dynamic_string_token): Add is_path parameter and pass
26651 down to DL_DST_REQUIRED and _dl_dst_substitute.
26652 (decompose_rpath): Call expand_dynamic_string_token with
26653 non-zero is_path. Ignore empty rpaths.
26654 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26657 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26662 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26665 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26666 Patch by Filipe David Manana <fdmanana@apache.org>.
26668 2011-04-07 Andreas Schwab <schwab@redhat.com>
26670 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26671 Maintain aligned stack.
26672 (CHECK_RSP): Remove unused macro.
26674 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26676 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26677 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26679 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26681 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26683 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26685 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26688 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26689 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26690 * sysdeps/x86_64/memmove.c: New file.
26691 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26692 (memcpy): Renamed to ...
26693 (__new_memcpy): This.
26694 (memcpy): Provide GLIBC_2_14 memcpy.
26695 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26696 (memcpy): Provide GLIBC_2_2_5 memcpy.
26698 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26701 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26703 2011-03-30 Andreas Schwab <schwab@redhat.com>
26705 * misc/syncfs.c: New file.
26706 * misc/Makefile (routines): Add syncfs.
26707 * posix/unistd.h: Declare syncfs.
26708 * sysdeps/unix/syscalls.list: Add syncfs.
26710 2011-04-01 Andreas Schwab <schwab@redhat.com>
26712 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26719 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26722 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26726 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26732 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26733 sync_file_range.c with -fexceptions.
26734 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26735 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26736 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26737 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26738 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26739 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26740 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26741 sync_file_range as cancellation point
26742 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26743 now a wrapper around __call_sync_file_range with cancellation handling.
26744 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26745 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26746 function name to __call_sync_file_range.
26747 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26748 Add call_sync_file_range.
26750 2011-04-01 Andreas Schwab <schwab@redhat.com>
26752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26755 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26757 * iconv/iconv.h: Fix typo in comment.
26758 * io/fcntl.h: Likewise.
26759 * libio/stdio.h: Likewise.
26760 * posix/spawn.h: Likewise.
26761 * posix/unistd.h: Likewise.
26762 * stdlib/stdlib.h: Likewise.
26763 * time/time.h: Likewise.
26764 * wcsmbs/wchar.h: Likewise.
26766 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26767 open_by_handle): Add.
26768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26769 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26770 Augment a few comments.
26771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26772 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26773 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26776 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26779 * io/fcntl.h (AT_EMPTY_PATH): Define.
26781 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26783 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26784 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26785 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26787 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26788 * Versions.def: Add GLIBC_2.14.
26789 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26792 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26794 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26796 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26798 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26801 * string/test-strncmp.c (do_page_test): New function.
26802 (check2): Likewise.
26803 (test_main): Call check2.
26804 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26806 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26809 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26810 Handle cache information in CPU leaf 4.
26811 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26813 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26816 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26817 character representation.
26818 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26820 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26822 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26823 END(__isnan) to END(__isnanf) to match function entry point/label
26824 EALIGN(__isnanf,...).
26826 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26828 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26830 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26833 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26834 copy from the symbol referenced in the relocation to initialize the
26836 Patch by Piotr Bury <pbury@goahead.com>.
26837 * elf/Makefile: Add rules to build and tst-unique3.
26838 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26839 * elf/tst-unique3.cc: New file.
26840 * elf/tst-unique3.h: New file.
26841 * elf/tst-unique3lib.cc: New file.
26842 * elf/tst-unique3lib2.cc: New file.
26844 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26846 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26848 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26849 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26852 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26854 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26855 to-be-loaded object along a path to loader is ld.so.
26857 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26858 Ulrich Drepper <drepper@gmail.com>
26860 * sysdeps/x86_64/memset.S: After aligning destination, code
26861 branches to different locations depending on the value of
26862 misalignment, when multiarch is enabled. Fix this.
26864 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26866 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26867 Set _x86_64_preferred_memory_instruction for AMD processsors.
26868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26869 Set bit_Prefer_SSE_for_memop for AMD processors.
26871 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26873 * libio/fmemopen.c (fmemopen): Optimize a bit.
26875 2011-03-03 Andreas Schwab <schwab@redhat.com>
26877 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26879 2011-03-03 Roland McGrath <roland@redhat.com>
26881 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26883 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26885 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26886 __bzero_ultra1 instead of __memset_ultra1.
26888 2011-02-23 Andreas Schwab <schwab@redhat.com>
26889 Ulrich Drepper <drepper@gmail.com>
26892 * include/link.h (struct link_map): Add l_orig_initfini.
26893 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26894 returning unsuccessfully.
26895 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26896 close of a file loaded at startup, restore the original l_initfini
26898 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26899 list, store the pointer.
26900 * elf/Makefile ($(objpfx)noload-mem): New rule.
26901 (noload-ENV): Define.
26902 (tests): Add $(objpfx)noload-mem.
26903 * elf/noload.c: Include <memcheck.h>.
26904 (main): Call mtrace. Close all opened handles.
26906 2011-02-17 Andreas Schwab <schwab@redhat.com>
26909 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26910 dependencies are missing.
26912 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26914 Fix __if_freereq crash: Unlike the generic version which uses free,
26916 * sysdeps/mach/hurd/ifreq.h: New file.
26918 2011-01-27 Petr Baudis <pasky@suse.cz>
26919 Ulrich Drepper <drepper@gmail.com>
26922 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26923 to extend_alloca().
26924 * stdio-common/bug23.c: New file.
26925 * stdio-common/Makefile (tests): Add bug23.
26927 2010-09-28 Andreas Schwab <schwab@redhat.com>
26928 Ulrich Drepper <drepper@gmail.com>
26931 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26932 before performing relro protection. At old place add assertion
26933 to make sure nothing changed.
26935 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26936 Glauber de Oliveira Costa <glommer@gmail.com>
26938 * elf/elf.h: Add new ARM TLS relocs.
26940 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26943 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26945 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26947 * sysdeps/wordsize-64/tst-writev.c: New file.
26949 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26951 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26952 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26953 insns in _dl_start to prevent a TOC reference before relocs are
26956 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26959 * Makeconfig: Remove RANLIB definition.
26960 * Makerules: Don't use RANLIB.
26961 * aclocal.m4: Remove ranlib test.
26962 * configure.in: No need to check for ranlib.
26963 * elf/rtld-Rules: Don't use RANLIB.
26965 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26967 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26969 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26970 inclusion protection macro.
26972 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26973 SIGRTMIN and SIGRTMAX and print information in that case only when
26974 SIGRTMIN is defined.
26976 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26978 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26979 arginfo fn returning -1.
26981 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26982 and thousands string is zero terminated.
26984 2011-02-03 Andreas Schwab <schwab@redhat.com>
26986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26987 sysdeps/unix/sysv/linux/bits/socket.h.
26989 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26991 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26992 (__CPU_COUNT): Remove old macros.
26993 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26994 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26995 (__CPU_ALLOC, __CPU_FREE): Add macros.
26996 (__sched_cpualloc, __sched_cpufree): Add declarations.
26998 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27000 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27001 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27002 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27003 (readdhstai): Return value of addhstaiX call.
27004 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27005 (addgrbyX): Return value returned by cache_addgr.
27006 (readdgrbyname): Return value returned by addgrbyX.
27007 (readdgrbygid): Likewise.
27008 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27009 (addpwbyX): Return value returned by cache_addpw.
27010 (readdpwbyname): Return value returned by addhstbyX.
27011 (readdpwbyuid): Likewise.
27012 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27013 (addservbyX): Return value returned by cache_addserv.
27014 (readdservbyname): Return value returned by addservbyX:
27015 (readdservbyport): Likewise.
27016 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27017 (addhstbyX): Return value returned by cache_addhst.
27018 (readdhstbyname): Return value returned by addhstbyX.
27019 (readdhstbyaddr): Likewise.
27020 (readdhstbynamev6): Likewise.
27021 (readdhstbyaddrv6): Likewise.
27022 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27023 (readdinitgroups): Return value returned by addinitgroupsX.
27024 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27025 (prune_cache): Keep track of timeout value of re-added entries.
27026 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27027 * nscd/nscd.h: Adjust prototypes of readd* functions.
27029 2011-02-04 Roland McGrath <roland@redhat.com>
27031 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27032 (nis_stats): Likewise.
27033 * nis/nis_modify.c (nis_modify): Likewise.
27034 * nis/nis_remove.c (nis_remove): Likewise.
27035 * nis/nis_add.c (nis_add): Likewise.
27037 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27039 * posix/fnmatch_loop.c: Add some consts.
27041 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27043 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27046 * config.make.in (config-cflags-novzeroupper): Define.
27047 * configure.in: Substitute libc_cv_cc_novzeroupper.
27048 * elf/Makefile (AVX-CFLAGS): Define.
27049 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27050 (CFLAGS-tst-auditmod4a.c): Likewise.
27051 (CFLAGS-tst-auditmod4b.c): Likewise.
27052 (CFLAGS-tst-auditmod6b.c): Likewise.
27053 (CFLAGS-tst-auditmod6c.c): Likewise.
27054 (CFLAGS-tst-auditmod7b.c): Likewise.
27055 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27057 2011-02-02 Ulrich Drepper <drepper@gmail.com>
27059 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27060 function to the callback.
27061 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27063 2011-02-02 Andreas Schwab <schwab@redhat.com>
27065 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27068 2011-01-19 Ulrich Drepper <drepper@gmail.com>
27071 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27073 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27075 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27078 * elf/Makefile: Add rules to build and run new test.
27079 * elf/tst-initorder.c: New file.
27080 * elf/tst-initorder.exp: New file.
27081 * elf/tst-initordera1.c: New file.
27082 * elf/tst-initordera2.c: New file.
27083 * elf/tst-initordera3.c: New file.
27084 * elf/tst-initordera4.c: New file.
27085 * elf/tst-initorderb1.c: New file.
27086 * elf/tst-initorderb2.c: New file.
27087 * elf/tst-order-a1.c: New file.
27088 * elf/tst-order-a2.c: New file.
27089 * elf/tst-order-a3.c: New file.
27090 * elf/tst-order-a4.c: New file.
27091 * elf/tst-order-b1.c: New file.
27092 * elf/tst-order-b2.c: New file.
27093 * elf/tst-order-main.c: New file.
27094 New test case by George Gensure <werkt0@gmail.com>.
27096 2010-10-01 Andreas Schwab <schwab@redhat.com>
27098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27099 decoding ACE if AI_CANONIDN.
27101 2011-01-18 Ulrich Drepper <drepper@gmail.com>
27103 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27105 2011-01-17 Ulrich Drepper <drepper@gmail.com>
27107 * version.h (RELEASE): Bump for 2.13 release.
27108 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27110 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27112 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27114 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27115 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27116 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27117 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27121 * posix/getconf.c: Update copyright year.
27122 * catgets/gencat.c: Likewise.
27123 * csu/version.c: Likewise.
27124 * debug/catchsegv.sh: Likewise.
27125 * debug/xtrace.sh: Likewise.
27126 * elf/ldconfig.c: Likewise.
27127 * elf/ldd.bash.in: Likewise.
27128 * elf/sprof.c (print_version): Likewise.
27129 * iconv/iconv_prog.c: Likewise.
27130 * iconv/iconvconfig.c: Likewise.
27131 * locale/programs/locale.c: Likewise.
27132 * locale/programs/localedef.c: Likewise.
27133 * malloc/memusage.sh: Likewise.
27134 * malloc/mtrace.pl: Likewise.
27135 * nscd/nscd.c (print_version): Likewise.
27136 * nss/getent.c: Likewise.
27138 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27139 PF_CAIF, and PF_ALG.
27140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27142 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27144 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27145 (modules-names): Use them.
27146 (ifunc-test-modules, ifunc-pie-tests): Define.
27147 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27148 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27149 (test-extras): Likewise.
27150 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27151 $(compile-command.c).
27152 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27153 (all-built-dso): Define.
27154 (check-textrel.out, check-execstack.out): Depend on it.
27156 * configure.in: Don't override --enable-multi-arch.
27158 2011-01-15 Ulrich Drepper <drepper@gmail.com>
27161 * nscd/hstcache.c (tryagain): Define.
27162 (cache_addhst): Return tryagain not notfound for temporary errors.
27163 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27166 2011-01-14 Ulrich Drepper <drepper@gmail.com>
27169 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27170 to make the syscall.
27171 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27174 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27175 and fall back to matching as normal character if the string ends before
27176 the matching ']' is found. This is what POSIX requires.
27177 * posix/testfnm.c: Adjust test result.
27178 * posix/globtest.sh: Adjust test result. Add new test.
27179 * posix/tst-fnmatch.input: Likewise.
27180 * posix/tst-fnmatch2.c: Add new test.
27182 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27184 * elf/Makefile (check-execstack): Revert last change. Depend on
27186 (check-execstack.h): New target.
27187 (generated): Add check-execstack.h.
27188 * elf/check-execstack.c: Include "check-execstack.h".
27189 (main): Revert last change.
27190 (handle_file): Return zero if GNU_STACK is absent and
27191 DEFAULT_STACK_PERMS doesn't include PF_X.
27193 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27195 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27196 in child fails because the descriptor is already closed.
27197 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27198 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27199 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27202 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27206 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27207 temporary buffer used to handle multi lookups locally.
27208 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27210 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27212 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27215 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27217 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27218 alignment for SSE2.
27220 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27223 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27224 characters. When rounding increased number of integer digits recompute
27226 * stdio-common/tst-grouping.c: New file.
27227 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27229 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27231 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27232 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27234 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27236 * bits/select.h: Likewise.
27238 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27240 * po/ja.po: Update from translation team.
27242 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27245 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27246 implementation just like for lxstat, fxstatat, et al.
27248 2010-12-27 Jim Meyering <meyering@redhat.com>
27251 * posix/regexec.c (build_trtable): Return failure indication upon
27252 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27254 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27257 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27258 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27259 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27260 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27263 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27266 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27267 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27269 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27271 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27272 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27273 script has SORT_BY_INIT_PRIORITY.
27274 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27275 NO_CTORS_DTORS_SECTIONS is defined.
27276 * elf/soinit.c: Likewise.
27277 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27278 NO_CTORS_DTORS_SECTIONS is defined.
27279 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27280 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27281 * sysdeps/sh/init-first.c: Likewise.
27282 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27284 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27286 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27287 always use the slow path.
27289 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27291 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27292 similar rule which adds the sysdep directories to the header search in
27293 order to pick up the correct platform stackinfo.h.
27294 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27295 perform test if it is, otherwise return successfully without testing.
27296 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27297 DEFAULT_STACK_PERMS define in stackinfo.h.
27298 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27299 defined in stackinfo.h.
27300 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27301 DEFAULT_STACK_PERMS defined in stackinfo.h.
27302 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27303 * sysdeps/ia64/stackinfo.h: Likewise.
27304 * sysdeps/s390/stackinfo.h: Likewise.
27305 * sysdeps/sh/stackinfo.h: Likewise.
27306 * sysdeps/sparc/stackinfo.h: Likewise.
27307 * sysdeps/x86_64/stackinfo.h: Likewise.
27308 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27309 PF_X for powerpc64. Retain PF_X for powerpc32.
27311 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27313 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27315 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27316 GETDENTS_64BIT_ALIGNED.
27318 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27320 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27322 2010-12-10 Andreas Schwab <schwab@redhat.com>
27324 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27327 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27328 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27330 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27331 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27333 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27336 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27339 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27341 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27343 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27345 * po/it.po: Update from translation team.
27347 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27352 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27354 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27356 2010-11-24 Andreas Schwab <schwab@redhat.com>
27358 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27360 (gaih_getanswer_slice): Likewise.
27362 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27366 2010-05-31 Petr Baudis <pasky@suse.cz>
27369 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27370 silently even in the chroot mode.
27372 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27374 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27375 last patch a bit. Pretty printing
27377 2010-05-31 Petr Baudis <pasky@suse.cz>
27380 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27381 initialization of skip_initgroups_dyn.
27383 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27385 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27388 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27390 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27392 2010-11-11 Andreas Schwab <schwab@redhat.com>
27394 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27395 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27396 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27397 ($(objpfx)tst-fnmatch-mem): New rule.
27398 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27399 * posix/tst-fnmatch.c (main): Call mtrace.
27401 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27404 Support Intel processor model 6 and model 0x2c.
27406 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27408 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27411 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27414 * string/test-strncasecmp.c (check_result): New function.
27415 (do_one_test): Use it.
27416 (check1): New function.
27417 (test_main): Use it.
27418 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27419 Support strcasecmp and strncasecmp.
27421 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27424 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27425 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27427 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27429 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27433 * sysdeps/x86_64/multiarch/bzero.S: New file.
27434 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27435 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27436 * sysdeps/x86_64/multiarch/memset.S: New file.
27437 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27439 Set bit_Prefer_SSE_for_memop for Intel processors.
27440 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27442 (index_Prefer_SSE_for_memop): Define.
27443 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27445 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27447 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27448 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27450 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27453 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27454 (__x86_64_raw_data_cache_size_half): Likewise.
27455 (__x86_64_raw_shared_cache_size): Likewise.
27456 (__x86_64_raw_shared_cache_size_half): Likewise.
27458 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27459 (__x86_64_raw_data_cache_size_half): Likewise.
27460 (__x86_64_raw_shared_cache_size): Likewise.
27461 (__x86_64_raw_shared_cache_size_half): Likewise.
27462 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27463 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27464 and __x86_64_raw_shared_cache_size_half. Round
27465 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27466 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27467 to multiple of 256 bytes.
27469 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27472 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27473 of inacessible symlinks. Verify result of symlink before returning it.
27474 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27475 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27477 2010-10-28 Erich Ritz <erichritz@gmail.com>
27479 * math/math.h (isinf): Fix typo in comment.
27481 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27483 * po/da.po: Update from translation team.
27485 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27487 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27488 is added to the list.
27490 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27491 Ulrich Drepper <drepper@gmail.com>
27493 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27494 the global list here. Move code to...
27495 (_dl_add_to_namespace_list): ...here. New function.
27496 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27497 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27498 * elf/dl-load.c (lose): Don't remove the element from the list.
27499 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27500 (_dl_map_object): Likewise.
27502 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27505 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27506 into all bytes of SSE register.
27507 Patch by Richard Li <richardpku@gmail.com>.
27509 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27512 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27515 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27517 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27518 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27519 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27520 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27525 2010-10-22 Andreas Schwab <schwab@redhat.com>
27527 * include/dlfcn.h (__RTLD_SECURE): Define.
27528 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27529 mode & __RTLD_SECURE instead.
27530 (open_path): Rename preloaded parameter to secure.
27531 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27532 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27533 * elf/dl-deps.c (openaux): Likewise.
27534 * elf/rtld.c (struct map_args): Remove is_preloaded.
27535 (map_doit): Don't use it.
27536 (dl_main): Likewise.
27537 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27538 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27540 2010-09-09 Andreas Schwab <schwab@redhat.com>
27542 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27543 (sysd-rules-targets): Remove duplicates.
27544 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27545 rtld-%.$o dependency.
27547 2010-10-18 Andreas Schwab <schwab@redhat.com>
27549 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27550 _dl_map_object do it.
27552 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27554 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27555 fast fma builtins, define the macros in the C99 standard.
27556 (FP_FAST_FMAF): Likewise.
27557 (FP_FAST_FMAL): Likewise.
27558 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27560 * bits/mathdef.h: Update copyright year.
27561 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27563 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27565 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27566 builtins, define the macros in the C99 standard.
27567 (FP_FAST_FMAF): Likewise.
27568 (FP_FAST_FMAL): Likewise.
27569 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27571 (FP_FAST_FMAF): Likewise.
27573 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27576 * math/libm-test.inc (fma_test): Some new testcases.
27577 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27578 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27579 y and infinite z. Do multiplication by C already in long double.
27580 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27582 y and infinite z. Do bitwise or of inexact bit into u.d.
27583 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27584 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27585 * sysdeps/i386/fpu/s_fma.S: Removed.
27586 * sysdeps/i386/fpu/s_fmal.S: Removed.
27588 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27591 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27593 computation is not scheduled after fetestexcept. Fix value
27594 of minimum denormal long double.
27596 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27599 * math/libm-test.inc (fma_test): Add some more tests.
27600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27603 2010-10-15 Andreas Schwab <schwab@redhat.com>
27605 * scripts/data/localplt-s390-linux-gnu.data: New file.
27606 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27608 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27611 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27612 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27614 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27616 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27618 if one of x and y is very large and the other is subnormal.
27619 * sysdeps/s390/fpu/s_fmaf.c: New file.
27620 * sysdeps/s390/fpu/s_fma.c: New file.
27621 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27622 * sysdeps/powerpc/fpu/s_fma.S: New file.
27623 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27624 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27625 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27627 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27630 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27632 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27633 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27634 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27635 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27636 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27637 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27638 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27640 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27643 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27644 * posix/bug-regex31.input: Add test case.
27646 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27648 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27649 * posix/bug-regex31.input: New file.
27652 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27653 (parse_sub_exp): Fix last change, use postorder.
27655 * posix/bug-regex31.c: New file.
27656 * posix/Makefile: Add rules to build and run bug-regex31.
27658 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27661 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27664 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27665 to have entries in sys_siglist.
27668 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27671 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27674 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27675 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27676 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27677 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27678 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27679 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27680 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27681 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27682 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27683 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27684 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27685 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27686 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27687 * math/ftestexcept.c (fetestexcept): Likewise.
27688 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27689 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27690 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27691 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27692 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27693 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27694 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27696 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27699 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27702 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27704 * string/bug-strstr1.c: New file.
27705 * string/Makefile: Add rules to build and run bug-strstr1.
27707 2010-10-05 Eric Blake <eblake@redhat.com>
27710 * string/str-two-way.h (two_way_long_needle): Always clear memory
27711 when skipping input due to the shift table.
27713 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27716 * malloc/mcheck.c: Handle large requests.
27719 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27720 for strncmp and strncasecmp.
27721 * string/stratcliff.c: Add tests for strcmp and strncmp.
27722 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27724 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27726 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27729 2010-09-30 Andreas Jaeger <aj@suse.de>
27731 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27732 (CGROUP_SUPER_MAGIC): Define.
27733 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27734 Handle btrfs and cgroup file systems.
27735 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27738 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27740 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27741 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27743 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27746 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27747 trying to locate the ELF header.
27749 2010-09-27 Andreas Schwab <schwab@redhat.com>
27752 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27753 Mask out sign-bit copies when constructing f_fsid.
27755 2010-09-24 Petr Baudis <pasky@suse.cz>
27757 * debug/stack_chk_fail_local.c: Add missing licence exception.
27758 * debug/warning-nop.c: Likewise.
27760 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27762 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27763 implementing getdents64 using getdents syscall, set d_type if
27764 __ASSUME_GETDENTS32_D_TYPE.
27766 2010-09-16 Andreas Schwab <schwab@redhat.com>
27768 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27769 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27771 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27774 * posix/unistd.h: Undo change of feature selection for ftruncate from
27777 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27779 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27782 2010-09-20 Andreas Schwab <schwab@redhat.com>
27784 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27788 2010-09-14 Andreas Schwab <schwab@redhat.com>
27790 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27791 variables after CHECK_SP call.
27792 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27794 2010-09-13 Andreas Schwab <schwab@redhat.com>
27795 Ulrich Drepper <drepper@redhat.com>
27797 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27798 re-relocationg ld.so.
27799 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27800 _dl_init_paths call.
27801 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27804 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27806 * resolv/res_init.c (__res_vinit): Count the default server we added.
27808 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27809 Ulrich Drepper <drepper@redhat.com>
27812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27813 (____longjmp_chk): Use %ebx for saving value across system call.
27816 2010-09-06 Andreas Schwab <schwab@redhat.com>
27818 * manual/Makefile: Don't mix pattern rules with normal rules.
27820 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27822 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27824 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27825 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27826 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27827 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27831 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27834 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27835 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27837 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27839 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27840 * sysdeps/x86_64/addmul_1.S: Likewise.
27841 * sysdeps/x86_64/lshift.S: Likewise.
27842 * sysdeps/x86_64/mul_1.S: Likewise.
27843 * sysdeps/x86_64/rshift.S: Likewise.
27844 * sysdeps/x86_64/sub_n.S: Likewise.
27845 * sysdeps/x86_64/submul_1.S: Likewise.
27847 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27849 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27850 Define __sched_param instead of SCHED_* and sched_param when
27851 <bits/sched.h> is included with __need_schedparam defined.
27852 * bits/sched.h [__need_schedparam]
27853 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27854 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27855 (__defined_schedparam): Define to 1.
27856 (__sched_param): New structure, identical to sched_param.
27857 (__need_schedparam): Undefine.
27859 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27861 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27862 (epoll_create1): Declare.
27864 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27866 2010-08-31 Andreas Schwab <schwab@redhat.com>
27869 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27870 shifting retval into place.
27872 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27874 * nis/rpcsvc/nis.h: Update copyright notice.
27875 * nis/rpcsvc/nis.x: Likewise.
27876 * nis/rpcsvc/nis_callback.h: Likewise.
27877 * nis/rpcsvc/nis_callback.x: Likewise.
27878 * nis/rpcsvc/nis_object.x: Likewise.
27879 * nis/rpcsvc/nis_tags.h: Likewise.
27880 * nis/rpcsvc/yp.h: Likewise.
27881 * nis/rpcsvc/yp.x: Likewise.
27882 * nis/rpcsvc/ypupd.h: Likewise.
27883 * nis/yp_xdr.c: Likewise.
27884 * nis/ypupdate_xdr.c: Likewise.
27886 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27887 mainly the body of pmap_getport. Add parameters to specify timeouts.
27888 (pmap_getport): Use __libc_rpc_getport.
27889 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27890 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27891 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27893 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27898 2010-08-27 Roland McGrath <roland@redhat.com>
27900 * sysdeps/i386/i686/multiarch/Makefile
27901 (CFLAGS-varshift.c): New variable.
27903 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27905 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27906 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27908 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27910 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27912 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27914 * sysdeps/x86_64/strlen.S: Unroll the loop.
27915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27916 strlen-sse2 strlen-sse2-bsf.
27917 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27918 __strlen_no_bsf if bit_Slow_BSF is set.
27919 (__strlen_sse42): Removed.
27920 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27921 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27923 2010-08-25 Roland McGrath <roland@redhat.com>
27925 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27926 * sysdeps/x86_64/multiarch/varshift.c: New file.
27927 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27928 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27929 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27930 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27932 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27935 strlen-sse2 strlen-sse2-bsf.
27936 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27937 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27938 (__strlen_sse2): Removed.
27939 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27942 bit_Slow_BSF for Atom.
27943 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27944 (index_Slow_BSF): Define.
27945 (HAS_SLOW_BSF): Define.
27947 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27950 * resolv/res_init.c (__res_vinit): When no server address at all
27951 is given default to loopback.
27953 2010-08-24 Roland McGrath <roland@redhat.com>
27955 * configure.in: Remove config-name.h generation.
27956 * configure: Regenerated.
27957 * config-name.in: File removed.
27958 * scripts/config-uname.sh: New file.
27959 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27960 ($(objdir)config-name.h): New target.
27962 * sunrpc/rpc_parse.h: Avoid nested comment.
27964 2010-08-24 Richard Henderson <rth@redhat.com>
27965 Ulrich Drepper <drepper@redhat.com>
27966 H.J. Lu <hongjiu.lu@intel.com>
27968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27970 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27971 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27972 _mm_alignr_epi8 with _mm_loadu_si128.
27973 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27974 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27975 (__m128i_shift_right): Removed.
27976 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27977 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27978 * sysdeps/x86_64/multiarch/varshift.h: New file.
27979 * sysdeps/x86_64/multiarch/varshift.S: New file.
27981 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27983 * configure.in: Move assembler checks to before sysdep dir checking.
27985 2010-08-20 Petr Baudis <pasky@suse.cz>
27987 * LICENSES: Sync the sunrpc license.
27989 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27991 * sunrpc/auth_des.c: Update copyright notice once again.
27992 * sunrpc/auth_none.c: Likewise.
27993 * sunrpc/auth_unix.c: Likewise.
27994 * sunrpc/authdes_prot.c: Likewise.
27995 * sunrpc/authuxprot.c: Likewise.
27996 * sunrpc/bindrsvprt.c: Likewise.
27997 * sunrpc/clnt_gen.c: Likewise.
27998 * sunrpc/clnt_perr.c: Likewise.
27999 * sunrpc/clnt_raw.c: Likewise.
28000 * sunrpc/clnt_simp.c: Likewise.
28001 * sunrpc/clnt_tcp.c: Likewise.
28002 * sunrpc/clnt_udp.c: Likewise.
28003 * sunrpc/clnt_unix.c: Likewise.
28004 * sunrpc/des_crypt.c: Likewise.
28005 * sunrpc/des_soft.c: Likewise.
28006 * sunrpc/get_myaddr.c: Likewise.
28007 * sunrpc/getrpcport.c: Likewise.
28008 * sunrpc/key_call.c: Likewise.
28009 * sunrpc/key_prot.c: Likewise.
28010 * sunrpc/openchild.c: Likewise.
28011 * sunrpc/pm_getmaps.c: Likewise.
28012 * sunrpc/pm_getport.c: Likewise.
28013 * sunrpc/pmap_clnt.c: Likewise.
28014 * sunrpc/pmap_prot.c: Likewise.
28015 * sunrpc/pmap_prot2.c: Likewise.
28016 * sunrpc/pmap_rmt.c: Likewise.
28017 * sunrpc/rpc/auth.h: Likewise.
28018 * sunrpc/rpc/auth_unix.h: Likewise.
28019 * sunrpc/rpc/clnt.h: Likewise.
28020 * sunrpc/rpc/des_crypt.h: Likewise.
28021 * sunrpc/rpc/key_prot.h: Likewise.
28022 * sunrpc/rpc/netdb.h: Likewise.
28023 * sunrpc/rpc/pmap_clnt.h: Likewise.
28024 * sunrpc/rpc/pmap_prot.h: Likewise.
28025 * sunrpc/rpc/pmap_rmt.h: Likewise.
28026 * sunrpc/rpc/rpc.h: Likewise.
28027 * sunrpc/rpc/rpc_des.h: Likewise.
28028 * sunrpc/rpc/rpc_msg.h: Likewise.
28029 * sunrpc/rpc/svc.h: Likewise.
28030 * sunrpc/rpc/svc_auth.h: Likewise.
28031 * sunrpc/rpc/types.h: Likewise.
28032 * sunrpc/rpc/xdr.h: Likewise.
28033 * sunrpc/rpc_clntout.c: Likewise.
28034 * sunrpc/rpc_cmsg.c: Likewise.
28035 * sunrpc/rpc_common.c: Likewise.
28036 * sunrpc/rpc_cout.c: Likewise.
28037 * sunrpc/rpc_dtable.c: Likewise.
28038 * sunrpc/rpc_hout.c: Likewise.
28039 * sunrpc/rpc_main.c: Likewise.
28040 * sunrpc/rpc_parse.c: Likewise.
28041 * sunrpc/rpc_parse.h: Likewise.
28042 * sunrpc/rpc_prot.c: Likewise.
28043 * sunrpc/rpc_sample.c: Likewise.
28044 * sunrpc/rpc_scan.c: Likewise.
28045 * sunrpc/rpc_scan.h: Likewise.
28046 * sunrpc/rpc_svcout.c: Likewise.
28047 * sunrpc/rpc_tblout.c: Likewise.
28048 * sunrpc/rpc_util.c: Likewise.
28049 * sunrpc/rpc_util.h: Likewise.
28050 * sunrpc/rpcinfo.c: Likewise.
28051 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28052 * sunrpc/rpcsvc/key_prot.x: Likewise.
28053 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28054 * sunrpc/rpcsvc/mount.x: Likewise.
28055 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28056 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28057 * sunrpc/rpcsvc/rex.x: Likewise.
28058 * sunrpc/rpcsvc/rstat.x: Likewise.
28059 * sunrpc/rpcsvc/rusers.x: Likewise.
28060 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28061 * sunrpc/rpcsvc/spray.x: Likewise.
28062 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28063 * sunrpc/rtime.c: Likewise.
28064 * sunrpc/svc.c: Likewise.
28065 * sunrpc/svc_auth.c: Likewise.
28066 * sunrpc/svc_authux.c: Likewise.
28067 * sunrpc/svc_raw.c: Likewise.
28068 * sunrpc/svc_run.c: Likewise.
28069 * sunrpc/svc_simple.c: Likewise.
28070 * sunrpc/svc_tcp.c: Likewise.
28071 * sunrpc/svc_udp.c: Likewise.
28072 * sunrpc/svc_unix.c: Likewise.
28073 * sunrpc/svcauth_des.c: Likewise.
28074 * sunrpc/xcrypt.c: Likewise.
28075 * sunrpc/xdr.c: Likewise.
28076 * sunrpc/xdr_array.c: Likewise.
28077 * sunrpc/xdr_float.c: Likewise.
28078 * sunrpc/xdr_mem.c: Likewise.
28079 * sunrpc/xdr_rec.c: Likewise.
28080 * sunrpc/xdr_ref.c: Likewise.
28081 * sunrpc/xdr_sizeof.c: Likewise.
28082 * sunrpc/xdr_stdio.c: Likewise.
28084 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28087 2010-08-19 Andreas Schwab <schwab@redhat.com>
28089 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28091 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
28093 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28094 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28095 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28096 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28097 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28098 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28099 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28100 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28101 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28102 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28103 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28104 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28105 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28106 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28108 2010-07-26 Anton Blanchard <anton@samba.org>
28110 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28111 * malloc/arena.c (heap_trim): Likewise.
28113 2010-08-16 Ulrich Drepper <drepper@redhat.com>
28115 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28118 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28120 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28122 * sysdeps/i386/elf/Makefile: New file.
28124 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28126 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28127 from fanotify_init.
28128 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28131 2010-08-15 Ulrich Drepper <drepper@redhat.com>
28133 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28135 * sysdeps/multiarch/strcmp.S: Likewise.
28137 2010-08-14 Ulrich Drepper <drepper@redhat.com>
28139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28140 strncase_l-nonascii.
28141 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28142 Add strncase_l-ssse3.
28143 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28144 * sysdeps/x86_64/strcmp.S: Likewise.
28145 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28146 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28147 * sysdeps/x86_64/strncase.S: New file.
28148 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28149 * sysdeps/x86_64/strncase_l.S: New file.
28150 * string/Makefile (strop-tests): Add strncasecmp.
28151 * string/test-strncasecmp.c: New file.
28153 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28156 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28157 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28159 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28161 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28163 2010-08-12 Ulrich Drepper <drepper@redhat.com>
28165 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28166 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28167 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28169 2010-05-01 Alan Modra <amodra@gmail.com>
28171 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28172 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28173 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28174 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28175 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28176 tidying. Don't tail-call __sigjmp_save for static lib.
28177 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28179 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28180 (CALL_MCOUNT): Add eh info, and nop after bl.
28181 (TAIL_CALL_SYSCALL_ERROR): New macro.
28182 (PSEUDO_RET): Use it.
28183 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28184 Correct save location of integer regs and cr.
28185 (_dl_profile_resolve): Correct cr save location. Delete nops
28186 after bl when SHARED. Reduce cfi size a little by better
28187 placement of cfi directives.
28188 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28189 make a stack frame. Instead use parm save area as a temp.
28190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28191 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28193 Don't make a stack frame for parent, use parm save area.
28194 Increase child stack frame to 112 bytes. Don't save unused reg,
28195 and adjust reg usage. Set up cfi on error recovery and
28196 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28198 (__makecontext): Add dummy nop after jump to exit.
28199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28200 Use correct parm save area and cr save, reduce stack frame.
28201 Correct cfi for possible PSEUDO_RET frame setup.
28202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28203 Branch to local label emitted by PSEUDO_RET rather than
28206 2010-08-12 Andreas Schwab <schwab@redhat.com>
28209 * locale/programs/locale.c (print_assignment): New function.
28210 (show_locale_vars): Use it.
28212 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28214 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28216 (struct statfs64): Likewise.
28217 (_STATFS_F_FLAGS): Define.
28218 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28220 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28221 (ST_VALID): Define locally.
28222 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28223 __statvfs_getflags, use the provided value.
28224 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28225 __ASSUME_STATFS_F_FLAGS.
28227 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28229 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28230 Add sys/fanotify.h.
28231 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28232 fanotify_mask for GLIBC_2.13.
28233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28234 fanotify_init and fanotify_mark.
28235 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28236 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28240 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28241 prlimit64 for GLIBC_2.13.
28242 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28247 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28248 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28249 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28252 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28255 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28256 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28258 * nss/Makefile: Add rules to build and run tst-nss-test1.
28259 * shlib-versions: Add entry for libnss_test1.
28260 * nss/nss_test1.c: New file.
28261 * nss/tst-nss-test1.c: New file.
28263 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28264 (__nss_configure_lookup): Set appropriate entry in
28265 __nss_configure_lookup to true.
28266 * nss/nsswitch.h: Define enum with indeces of databases in
28267 databases and __nss_database_custom arrays. Declare
28268 __nss_database_custom.
28269 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28270 to avoid using nscd when custom rules are installed.
28271 * nss/getXXbyYY_r.c: Likewise.
28272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28274 * nss/nss_files/files-parse.c: Whitespace fixes.
28276 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28279 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28280 * posix/fnmatch_loop.c: Likewise.
28282 2010-07-17 Andi Kleen <ak@linux.intel.com>
28284 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28285 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28286 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28287 * Versions.def [GLIBC_2.13]: Add.
28289 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28291 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28292 Also fail if tpwd after pwuid call is NULL.
28294 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28296 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28297 when converting to ms.
28299 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28301 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28302 EOPNOTSUPP errors with ENOTTY.
28303 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28304 EOPNOTSUPP errors with ENOTTY.
28306 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28308 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28309 Add strcasecmp_l-ssse3.
28310 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28312 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28313 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28314 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28316 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28318 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28320 * string/Makefile (strop-tests): Add strcasecmp.
28321 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28322 strcasecmp_l-nonascii.
28323 (gen-as-const-headers): Add locale-defines.sym.
28324 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28325 * sysdeps/x86_64/strcasecmp.S: New file.
28326 * sysdeps/x86_64/strcasecmp_l.S: New file.
28327 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28328 * sysdeps/x86_64/locale-defines.sym: New file.
28329 * string/test-strcasecmp.c: New file.
28331 * string/test-strcasestr.c: Test both ends of the range of characters.
28332 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28334 2010-07-29 Roland McGrath <roland@redhat.com>
28337 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28339 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28341 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28344 2010-07-27 Andreas Schwab <schwab@redhat.com>
28346 * manual/memory.texi (Malloc Tunable Parameters): Document
28349 2010-07-26 Roland McGrath <roland@redhat.com>
28352 * configure.in (-fgnu89-inline check): Set and substitute
28353 gnu89_inline, not libc_cv_gnu89_inline.
28354 * configure: Regenerated.
28355 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28357 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28359 * string/test-strnlen.c: New file.
28360 * string/Makefile (strop-tests): Add strnlen.
28361 * string/tester.c (test_strnlen): Add a few more test cases.
28362 * string/tst-strlen.c: Better error reporting.
28364 * sysdeps/x86_64/strnlen.S: New file.
28366 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28368 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28369 lower-latency instructions.
28371 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28373 * string/test-strcasestr.c: New file.
28374 * string/test-strstr.c: New file.
28375 * string/Makefile (strop-tests): Add strstr and strcasestr.
28376 * string/str-two-way.h: Don't undefine MAX.
28377 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28379 2010-07-21 Andreas Schwab <schwab@redhat.com>
28381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28382 strcasestr-nonascii.
28383 (CFLAGS-strcasestr-nonascii.c): Define.
28384 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28386 Remove unused attribute.
28388 2010-07-20 Roland McGrath <roland@redhat.com>
28390 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28391 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28392 ld.so.cache was broken. With it, there is no way to disable dsocaps
28393 like LD_HWCAP_MASK can disable hwcaps.
28395 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28397 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28399 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28401 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28402 call in strcasestr.
28403 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28404 __strcasestr_sse42_nonascii.
28405 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28406 strcasestr-nonascii.c.
28407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28409 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28412 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28416 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28418 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28421 2010-07-06 Andreas Schwab <schwab@redhat.com>
28424 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28427 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28429 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28430 _PC_PIPE_BUF using F_GETPIPE_SZ.
28432 2010-07-05 Roland McGrath <roland@redhat.com>
28434 * manual/arith.texi (Rounding Functions): Fix rint description
28435 implicit in round description.
28437 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28439 * elf/Makefile: Fix linking for a few tests to make recent linker
28442 2010-06-30 Andreas Schwab <schwab@redhat.com>
28444 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28445 $(common-objpfx)libc_nonshared.a.
28447 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28449 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28450 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28451 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28452 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28453 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28454 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28455 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28456 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28471 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28472 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28473 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28474 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28475 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28476 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28477 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28478 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28479 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28480 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28481 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28482 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28498 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28500 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28501 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28502 * string/memmove.c (memmove): Renamed to ...
28503 (MEMMOVE): ...this. Default to memmove.
28504 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28505 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28508 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28509 mempcpy-ssse3-back memmove-ssse3-back.
28510 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28512 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28513 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28514 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28515 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28516 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28517 * sysdeps/x86_64/multiarch/memmove.c: New file.
28518 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28519 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28520 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28521 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28522 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28525 (index_Fast_Copy_Backward): Define.
28526 (HAS_ARCH_FEATURE): Define.
28527 (HAS_FAST_REP_STRING): Define.
28528 (HAS_FAST_COPY_BACKWARD): Define.
28530 2010-06-21 Andreas Schwab <schwab@redhat.com>
28532 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28533 Restore proper fallback handling.
28535 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28538 * posix/group_member.c (__group_member): Correct checking loop.
28540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28541 OOM in getpwuid_r correctly. Return error number when the caller
28542 should return, otherwise -1.
28543 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28544 call returning > 0 value.
28545 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28547 2010-06-07 Andreas Schwab <schwab@redhat.com>
28549 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28550 libc_nonshared.a from targets in modules-names.
28552 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28554 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28557 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28559 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28560 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28564 2010-06-02 Andreas Schwab <schwab@redhat.com>
28566 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28568 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28570 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28572 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28576 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28577 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28579 2010-06-14 Roland McGrath <roland@redhat.com>
28581 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28583 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28585 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28586 __REDIRECT followed by __THROW.
28587 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28588 * posix/getopt.h (getopt): Likewise.
28590 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28592 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28593 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28594 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28596 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28597 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28599 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28601 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28603 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28607 Properly check family and model.
28609 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28611 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28613 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28615 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28617 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28619 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28622 2010-05-19 Andreas Schwab <schwab@redhat.com>
28624 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28627 2010-05-21 Andreas Schwab <schwab@redhat.com>
28629 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28630 and internal_recvmmsg.
28631 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28632 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28633 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28634 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28636 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28637 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28638 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28640 2010-05-20 Andreas Schwab <schwab@redhat.com>
28642 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28644 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28646 POWER7 optimizations.
28647 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28648 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28650 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28652 * version.h: Update for 2.13 development version.
28654 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28656 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28657 exceptions. Return 0.
28659 2010-05-07 Roland McGrath <roland@redhat.com>
28661 * elf/ldconfig.c (main): Add a const.
28663 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28665 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28666 (args_options): Add no-idn option.
28667 (ahosts_keys_int): Add idn_flags to ai_flags.
28668 (parse_option): Handle 'i' option to clear idn_flags.
28670 * malloc/malloc.c (_int_free): Possible race in the most recently
28671 added check. Only act on the data if no current modification
28674 See ChangeLog.17 for earlier changes.