1 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5 (acos_downward_test_data): New variable.
6 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7 (acos_upward_test_data): New variable.
8 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9 (acosh_test_data): New variable.
10 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11 (asin_test_data): New variable.
12 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13 (asin_tonearest_test_data): New variable.
14 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15 (asin_towardzero_test_data): New variable.
16 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17 (asin_downward_test_data): New variable.
18 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19 (asin_upward_test_data): New variable.
20 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21 (asinh_test_data): New variable.
22 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23 (atan_test_data): New variable.
24 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25 (atanh_test_data): New variable.
26 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27 (cbrt_test_data): New variable.
28 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29 (ceil_test_data): New variable.
30 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31 (cos_test_data): New variable.
32 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33 (cos_tonearest_test_data): New variable.
34 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35 (cos_towardzero_test_data): New variable.
36 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37 (cos_downward_test_data): New variable.
38 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39 (cos_upward_test_data): New variable.
40 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41 (cosh_test_data): New variable.
42 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43 (cosh_tonearest_test_data): New variable.
44 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45 (cosh_towardzero_test_data): New variable.
46 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47 (cosh_downward_test_data): New variable.
48 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49 (cosh_upward_test_data): New variable.
50 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51 (erf_test_data): New variable.
52 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
53 (erfc_test_data): New variable.
54 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
55 (exp_test_data): New variable.
56 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57 (exp_tonearest_test_data): New variable.
58 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59 (exp_towardzero_test_data): New variable.
60 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61 (exp_downward_test_data): New variable.
62 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63 (exp_upward_test_data): New variable.
64 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65 (exp10_test_data): New variable.
66 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67 (exp2_test_data): New variable.
68 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
69 (expm1_test_data): New variable.
70 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
71 (fabs_test_data): New variable.
72 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
73 (floor_test_data): New variable.
74 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
75 (j0_test_data): New variable.
76 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
77 (j1_test_data): New variable.
78 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
79 (log_test_data): New variable.
80 (log_test): Run tests with RUN_TEST_LOOP_f_f.
81 (log10_test_data): New variable.
82 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
83 (log1p_test_data): New variable.
84 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
85 (log2_test_data): New variable.
86 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
87 (logb_test_data): New variable.
88 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
89 (logb_downward_test_data): New variable.
90 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
91 (nearbyint_test_data): New variable.
92 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
93 (rint_test_data): New variable.
94 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
95 (rint_tonearest_test_data): New variable.
96 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
97 (rint_towardzero_test_data): New variable.
98 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
99 (rint_downward_test_data): New variable.
100 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
101 (rint_upward_test_data): New variable.
102 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
103 (round_test_data): New variable.
104 (round_test): Run tests with RUN_TEST_LOOP_f_f.
105 (sin_test_data): New variable.
106 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
107 (sin_tonearest_test_data): New variable.
108 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
109 (sin_towardzero_test_data): New variable.
110 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
111 (sin_downward_test_data): New variable.
112 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
113 (sin_upward_test_data): New variable.
114 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
115 (sinh_test_data): New variable.
116 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
117 (sinh_tonearest_test_data): New variable.
118 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
119 (sinh_towardzero_test_data): New variable.
120 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
121 (sinh_downward_test_data): New variable.
122 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
123 (sinh_upward_test_data): New variable.
124 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
125 (sqrt_test_data): New variable.
126 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
127 (tan_test_data): New variable.
128 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
129 (tan_tonearest_test_data): New variable.
130 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
131 (tan_towardzero_test_data): New variable.
132 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
133 (tan_downward_test_data): New variable.
134 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
135 (tan_upward_test_data): New variable.
136 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
137 (tanh_test_data): New variable.
138 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
139 (tgamma_test_data): New variable.
140 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
141 (trunc_test_data): New variable.
142 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
143 (y0_test_data): New variable.
144 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
145 (y1_test_data): New variable.
146 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
147 (significand_test_data): New variable.
148 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
150 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
153 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
155 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
157 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
159 2013-05-10 Andreas Jaeger <aj@suse.de>
162 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
163 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
165 2013-05-10 Joseph Myers <joseph@codesourcery.com>
167 * math/gen-libm-test.pl (adjust_arg): New function.
168 (special_functions): Handle generating output in both functions
170 (parse_args): Likewise.
171 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
172 $in_func argument to parse_args.
173 * math/libm-test.inc (struct test_f_f_data): New type.
174 (IF_ROUND_INIT_): New macro.
175 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
176 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
177 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
178 (IF_ROUND_INIT_FE_UPWARD): Likewise.
179 (ROUND_RESTORE_): Likewise.
180 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
181 (ROUND_RESTORE_FE_TONEAREST): Likewise.
182 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
183 (ROUND_RESTORE_FE_UPWARD): Likewise.
184 (RUN_TEST_LOOP_f_f): New macro.
185 (acos_test_data): New variable.
186 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
187 (acos_tonearest_test_data): New variable.
188 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
190 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
192 * benchtests/bench-skeleton.c (startup): Fix coding style.
194 2013-05-10 Joseph Myers <joseph@codesourcery.com>
197 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
198 negative infinity argument.
199 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
200 negative infinity argument.
201 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
202 negative infinity argument.
203 * math/libm-test.inc (tgamma_test): Expect errno to be set for
206 2013-05-10 Florian Weimer <fweimer@redhat.com>
208 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
209 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
210 * iconv/iconv_prog.c (main): Likewise.
211 * locale/programs/charmap-dir.c (charmap_readdir)
212 (fopen_uncompressed): Likewise.
213 * locale/programs/locfile.c (siblings_uncached)
214 (write_locale_data): Use lstat64 instead of lstat.
215 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
218 2013-05-10 Andreas Jaeger <aj@suse.de>
221 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
225 2013-05-09 Carlos O'Donell <carlos@redhat.com>
227 * elf/dl-close.c (_dl_close_worker): Add comments.
229 2013-05-09 Joseph Myers <joseph@codesourcery.com>
232 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
234 (__ieee754_rem_pio2l): Update comments.
237 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
239 (__ieee754_rem_pio2l): Update comments.
241 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
242 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
244 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
247 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
248 (M_PI_34_LOG10El): Likewise.
249 (M_PI2_LOG10El): Likewise.
250 (M_PI4_LOG10El): Likewise.
251 (M_PI_LOG10El): Likewise.
253 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
257 2013-05-08 Joseph Myers <joseph@codesourcery.com>
259 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
260 (MINUS_ZERO_INIT): Likewise.
261 (PLUS_INFTY_INIT): Likewise.
262 (MINUS_INFTY_INIT): Likewise.
263 (QNAN_VALUE_INIT): Likewise.
264 (MAX_VALUE_INIT): Likewise.
265 (MIN_VALUE_INIT): Likewise.
266 (MIN_SUBNORM_VALUE_INIT): Likewise.
267 (plus_zero): Initialize with PLUS_ZERO_INIT.
268 (minus_zero): Initialize with MINUS_ZERO_INIT.
269 (plus_infty): Initialize with PLUS_INFTY_INIT.
270 (minus_infty): Initialize with MINUS_INFTY_INIT.
271 (qnan_value): Initialize with QNAN_VALUE_INIT.
272 (max_value): Initialize with MAX_VALUE_INIT.
273 (min_value): Initialize with MIN_VALUE_INIT.
274 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
276 * math/libm-test.inc (RUN_TEST_if_f): New macro.
277 (jn_test): Use TEST_if_f instead of TEST_ff_f.
278 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
279 (yn_test): Use TEST_if_f instead of TEST_ff_f.
281 * math/libm-test.inc (RUN_TEST_f_f): New macro.
282 (RUN_TEST_2_f): Likewise.
283 (RUN_TEST_ff_f): Likewise.
284 (RUN_TEST_fi_f): Likewise.
285 (RUN_TEST_fl_f): Likewise.
286 (RUN_TEST_fff_f): Likewise.
287 (RUN_TEST_c_f): Likewise.
288 (RUN_TEST_f_f1): Likewise.
289 (RUN_TEST_fF_f1): Likewise.
290 (RUN_TEST_fI_f1): Likewise.
291 (RUN_TEST_ffI_f1): Likewise.
292 (RUN_TEST_c_c): Likewise.
293 (RUN_TEST_cc_c): Likewise.
294 (RUN_TEST_f_i): Likewise.
295 (RUN_TEST_f_i_tg): Likewise.
296 (RUN_TEST_ff_i_tg): Likewise.
297 (RUN_TEST_f_b): Likewise.
298 (RUN_TEST_f_b_tg): Likewise.
299 (RUN_TEST_f_l): Likewise.
300 (RUN_TEST_f_L): Likewise.
301 (RUN_TEST_sincos): Likewise.
302 * math/gen-libm-test.pl (new_test): Take new argument to indicate
303 whether to show exceptions. Do not include ");\n" in return
305 (special_functions): Output call to RUN_TEST_sincos instead of
306 check_float calls. Update calls to new_test.
307 (parse_args): Output call to single RUN_TEST_* macro instead of
308 check_* calls and other assignments. Update calls to new_test.
314 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
315 input to result for tgamma overflow.
316 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
317 (gamma_coeff): New variable.
319 (gamma_positive): New function.
320 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
321 underflow here. Use gamma_positive instead of exp (lgamma) for
323 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
324 (gamma_coeff): New variable.
326 (gammaf_positive): New function.
327 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
328 underflow here. Use gamma_positive instead of exp (lgamma) for
330 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
331 (gamma_coeff): New variable.
333 (gammal_positive): New function.
334 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
335 underflow here. Use gamma_positive instead of exp (lgamma) for
337 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
338 (gamma_coeff): New variable.
340 (gammal_positive): New function.
341 (__ieee754_gammal_r): Handle positive infinity, overflow and
342 underflow here. Handle NaN the same as positive infinity. Remove
343 check x < 0xffffffff for negative integers. Use gamma_positive
344 instead of exp (lgamma) for other arguments.
345 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
346 (gamma_coeff): New variable.
348 (gammal_positive): New function.
349 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
350 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
351 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
352 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
353 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
354 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
355 * sysdeps/generic/math_private.h (__gamma_productf): New
357 (__gamma_product): Likewise.
358 (__gamma_productl): Likewise.
359 * math/Makefile (libm-calls): Add gamma_product.
360 * math/libm-test.inc (tgamma_test): Add more tests.
361 * sysdeps/i386/fpu/libm-test-ulps: Update.
362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
364 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
366 * benchtests/bench-skeleton.c (main): Preheat CPU.
368 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
370 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
372 2013-05-07 Roland McGrath <roland@hack.frob.com>
374 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
375 and _dl_skip_args_internal.
377 2013-05-07 Carlos O'Donell <carlos@redhat.com>
379 * manual/message.texi (Message Translation): Talk about users.
380 Message to key mapping impacts design.
382 2013-05-06 Roland McGrath <roland@hack.frob.com>
384 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
386 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
388 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
389 * sysdeps/wordsize-64/glob64.c: ... here.
391 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
392 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
395 * debug/getlogin_r_chk.c: Moved to ...
396 * login/getlogin_r_chk.c: ... here.
397 * debug/Makefile (routines): Move getlogin_r_chk to ...
398 * login/Makefile (routines): ... here.
399 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
400 * login/Versions (libc: GLIBC_2.4): ... here.
402 * io/poll.c (__poll): Renamed from poll.
404 (poll): Define as weak alias.
406 * debug/ptsname_r_chk.c: Moved to ...
407 * login/ptsname_r_chk.c: ... here.
408 * debug/Makefile (routines): Move ptsname_r_chk to ...
409 * login/Makefile (routines): ... here.
410 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
411 * login/Versions (libc: GLIBC_2.4): ... here.
413 * posix/getlogin.c: Moved to ...
414 * login/getlogin.c: ... here.
415 * posix/getlogin_r.c: Moved to ...
416 * login/getlogin_r.c: ... here.
417 * posix/getlogin_r.c: Moved to ...
418 * login/getlogin_r.c: ... here.
419 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
420 * login/Makefile (routines): ... here.
421 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
422 * login/Versions (libc: GLIBC_2.0): ... here.
424 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
425 (setrlimit): Define as weak alias.
427 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
428 Call __ names for open, ftruncate, and close.
429 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
430 (truncate): Define as weak alias.
432 2013-05-06 Joseph Myers <joseph@codesourcery.com>
434 * math/gen-libm-test.pl (parse_args): Initialize x before each
435 test of frexp, modf and remquo.
437 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
440 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
444 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
446 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
448 2013-05-06 Roland McGrath <roland@hack.frob.com>
450 * elf/dl-writev.h: New file.
451 * elf/dl-misc.c: Include it.
452 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
453 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
455 2013-05-04 Joseph Myers <joseph@codesourcery.com>
457 * math/libm-test.inc (noXFails): Remove variable.
458 (noXPasses): Likewise.
459 (BUILD_COMPLEX_INT): Remove macro.
460 (print_screen): Remove xfail argument.
461 (print_screen_max_error): Likewise.
462 (update_stats): Likewise.
463 (print_max_error): Likewise. Update calls to other affected
465 (print_complex_max_error): Likewise.
466 (test_single_exception): Update calls to print_screen.
467 (test_single_errno): Likewise.
468 (check_float_internal): Remove xfail argument. Update calls to
469 other affected functions.
470 (check_float): Likewise.
471 (check_complex): Likewise.
472 (check_int): Likewise.
473 (check_long): Likewise.
474 (check_bool): Likewise.
475 (check_longlong): Likewise.
476 (main): Don't print noXFails and noXPasses.
477 * math/gen-libm-test.pl (top level): Don't mention expected
478 failure handling in comment.
479 (new_test): Don't handle expected failures.
480 (parse_args): Don't mention expected failure handling in comment.
481 (generate_testfile): Don't handle expected failures.
482 (parse_ulps): Likewise.
483 (print_ulps_file): Likewise.
484 (get_failure): Remove function.
485 (output_test): Don't handle expected failures.
486 * make/README.libm-test: Don't mention expected failure handling.
488 * math/libm-test.inc (plus_zero): Make const. Add initializer.
489 (minus_zero): Likewise.
490 (plus_infty): Likewise.
491 (minus_infty): Likewise.
492 (qnan_value): Likewise.
493 (max_value): Likewise.
494 (min_value): Likewise.
495 (min_subnorm_value): Likewise.
496 (initialize): Do not initialize those variables dynamically.
498 2013-05-03 Roland McGrath <roland@hack.frob.com>
500 * io/open.c (__open_2): Moved to ...
501 * io/open_2.c: ... this new file.
502 * io/open64.c (__open64_2): Moved to ...
503 * io/open64_2.c: ... this new file.
504 * io/openat.c (__openat_2): Moved to ...
505 * io/openat_2.c: ... this new file.
506 * io/openat64.c (__openat64_2): Moved to ...
507 * io/openat64_2.c: ... this new file.
508 * io/Makefile (routines): Add them.
509 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
510 * sysdeps/unix/sysv/linux/open_2.c: File removed.
511 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
512 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
513 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
514 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
515 (__openat64): Add hidden_ver.
516 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
517 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
519 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
520 Separately conditionalize setting of GLRO(dl_sysinfo) so
521 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
522 as well, but the actual setting is only under [NEED_DL_SYSINFO].
524 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
526 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
527 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
529 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
530 * sysdeps/unix/sysv/linux/powerpc/init-first.c
531 (_libc_vdso_platform_setup): Add __vdso_time initialization.
532 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
533 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
535 2013-05-03 Joseph Myers <joseph@codesourcery.com>
537 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
540 * math/libm-test.inc (hypot_test): Do not use
541 IGNORE_ZERO_INF_SIGN.
543 2013-05-03 Andreas Jaeger <aj@suse.de>
545 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
547 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
548 (PF_MAX): Adjust for VSOCK change.
550 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
554 2013-05-02 Carlos O'Donell <carlos@redhat.com>
557 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
558 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
559 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
561 2013-05-02 David S. Miller <davem@davemloft.net>
563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
565 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
567 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
569 2013-05-01 Roland McGrath <roland@hack.frob.com>
571 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
573 2013-05-01 Richard Smith <richard@metafoo.co.uk>
576 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
577 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
578 Use __attribute__ ((__gnu_inline__)).
579 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
580 Don't use __attribute__ ((__gnu_inline__)).
582 2013-05-01 Joseph Myers <joseph@codesourcery.com>
585 * math/s_catan.c (__catan): Handle small real or imaginary part of
586 input specially to avoid spurious underflow.
587 * math/s_catanf.c (__catanf): Likewise.
588 * math/s_catanh.c (__catanh): Likewise.
589 * math/s_catanhf.c (__catanhf): Likewise.
590 * math/s_catanhl.c (__catanhl): Likewise.
591 * math/s_catanl.c (__catanl): Likewise.
592 * math/libm-test.inc (catan_test): Add more tests.
593 (catanh_test): Likewise.
594 * sysdeps/i386/fpu/libm-test-ulps: Update.
595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
597 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
601 2013-04-30 Joseph Myers <joseph@codesourcery.com>
604 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
605 accurately for denominator in atan2.
606 * math/s_catanf.c (__catanf): Likewise.
607 * math/s_catanh.c (__catanh): Likewise.
608 * math/s_catanhf.c (__catanhf): Likewise.
609 * math/s_catanhl.c (__catanhl): Likewise.
610 * math/s_catanl.c (__catanl): Likewise.
611 * math/libm-test.inc (catan_test): Add more tests.
612 (catanh_test): Likewise.
613 * sysdeps/i386/fpu/libm-test-ulps: Update.
614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
616 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
618 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
620 * benchtests/Makefile (bench): Remove slow benchmarks.
621 * benchtests/atan-inputs: Add slow benchmark inputs.
622 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
623 (BENCH_FUNC): Accept variant offset.
625 * benchtests/bench-skeleton.c (main): Run benchmark for each
627 * benchtests/cos-inputs: Add slow benchmark inputs.
628 * benchtests/exp-inputs: Likewise.
629 * benchtests/pow-inputs: Likewise.
630 * benchtests/sin-inputs: Likewise.
631 * benchtests/slowatan-inputs: Remove.
632 * benchtests/slowatan.c: Remove.
633 * benchtests/slowcos-inputs: Remove.
634 * benchtests/slowcos.c: Remove.
635 * benchtests/slowexp-inputs: Remove.
636 * benchtests/slowexp.c: Remove.
637 * benchtests/slowpow-inputs: Remove.
638 * benchtests/slowpow.c: Remove.
639 * benchtests/slowsin-inputs: Remove.
640 * benchtests/slowsin.c: Remove.
641 * benchtests/slowtan-inputs: Remove.
642 * benchtests/slowtan.c: Remove.
643 * benchtests/tan-inputs: Add slow benchmark inputs.
644 * scripts/bench.pl: Parse comments and directives.
646 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
648 ($(objpfx)bench-%.c): Remove *-ITER.
649 * benchtests/bench-modf.c: Remove definition of ITER.
650 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
651 (main): Loop for DURATION seconds instead of fixed number of
653 * scripts/bench.pl: Don't expect iterations in parameters.
655 2013-04-29 Roland McGrath <roland@hack.frob.com>
657 * io/fchdir.c (__fchdir): Renamed from fchdir.
658 (fchdir): Define as weak alias.
660 2013-04-29 Joseph Myers <joseph@codesourcery.com>
662 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
663 (ERRNO_EDOM): Likewise.
664 (ERRNO_ERANGE): Likewise.
665 (noErrnoTests): New variable.
666 (init_max_error): Set errno to 0.
667 (test_single_errno): New function.
668 (test_errno): Likewise.
669 (check_float_internal): Call test_errno. Set errno to 0.
670 (check_complex): Refer to errno tests in comment.
671 (check_int): Call test_errno. Set errno to 0.
672 (check_long): Likewise.
673 (check_bool): Likewise.
674 (check_longlong): Likewise.
675 (cos_test): Use ERRNO_* flags for errno tests instead of
677 (expm1_test): Likewise.
678 (fmod_test): Likewise.
679 (ilogb_test): Likewise.
680 (lgamma_test): Likewise.
681 (pow_test): Likewise.
682 (remainder_test): Likewise.
683 (sin_test): Likewise.
684 (tan_test): Likewise.
686 (initialize): Set errno to 0.
687 (main): Print number of errno tests.
688 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
690 2013-04-29 Andreas Jaeger <aj@suse.de>
693 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
697 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
698 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
702 * stdlib/random.c (__initstate): Return NULL if
706 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
707 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
710 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
714 2013-04-29 Joseph Myers <joseph@codesourcery.com>
716 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
718 (casin_test): Likewise.
719 (casinh_test): Likewise.
721 2013-04-27 Joseph Myers <joseph@codesourcery.com>
724 * math/s_catan.c (__catan): Handle arguments with large real or
725 imaginary part separately without squaring.
726 * math/s_catanf.c (__catanf): Likewise.
727 * math/s_catanh.c (__catanh): Likewise.
728 * math/s_catanhf.c (__catanhf): Likewise.
729 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
731 (__catanhl): Handle arguments with large real or imaginary part
732 separately without squaring.
733 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
735 (__catanl): Handle arguments with large real or imaginary part
736 separately without squaring.
737 * math/libm-test.inc (catan_test): Add more tests.
738 (catanh_test): Likewise.
739 * sysdeps/i386/fpu/libm-test-ulps: Update.
740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
742 2013-04-27 Andreas Jaeger <aj@suse.de>
745 * stdlib/stdlib.h: Update guards for qecvt.
746 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
749 2013-04-27 Allan McRae <allan@archlinux.org>
751 * sysdeps/i386/fpu/libm-test-ulps: Update.
753 2013-04-26 Joseph Myers <joseph@codesourcery.com>
756 * math/s_catan.c: Include <float.h>.
757 (__catan): Ensure underflow exception occurs for underflowed
759 * math/s_catanf.c: Include <float.h>.
760 (__catanf): Ensure underflow exception occurs for underflowed
762 * math/s_catanh.c: Include <float.h>.
763 (__catanh): Ensure underflow exception occurs for underflowed
765 * math/s_catanhf.c: Include <float.h>.
766 (__catanhf): Ensure underflow exception occurs for underflowed
768 * math/s_catanhl.c: Include <float.h>.
769 (__catanhl): Ensure underflow exception occurs for underflowed
771 * math/s_catanl.c: Include <float.h>.
772 (__catanl): Ensure underflow exception occurs for underflowed
774 * math/libm-test.inc (catan_test): Add more tests.
775 (catanh_test): Likewise.
778 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
780 * math/s_ccoshf.c (__ccoshf): Likewise.
781 * math/s_ccoshl.c (__ccoshl): Likewise.
782 * math/s_csin.c (__csin): Likewise.
783 * math/s_csinf.c (__csinf): Likewise.
784 * math/s_csinh.c (__csinh): Likewise.
785 * math/s_csinhf.c (__csinhf): Likewise.
786 * math/s_csinhl.c (__csinhl): Likewise.
787 * math/s_csinl.c (__csinl): Likewise.
788 * math/libm-test.inc (ccos_test): Add more tests.
789 (ccosh_test): Likewise.
790 (csin_test): Likewise.
791 (csinh_test): Likewise.
793 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
795 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
796 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
797 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
798 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
799 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
800 powerpc/power5+/fpu folders.
801 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
804 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
808 2013-04-25 Joseph Myers <joseph@codesourcery.com>
810 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
811 additions to variable.
812 [$(config-machine) = x86_64] (modules-names): Likewise.
813 ($(objpfx)tst-audit3): Remove dependency.
814 ($(objpfx)tst-audit3.out): Likewise.
815 ($(objpfx)tst-audit4): Likewise.
816 ($(objpfx)tst-audit4.out): Likewise.
817 ($(objpfx)tst-audit5): Likewise.
818 ($(objpfx)tst-audit5.out): Likewise.
819 ($(objpfx)tst-audit6): Likewise.
820 ($(objpfx)tst-audit6.out): Likewise.
821 ($(objpfx)tst-audit7): Likewise.
822 ($(objpfx)tst-audit7.out): Likewise.
823 (tst-audit3-ENV): Remove variable.
824 (tst-audit4-ENV): Likewise.
825 (tst-audit5-ENV): Likewise.
826 (tst-audit6-ENV): Likewise.
827 (tst-audit7-ENV): Likewise.
828 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
829 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
830 addition to variable.
831 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
832 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
833 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
834 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
835 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
836 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
837 tst-audit3, tst-audit4 and tst-audit5.
838 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
839 tst-audit6 and tst-audit7.
840 [$(subdir) = elf] (modules-names): Add audit modules for those
842 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
843 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
844 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
845 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
846 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
847 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
848 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
849 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
850 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
851 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
852 [$(subdir) = elf] (tst-audit3-ENV): New variable.
853 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
854 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
855 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
856 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
857 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
859 [$(subdir) = elf && $(config-cflags-avx) = yes]
860 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
861 [$(subdir) = elf && $(config-cflags-avx) = yes]
862 (CFLAGS-tst-auditmod4a.c): Likewise.
863 [$(subdir) = elf && $(config-cflags-avx) = yes]
864 (CFLAGS-tst-auditmod4b.c): Likewise.
865 [$(subdir) = elf && $(config-cflags-avx) = yes]
866 (CFLAGS-tst-auditmod6b.c): Likewise.
867 [$(subdir) = elf && $(config-cflags-avx) = yes]
868 (CFLAGS-tst-auditmod6c.c): Likewise.
869 [$(subdir) = elf && $(config-cflags-avx) = yes]
870 (CFLAGS-tst-auditmod7b.c): Likewise.
871 * elf/tst-audit3.c: Move to ...
872 * sysdeps/x86_64/tst-audit3.c: ... here.
873 * elf/tst-audit4.c: Move to ...
874 * sysdeps/x86_64/tst-audit4.c: ... here.
875 * elf/tst-audit5.c: Move to ...
876 * sysdeps/x86_64/tst-audit5.c: ... here.
877 * elf/tst-audit6.c: Move to ...
878 * sysdeps/x86_64/tst-audit6.c: ... here.
879 * elf/tst-audit7.c: Move to ...
880 * sysdeps/x86_64/tst-audit7.c: ... here.
881 * elf/tst-auditmod3a.c: Move to ...
882 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
883 * elf/tst-auditmod3b.c: Move to ...
884 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
885 * elf/tst-auditmod4a.c: Move to ...
886 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
887 * elf/tst-auditmod4b.c: Move to ...
888 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
889 * elf/tst-auditmod5a.c: Move to ...
890 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
891 * elf/tst-auditmod5b.c: Move to ...
892 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
893 * elf/tst-auditmod6a.c: Move to ...
894 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
895 * elf/tst-auditmod6b.c: Move to ...
896 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
897 * elf/tst-auditmod6c.c: Move to ...
898 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
899 * elf/tst-auditmod7a.c: Move to ...
900 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
901 * elf/tst-auditmod7b.c: Move to ...
902 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
904 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
907 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
908 define unconditionally.
909 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
910 define unconditionally.
911 (INT8_C, INT16_C, etc.): Likewise.
913 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
915 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
916 __ehdr_start with hidden visibility.
918 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
920 2013-04-24 Carlos O'Donell <carlos@redhat.com>
922 * math/libm-test.inc (cos_test): Use accurate hex constants.
923 (sincost_test): Likewise.
925 2013-04-24 Joseph Myers <joseph@codesourcery.com>
927 * math/libm-test.inc (catan_test): Add more tests.
928 (catanh_test): Likewise.
930 * math/s_catanf.c (__catanf): Use suffixed floating-point
932 * math/s_catanhf.c (__catanhf): Likewise.
933 * math/s_catanhl.c (__catanhl): Likewise.
934 * math/s_catanl.c (__catanl): Likewise.
937 * math/s_catan.c (__catan): Calculate imaginary part of result
938 with log1p not log unless computing log of number close to 0.
939 * math/s_catanf.c (__catanf): Likewise.
940 * math/s_catanl.c (__catanl): Likewise.
941 * math/s_catanh.c (__catanh): Calculate real part of result with
942 log1p not log unless computing log of number close to 0.
943 * math/s_catanhf.c (__catanhf): Likewise.
944 * math/s_catanhl.c (__catanhl): Likewise.
945 * math/libm-test.inc (catan_test): Add more tests.
946 (catanh_test): Likewise.
947 * sysdeps/i386/fpu/libm-test-ulps: Update.
948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
950 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
952 * benchtests/Makefile: Mention files in which fast and slow
953 paths of math functions are implemented.
955 2013-04-23 Roland McGrath <roland@hack.frob.com>
957 * sysdeps/posix/timespec_get.c: New file.
959 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
961 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
963 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
965 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
966 powerpc/power5/fpu folders.
967 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
968 * benchtests/Makefile: Add modf testcase.
969 * benchtests/bench-modf.c: New file: Benchmark test for mo
971 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
974 * time/Makefile (tests): Add tst-strptime-whitespace.
975 * time/strptime_l.c (get_number): Use ISSPACE.
976 (__strptime_internal): Likewise.
977 * time/tst-strptime-whitespace.c: New test case.
979 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
981 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
983 (_nss_files_init): Set it here.
985 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
987 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
988 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
991 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
993 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
995 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1000 2013-04-21 David S. Miller <davem@davemloft.net>
1002 * po/ru.po: Update Russion translation from translation project.
1004 2013-04-17 Adam Conrad <adconrad@0c3.net>
1006 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1009 2013-04-17 Carlos O'Donell <carlos@redhat.com>
1011 * configure.in: Remove i386 configure warning. Remove i386 case.
1012 * configure: Regenerate.
1013 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1014 Add example to error message.
1015 * sysdeps/i386/configure: Regenerate.
1017 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1019 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1021 * benchtests/cos-inputs: New file.
1022 * benchtests/slowcos-inputs: New file.
1023 * benchtests/slowcos.c: New file.
1024 * benchtests/slowtan-inputs: New file.
1025 * benchtests/slowtan.c: New file.
1026 * benchtests/tan-inputs: New file.
1028 2013-04-16 Roland McGrath <roland@hack.frob.com>
1030 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1033 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1035 * benchtests/Makefile: Include cppflags-iterator.mk to add
1036 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1038 * Makefile.in (bench-clean): New target.
1039 * benchtests/Makefile (bench-clean): Likewise.
1041 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1043 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1045 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1047 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1049 2013-04-15 Andreas Schwab <schwab@suse.de>
1051 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1052 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1053 * nscd/pwdcache.c (cache_addpw): Likewise.
1054 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1057 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1059 * benchtests/Makefile (bench): Write all output to
1060 bench-out.tmp together.
1062 2013-04-15 Andreas Schwab <schwab@suse.de>
1064 * nscd/nscd.c (main): Don't fork again after closing files.
1066 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1068 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1070 * benchtests/Rules (bench-deps): Collect dependencies into a
1071 single variable. Add Makefile to dependencies.
1072 ($(objpfx)bench-%.c): Depend on bench-deps.
1074 2013-04-12 Roland McGrath <roland@hack.frob.com>
1075 Xavier Roche <roche+kml2@exalead.com>
1078 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1079 just that it's a file descriptor.
1080 * manual/llio.texi (Synchronizing AIO Operations): Update description
1081 for EBADF error from aio_fsync.
1083 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1085 * Rules (bench): Move target definition...
1086 * benchtests/Makefile: ... here.
1088 2013-04-11 Carlos O'Donell <carlos@redhat.com>
1090 * math/libm-test.inc (cos_test): Fix PI/2 test.
1091 (sincos_test): Likewise.
1092 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1093 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1095 2013-04-11 Andreas Schwab <schwab@suse.de>
1098 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1099 accept exponent character only when digits were seen.
1100 * stdio-common/Makefile (tests): Add bug26.
1101 * stdio-common/bug26.c: New file.
1104 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1107 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1109 * Makeconfig (rtld-prefix): Define built linker prefix.
1110 * Rules (run-bench): Use it.
1111 * math/Makefile (run-regen-ulps): Likewise.
1113 * Rules (bench): Remove eval.
1115 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1116 Roland McGrath <roland@hack.frob.com>
1117 Ondrej Bilka <neleai@seznam.cz>
1120 * time/getdate.c: Include ctype.h and alloca.h.
1121 (__getdate_r): Trim leading and trailing spaces of input.
1122 * time/tst-getdate.c (tests): Add tests with leading and
1125 2013-04-08 Roland McGrath <roland@hack.frob.com>
1128 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1129 when computing value.
1131 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1133 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1134 Use testrun.sh to run libm tests.
1137 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1139 2013-04-06 Marko Myllynen <myllynen@redhat.com>
1142 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1144 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1146 * Makefile.in (regen-ulps): New target.
1147 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1148 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1149 [ifneq (no,$(PERL)] (regen-ulps): New target.
1150 [ifeq (no,$(PERL)] (regen-ulps): New target.
1151 * math/libm-test.inc (ulps_file_name): Define.
1152 (output_dir): New variable.
1153 (options): Add "output-dir" option.
1154 (parse_opt): Handle 'o' case.
1155 (main): If output_dir is non-NULL use it as a prefix
1157 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1159 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1162 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1163 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1164 fail configure if __sync_val_compare_and_swap is not inlined.
1165 * sysdeps/i386/configure: Regenerate.
1166 * configure.in: Build for i686 when configured for i386.
1167 * configure: Regenerate.
1168 * README: Remove i386 reference.
1170 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1172 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1173 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1175 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1177 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1178 (lmsnanval): New variables.
1179 (F): Add conversion tests.
1180 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1181 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1183 * stdio-common/tstdiomisc.c (F): Properly collect individual
1187 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1188 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1189 Instead, use input NaN values or generate a qNaN by arithmetic
1190 operation. Also fix bugs to comply with the standard.
1191 * math/libm-test.inc (remainder_test): Add more tests.
1194 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1196 input NaN values or generate a qNaN by arithmetic operation.
1198 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1201 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1204 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1207 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1209 * math/s_cexpf.c (__cexpf): Likewise.
1210 * math/s_cexpl.c (__cexpl): Likewise.
1211 * math/libm-test.inc (cexp_test): Add more tests.
1213 2013-04-03 Andreas Schwab <schwab@suse.de>
1216 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1217 order arrays from heap if bigger than alloca cutoff.
1219 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1221 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1222 (SNAN_TESTS_double): Refer to GCC PR56831.
1223 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1226 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1228 * Rules (bench): Move bench.out after the run is complete.
1230 * Rules (bench): Echo currently running benchmark.
1232 * benchtests/Makefile (bench): Add atan and slowatan.
1233 * benchtests/atan-inputs: New file.
1234 * benchtests/slowatan-inputs: New file.
1235 * benchtests/slowatan.c: New file.
1237 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1238 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1242 * sysdeps/unix/sysv/linux/kernel-features.h
1243 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1244 __ASSUME_XFS_RESTRICTED_CHOWN.
1245 * sysdeps/unix/sysv/linux/pathconf.c
1246 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1247 Save and restore errno.
1249 2013-04-02 Joseph Myers <joseph@codesourcery.com>
1252 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1253 arguments using __kernel_casinh.
1254 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1255 arguments using __kernel_casinhf.
1256 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1257 arguments using __kernel_casinhl.
1258 * math/libm-test.inc (cacosh_test): Add more tests.
1259 * sysdeps/i386/fpu/libm-test-ulps: Update.
1260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1262 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1264 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1267 * bench/Makefile (bench): Add sin and slowsin.
1268 * benchtests/sin-inputs: New file.
1269 * benchtests/slowsin-inputs: New file.
1270 * benchtests/slowsin.c: New file.
1272 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1273 (bench): Add slowexp and slowpow.
1274 (exp-ITER): Increase iterations.
1275 (pow-ITER): Likewise.
1276 * benchtests/exp-inputs: Change input.
1277 * benchtests/pow-inputs: Likewise.
1278 * benchtests/slowexp-inputs: New file.
1279 * benchtests/slowexp.c: New file.
1280 * benchtests/slowpow-inputs: New file.
1281 * benchtests/slowpow.c: New file.
1283 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1285 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1287 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1288 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1289 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1290 * benchtests/Makefile: Add rint benchtest.
1291 * benchtests/rint-inputs: Input for rint benchtest.
1293 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1295 * Versions.def (libm): Add GLIBC_2.18.
1296 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1297 hidden libm prototypes.
1298 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1299 * math/Makefile (libm-calls): Add s_issignaling.
1300 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1301 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1302 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1304 * math/math.h [__USE_GNU] (issignaling): New macro.
1305 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1306 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1307 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1308 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1311 * manual/arith.texi (issignaling): New section.
1312 * manual/libm-err-tab.pl (@all_functions): Update comment.
1313 * math/gen-libm-test.pl (parse_args): Apply special handling for
1315 * math/libm-test.inc (print_float, issignaling_test): New
1317 (check_float_internal): Add issignaling checks.
1318 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1320 * sysdeps/powerpc/math-tests.h: New file.
1321 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1323 * math/test-snan.c (TEST_FUNC): Likewise.
1325 2013-03-30 David S. Miller <davem@davemloft.net>
1327 * po/de.po: Update from translation team.
1329 2013-03-30 Joseph Myers <joseph@codesourcery.com>
1332 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1333 imaginary part less than 1.0 and real part less than 0.5
1335 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1336 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1337 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1338 (cacos_test): Add more tests.
1339 (casin_test): Likewise.
1340 (casinh_test): Likewise.
1341 * sysdeps/i386/fpu/libm-test-ulps: Update.
1342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1344 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1346 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1349 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1350 (__pow_mp): Replace ONE and MONE with their values.
1351 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1353 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1354 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1355 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1356 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1358 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1360 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1361 (__pow_mp): Replace ZERO and MZERO with their values.
1362 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1363 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1364 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1365 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1366 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1367 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1370 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1372 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1374 2013-03-28 Roland McGrath <roland@hack.frob.com>
1376 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1377 Declare with __attribute__ ((weak)).
1378 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1379 Call __call_tls_dtors only if it's not NULL.
1381 2013-03-28 Roland McGrath <roland@hack.frob.com>
1383 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1384 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1385 magic __ehdr_start linker symbol if it's defined.
1386 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1387 them up here if it was already done.
1389 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1390 (_dl_aux_init): Use const in cast when setting it.
1391 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1392 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1393 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1395 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1397 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1398 * csu/libc-tls.c: Nor here.
1399 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1401 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1402 (__libc_message): Never call vsyslog.
1404 2013-03-28 Alan Modra <amodra@gmail.com>
1406 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1408 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1411 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1414 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1418 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1421 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1422 Don't add gid passed as argument.
1424 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1426 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1429 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1430 imaginary part between 1.0 and 1.5 and real part less than 0.5
1432 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1433 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1434 * math/libm-test.inc (cacos_test): Add more tests.
1435 (casin_test): Likewise.
1436 (casinh_test): Likewise.
1437 * sysdeps/i386/fpu/libm-test-ulps: Update.
1438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1440 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1442 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1446 (__dbl_mp): Likewise.
1447 (add_magnitudes): Likewise.
1448 (sub_magnitudes): Likewise.
1456 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1458 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1459 (__dubcos): Likewise.
1460 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1461 (__ieee754_acos): Likewise.
1462 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1463 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1465 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1466 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1468 (my_log2): Likewise.
1469 (checkint): Likewise.
1470 * sysdeps/ieee754/dbl-64/e_remainder.c
1471 (__ieee754_remainder): Likewise.
1472 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1473 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1475 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1477 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1478 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1479 MANTISSA_STORE_T to store computations on mantissa. Use
1480 macros for rounding and division.
1482 (__dbl_mp): Likewise.
1483 (add_magnitudes): Likewise.
1484 (sub_magnitudes): Likewise.
1487 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1488 powers of two in terms of TWOPOW macro.
1489 (mp_no): Make type of mantissa as MANTISSA_T.
1490 [!RADIXI]: Define RADIXI.
1491 [!TWO52]: Define TWO52.
1492 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1494 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1496 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1497 llroundl symbol when building for PPC32.
1499 2013-03-24 Mark H Weaver <mhw@netris.org>
1501 * manual/arith.texi (Normalization Functions): Fix prototypes for
1502 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1504 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1507 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1508 high value to check if expl overflow.
1509 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1510 to check for underflow and overflow.
1511 * math/libm-test.inc: Add exp test.
1513 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1516 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1519 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1521 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1524 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1526 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1527 wrap blocks consisting of several statements.
1529 * sysdeps/generic/math-tests.h: New file.
1530 * sysdeps/i386/fpu/math-tests.h: Likewise.
1531 * math/test-snan.c: Include it.
1532 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1534 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1537 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1538 (__ieee754_j0l): Do not improve calculations using cos of twice
1539 input for inputs above LDBL_MAX / 2.0L.
1540 (__ieee754_y0l): Likewise.
1541 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1542 (__ieee754_j1l): Do not improve calculations using cos of twice
1543 input for inputs above LDBL_MAX / 2.0L.
1544 (__ieee754_y1l): Likewise.
1545 * math/libm-test.inc (j0_test): Add another test.
1546 (j1_test): Likewise.
1547 (y0_test): Likewise.
1548 (y1_test): Likewise.
1549 * sysdeps/i386/fpu/libm-test-ulps: Update.
1551 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1553 * Rules ($(objpfx)bench-%.c): Include code from a C source
1556 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1559 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1560 imaginary part 1.0 and real part less than 0.5 specially.
1561 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1562 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1563 * math/libm-test.inc (cacos_test): Add more tests.
1564 (casin_test): Likewise.
1565 (casinh_test): Likewise.
1566 * sysdeps/i386/fpu/libm-test-ulps: Update.
1567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1569 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1571 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1572 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1574 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1576 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1577 * config.make.in (config-cflags-sse4): Remove variable.
1578 (config-cflags-avx): Likewise.
1579 (config-cflags-sse2avx): Likewise.
1580 (config-cflags-novzeroupper): Likewise.
1581 (config-asflags-i686): Likewise.
1582 (have-mfma4): Likewise.
1583 (have-as-vis3): Likewise.
1585 * configure.in (MIG): Do not AC_SUBST.
1586 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1587 (libc_cv_cc_sse4): Do not AC_SUBST.
1588 (libc_cv_cc_avx): Likewise.
1589 (libc_cv_cc_sse2avx): Likewise.
1590 (libc_cv_cc_novzeroupper): Likewise.
1591 (libc_cv_cc_fma4): Likewise.
1592 (libc_cv_as_i686): Likewise.
1593 (libc_cv_sparc_as_vis3): Likewise.
1594 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1596 (config-asflags-i686): Likewise.
1597 (config-cflags-avx): Likewise.
1598 (config-cflags-sse2avx): Likewise.
1599 (have-mfma4): Likewise.
1600 (config-cflags-novzeroupper): Likewise.
1601 * sysdeps/mach/configure.in (MIG): Likewise.
1602 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1603 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1605 (config-cflags-avx): Likewise.
1606 (config-cflags-sse2avx): Likewise.
1607 (have-mfma4): Likewise.
1608 (config-cflags-novzeroupper): Likewise.
1609 * configure: Regenerated.
1610 * sysdeps/i386/configure: Likewise.
1611 * sysdeps/mach/configure: Likewise.
1612 * sysdeps/sparc/configure: Likewise.
1613 * sysdeps/x86_64/configure: Likewise.
1615 2013-03-20 Roland McGrath <roland@hack.frob.com>
1618 * locale/programs/localedef.c (options): Put N_ translation marker
1619 on argument names, not just descriptions.
1621 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1623 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1625 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1628 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1630 2013-03-19 Roland McGrath <roland@hack.frob.com>
1632 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1633 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1634 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1635 [!BEFORE_ABORT] (before_abort): New function.
1636 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1637 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1638 (writev_for_fatal): New function.
1639 (WRITEV_FOR_FATAL): New macro; call that.
1640 (backtrace_and_maps): New function.
1641 (BEFORE_ABORT): New macro; call that.
1642 (struct str_list): Type removed.
1643 (__libc_message, __libc_fatal): Functions removed.
1644 Include <sysdeps/posix/libc_fatal.c> instead.
1646 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1648 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1650 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1653 2013-03-19 Andreas Schwab <schwab@suse.de>
1655 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1656 * sysdeps/gnu/configure: Regenerate.
1658 * configure.in: Substitute libc_cv_rtlddir.
1659 * configure: Regenerate.
1660 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1661 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1662 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1663 * elf/Makefile (install-others, CFLAGS-interp.c)
1664 (ldso_install, common-ldd-rewrite): Likewise.
1665 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1666 $(inst_slibdir)/$(rtld-installed-name).
1667 * scripts/rellns-sh: Add -p option.
1668 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1671 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1673 * manual/nptl.texi: Renamed to ...
1674 * manual/threads.texi: ... this.
1675 * manual/Makefile (chapters): Update.
1677 2013-03-18 Roland McGrath <roland@hack.frob.com>
1680 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1681 on argument names, not just descriptions.
1682 * malloc/memusagestat.c (options): Likewise.
1683 * nss/getent.c (options): Likewise.
1685 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1688 * iconv/iconv_prog.c (options): Put N_ translation marker
1689 on argument names, not just descriptions.
1690 * iconv/iconvconfig.c (options): Likewise.
1692 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1694 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1695 implementation which is faster on all x86_64 architectures.
1696 Tested on AMD, Intel Nehalem, SNB, IVB.
1697 * sysdeps/x86_64/strnlen.S: Likewise.
1699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1700 Remove all multiarch strlen and strnlen versions.
1701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1702 Remove strlen and strnlen related parts.
1704 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1706 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1708 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1709 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1710 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1711 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1712 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1713 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1715 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1717 * manual/memory.texi (Malloc Tunable Parameters):
1718 Sort parameters alphabetically. Add comments for missing entries.
1720 2013-03-17 David S. Miller <davem@davemloft.net>
1722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1724 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1727 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1728 for arguments at most half maximum finite value.
1729 * math/libm-test.inc (j0_test): Add more tests.
1730 (j1_test): Likewise.
1731 (y0_test): Likewise.
1732 (y1_test): Likewise.
1733 * sysdeps/i386/fpu/libm-test-ulps: Update.
1734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1737 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1738 1 / x and functions P and Q for arguments above 0x1p256L.
1739 (__ieee754_y0l): Likewise.
1740 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1741 (__ieee754_y1l): Likewise.
1742 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1743 (j1_test): Likewise.
1744 (y0_test): Likewise.
1745 (y1_test): Likewise.
1747 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1749 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1752 2013-03-15 Roland McGrath <roland@hack.frob.com>
1754 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1755 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1756 zero since it's initialized to EXEC_PAGESIZE.
1758 * sysdeps/unix/sysv/linux/ldsodefs.h
1759 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1760 * sysdeps/generic/ldsodefs.h: ... here.
1762 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1764 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1766 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1768 * math/test-snan.c: Renamed from
1769 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1770 * math/Makefile (tests): Add test-snan.
1771 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1774 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1775 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1777 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1778 __builtin_nan family of functions.
1779 * math/libm-test.inc (initialize): Initialize qnan_value with
1780 __builtin_nan family of functions.
1781 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1783 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1785 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1786 storage class. Initialize qNaN_var and sNaN_var with
1787 __builtin_nan and __builtin_nans families of functions,
1790 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1791 (sqrt_test): Remove duplicate test with qNaN input.
1792 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1793 (round_test, signbit_test, significand_test): Note missing +/-Inf
1794 as well as qNaN tests.
1796 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1797 qNaN_var. Fix a few strings, too.
1798 * math/libm-test.inc (nan_value): Rename to qnan_value.
1799 * math/gen-libm-test.pl (%beautify): Adjust to that.
1800 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1801 * math/test-misc.c (main): Likewise.
1802 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1803 to __qnan_bytes, and __qnan_union, respectively.
1804 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1806 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1807 and lqnanval, respectively.
1808 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1809 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1810 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1811 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1813 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1814 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1817 * math/test-misc.c (main): Fix copy'n'pastos.
1818 * misc/tst-efgcvt.c (special): Likewise.
1820 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1821 Remove declarations.
1823 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1825 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1826 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1827 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1828 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1830 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1832 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1833 macro to return vdso values correctly in IFUNC implementations.
1834 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1835 Optimization by using IFUNC.
1837 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1838 Richard Henderson <rth@redhat.com>
1839 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1841 * Makefile.in (bench): New target.
1842 * NEWS: Mention the benchmark framework.
1843 * Rules (bench): Likewise.
1844 (binaries-bench): Generate binaries for functions to
1846 * benchtests/Makefile: New makefile for benchmark tests.
1847 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1849 * benchtests/exp-inputs: New input file for EXP function.
1850 * benchtests/pow-inputs: New input file for POW function.
1851 * scripts/bench.pl: New script to generate source files for
1854 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1856 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1857 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1858 computations on mantissa. Use macros for rounding and
1861 (__dbl_mp): Likewise.
1862 (add_magnitudes): Likewise.
1863 (sub_magnitudes): Likewise.
1866 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1867 powers of two in terms of TWOPOW macro.
1868 (mp_no): Make type of mantissa as MANTISSA_T.
1869 [!RADIXI]: Define RADIXI.
1870 [!TWO52]: Define TWO52.
1871 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1873 * manual/nptl.texi (cindex): Modify threads to pthreads.
1875 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1877 * sysdeps/x86_64/preconfigure: Regenerated.
1879 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1882 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1884 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1885 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1887 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1888 * math/libm-test.inc (j0_test): Do not allow one spurious
1889 underflow exception.
1890 (y1_test): Likewise.
1892 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1894 * manual/Makefile (chapters): Add nptl.
1895 * manual/debug.texi (Debugging Support): Add link to Threads
1897 * manual/nptl.texi: New file.
1899 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1901 2013-03-14 Petr Baudis <pasky@ucw.cz>
1903 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1904 for non-NULL pointer before the memory validity test. Pointed
1905 out by Holger Brunck <holger.brunck@keymile.com>.
1907 2013-03-13 Andreas Schwab <schwab@suse.de>
1909 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1912 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1914 * timezone/zic.c: Update from tzcode 2013b.
1916 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1918 * manual/install.texi (Configuring and compiling):
1919 Mention i686 and i586.
1920 * INSTALL: Regenerate.
1922 2013-03-12 Roland McGrath <roland@hack.frob.com>
1924 * sysdeps/init_array/elf-init.c: New file.
1926 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1927 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1929 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1930 __gmon_start__ as global, but as static with a .preinit_array pointer.
1931 * sysdeps/init_array/gmon-start.c: New file. Use that.
1932 * sysdeps/init_array/crti.S: New file, empty except for comments.
1933 * sysdeps/init_array/crtn.S: Likewise.
1935 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1937 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1940 Remove Prefer_SSE_for_memop.
1941 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1942 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1943 HAS_PREFER_SSE_FOR_MEMOP.
1944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1946 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1947 Remove bzero, memset ifunc support.
1948 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1949 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1950 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1951 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1953 2013-03-11 Andreas Schwab <schwab@suse.de>
1956 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1959 (GLIBC_2.16): Remove pthread_atfork.
1961 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1963 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1964 (ptestcases.h): Likewise.
1966 2013-03-08 Roland McGrath <roland@hack.frob.com>
1968 * Makeconfig ($(common-objpfx)config.status): Depend on
1969 sysdeps/*/preconfigure{,.in} too.
1971 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1973 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1974 (__free_hook): Use void * instead of __malloc_ptr_t.
1975 (__malloc_hook): Likewise.
1976 (__realloc_hook): Likewise.
1977 (__memalign_hook): Likewise.
1978 (__after_morecore_hook): Likewise.
1979 * malloc/arena.c (save_malloc_hook): Likewise.
1980 (save_free_hook): Likewise.
1981 * malloc/hooks.c (malloc_hook_ini): Likewise.
1982 (realloc_hook_ini): Likewise.
1983 (memalign_hook_ini): Likewise.
1984 * malloc/malloc.c (malloc_hook_ini): Likewise.
1985 (realloc_hook_ini): Likewise.
1986 (memalign_hook_ini): Likewise.
1987 (__free_hook): Likewise.
1988 (__malloc_hook): Likewise.
1989 (__realloc_hook): Likewise.
1990 (__memalign_hook): Likewise.
1991 (__libc_malloc): Likewise.
1992 (__libc_free): Likewise.
1993 (__libc_realloc): Likewise.
1994 (__libc_memalign): Likewise.
1995 (__libc_valloc): Likewise.
1996 (__libc_pvalloc): Likewise.
1997 (__libc_calloc): Likewise.
1998 (__posix_memalign): Likewise.
1999 * malloc/morecore.c (__sbrk): Likewise.
2000 (__default_morecore): Likewise.
2002 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2004 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2005 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2008 * malloc/malloc.h (__malloc_size_t): Remove macro.
2009 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2011 (old_memalign_hook): Likewise.
2012 (old_realloc_hook): Likewise.
2013 (struct hdr): Likewise.
2015 (mallochook): Likewise.
2016 (memalignhook): Likewise.
2017 (reallochook): Likewise.
2018 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2019 (tr_old_realloc_hook): Likewise.
2020 (tr_old_memalign_hook): Likewise.
2021 (tr_mallochook): Likewise.
2022 (tr_reallochook): Likewise.
2023 (tr_memalignhook): Likewise.
2025 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2027 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2028 default_ldbl_pack and using as default implementation.
2029 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2031 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2032 redundant definition.
2033 (ldbl_insert_mantissa): Likewise.
2034 (ldbl_canonicalize): Likewise.
2035 (ldbl_nearbyint): Likewise.
2036 (ldbl_pack): Rename to ldbl_pack_ppc.
2037 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2038 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2039 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2041 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2044 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2045 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2046 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2048 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2049 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2050 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2052 2013-03-07 Andreas Jaeger <aj@suse.de>
2054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2057 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2059 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2060 Include mpa.h and declare __MPEXP.
2061 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2062 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2063 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2064 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2065 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2066 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2067 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2069 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2070 (__slowpow): Use long double EXPL and LOGL functions to
2072 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2073 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2074 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2075 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2076 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2077 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2080 intermediate variable to calculate exponent.
2082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2086 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2087 [!NO__SQR]: Define __sqr.
2088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2089 and NO__SQR. Remove all code except __mul and __sqr. Include
2090 sysdeps/ieee754/dbl-64/mpa.c.
2091 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2094 * posix/Makefile (tests): Add tst-pathconf.
2095 * posix/tst-pathconf.c: New test case.
2096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2098 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2100 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
2102 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2104 2013-03-06 Andreas Jaeger <aj@suse.de>
2106 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2107 definition via __MAP_ANONYMOUS.
2109 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2110 it's not part of Linux headers.
2112 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2113 (MAP_HUGE_MASK): Define.
2115 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2117 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2118 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2120 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2121 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2123 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2124 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2126 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2128 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2129 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2130 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2131 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2132 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2133 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2135 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2138 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2139 Handle f2fs and efivarfs.
2141 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2144 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2145 (EFIVARFS_MAGIC): Add.
2146 (F2FS_LINK_MAX): Add.
2148 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2150 * stdio-common/vfprintf.c: Replace __builtin_expect with
2153 2013-03-06 Joseph Myers <joseph@codesourcery.com>
2156 * sysdeps/generic/bp-sym.h: Remove file.
2157 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2158 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2159 <bp-sym.h> and <bp-asm.h>.
2160 (__longjmp): Don't use BP_SYM.
2161 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2163 (memcpy): Don't use BP_SYM.
2164 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2165 <bp-sym.h> and <bp-asm.h>.
2166 (memcpy): Don't use BP_SYM.
2167 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2169 (memcpy): Don't use BP_SYM.
2170 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2172 (memset): Don't use BP_SYM.
2173 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2174 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2175 (__bzero): Don't use BP_SYM.
2176 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2177 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2178 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2179 <bp-sym.h> and <bp-asm.h>.
2180 (memcmp): Don't use BP_SYM. Remove comment about bounded
2182 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2183 <bp-sym.h> and <bp-asm.h>.
2184 (memcpy): Don't use BP_SYM.
2185 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2186 <bp-sym.h> and <bp-asm.h>.
2187 (memset): Don't use BP_SYM.
2188 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2189 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2190 (__bzero): Don't use BP_SYM.
2191 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2192 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2193 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2194 <bp-sym.h> and <bp-asm.h>.
2195 (strncmp): Don't use BP_SYM. Remove comment about bounded
2197 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2198 <bp-sym.h> and <bp-asm.h>.
2199 (memcpy): Don't use BP_SYM.
2200 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2201 <bp-sym.h> and <bp-asm.h>.
2202 (memset): Don't use BP_SYM.
2203 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2204 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2205 (__bzero): Don't use BP_SYM.
2206 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2207 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2208 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2209 <bp-sym.h> and <bp-asm.h>.
2210 (__memchr): Don't use BP_SYM.
2211 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2212 <bp-sym.h> and <bp-asm.h>.
2213 (memcmp): Don't use BP_SYM. Remove comment about bounded
2215 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2216 <bp-sym.h> and <bp-asm.h>.
2217 (memcpy): Don't use BP_SYM.
2218 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2219 <bp-sym.h> and <bp-asm.h>.
2220 (__mempcpy): Don't use BP_SYM.
2221 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2222 <bp-sym.h> and <bp-asm.h>.
2223 (__memrchr): Don't use BP_SYM.
2224 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2225 <bp-sym.h> and <bp-asm.h>.
2226 (memset): Don't use BP_SYM.
2227 (__bzero): Likewise.
2228 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2229 <bp-sym.h> and <bp-asm.h>.
2230 (__rawmemchr): Don't use BP_SYM.
2231 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2232 <bp-sym.h> and <bp-asm.h>.
2233 (__STRCMP): Don't use BP_SYM.
2234 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2235 <bp-sym.h> and <bp-asm.h>.
2236 (strchr): Don't use BP_SYM.
2237 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2238 <bp-sym.h> and <bp-asm.h>.
2239 (__strchrnul): Don't use BP_SYM.
2240 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2241 <bp-sym.h> and <bp-asm.h>.
2242 (strlen): Don't use BP_SYM.
2243 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2244 <bp-sym.h> and <bp-asm.h>.
2245 (strncmp): Don't use BP_SYM. Remove comment about bounded
2247 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2248 <bp-sym.h> and <bp-asm.h>.
2249 (__strnlen): Don't use BP_SYM.
2250 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2251 <bp-sym.h> and <bp-asm.h>.
2252 (__GI__setjmp): Don't use BP_SYM.
2253 (_setjmp): Likewise.
2254 (__sigsetjmp): Likewise.
2255 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2256 (L(start_addresses)): Don't use BP_SYM.
2258 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2260 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2261 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2262 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2263 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2264 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2266 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2267 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2268 about bounded pointers.
2269 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2270 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2271 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2273 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2274 about bounded pointers. Remove GKM FIXME comments.
2275 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2276 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2278 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2279 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2280 Remove GKM FIXME comments.
2281 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2282 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2283 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2285 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2286 about bounded pointers. Remove GKM FIXME comment.
2287 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2289 (strncmp): Don't use BP_SYM. Remove comment about bounded
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2292 <bp-sym.h> and <bp-asm.h>.
2293 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2295 <bp-sym.h> and <bp-asm.h>.
2296 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2299 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2301 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2304 2013-03-05 David S. Miller <davem@davemloft.net>
2306 * po/es.po: Update from translation team.
2308 2013-03-05 Andreas Jaeger <aj@suse.de>
2310 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2311 <bits/mman-linux.h>.
2312 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2314 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2315 <bits/mman-linux.h> to end of file.
2316 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2318 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2319 <bits/mman-linux.h> to end of file.
2320 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2322 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2323 <bits/mman-linux.h> to end of file.
2325 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2326 (MCL_CURRENT, MCL_FUTURE): Define here.
2328 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2331 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2333 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2335 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2337 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2338 fourth parameter needed for rt_sigprocmask syscall.
2339 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2340 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2341 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2342 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2343 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2344 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2346 2013-03-04 Joseph Myers <joseph@codesourcery.com>
2349 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2350 comment about bounded pointers.
2351 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2352 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2354 2013-03-04 Andreas Jaeger <aj@suse.de>
2356 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2359 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2360 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2361 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2362 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2363 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2364 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2366 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2370 __ieee754_sqrl instead of __sqrl.
2372 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2374 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2375 * sysdeps/powerpc/fpu_control.h: ... here.
2376 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2377 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2378 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2379 * sysdeps/powerpc/bits/mathinline.h: ... here.
2381 2013-03-01 Roland McGrath <roland@hack.frob.com>
2383 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2384 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2385 to just [NEED_DL_SYSINFO_DSO].
2386 * elf/dl-support.c: Likewise.
2387 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2388 * elf/rtld.c (dl_main): Likewise.
2389 * elf/setup-vdso.h (setup_vdso): Likewise.
2390 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2391 * sysdeps/unix/sysv/linux/dl-sysdep.c
2392 (_dl_discover_osversion): Likewise.
2394 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2396 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2397 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2399 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2401 * NEWS: Mention libm performance improvements and non-x86 PI
2404 * csu/libc-start.c (__pthread_initialize_minimal): Change
2406 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2408 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2411 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2412 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2413 <bp-sym.h> and <bp-asm.h>.
2414 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2415 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2417 (memcpy): Don't use BP_SYM.
2418 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2420 (__mpn_add_n): Don't use BP_SYM.
2421 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2422 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2424 (__mpn_addmul_1): Don't use BP_SYM.
2425 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2426 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2428 (_setjmp): Don't use BP_SYM.
2429 (__novmx_setjmp): Likewise.
2430 (__GI__setjmp): Likewise.
2431 (__vmx_setjmp): Likewise.
2432 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2434 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2435 (__bzero): Don't use BP_SYM.
2436 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2437 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2438 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2439 <bp-sym.h> and <bp-asm.h>.
2440 (memcpy): Don't use BP_SYM.
2441 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2442 <bp-sym.h> and <bp-asm.h>.
2443 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2444 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2445 <bp-sym.h> and <bp-asm.h>.
2446 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2447 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2449 (__mpn_lshift): Don't use BP_SYM.
2450 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2451 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2453 (memset): Don't use BP_SYM.
2454 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2455 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2456 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2458 (__mpn_mul_1): Don't use BP_SYM.
2459 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2460 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2461 <bp-sym.h> and <bp-asm.h>.
2462 (memcmp): Don't use BP_SYM.
2463 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2464 <bp-sym.h> and <bp-asm.h>.
2465 (memcpy): Don't use BP_SYM.
2466 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2467 <bp-sym.h> and <bp-asm.h>.
2468 (memset): Don't use BP_SYM.
2469 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2470 <bp-sym.h> and <bp-asm.h>.
2471 (strncmp): Don't use BP_SYM.
2472 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2473 <bp-sym.h> and <bp-asm.h>.
2474 (memcpy): Don't use BP_SYM.
2475 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2476 <bp-sym.h> and <bp-asm.h>.
2477 (memset): Don't use BP_SYM.
2478 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2479 <bp-sym.h> and <bp-asm.h>.
2480 (__memchr): Don't use BP_SYM.
2481 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2482 <bp-sym.h> and <bp-asm.h>.
2483 (memcmp): Don't use BP_SYM.
2484 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2485 <bp-sym.h> and <bp-asm.h>.
2486 (memcpy): Don't use BP_SYM.
2487 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2488 <bp-sym.h> and <bp-asm.h>.
2489 (__mempcpy): Don't use BP_SYM.
2490 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2491 <bp-sym.h> and <bp-asm.h>.
2492 (__memrchr): Don't use BP_SYM.
2493 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2494 <bp-sym.h> and <bp-asm.h>.
2495 (memset): Don't use BP_SYM.
2496 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2497 <bp-sym.h> and <bp-asm.h>.
2498 (__rawmemchr): Don't use BP_SYM.
2499 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2500 <bp-sym.h> and <bp-asm.h>.
2501 (__STRCMP): Don't use BP_SYM.
2502 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2503 <bp-sym.h> and <bp-asm.h>.
2504 (strchr): Don't use BP_SYM.
2505 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2506 <bp-sym.h> and <bp-asm.h>.
2507 (__strchrnul): Don't use BP_SYM.
2508 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2509 <bp-sym.h> and <bp-asm.h>.
2510 (strlen): Don't use BP_SYM.
2511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2512 <bp-sym.h> and <bp-asm.h>.
2513 (strncmp): Don't use BP_SYM.
2514 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2515 <bp-sym.h> and <bp-asm.h>.
2516 (__strnlen): Don't use BP_SYM.
2517 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2519 (__mpn_rshift): Don't use BP_SYM.
2520 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2521 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2522 <bp-sym.h> and <bp-asm.h>.
2523 (__sigsetjmp): Don't use BP_SYM.
2524 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2525 (L(start_addresses)): Don't use BP_SYM.
2527 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2529 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2530 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2531 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2532 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2534 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2535 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2536 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2537 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2539 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2541 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2542 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2544 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2546 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2547 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2548 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2550 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2552 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2554 (strncmp): Don't use BP_SYM,
2555 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2557 (__mpn_sub_n): Don't use BP_SYM.
2558 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2559 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2561 (__mpn_submul_1): Don't use BP_SYM.
2562 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2564 <bp-sym.h> and <bp-asm.h>.
2565 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2567 <bp-sym.h> and <bp-asm.h>.
2568 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2571 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2574 Use ZK to minimize writes to Z.
2575 (sub_magnitudes): Simplify code a bit.
2576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2577 Use ZK to minimize writes to Z.
2578 (sub_magnitudes): Simplify code a bit.
2580 2013-02-27 Roland McGrath <roland@hack.frob.com>
2582 * csu/gmon-start.c: Add special exception to license text.
2584 2013-02-27 Richard Henderson <rth@redhat.com>
2586 * scripts/config.guess: Update from config.git.
2587 * scripts/config.sub: Likewise.
2589 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2591 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2593 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2595 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2597 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2599 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2601 2013-02-26 Roland McGrath <roland@hack.frob.com>
2603 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2604 [$(build-shared = yes].
2606 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2608 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2609 (__mul): Reduce iterations for calculating mantissa.
2611 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2613 (__mpranred): Likewise.
2616 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2617 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2619 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2621 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2622 Define __attribute__.
2624 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2626 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2628 * posix/regex_internal.h (__attribute): Remove.
2629 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2630 (re_string_context_at): Likewise.
2631 (bitset_not): Use __attribute__ and mark function as possibly
2633 (bitset_merge): Likewise.
2634 (bitset_mask): Likewise.
2635 (re_string_char_size_at): Likewise.
2636 (re_string_wchar_at): Likewise.
2637 (re_string_elem_size_at): Likewise.
2639 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2641 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2645 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2650 (__dbl_mp): Likewise.
2651 (add_magnitudes): Likewise.
2652 (sub_magnitudes): Likewise.
2656 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2659 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2662 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2666 up changes with default code.
2667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2670 2013-02-24 Allan McRae <allan@archlinux.org>
2672 * manual/socket.texi (The Internet Namespace): Order menu items
2673 to match that in the file.
2675 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2676 node listing of the info page menu.
2678 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2681 * sysdeps/i386/bp-asm.h: Remove file.
2682 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2683 (PARMS): Do not use macros from bp-asm.h.
2687 (__mpn_add_n): Do not use BP_SYM
2688 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2690 (PARMS): Do not use macros from bp-asm.h.
2693 (__mpn_addmul_1): Do not use BP_SYM
2694 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2696 (PARMS): Do not use macros from bp-asm.h.
2698 (_setjmp): Likewise. Do not use BP_SYM.
2699 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2701 (PARMS): Do not use macros from bp-asm.h.
2703 (setjmp): Likewise. Do not use BP_SYM.
2704 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2706 (PARMS): Do not use macros from bp-asm.h.
2707 (__frexp): Do not use BP_SYM.
2709 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2711 (PARMS): Do not use macros from bp-asm.h.
2712 (__frexpf): Do not use BP_SYM.
2714 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2716 (PARMS): Do not use macros from bp-asm.h.
2717 (__frexpl): Do not use BP_SYM.
2719 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2721 (PARMS): Do not use macros from bp-asm.h.
2722 (__remquo): Do not use BP_SYM.
2724 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2726 (PARMS): Do not use macros from bp-asm.h.
2727 (__remquof): Do not use BP_SYM.
2728 (remquof): Likewise.
2729 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2731 (PARMS): Do not use macros from bp-asm.h.
2732 (__remquol): Do not use BP_SYM.
2733 (remquol): Likewise.
2734 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2736 (PARMS): Do not use macros from bp-asm.h.
2739 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2740 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2742 (PARMS): Do not use macros from bp-asm.h.
2743 (strlen): Do not use BP_SYM.
2744 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2746 (PARMS): Do not use macros from bp-asm.h.
2750 (__mpn_add_n): Do not use BP_SYM.
2751 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2753 (PARMS): Do not use macros from bp-asm.h.
2756 (__mpn_addmul_1): Do not use BP_SYM.
2757 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2760 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2762 (PARMS): Do not use macros from bp-asm.h.
2765 (__mpn_lshift): Do not use BP_SYM.
2766 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2768 (PARMS): Do not use macros from bp-asm.h.
2772 (memcpy): Likewise. Do not use BP_SYM.
2773 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2774 libc_hidden_def and weak_alias.
2775 (mempcpy): Do not use BP_SYM in weak_alias.
2776 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2778 (PARMS): Do not use macros from bp-asm.h.
2781 [!BZERO_P] (CHR): Likewise.
2782 (memset): Likewise. Do not use BP_SYM.
2783 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2785 (PARMS): Do not use macros from bp-asm.h.
2788 (__mpn_mul_1): Do not use BP_SYM.
2789 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2791 (PARMS): Do not use macros from bp-asm.h.
2794 (__mpn_rshift): Do not use BP_SYM.
2795 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2797 (PARMS): Do not use macros from bp-asm.h.
2800 (strchr): Likewise. Do not use BP_SYM.
2801 (index): Do not use BP_SYM in weak_alias.
2802 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2804 (PARMS): Do not use macros from bp-asm.h.
2807 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2808 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2810 (PARMS): Do not use macros from bp-asm.h.
2811 (strlen): Do not use BP_SYM.
2812 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2814 (PARMS): Do not use macros from bp-asm.h.
2818 (__mpn_sub_n): Do not use BP_SYM.
2819 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2821 (PARMS): Do not use macros from bp-asm.h.
2824 (__mpn_submul_1): Do not use BP_SYM.
2825 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2827 (PARMS): Do not use macros from bp-asm.h.
2831 (__mpn_add_n): Do not use BP_SYM.
2832 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2835 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2837 (PARMS): Do not use macros from bp-asm.h.
2840 (memcmp): Do not use BP_SYM.
2841 (bcmp): Do not use BP_SYM in weak_alias.
2842 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2844 (PARMS): Do not use macros from bp-asm.h.
2848 (memcpy): Likewise. Do not use BP_SYM.
2849 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2851 (PARMS): Do not use macros from bp-asm.h.
2855 (memmove): Likewise. Do not use BP_SYM.
2856 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2858 (PARMS): Do not use macros from bp-asm.h.
2862 (__mempcpy): Likewise. Do not use BP_SYM.
2863 (mempcpy): Do not use BP_SYM in weak_alias.
2864 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2866 (PARMS): Do not use macros from bp-asm.h.
2869 [!BZERO_P] (CHR): Likewise.
2870 (memset): Likewise. Do not use BP_SYM.
2871 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2873 (PARMS): Do not use macros from bp-asm.h.
2875 (strcmp): Do not use BP_SYM.
2876 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2878 (PARMS): Do not use macros from bp-asm.h.
2881 [USE_AS_STRTOK_R] (SAVE): Likewise.
2882 (FUNCTION): Likewise. Do not use BP_SYM.
2883 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2885 (strtok_r): Likewise.
2886 (__GI___strtok_r): Likewise.
2887 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2888 (PARMS): Do not use macros from bp-asm.h.
2891 (__mpn_lshift): Do not use BP_SYM.
2892 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2893 (PARMS): Do not use macros from bp-asm.h.
2896 (__memchr): Do not use BP_SYM.
2897 (memchr): Do not use BP_SYM in weak_alias.
2898 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2899 (PARMS): Do not use macros from bp-asm.h.
2902 (memcmp): Do not use BP_SYM.
2903 (bcmp): Do not use BP_SYM in weak_alias.
2904 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2905 (PARMS): Do not use macros from bp-asm.h.
2908 (__mpn_mul_1): Do not use BP_SYM.
2909 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2911 (PARMS): Do not use macros from bp-asm.h.
2914 (__rawmemchr): Do not use BP_SYM.
2915 (rawmemchr): Do not use BP_SYM in weak_alias.
2916 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2917 (PARMS): Do not use macros from bp-asm.h.
2920 (__mpn_rshift): Do not use BP_SYM.
2921 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2922 (PARMS): Do not use macros from bp-asm.h.
2924 (__sigsetjmp): Likewise. Do not use BP_SYM.
2925 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2926 (_start): Do not use BP_SYM.
2927 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2928 (PARMS): Do not use macros from bp-asm.h.
2931 (__stpcpy): Likewise. Do not use BP_SYM.
2932 (stpcpy): Do not use BP_SYM in weak_alias.
2933 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2935 (PARMS): Do not use macros from bp-asm.h.
2939 (__stpncpy): Likewise. Do not use BP_SYM.
2940 (stpncpy): Do not use BP_SYM in weak_alias.
2941 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2942 (PARMS): Do not use macros from bp-asm.h.
2945 (strchr): Likewise. Do not use BP_SYM.
2946 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2948 (PARMS): Do not use macros from bp-asm.h.
2951 (__strchrnul): Likewise. Do not use BP_SYM.
2952 (strchrnul): Do not use BP_SYM in weak_alias.
2953 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2955 (PARMS): Do not use macros from bp-asm.h.
2957 (strcspn): Do not use BP_SYM.
2958 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2960 (PARMS): Do not use macros from bp-asm.h.
2963 (strpbrk): Likewise. Do not use BP_SYM.
2964 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2966 (PARMS): Do not use macros from bp-asm.h.
2969 (strrchr): Likewise. Do not use BP_SYM.
2970 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2971 (PARMS): Do not use macros from bp-asm.h.
2973 (strspn): Do not use BP_SYM.
2974 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2975 (PARMS): Do not use macros from bp-asm.h.
2979 (FUNCTION): Likewise. Do not use BP_SYM.
2980 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2982 (strtok_r): Likewise.
2983 (__GI___strtok_r): Likewise.
2984 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2985 (PARMS): Do not use macros from bp-asm.h.
2989 (__mpn_sub_n): Do not use BP_SYM.
2990 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2992 (PARMS): Do not use macros from bp-asm.h.
2995 (__mpn_submul_1): Do not use BP_SYM.
2996 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2998 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3000 (PARMS): Do not use macros from bp-asm.h.
3005 (__clone): Do not use BP_SYM.
3006 (clone): Do not use BP_SYM in weak_alias.
3007 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3009 (PARMS): Do not use macros from bp-asm.h.
3011 (__mmap64): Do not use BP_SYM.
3012 (mmap64): Do not use BP_SYM in weak_alias.
3013 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3014 <bp-sym.h> and <bp-asm.h>.
3015 (PARMS): Do not use macros from bp-asm.h.
3016 (__posix_fadvise64_l64): Do not use BP_SYM.
3017 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3018 (PARMS): Do not use macros from bp-asm.h.
3020 (semtimedop): Do not use BP_SYM.
3021 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3024 2013-02-21 Allan McRae <allan@archlinux.org>
3026 * manual/message.texi (Charset conversion in gettext):
3027 Move @end statement to beginning of line.
3029 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3036 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3041 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3043 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3044 tail-call to the resolved function if pltexit isn't needed.
3046 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3049 or Y being zero as being unlikely.
3050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3053 2013-02-20 Carlos O'Donell <carlos@redhat.com>
3055 * manual/nss.texi (System Databases and Name Service Switch):
3056 Remove frobnicate @pxref.
3058 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3060 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3061 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3063 2013-02-20 Petr Machata <pmachata@redhat.com>
3065 * elf/elf.h (R_ARM_TARGET1): New macro.
3066 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3067 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3068 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3069 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3070 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3071 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3072 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3073 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3074 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3075 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3076 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3077 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3078 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3079 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3080 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3081 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3082 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3083 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3084 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3085 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3086 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3087 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3088 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3089 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3090 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3091 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3092 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3093 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3094 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3095 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3096 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3097 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3098 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3099 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3100 (R_ARM_THM_GOT_BREL12): Likewise.
3101 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3102 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3103 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3104 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3105 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3106 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3107 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3108 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3109 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3111 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3113 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3114 __attribute_used__ to __attribute__ ((unused)).
3116 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3118 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3124 2013-02-19 Joseph Myers <joseph@codesourcery.com>
3127 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3129 (ENTER): Remove both macro definitions.
3131 (CHECK_BOUNDS_LOW): Likewise.
3132 (CHECK_BOUNDS_HIGH): Likewise.
3133 (CHECK_BOUNDS_BOTH): Likewise.
3134 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3135 (RETURN_BOUNDED_POINTER): Likewise.
3136 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3137 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3138 (POP_ERRNO_LOCATION_RETURN): Likewise.
3139 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3140 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3141 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3143 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3144 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3145 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3146 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3147 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3148 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3149 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3150 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3151 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3152 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3153 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3154 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3155 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3156 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3158 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3159 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3161 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3162 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3163 * sysdeps/i386/i586/memset.S (memset): Likewise.
3164 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3165 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3166 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3168 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3169 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3170 Change uses of L(2) to L(out).
3171 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3172 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3173 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3174 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3175 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3177 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3178 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3180 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3181 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3182 (RETURN): Do not use macro LEAVE.
3183 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3184 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3185 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3186 * sysdeps/i386/i686/memset.S (memset): Likewise.
3187 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3188 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3189 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3190 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3192 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3193 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3194 L(1_2) and L(1_3) into L(1).
3195 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3196 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3197 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3198 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3199 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3200 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3201 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3202 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3203 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3205 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3206 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3207 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3208 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3209 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3210 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3211 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3212 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3213 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3214 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3215 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3216 * sysdeps/i386/strspn.S (strspn): Likewise.
3217 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3219 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3220 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3221 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3222 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3224 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3225 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3226 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3228 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3230 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3232 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3235 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3237 * math/atest-exp.c (exp_mpn): Remove ROUND.
3238 * math/atest-exp2.c (exp_mpn): Likewise.
3239 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3241 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3242 * stdlib/tst-tls-atexit-lib.c: Likewise.
3243 * stdlib/tst-tls-atexit.c: Likewise.
3245 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3247 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3248 and __attribute_alloc_size__.
3250 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3252 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3253 __attribute_alloc_size__.
3254 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3255 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3257 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3259 * include/programs/xmalloc.h: New file.
3260 * catgets/gencat.c: Include it.
3261 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3262 * elf/pldd.c: Likewise.
3263 * iconv/iconv_charmap.c: Likewise.
3264 * iconv/iconvconfig.c: Likewise.
3265 * iconv/strtab.c: Likewise.
3266 * locale/programs/locale.c: Likewise.
3267 * locale/programs/localedef.h: Likewise.
3268 * locale/programs/simple-hash.c: Likewise.
3269 * nscd/nscd.h: Likewise.
3270 * nss/makedb.c: Likewise.
3271 * sysdeps/generic/ldconfig.h: Likewise.
3273 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3275 * Versions.def: Add GLIBC_2.18.
3276 * include/link.h (struct link_map): New member l_tls_dtor_count.
3277 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3278 (__call_tls_dtors): Likewise.
3279 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3280 __cxa_thread_atexit_impl.
3281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3289 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3297 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3298 (tests): Add test case tst-tls-atexit.
3299 (modules-names): Add shared library for tst-tls-atexit.
3300 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3301 (GLIBC_PRIVATE): Add __call_tls_dtors.
3302 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3304 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3305 * stdlib/tst-tls-atexit.c: New test case.
3306 * stdlib/tst-tls-atexit-lib.c: New test case.
3308 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3310 * elf/Versions (ld): Add _dl_find_dso_for_object.
3311 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3312 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3313 (dl_open_worker): Use _dl_find_dso_for_object.
3314 * elf/dl-sym.c (do_sym): Likewise.
3315 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3317 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3319 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3320 Syntactic changes only.
3321 (_dl_runtime_profile): Do a tail-call to the resolved function.
3323 2013-02-17 Joseph Myers <joseph@codesourcery.com>
3326 * sysdeps/x86_64/bp-asm.h: Remove file.
3327 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3328 <bp-sym.h> and <bp-asm.h>.
3329 (__clone): Do not use BP_SYM.
3330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3331 <bp-sym.h> and <bp-asm.h>.
3332 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3333 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3335 (_setjmp): Do not use BP_SYM.
3336 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3338 (setjmp): Do not use BP_SYM.
3339 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3341 (mempcpy): Do not use BP_SYM in weak_alias.
3342 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3344 (strchr): Do not use BP_SYM.
3345 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3347 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3348 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3349 (_start): Do not use BP_SYM.
3350 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3352 (strcat): Do not use BP_SYM.
3353 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3355 (STRCMP): Do not use BP_SYM.
3356 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3358 (STRCPY): Do not use BP_SYM.
3359 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3361 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3363 (FUNCTION): Do not use BP_SYM.
3364 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3366 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3368 2013-02-17 Andreas Jaeger <aj@suse.de>
3370 * time/Versions: Sort entries.
3371 * string/Versions: Likewise.
3372 * resolv/Versions: Likewise.
3373 * posix/Versions: Likewise.
3374 * iconv/Versions: Likewise.
3375 * elf/Versions: Likewise.
3376 * wcsmbs/Versions: Likewise.
3378 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3380 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3381 loop termination condition.
3383 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3384 variable to calculate EZ.
3387 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3388 the lower precision input.
3390 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3393 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3394 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3395 (run-via-rtld-prefix): Do not handle %-bp tests.
3396 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3397 (all-object-suffixes): Remove .ob.
3398 (bppfx): Remove variable.
3399 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3400 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3401 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3402 [$(build-bounded) = yes] (libtype.ob): Likewise.
3403 * Makerules (elide-routines.ob): Remove variable.
3404 (do-tests-clean): Do not handle *-bp.out.
3405 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3406 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3407 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3408 (tests): Do not include $(tests-bp.out).
3409 (xtests): Do not include $(xtests-bp.out).
3410 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3411 [$(build-bounded) = yes] ($(addprefix
3412 $(objpfx),$(binaries-bounded))): Remove rule.
3413 ($(objpfx)%-bp.out): Remove rule.
3414 * config.make.in (build-bounded): Remove variable.
3415 * crypt/Makefile [$(build-bounded) = yes]
3416 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3417 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3419 [$(build-bounded) = yes] (install-lib): Likewise.
3420 [$(build-bounded) = yes] (generated): Likewise.
3421 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3423 * intl/Makefile [$(build-bounded) = yes]
3424 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3425 * math/Makefile [$(build-bounded) = yes]
3426 ($(tests:%=$(objpfx)%-bp): Likewise.
3427 * misc/Makefile [$(build-bounded) = yes]
3428 ($(objpfx)tst-tsearch-bp): Likewise.
3429 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3430 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3432 * string/Makefile (o-objects.ob): Remove variable.
3433 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3434 (CFLAGS-.ob): Remove variable.
3435 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3436 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3437 both definitions of variable.
3438 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3439 (ASFLAGS-.ob): Remove variable.
3441 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3444 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3445 Remove __BOUNDED_POINTERS__ from condition.
3446 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3447 * string/bits/string2.h [!__NO_STRING_INLINES &&
3448 !__BOUNDED_POINTERS__]: Likewise.
3449 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3451 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3452 Remove conditional code.
3453 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3454 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3455 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3459 * csu/libc-start.c: Do not include <bp-sym.h>.
3460 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3461 * elf/dl-open.c: Do not include <bp-sym.h>.
3462 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3463 * math/fegetenv.c: Do not include <bp-sym.h>.
3464 (fegetenv): Do not use BP_SYM in versioned symbols.
3465 * nptl/sysdeps/pthread/bits/libc-lockP.h
3466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3469 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3471 (__pthread_mutex_destroy): Likewise.
3472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3473 (__pthread_mutex_lock): Likewise.
3474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3475 (__pthread_mutex_trylock): Likewise.
3476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3477 (__pthread_mutex_unlock): Likewise.
3478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3479 (__pthread_mutexattr_init): Likewise.
3480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3481 (__pthread_mutexattr_destroy): Likewise.
3482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3483 (__pthread_mutexattr_settype): Likewise.
3484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3485 (__pthread_rwlock_init): Likewise.
3486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3487 (__pthread_rwlock_destroy): Likewise.
3488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3489 (__pthread_rwlock_rdlock): Likewise.
3490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3491 (__pthread_rwlock_tryrdlock): Likewise.
3492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3493 (__pthread_rwlock_wrlock): Likewise.
3494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3495 (__pthread_rwlock_trywrlock): Likewise.
3496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3497 (__pthread_rwlock_unlock): Likewise.
3498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3499 (__pthread_key_create): Likewise.
3500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3501 (__pthread_setspecific): Likewise.
3502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3503 (__pthread_getspecific): Likewise.
3504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3507 (_pthread_cleanup_push_defer): Likewise.
3508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3509 (_pthread_cleanup_pop_restore): Likewise.
3510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3511 (pthread_setcancelstate): Likewise.
3512 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3514 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3515 (memchr): Do not use BP_SYM in weak_alias.
3516 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3517 (fegetenv): Do not use BP_SYM in versioned symbols.
3518 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3519 (fesetenv): Do not use BP_SYM in versioned symbols.
3520 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3521 (feupdateenv): Do not use BP_SYM in versioned symbols.
3522 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3523 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3524 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3525 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3526 (open64): Do not use BP_SYM in weak_alias.
3527 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3528 (fegetenv): Do not use BP_SYM in versioned symbols.
3529 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3530 (fesetenv): Do not use BP_SYM in versioned symbols.
3531 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3532 (feupdateenv): Do not use BP_SYM in versioned symbols.
3533 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3534 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3535 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3536 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3537 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3538 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3539 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3541 (__libc_start_main): Do not use BP_SYM.
3543 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3546 redundant return line.
3550 (sub_magnitudes): Likewise.
3556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3560 (sub_magnitudes): Likewise.
3567 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3569 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3570 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3573 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3574 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3576 of __mul for squares.
3577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3581 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3582 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3584 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3587 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3589 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3590 prototype or function definition. Rename ubp_* variables and
3591 parameters. Remove argv definitions conditional on
3592 [__BOUNDED_POINTERS__].
3593 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3594 * elf/dl-runtime.c (_dl_fixup): Likewise.
3595 * include/set-hooks.h (RUN_HOOK): Likewise.
3596 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3598 * string/strcpy.c (strcpy): Do not use __unbounded.
3599 * sysdeps/generic/frame.h (struct layout): Likewise.
3600 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3601 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3602 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3603 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3604 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3605 (__backtrace): Likewise.
3606 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3608 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3609 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3610 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3612 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3613 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3614 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3615 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3616 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3617 Do not use __unbounded.
3618 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3619 Rename __unboundedrlimits parameter to rlimits in prototype.
3620 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3621 Do not use __unbounded.
3622 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3624 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3625 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3626 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3627 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3628 __ptrvalue or __unbounded.
3629 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3630 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3632 (__new_msgctl): Do not use __ptrvalue.
3633 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3635 (__libc_msgrcv): Do not use __ptrvalue.
3636 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3637 startup_info): Do not use __unbounded.
3638 (__libc_start_main): Likewise. Rename ubp_* variables and
3639 parameters. Remove argv definitions conditional on
3640 [__BOUNDED_POINTERS__].
3641 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3643 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3645 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3647 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3649 (__new_shmctl): Do not use __ptrvalue.
3650 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3651 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3653 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3654 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3655 (__libc_sigaction): Likewise.
3656 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3657 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3659 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3661 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3663 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3665 * string/mempcpy.c: Implement by calling memcpy.
3667 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3674 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3675 values in the mantissa.
3677 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3678 minimize writes to Z.
3679 (sub_magnitudes): Simplify code a bit.
3681 2013-02-12 Roland McGrath <roland@hack.frob.com>
3683 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3684 from the message. The linker prefixes all warnings with that already.
3686 2013-02-12 Andreas Schwab <schwab@suse.de>
3689 * posix/regexec.c (extend_buffers): Add parameter min_len.
3690 (check_matching): Pass minimum needed length.
3691 (clean_state_log_if_needed): Likewise.
3692 (get_subexp): Likewise.
3693 * posix/Makefile (tests): Add bug-regex34.
3694 (bug-regex34-ENV): Define.
3695 * posix/bug-regex34.c: New file.
3698 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3699 elements compare against the byte sequence of it, not its name.
3700 * posix/Makefile (tests): Add bug-regex35.
3701 (bug-regex35-ENV): Define.
3702 * posix/bug-regex35.c: New file.
3704 2013-02-11 Tom de Vries <tom@codesourcery.com>
3706 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3708 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3709 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3710 (CHECK_EOL): Add undef.
3712 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3714 * bits/stdlib-bsearch.h: New file.
3715 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3716 * stdlib/stdlib.h: Likewise.
3718 2013-02-11 Roland McGrath <roland@hack.frob.com>
3720 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3721 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3723 * manual/search.texi (Array Search Function): Add missing const in
3725 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3726 declaration to use rlim_t.
3727 (Basic Scheduling Functions): Remove erroneous const from
3728 sched_getparam prototype. Remove erroneous * from
3729 sched_get_priority_max and sched_get_priority_min prototypes.
3730 (Resource Usage): Fix summary @comment on vtimes to refer to
3731 sys/vtimes.h rather than vtimes.h.
3732 Add missing *s in vtimes prototype.
3733 (Limits on Resources): Fix ulimit prototype to return long int.
3734 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3735 prototypes to use long int rather than double.
3736 (BSD Random): Fix initstate and setstate to use char *, not void *.
3737 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3738 prototype to make second argument 'struct aiocb64 *const[]'.
3739 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3740 (Status of AIO Operations): Remove erroneous const in aio_return and
3741 aio_return64 prototypes.
3742 (Synchronizing I/O): Fix sync prototype to return void.
3743 * manual/startup.texi (Suboptions): Remove an erroneous const in
3744 getsubopt prototype.
3745 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3746 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3747 use size_t rather than int.
3748 (Scanning All Users): Likewise for getpwent_r.
3749 (Setting Groups): Add missing const to setgroups prototype.
3750 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3751 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3752 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3753 'const void *' rather than 'const char *'.
3754 (Host Address Functions): Likewise for inet_ntop.
3755 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3756 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3757 ssize_t for return value.
3758 (Sending Data): Likewise for send, sendto, sendmsg.
3759 (Socket Option Functions): Add a missing const in setsockopt prototype.
3760 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3761 use wchar_t for the argument.
3762 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3763 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3765 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3766 double/float/long double for second argument.
3767 Fix return types of significand, significandf, significandl.
3768 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3769 argument in fchmod prototype.
3770 (File Owner): Use uid_t and gid_t in fchown prototype.
3771 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3772 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3773 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3774 use 'const struct dirent **' as argument types to CMP function pointer
3776 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3777 (File Times): Fix summary magic @comment for struct utimbuf and utime
3778 to refer to utime.h, not time.h.
3779 * manual/string.texi (Argz Functions): Add missing const in
3780 argz_extract and argz_next prototypes.
3781 (Finding Tokens in a String): Likewise for basename.
3782 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3783 (Copying and Concatenation): Fix typo in wmemmove prototype.
3784 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3785 (Signal Stack): Remove erroneous const in sigstack prototype.
3786 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3788 (Simple Calendar Time): Likewise for stime.
3789 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3791 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3792 say sys/sysctl.h instead.
3793 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3794 and vsyslog prototypes.
3796 2013-02-11 Tom de Vries <tom@codesourcery.com>
3798 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3801 2013-02-11 Roland McGrath <roland@hack.frob.com>
3803 * misc/sys/mman.h: Fix typo in mremap comment.
3805 2013-02-08 Roland McGrath <roland@hack.frob.com>
3807 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3808 the '\0' terminator.
3810 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3813 * debug/segfault.c: Don't include <bp-checks.h>.
3814 * sysdeps/generic/bp-checks.h: Remove file.
3815 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3816 (__GETDENTS): Don't use CHECK_N.
3817 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3818 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3819 (__getgroups): Don't use CHECK_N.
3820 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3821 (setgroups): Don't use CHECK_N.
3822 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3823 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3824 (__libc_msgrcv): Don't use CHECK_N.
3825 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3826 (__libc_msgsnd): Don't use CHECK_N.
3827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3829 (__libc_pread): Don't use CHECK_N.
3830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3831 include <bp-checks.h>.
3832 (__libc_pread64): Don't use CHECK_N.
3833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3834 include <bp-checks.h>.
3835 (__libc_pwrite): Don't use CHECK_N.
3836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3837 include <bp-checks.h>.
3838 (__libc_pwrite64): Don't use CHECK_N.
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3841 (__libc_pread): Don't use CHECK_N.
3842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3843 include <bp-checks.h>.
3844 (__libc_pread64): Don't use CHECK_N.
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3846 include <bp-checks.h>.
3847 (__libc_pwrite): Don't use CHECK_N.
3848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3849 include <bp-checks.h>.
3850 (__libc_pwrite64): Don't use CHECK_N.
3851 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3852 (do_pread): Don't use CHECK_N.
3853 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3854 (do_pread64): Don't use CHECK_N.
3855 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3856 (do_pwrite): Don't use CHECK_N.
3857 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3858 (do_pwrite64): Don't use CHECK_N.
3859 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3860 (__libc_readv): Don't use CHECK_N.
3861 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3862 (semop): Don't use CHECK_N.
3863 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3865 (semtimedop): Don't use CHECK_N.
3866 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3867 (__libc_pread): Don't use CHECK_N.
3868 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3870 (__libc_pread64): Don't use CHECK_N.
3871 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3873 (__libc_pwrite): Don't use CHECK_N.
3874 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3876 (__libc_pwrite64): Don't use CHECK_N.
3877 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3879 (__libc_msgrcv): Don't use CHECK_N.
3880 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3881 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3882 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3883 (__libc_writev): Don't use CHECK_N.
3885 2013-02-08 Roland McGrath <roland@hack.frob.com>
3887 * string/strcpy.c: Removed unused variable.
3889 * Makeconfig (+sysdep-includes): Define with := rather than =.
3890 Use an existing include/ subdir of each sysdeps dir before it.
3892 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3894 * nscd/connection.c (register_traced_file): Comment function.
3895 [HAVE_INOTIFY] (union __inev): Define.
3896 [HAVE_INOTIFY] (inotify_check_files): New function.
3897 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3898 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3900 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3902 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3904 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3905 loaded if not already and that a failure is permanent.
3907 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3910 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3911 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3913 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3916 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3917 (CHECK_1_NULL_OK): Likewise.
3918 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3919 (__fxstat): Do not use CHECK_1.
3920 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3922 (___fxstat64): Do not use CHECK_1.
3923 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3925 (__fxstatat): Do not use CHECK_1.
3926 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3928 (__fxstatat64): Do not use CHECK_1.
3929 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3931 (__fxstat): Do not use CHECK_1.
3932 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3934 (__fxstatat): Do not use CHECK_1.
3935 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3937 (__getresgid): Do not use CHECK_1.
3938 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3940 (__getresuid): Do not use CHECK_1.
3941 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3943 (__lxstat): Do not use CHECK_1.
3944 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3946 (__old_msgctl): Do not use CHECK_1.
3947 (__new_msgctl): Likewise.
3948 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3950 (__new_setrlimit): Do not use CHECK_1.
3951 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3953 (__old_shmctl): Do not use CHECK_1.
3954 (__new_shmctl): Likewise.
3955 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3957 (__xstat): Do not use CHECK_1.
3958 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3959 (__lxstat): Do not use CHECK_1.
3960 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3962 (___lxstat64): Do not use CHECK_1.
3963 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3964 (__old_msgctl): Do not use CHECK_1.
3965 (__new_msgctl): Likewise.
3966 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3968 (__gettimeofday): Do not use CHECK_1.
3969 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3970 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3971 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3973 (__gettimeofday): Do not use CHECK_1.
3974 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3975 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3976 (__new_shmctl): Do not use CHECK_1.
3977 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3979 (do_sigtimedwait): Do not use CHECK_1.
3980 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3982 (do_sigwaitinfo): Do not use CHECK_1.
3983 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3985 (msgctl): Do not use CHECK_1.
3986 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3988 (shmctl): Do not use CHECK_1.
3989 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3990 (ustat): Do not use CHECK_1.
3991 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3993 (__fxstat): Do not use CHECK_1.
3994 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3996 (__fxstatat): Do not use CHECK_1.
3997 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3999 (__lxstat): Do not use CHECK_1.
4000 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4002 (__xstat): Do not use CHECK_1.
4003 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4004 (__xstat): Do not use CHECK_1.
4005 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4006 (___xstat64): Do not use CHECK_1.
4009 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4011 (CHECK_BOUNDS_HIGH): Likewise.
4012 * string/strcpy.c: Do not include <bp-checks.h>.
4013 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4015 2013-02-07 Roland McGrath <roland@hack.frob.com>
4017 * nscd/nscd-client.h (__nscd_drop_map_ref):
4018 Add __attribute__ ((unused)).
4019 * nis/nss-nisplus.h (niserr2nss): Likewise.
4021 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4022 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4024 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4025 Remove inline keyword.
4026 * include/rounding-mode.h (round_away): Likewise.
4027 * libio/wfileops.c (adjust_wide_data): Likewise.
4028 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4029 (__m128i_strloadu_tolower): Likewise.
4030 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4031 (__m128i_strloadu_tolower): Likewise.
4032 * time/mktime.c (ydhms_diff): Likewise.
4033 * locale/elem-hash.h (elem_hash): Likewise.
4034 * locale/setlocale.c (setdata): Likewise.
4035 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4036 (re_string_wchar_at): Likewise.
4037 (bitset_not, bitset_merge, bitset_mask): Likewise.
4038 [!(__GNUC__ > 3)] (inline): Remove macro.
4039 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4040 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4041 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4042 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4043 * string/memcmp.c (memcmp_bytes): Likewise.
4044 * locale/programs/locarchive.c (compute_hashval): Likewise.
4045 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4046 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4047 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4048 * nss/getent.c (print_rpc, print_protocols): Likewise.
4049 (print_passwd, print_group, print_aliases): Likewise.
4050 * nis/nss-nisplus.h (niserr2nss): Likewise.
4051 * nscd/connections.c (restart_p): Likewise.
4052 Change return type to bool.
4054 2013-02-05 Roland McGrath <roland@hack.frob.com>
4056 * Makeconfig (all-Depend-files): Add existing
4057 $(sorted-subdirs:=/Depend) files.
4058 (all-subdirs): Remove nss.
4059 * sysdeps/unix/inet/Subdirs: Add it here instead.
4060 * hesiod/Depend: New file.
4062 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4063 instead of calling alloca.
4065 * io/lseek.c (__lseek): Rename to __libc_lseek.
4066 Define __lseek as an alias.
4068 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4070 2013-02-04 Carlos O'Donell <carlos@redhat.com>
4072 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4073 else clause and remove check for non-standard endianness.
4075 2013-02-04 David S. Miller <davem@davemloft.net>
4077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4079 2013-02-04 Joseph Myers <joseph@codesourcery.com>
4082 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4083 (__ubp_memchr): Remove prototype.
4084 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4085 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4086 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4087 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4088 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4090 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4091 (__ubp_memchr): Likewise.
4092 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4093 (__ubp_memchr): Likewise.
4094 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4095 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4096 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4097 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4099 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4100 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4101 (__getcwd): Do not use CHECK_STRING.
4102 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4104 (__real_chown): Do not use CHECK_STRING.
4105 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4107 (fchownat): Do not use CHECK_STRING.
4108 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4110 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4112 (__lchown): Do not use CHECK_STRING.
4113 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4114 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4115 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4116 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4118 include <bp-checks.h>.
4119 (truncate64): Do not use CHECK_STRING.
4120 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4122 (__real_chown): Do not use CHECK_STRING.
4123 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4125 (__lchown): Do not use CHECK_STRING.
4126 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4128 (__chown): Do not use CHECK_STRING.
4129 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4131 (truncate64): Do not use CHECK_STRING.
4132 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4134 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4135 (__xmknod): Do not use CHECK_STRING.
4136 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4138 (__xmknodat): Do not use CHECK_STRING.
4139 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4140 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4142 2013-02-04 Andreas Schwab <schwab@suse.de>
4145 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4146 * include/netdb.h: Likewise for h_errno.
4147 * elf/tst-stackguard1.c: Include <tls.h>.
4149 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4151 * elf/link.h (struct link_map): Extend the l_addr comment.
4152 * include/link.h (struct link_map): Likewise.
4154 2013-02-01 Joseph Myers <joseph@codesourcery.com>
4157 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4158 (BOUNDED_1): Remove macro.
4159 * debug/backtrace.c: Don't include <bp-checks.h>.
4160 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4161 (__backtrace): Likewise.
4162 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4164 (__backtrace): Don't use BOUNDED_1.
4165 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4167 (__backtrace): Don't use BOUNDED_1.
4168 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4169 (__backtrace): Don't use BOUNDED_1.
4170 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4171 (shmat): Don't use BOUNDED_N.
4173 2013-01-31 Joseph Myers <joseph@codesourcery.com>
4176 * sysdeps/generic/bp-start.h: Remove file.
4177 * csu/libc-start.c: Don't include <bp-start.h>.
4178 (LIBC_START_MAIN): Set up __environ directly instead of using
4179 INIT_ARGV_and_ENVIRON.
4180 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4184 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4186 (CHECK_FCNTL): Likewise.
4187 (CHECK_N_PAGES): Likewise.
4190 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4192 (CHECK_SIGSET_NULL_OK): Likewise.
4193 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4195 (sigpending): Don't use CHECK_SIGSET.
4196 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4198 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4199 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4201 (do_sigsuspend): Don't use CHECK_SIGSET.
4202 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4204 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4205 (do_sigwait): Don't use CHECK_SIGSET.
4206 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4208 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4209 include <bp-checks.h>.
4210 (sigpending): Don't use CHECK_SIGSET.
4211 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4212 include <bp-checks.h>.
4213 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4214 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4216 (sigpending): Don't use CHECK_SIGSET.
4217 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4219 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4222 * sysdeps/generic/bp-semctl.h: Remove file.
4223 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4224 <bp-checks.h> and <bp-semctl.h>.
4225 (__old_semctl): Don't use CHECK_SEMCTL.
4226 (__new_semctl): Likewise.
4227 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4229 (__old_semctl): Don't use CHECK_SEMCTL.
4230 (__new_semctl): Likewise.
4231 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4232 <bp-checks.h> and <bp-semctl.h>.
4233 (__old_semctl): Don't use CHECK_SEMCTL.
4234 (__new_semctl): Likewise.
4235 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4236 <bp-checks.h> and <bp-semctl.h>.
4237 (semctl): Don't use CHECK_SEMCTL.
4240 * Makerules (elide-bp-thunks): Remove variable.
4241 (elide-routines.oS): Don't use $(elide-bp-thunks).
4242 (elide-routines.os): Likewise.
4243 (elide-routines.o): Likewise.
4244 (elide-routines.op): Likewise.
4245 (elide-routines.og): Likewise.
4246 (objects): Don't use $(bp-thunks).
4247 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4249 (common-generated): Do not add s-proto-bp.d.
4250 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4253 Do not generate makefile rules for bounded-pointer thunks.
4254 * sysdeps/generic/bp-thunks.h: Remove file.
4255 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4256 * sysdeps/unix/s-proto-bp.S: Likewise.
4259 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4260 parts of result separately when argument is not close to line from
4261 -i to i and one part of argument is small.
4262 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4263 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4264 * math/libm-test.inc (cacos_test): Add more tests.
4265 (casin_test): Likewise.
4266 (casinh_test): Likewise.
4267 * sysdeps/i386/fpu/libm-test-ulps: Update.
4268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4270 2013-01-31 David S. Miller <davem@davemloft.net>
4272 * po/de.po: Update from translation team.
4274 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4276 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4278 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4280 * configure.in (_AC_PROG_CC_C89): New definition.
4281 * configure: Regenerate.
4283 * configure.in (AC_PROG_CPP): New definition.
4284 * configure: Regenerate.
4286 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4288 * debug/tst-backtrace.h: New file.
4289 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4290 (ret): Remove variable.
4292 (FAIL): Remove macro.
4293 (NO_INLINE): Likewise.
4294 (fn1): Use match function instead of strstr.
4295 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4296 (ret): Remove variable.
4298 (FAIL): Remove macro.
4299 (NO_INLINE): Likewise.
4300 (fn): Use match function instead of strstr.
4301 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4302 (ret): Remove variable.
4304 (FAIL): Remove macro.
4305 (NO_INLINE): Likewise.
4306 (handle_signal): Use match function instead of strstr.
4307 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4308 (ret): Remove variable.
4310 (FAIL): Remove macro.
4311 (NO_INLINE): Likewise.
4312 (handle_signal): Use match function instead of strstr.
4314 2013-01-23 Roland McGrath <roland@hack.frob.com>
4316 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4318 2013-01-23 David S. Miller <davem@davemloft.net>
4320 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4321 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4322 argument of CAS if possible.
4323 * sysdeps/sparc/sparc64/bits/atomic.h
4324 (__arch_compare_and_exchange_val_32_acq): Likewise.
4325 (__arch_compare_and_exchange_val_64_acq): Likewise.
4327 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4329 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4330 * sysdeps/posix/ulimit.c: ... this.
4332 * sysdeps/unix/bsd/ulimit.c: Remove file.
4334 2013-01-23 Adam Conrad <adconrad@0c3.net>
4336 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4337 (LDFLAGS-tst-array5): Likewise.
4339 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4342 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4343 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4344 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4345 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4347 2013-01-21 David S. Miller <davem@davemloft.net>
4349 * sysdeps/sparc/backtrace.c: New file.
4350 * sysdeps/sparc/sparc32/backtrace.h: New file.
4351 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4352 * sysdeps/sparc/sparc64/backtrace.h: New file.
4353 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4354 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4357 2013-01-21 Andreas Schwab <schwab@suse.de>
4360 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4363 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4369 2013-01-18 Joseph Myers <joseph@codesourcery.com>
4370 Mark Mitchell <mark@codesourcery.com>
4371 Tom de Vries <tom@codesourcery.com>
4372 Paul Pluzhnikov <ppluzhnikov@google.com>
4374 * debug/tst-backtrace2.c: New file.
4375 * debug/tst-backtrace3.c: Likewise.
4376 * debug/tst-backtrace4.c: Likewise.
4377 * debug/tst-backtrace5.c: Likewise.
4378 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4379 (CFLAGS-tst-backtrace3.c): Likewise.
4380 (CFLAGS-tst-backtrace4.c): Likewise.
4381 (CFLAGS-tst-backtrace5.c): Likewise.
4382 (LDFLAGS-tst-backtrace2): Likewise.
4383 (LDFLAGS-tst-backtrace3): Likewise.
4384 (LDFLAGS-tst-backtrace4): Likewise.
4385 (LDFLAGS-tst-backtrace5): Likewise.
4386 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4387 tst-backtrace4 and tst-backtrace5.
4389 2013-01-18 Anton Blanchard <anton@samba.org>
4390 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4392 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4393 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4394 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4395 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4397 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4398 "+r" and remove output regs list as redundant. Add explicit inline
4399 asm to specify register of return val to work around compiler codegen
4400 bug. Remove (int) cast on return value. Add return type parameter to
4401 use in macro so that this macro does not truncate return value for
4403 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4404 pass to INTERNAL_VSYSCALL_NCS.
4405 (INLINE_VSYSCALL): Add 'long int' as return type to
4406 INTERNAL_VSYSCALL_NCS macro invocation.
4407 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4408 INTERNAL_VSYSCALL_NCS macro invocation.
4409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4411 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4414 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4415 Fix application of SIMD FP exception mask.
4417 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4418 mp_no from a power of two.
4419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4420 __mpexp_twomm1. Use __pow_mp.
4422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4425 2013-01-17 David S. Miller <davem@davemloft.net>
4427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4429 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4432 * include/complex.h: Condition contents on [!_COMPLEX_H].
4433 (__kernel_casinhf): New prototype.
4434 (__kernel_casinh): Likewise.
4435 (__kernel_casinhl): Likewise.
4436 * math/Makefile (libm_calls): Add k_casinh.
4437 * math/k_casinh.c: New file.
4438 * math/k_casinhf.c: Likewise.
4439 * math/k_casinhl.c: Likewise.
4440 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4441 finite nonzero arguments.
4442 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4443 finite nonzero arguments.
4444 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4445 finite nonzero arguments.
4446 * math/s_casinh.c: Do not include <float.h>.
4447 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4448 * math/s_casinhf.c: Do not include <float.h>.
4449 (__casinhf): Move code for finite nonzero arguments to
4451 * math/s_casinhl.c: Do not include <float.h>.
4452 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4454 (__casinhl): Move code for finite nonzero arguments to
4456 * math/libm-test.inc (cacos_test): Add more tests.
4457 * sysdeps/i386/fpu/libm-test-ulps: Update.
4458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4460 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4462 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4463 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4464 [!HAVE_MREMAP]: Remove [defined linux] case.
4465 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4467 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4469 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4471 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4473 * elf/elf.h (R_386_SIZE32): New relocation.
4474 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4476 (elf_machine_rela): Likewise.
4477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4478 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4480 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4482 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4483 (FP_FAST_FMA): Do not define.
4484 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4485 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4486 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4487 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4488 !_SOFT_FLOAT]: Likewise.
4489 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4490 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4492 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4493 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4494 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4495 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4496 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4497 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4500 2013-01-16 Andreas Schwab <schwab@suse.de>
4503 * include/stdlib.h (__mktemp): Add declaration.
4504 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4505 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4507 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4509 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4511 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4512 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4513 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4515 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4516 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4518 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4520 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4521 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4522 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4524 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4525 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4527 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4529 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4531 2013-01-15 David S. Miller <davem@davemloft.net>
4533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4534 trunc{,f} to libm-sysdep_routes.
4535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4545 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4546 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4547 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4548 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4549 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4550 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4553 nearbyint{,f} to libm-sysdep_routes.
4554 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4565 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4567 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4568 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4570 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4571 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4572 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4574 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4575 libc_feholdexcept and libc_fesetenv.
4577 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4579 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4581 2013-01-14 David S. Miller <davem@davemloft.net>
4583 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4584 (SPARC_ASM_VIS2_IFUNC): Likewise.
4585 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4587 use of 'siam' instruction.
4588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4594 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4596 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4621 routines to libm-sysdep_routines.
4622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4625 fdim/fdimf to libm-sysdep_routines.
4626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4634 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4635 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4636 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4637 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4639 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4641 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4644 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4649 local variable MPTWO.
4650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4653 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4655 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4658 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4660 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4662 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4664 * manual/pattern.texi (glob_t): Document gl_flags.
4665 (glob64_t): Likewise.
4667 2013-01-11 David S. Miller <davem@davemloft.net>
4669 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4670 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4671 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4672 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4673 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4674 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4675 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4676 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4677 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4678 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4679 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4680 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4681 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4683 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4684 sparc V9 rather than using V8 code.
4685 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4686 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4688 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4690 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4693 2013-01-11 Roland McGrath <roland@hack.frob.com>
4695 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4696 not in the main loop.
4697 * configure: Regenerated.
4699 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4701 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4702 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4704 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4705 [!__GLIBC_HAVE_LONG_LONG] case.
4706 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4707 condition to just #else.
4708 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4709 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4710 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4711 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4713 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4714 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4715 #elif condition to just #else.
4716 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4717 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4718 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4719 #elif condition to just #else.
4721 2013-01-11 Steve Ellcey <sellcey@mips.com>
4723 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4724 (EF_MIPS_ARCH_64): Fix value.
4725 (EF_MIPS_ARCH_32R2): New.
4726 (EF_MIPS_ARCH_64R2): New.
4728 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4730 * Makeconfig (+link-pie-before-libc): New.
4731 (+link-pie-after-libc): Likewise.
4732 (+link-pie-tests): Likewise.
4733 (+link-pie): Rewritten.
4734 (link-before-libc): Remove $(config-LDFLAGS).
4735 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4736 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4737 (config-LDFLAGS): Renamed to ...
4738 (rtld-LDFLAGS): This.
4739 (rtld-tests-LDFLAGS): New macro.
4740 (link-libc-rpath-link): Likewise.
4741 (link-libc-tests-rpath-link): Likewise.
4742 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4743 (link-libc): Prepand $(link-libc-rpath-link).
4744 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4745 (test-program-prefix): New macro.
4746 (test-via-rtld-prefix): Likewise.
4747 (test-program-cmd): Likewise.
4748 (host-test-program-cmd): Likewise.
4749 * Makefile ($(common-objpfx)testrun.sh): Replace
4750 $(run-program-prefix) with $(test-program-prefix).
4751 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4753 ($(common-objpfx)shlib.lds): Likewise.
4754 (build-module-helper): Likewise.
4755 ($(common-objpfx)format.lds): Likewise.
4756 * Rules (binaries-pie-tests): New.
4757 (binaries-pie-notests): Likewise.
4758 (binaries-pie): Rewritten.
4759 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4760 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4761 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4762 (make-test-out): Replace $(host-built-program-cmd) with
4763 $(host-test-program-cmd).
4764 * config.make.in (build-hardcoded-path-in-tests): New variable.
4765 * configure.in (--enable-hardcoded-path-in-tests): New configure
4767 (hardcoded_path_in_tests): New AC_SUBST.
4768 * configure: Regenerated.
4769 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4770 $(built-program-cmd) with $(test-program-cmd).
4771 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4772 (test_program_cmd): This.
4773 * elf/Makefile ($(objpfx)order.out): Run test with
4774 $(test-program-prefix).
4775 ($(objpfx)order2.out): Likewise.
4776 ($(objpfx)tst-initorder.out): Likewise.
4777 ($(objpfx)tst-initorder2.out): Likewise.
4778 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4779 $(test-program-cmd).
4780 ($(objpfx)tst-array1-static.out): Likewise.
4781 ($(objpfx)tst-array2.out): Likewise.
4782 ($(objpfx)tst-array3.out): Likewise.
4783 ($(objpfx)tst-array4.out): Likewise.
4784 ($(objpfx)tst-array5.out): Likewise.
4785 ($(objpfx)tst-array5-static.out): Likewise.
4786 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4787 $(test-program-cmd).
4788 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4789 $(run-program-prefix) with $(test-program-prefix).
4790 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4791 (test_program_prefix): This.
4792 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4793 $(run-program-prefix) with $(test-program-prefix).
4794 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4795 (test_program_prefix): This.
4796 * iconvdata/tst-tables.sh: Likewise.
4797 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4798 $(run-program-prefix) with $(test-program-prefix).
4799 ($(objpfx)tst-translit.out): Likewise.
4800 ($(objpfx)tst-gettext2.out): Likewise.
4801 ($(objpfx)tst-gettext4.out): Likewise.
4802 ($(objpfx)tst-gettext6.out): Likewise.
4803 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4804 (test_program_prefix): This.
4805 * intl/tst-gettext2.sh: Likewise.
4806 * intl/tst-gettext4.sh Likewise.
4807 * intl/tst-gettext6.sh: Likewise.
4808 * intl/tst-translit.sh: Likewise.
4809 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4810 with $(test-program-cmd).
4811 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4812 $(run-program-prefix) with $(test-program-prefix).
4813 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4814 (test_program_prefix): This.
4815 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4816 $(run-program-prefix) with $(test-program-prefix).
4817 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4818 (test_program_prefix): This.
4819 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4820 * posix/Makefile ($(objpfx)globtest.out): Replace
4821 $(run-via-rtld-prefix) and $(test-wrapper) with
4822 $(test-program-prefix) and $(test-via-rtld-prefix).
4823 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4824 $(test-program-prefix).
4825 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4826 $(host-test-program-cmd).
4827 (tst-spawn-ARGS): Likewise.
4828 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4829 $(test-program-prefix).
4830 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4831 (test_via_rtld_prefix): This.
4832 (test_wrapper): Renamed to ...
4833 (test_program_prefix): This.
4834 (run_program_prefix): Replaced by test_program_prefix.
4835 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4836 (test_program_prefix): This.
4837 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4838 with $(host-test-program-cmd).
4839 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4840 $(run-program-prefix) with $(test-program-prefix).
4841 ($(objpfx)tst-printf.out): Likewise.
4842 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4843 $(test-program-cmd).
4844 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4845 (test_program_prefix): This.
4846 * stdio-common/tst-unbputc.sh: Likewise.
4847 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4848 $(run-program-prefix) with $(test-program-prefix).
4849 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4850 (test_program_prefix): This.
4851 * string/Makefile ($(objpfx)tst-svc.out): Replace
4852 $(built-program-cmd) with $(test-program-cmd).
4854 2013-01-11 Andreas Jaeger <aj@suse.de>
4857 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4858 value. Sync with Linux 3.7.
4860 2013-01-10 David S. Miller <davem@davemloft.net>
4862 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4863 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4864 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4866 2013-01-10 Roland McGrath <roland@hack.frob.com>
4868 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4870 * configure: Regenerated.
4872 2013-01-10 David S. Miller <davem@davemloft.net>
4874 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4875 sparc V9 rather than using V8 code.
4876 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4877 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4879 2013-01-10 Roland McGrath <roland@hack.frob.com>
4881 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4882 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4883 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4884 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4885 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4886 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4887 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4888 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4889 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4890 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4891 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4892 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4893 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4894 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4895 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4896 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4897 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4898 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4899 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4900 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4901 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4902 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4903 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4904 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4905 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4906 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4907 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4909 2013-01-10 David S. Miller <davem@davemloft.net>
4911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4913 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4915 * posix/Makefile (tests-static): New variable.
4916 (tests): Add $(tests-static).
4917 (tst-exec-static-ARGS): New variable.
4918 (tst-spawn-static-ARGS): Likewise.
4919 * posix/tst-exec-static.c: New file.
4920 * posix/tst-spawn-static.c: Likewise.
4921 * posix/tst-exec.c: Support run directly.
4922 * posix/tst-spawn.c: Likewise.
4924 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4926 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4928 * math/bits/mathcalls.h (llrint): Likewise.
4929 (llround): Likewise.
4930 * stdlib/stdlib.h (struct drand48_data): Likewise.
4931 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4932 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4933 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4935 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4937 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4938 (elf_greg_t): Likewise.
4939 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4940 (__jmp_buf): Likewise.
4941 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4943 (llrint): Likewise, for all definitions.
4944 (llrintl): Likewise.
4946 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4947 Remove [__GNUC__] condition.
4948 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4949 condition to just [__USE_ISOC99].
4950 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4952 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4955 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4956 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4958 (_POSIX_V6_ILP32_OFF32): Likewise.
4959 (_XBS5_ILP32_OFF32): Likewise.
4960 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4961 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4963 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4965 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4968 doubles __mpexp_twomm1. Adjust usage.
4969 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4972 2013-01-10 Andreas Schwab <schwab@suse.de>
4975 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4976 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4978 2013-01-09 David S. Miller <davem@davemloft.net>
4981 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4982 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4983 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4984 TCP_FASTOPEN): Define.
4985 (tcp_repair_opt): New structure.
4986 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4988 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4989 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4990 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4991 (tcp_cookie_transactions): New structure.
4993 2013-01-09 Anton Blanchard <anton@samba.org>
4995 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4996 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4997 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4998 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5000 2013-01-09 Joseph Myers <joseph@codesourcery.com>
5002 * include/features.h (__USE_ANSI): Remove.
5004 2013-01-09 Roland McGrath <roland@hack.frob.com>
5006 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5008 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5010 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5012 * sysdeps/s390/fpu/libm-test-ulps: Update.
5014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5016 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5021 (__mp_dbl): Likewise.
5022 (__dbl_mp): Likewise.
5023 (add_magnitudes): Likewise.
5024 (sub_magnitudes): Likewise.
5030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5035 (__mp_dbl): Likewise.
5036 (__dbl_mp): Likewise.
5037 (add_magnitudes): Likewise.
5038 (sub_magnitudes): Likewise.
5044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5049 (__mp_dbl): Likewise.
5050 (__dbl_mp): Likewise.
5051 (add_magnitudes): Likewise.
5052 (sub_magnitudes): Likewise.
5059 2013-01-08 Joseph Myers <joseph@codesourcery.com>
5061 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5062 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5063 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5064 2 && __USE_EXTERN_INLINES]: Likewise.
5066 2013-01-08 Andreas Jaeger <aj@suse.de>
5069 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5071 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5072 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5074 2013-01-07 Anton Blanchard <anton@samba.org>
5076 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5077 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5078 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5079 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5080 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5081 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5082 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5083 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5085 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5086 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5087 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5088 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5089 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5090 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5091 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5092 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5093 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5094 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5095 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5096 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5097 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5098 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5099 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5100 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5101 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5102 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5103 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5104 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5105 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5106 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5108 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5109 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5110 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5111 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5112 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5113 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5114 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5115 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5116 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5117 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5118 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5120 2013-01-07 Joseph Myers <joseph@codesourcery.com>
5122 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5123 (__MALLOC_PMT): Likewise.
5124 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5125 [__GNUC__], only on [_LIBC].
5126 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5127 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5128 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5129 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5130 forward declaration.
5131 (realloc_hook_ini): Likewise.
5132 (memalign_hook_ini): Likewise.
5133 (__libc_memalign): Do not use __MALLOC_PMT in variable
5135 (__libc_valloc): Likewise.
5136 (__libc_pvalloc): Likewise.
5137 (__libc_calloc): Likewise.
5138 (__posix_memalign): Likewise.
5141 * math/s_casinh.c: Include <float.h>.
5142 (__casinh): Do not do computation with squaring and square root
5143 for large arguments.
5144 * math/s_casinhf.c: Include <float.h>.
5145 (__casinhf): Do not do computation with squaring and square root
5146 for large arguments.
5147 * math/s_casinhl.c: Include <float.h>.
5148 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5149 (__casinhl): Do not do computation with squaring and square root
5150 for large arguments.
5151 * math/libm-test.inc (casin_test): Add more tests.
5152 (casinh_test): Likewise.
5153 * sysdeps/i386/fpu/libm-test-ulps: Update.
5154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5156 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5158 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5159 (__x86_64_raw_data_cache_size): Likewise.
5160 (__x86_64_data_cache_size_half): Likewise.
5161 (__x86_64_raw_data_cache_size_half): Likewise.
5162 (__x86_64_shared_cache_size): Likewise.
5163 (__x86_64_raw_shared_cache_size): Likewise.
5164 (__x86_64_shared_cache_size_half): Likewise.
5165 (__x86_64_raw_shared_cache_size_half): Likewise.
5166 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5168 (__x86_data_cache_size): This.
5169 (__x86_64_raw_data_cache_size): Renamed to ...
5170 (__x86_raw_data_cache_size): This.
5171 (__x86_64_data_cache_size_half): Renamed to ...
5172 (__x86_data_cache_size_half): This.
5173 (__x86_64_raw_data_cache_size_half): Renamed to ...
5174 (__x86_raw_data_cache_size_half): This.
5175 (__x86_64_shared_cache_size): Renamed to ...
5176 (__x86_shared_cache_size): This.
5177 (__x86_64_raw_shared_cache_size): Renamed to ...
5178 (__x86_raw_shared_cache_size): This.
5179 (__x86_64_shared_cache_size_half): Renamed to ...
5180 (__x86_shared_cache_size_half): This.
5181 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5182 (__x86_raw_shared_cache_size_half): This.
5183 * sysdeps/x86_64/memcpy.S: Updated.
5184 * sysdeps/x86_64/memset.S: Likewise.
5185 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5186 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5187 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5189 2013-01-04 David S. Miller <davem@davemloft.net>
5191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5193 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5195 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5196 1 to avoid redefinition warning.
5197 (__USE_GNU): Don't define.
5198 (init_signaling_nan): Protoize.
5200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5202 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5204 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5206 (__cpymn): Likewise.
5207 (norm): Remove commented code.
5209 (__mp_dbl): Likewise.
5211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5212 (__cpymn): Likewise.
5213 (norm): Remove commented code.
5215 (__mp_dbl): Likewise.
5218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5219 mp_no value for 1.0 and 2.0.
5220 (norm): Use RADIXI instead of radixi.d.
5222 (__mul): Use 0.0 instead of zero.d.
5223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5224 mp_no value for 1.0 and 2.0.
5225 (norm): Use RADIXI instead of radixi.d.
5227 (__mul): Use 0.0 instead of zero.d.
5229 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5232 * math/s_casinh.c (__casinh): Reduce finite argument to first
5233 quadrant then set signs of results at the end.
5234 * math/s_casinhf.c (__casinhf): Likewise.
5235 * math/s_casinhl.c (__casinhl): Likewise.
5236 * math/libm-test.inc (casin_test): Add more tests.
5237 (casinh_test): Likewise.
5238 * sysdeps/i386/fpu/libm-test-ulps: Update.
5239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5241 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5243 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5245 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5247 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5250 (__mp_dbl): Likewise.
5253 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5254 and adjust the header comment.
5256 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5257 variable name from declaration.
5259 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5262 Initialize COMMON_CPUID_INDEX_7 element.
5263 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5264 (CPUID_RTM): Likewise.
5265 (HAS_RTM): Likewise.
5266 (COMMON_CPUID_INDEX_7): New enum.
5268 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5271 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5272 size is zero, record memory as freed.
5274 2013-01-03 Andreas Jaeger <aj@suse.de>
5276 * po/ia.po: Add new Interlingua translation.
5278 2012-01-03 Allan McRae <allan@archlinux.org>
5280 * locale/programs/localedef.c: Fix description of '--posix' flag.
5282 2013-01-02 Joseph Myers <joseph@codesourcery.com>
5284 * NEWS: Update dates in second copyright notice.
5285 * README: Update copyright dates in example.
5286 * manual/libc.texinfo: Update copyright dates.
5287 * scripts/test-installation.pl: Update copyright date in --version
5290 * hurd/ctty-input.c: Fix copyright notice formatting.
5291 * hurd/ctty-output.c: Likewise.
5292 * hurd/dtable.c: Likewise.
5293 * hurd/hurd-raise.c: Likewise.
5294 * hurd/hurdprio.c: Likewise.
5295 * hurd/msgportdemux.c: Likewise.
5296 * misc/sys/file.h: Likewise.
5297 * misc/sys/ioctl.h: Likewise.
5298 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5299 * sysdeps/mach/hurd/chdir.c: Likewise.
5300 * sysdeps/mach/hurd/fchdir.c: Likewise.
5301 * sysdeps/mach/hurd/rename.c: Likewise.
5302 * sysdeps/mach/hurd/rmdir.c: Likewise.
5303 * sysdeps/mach/hurd/seekdir.c: Likewise.
5304 * sysdeps/mach/hurd/setsid.c: Likewise.
5305 * sysdeps/posix/wait3.c: Likewise.
5307 * All files with FSF copyright notices: Update copyright dates
5308 using scripts/update-copyrights.
5309 * intl/plural.c: Regenerated.
5310 * locale/programs/charmap-kw.h: Likewise.
5311 * locale/programs/locfile-kw.h: Likewise.
5313 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5315 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5318 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5319 calculation loop and add branch prediction.
5321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5322 check access beyond bounds of m1np.
5324 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5326 (__inv): Remove local variable MPTWO to use the global
5328 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5331 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5332 MP3HALFS static const.
5334 2013-01-01 David S. Miller <davem@davemloft.net>
5336 * po/ca.po: Update from translation team.
5338 2013-01-01 Joseph Myers <joseph@codesourcery.com>
5340 * scripts/update-copyrights: New file.
5341 * Makeconfig: Reformat copyright notice.
5342 * ctype/ctype.h: Likewise.
5343 * debug/swprintf_chk.c: Likewise.
5344 * elf/dl-cache.c: Likewise.
5345 * elf/dl-debug.c: Likewise.
5346 * elf/dl-object.c: Likewise.
5347 * grp/initgroups.c: Likewise.
5348 * hurd/Makefile: Likewise.
5349 * hurd/hurd/signal.h: Likewise.
5350 * hurd/hurdfault.c: Likewise.
5351 * hurd/hurdioctl.c: Likewise.
5352 * hurd/hurdlookup.c: Likewise.
5353 * hurd/intr-msg.c: Likewise.
5354 * iconv/gconv_open.c: Likewise.
5355 * libio/swprintf.c: Likewise.
5356 * locale/lc-ctype.c: Likewise.
5357 * locale/nl_langinfo.c: Likewise.
5358 * mach/Machrules: Likewise.
5359 * mach/Makefile: Likewise.
5360 * malloc/obstack.h: Likewise.
5361 * manual/Makefile: Likewise.
5362 * manual/tsort.awk: Likewise.
5363 * misc/bits/stab.def: Likewise.
5364 * nis/nis_print_group_entry.c: Likewise.
5365 * nis/nis_table.c: Likewise.
5366 * nis/nss_compat/compat-pwd.c: Likewise.
5367 * nis/nss_compat/compat-spwd.c: Likewise.
5368 * po/Makefile: Likewise.
5369 * posix/fnmatch.c: Likewise.
5370 * posix/regex.h: Likewise.
5371 * resolv/Makefile: Likewise.
5372 * resolv/nss_dns/dns-network.c: Likewise.
5373 * resolv/res_hconf.c: Likewise.
5374 * scripts/gen-sorted.awk: Likewise.
5375 * soft-fp/soft-fp.h: Likewise.
5376 * stdio-common/printf.h: Likewise.
5377 * stdlib/monetary.h: Likewise.
5378 * stdlib/random.c: Likewise.
5379 * stdlib/random_r.c: Likewise.
5380 * sysdeps/generic/Makefile: Likewise.
5381 * sysdeps/gnu/Makefile: Likewise.
5382 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5400 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5402 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5410 * sysdeps/mach/hurd/errnos.awk: Likewise.
5411 * sysdeps/mach/hurd/fork.c: Likewise.
5412 * sysdeps/mach/hurd/getcwd.c: Likewise.
5413 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5414 * sysdeps/mach/hurd/mmap.c: Likewise.
5415 * sysdeps/mach/hurd/utimes.c: Likewise.
5416 * sysdeps/mach/hurd/xmknod.c: Likewise.
5417 * sysdeps/posix/profil.c: Likewise.
5418 * sysdeps/posix/readdir_r.c: Likewise.
5419 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5420 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5421 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5422 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5424 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5425 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5426 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5428 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5429 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5430 * sysdeps/pthread/lio_listio.c: Likewise.
5431 * sysdeps/sparc/dl-procinfo.h: Likewise.
5432 * sysdeps/unix/i386/sysdep.S: Likewise.
5433 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5434 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5435 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5436 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5438 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5439 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5440 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5441 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5442 * sysdeps/wordsize-32/divdi3.c: Likewise.
5443 * time/sys/time.h: Likewise.
5444 * wcsmbs/Makefile: Likewise.
5446 2013-01-01 David S. Miller <davem@davemloft.net>
5448 * po/fr.po: Update from translation team.
5450 * catgets/gencat.c: Update copyright year.
5451 * csu/version.c: Likewise.
5452 * debug/catchsegv.sh: Likewise.
5453 * debug/pcprofiledump.c: Likewise.
5454 * debug/xtrace.sh: Likewise.
5455 * elf/ldconfig.c: Likewise.
5456 * elf/ldd.bash.in: Likewise.
5457 * elf/pldd.c: Likewise.
5458 * elf/sotruss.ksh: Likewise.
5459 * elf/sprof.c: Likewise.
5460 * iconv/iconv_prog.c: Likewise.
5461 * iconv/iconvconfig.c: Likewise.
5462 * locale/programs/locale.c: Likewise.
5463 * locale/programs/localedef.c: Likewise.
5464 * login/programs/pt_chown.c: Likewise.
5465 * malloc/memusage.sh: Likewise.
5466 * malloc/memusagestat.c: Likewise.
5467 * malloc/mtrace.pl: Likewise.
5468 * nscd/nscd.c: Likewise.
5469 * nss/getent.c: Likewise.
5470 * nss/makedb.c: Likewise.
5471 * posix/getconf.c: Likewise.
5473 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5475 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5478 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5480 * math/bits/mathcalls.h (modf): Use __nonnull.
5482 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5484 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5485 (split): Use macro CN instead of the bare value.
5486 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5488 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5489 instead of the bare value.
5492 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5494 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5496 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5498 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5500 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5501 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5502 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5503 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5505 2012-12-28 Andreas Jaeger <aj@suse.de>
5507 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5508 values are from Linux 3.7.
5510 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5511 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5513 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5515 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5518 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5520 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5521 variables with preprocessor constants.
5522 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5523 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5524 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5526 2012-12-27 Bruno Haible <bruno@clisp.org>
5529 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5532 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5535 and use variable directly.
5536 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5538 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5540 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5541 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5543 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5544 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5545 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5546 include directive. Remove local variable MPONE.
5547 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5548 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5549 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5551 2012-12-25 David S. Miller <davem@davemloft.net>
5553 * version.h (RELEASE): Set to "development".
5554 (VERSION): Set to "2.17.90".
5555 * NEWS: Add 2.18 section.
5557 2012-12-21 David S. Miller <davem@davemloft.net>
5559 * po/hr.po: Update from translation team.
5561 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5563 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5565 2012-12-19 Steve Ellcey <sellcey@mips.com>
5567 * NEWS: Mention new memcpy for MIPS.
5569 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5571 * manual/contrib.texi (Contributors): Spelling correction.
5573 2012-12-15 David S. Miller <davem@davemloft.net>
5575 * po/ru.po: Update from translation team.
5577 2012-12-13 David S. Miller <davem@davemloft.net>
5579 * NEWS: Mention IFUNC testsuite enhancements.
5581 * po/pl.po: Update from translation team.
5582 * po/bg.po: Likewise.
5584 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5585 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5587 2012-12-11 David S. Miller <davem@davemloft.net>
5589 * po/sv.po: Update from translation team.
5591 * po/vi.po: Update from translation team.
5593 * po/cs.po: Update from translation team.
5595 * po/de.po: Update from translation team.
5596 * po/eo.po: Likewise.
5597 * po/nl.po: Likewise.
5599 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5602 * manual/argp.texi (Argp Helper Functions): Move node to follow
5606 * manual/conf.texi (Limits on File System Capacity): Mention if
5607 terminating null is included in the max size.
5609 2012-12-10 Andreas Jaeger <aj@suse.de>
5611 * po/cs.po: Update from translation team.
5613 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5615 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5616 void pointer and cast to uintptr_t.
5617 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5619 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5620 * sysdeps/s390/s390-64/memset.S: Likewise.
5622 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5625 * menual/message.texi (Message Translation): Fix typos.
5626 (Helper programs for gettext): Likewise.
5628 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5631 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5634 2012-12-07 David S. Miller <davem@davemloft.net>
5636 * po/libc.pot: Update.
5638 2012-12-07 Richard Henderson <rth@redhat.com>
5641 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5642 normal/normal case to before the switch.
5643 (_FP_DIV): Likewise.
5645 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5646 Mike Frysinger <vapier@gentoo.org>
5648 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5649 check for __NR_fadvise64_64.
5651 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5653 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5654 0, not just to plain "0" as a statement.
5655 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5658 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5660 * NEWS: Use sourceware.org in Bugzilla URL.
5662 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5665 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5667 * stdio-common/tst-put-error.c (do_test): Add newline to the
5668 padded test to ensure flush.
5670 2012-12-05 Jeff Law <law@redhat.com>
5672 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5674 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5676 * README: Don't refer to ports add-on as distributed separately.
5677 Mention AArch64 in list of systems supported in the ports add-on.
5679 * LICENSES: Add more non-FSF copyright and license notices.
5681 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5684 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5686 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5687 10000 as width of padded output.
5689 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5691 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5693 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5694 variable LX with __attribute__ ((unused)).
5695 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5697 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5699 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5700 with __attribute__ ((unused)).
5702 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5704 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5706 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5708 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5709 (CFLAGS-nldbl-acos.c): New variable.
5710 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5711 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5712 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5713 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5714 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5715 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5716 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5717 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5718 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5719 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5720 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5721 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5722 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5723 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5724 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5725 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5726 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5727 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5728 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5729 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5730 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5731 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5732 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5733 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5734 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5735 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5736 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5737 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5738 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5739 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5740 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5741 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5742 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5743 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5744 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5745 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5746 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5747 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5748 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5749 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5750 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5751 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5752 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5753 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5754 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5755 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5756 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5757 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5758 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5759 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5760 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5761 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5762 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5763 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5764 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5765 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5766 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5767 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5768 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5769 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5770 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5771 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5772 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5773 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5774 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5775 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5776 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5777 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5778 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5779 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5780 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5781 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5782 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5783 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5784 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5785 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5786 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5787 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5788 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5789 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5790 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5791 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5792 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5793 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5794 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5795 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5796 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5797 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5798 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5799 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5800 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5801 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5802 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5803 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5804 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5805 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5806 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5809 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5813 whole low double instead of just low 47 bits when splitting values
5816 2012-12-03 Allan McRae <allan@archlinux.org>
5818 * manual/stdio.texi (Predefined Printf Handlers): Remove
5819 @hsep and @vsep usage.
5821 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5823 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5824 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5826 2012-12-03 Jeff Law <law@redhat.com>
5828 * time/sys/time.h (settimeofday): Do not mark TV argument
5831 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5833 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5834 when currently writing and seek to current position when not.
5835 * libio/Makefile (tests): Remove bug-fclose1.
5836 * libio/bug-fclose1.c: Delete.
5838 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5840 * manual/arith.texi (feenableexcept): Fix typo.
5841 (fedisableexcept): Likewise.
5843 2012-11-30 Roland McGrath <roland@hack.frob.com>
5845 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5846 second, differently-typed declaration, rather than a cast.
5848 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5850 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5851 * include/rpc/svc.h: ... here.
5853 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5856 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5857 depending n and resplen2 to catch cases where answer
5860 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5862 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5863 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5865 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5867 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5869 2012-11-29 Roland McGrath <roland@hack.frob.com>
5871 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5873 2012-11-28 Jeff Law <law@redhat.com>
5876 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5877 dataset_temporary. Track alloca usage into alloca_used.
5878 If dataset is large allocate and release it via malloc/free.
5880 2012-06-04 Florian Weimer <fweimer@redhat.com>
5883 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5885 2012-11-28 David S. Miller <davem@davemloft.net>
5887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5889 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5892 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5893 of pi/2 rounded to nearest to 64 bits.
5894 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5896 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5899 2012-11-28 Jeff Law <law@redhat.com>
5900 Martin Osvald <mosvald@redhat.com>
5903 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5904 * sunrpc/svc.c: Include time.h.
5905 (__svc_accept_failed): New function.
5906 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5907 any reason other than EINTR, call __svc_accept_failed.
5908 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5909 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5911 2012-11-28 Andreas Schwab <schwab@suse.de>
5913 * scripts/abilist.awk: Also handle indirect functions in .opd
5916 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5919 * sysdeps/x86/fpu/powl_helper.c: New file.
5920 * sysdeps/x86/fpu/Makefile: Likewise.
5921 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5923 (__ieee754_powl): Use __powl_helper for finite arguments except
5924 integer exponents below 8.
5925 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5927 (__ieee754_powl): Use __powl_helper for finite arguments except
5928 integer exponents below 8.
5929 * math/libm-test.inc (pow_test): Add more tests and enable some
5930 previously disabled tests.
5931 * sysdeps/i386/fpu/libm-test-ulps: Update.
5932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5934 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5935 Carlos O'Donell <carlos_odonell@mentor.com>
5937 * nss/makedb.c (is_prime): Assert that input is odd and greater
5938 than 4. Note that fact in a comment too.
5939 (next_prime): Add 4 to input.
5941 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5944 * libio/Makefile (tests): Add test case tst-fwrite-error.
5945 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5946 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5947 * libio/tst-fwrite-error.c: New test case.
5949 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5951 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5952 before casting to void *.
5953 * include/libc-internal.h (__pointer_type): New macro.
5954 (__integer_if_pointer_type_sub): Likewise.
5955 (__integer_if_pointer_type): Likewise.
5956 (cast_to_integer): Likewise.
5957 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5958 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5959 before casting to atomic64_t.
5960 (atomic_exchange_acq): Likewise.
5961 (__arch_exchange_and_add_body): Likewise.
5962 (__arch_add_body): Likewise.
5963 (atomic_add_negative): Likewise.
5964 (atomic_add_zero): Likewise.
5966 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5968 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5969 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5970 (add_fdes): Likewise.
5971 (linear_search_fdes): Likewise.
5972 (binary_search_unencoded_fdes): Likewise.
5974 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5976 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5978 2012-11-24 Adam Conrad <adconrad@0c3.net>
5980 * configure.in: Autodetect C++ header directories.
5981 * configure: Regenerated.
5983 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5985 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5987 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5991 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5993 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5994 LDBL_MANT_DIG == 106]: Disable some tests.
5995 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5997 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6001 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6002 input for small inputs. Return +/- pi/2 for large inputs.
6003 * math/libm-test.inc (atan_test): Add more tests.
6005 * sysdeps/generic/unwind-dw2-fde-glibc.c
6006 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6007 __attribute__ ((unused)).
6010 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6011 x * y if x and y are nonzero and z is zero.
6014 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6015 nonzero exponents with absolute value below 0x1p-117 to +/-
6019 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6020 up arguments below 2**-450, not just those below 2**-500.
6021 * math/libm-test.inc (hypot_test): Add another test.
6024 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6025 Return a+b for ratio over 2**120, not 2**60.
6026 * math/libm-test.inc (hypot_test): Add another test.
6028 * math/libm-test.inc (clog_test): Use
6029 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6030 (clog10_test): Likewise.
6033 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6035 2012-11-22 Andreas Schwab <schwab@suse.de>
6037 * sysdeps/i386/fpu/libm-test-ulps: Update.
6039 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6041 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6042 printf output with newline.
6044 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6047 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6048 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6049 -z nodlopen, -z initfirst and -z execstack support.
6050 * configure: Regenerated.
6052 * elf/elf.h (DF_1_NODIRECT): New macro.
6053 (DF_1_IGNMULDEF): Likewise.
6054 (DF_1_NOKSYMS): Likewise.
6055 (DF_1_NOHDR): Likewise.
6056 (DF_1_EDITED): Likewise.
6057 (DF_1_NORELOC): Likewise.
6058 (DF_1_SYMINTPOSE): Likewise.
6059 (DF_1_GLOBAUDIT): Likewise.
6060 (DF_1_SINGLETON): Likewise.
6061 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6062 DT_1_SUPPORTED_MASK bits.
6063 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6065 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6067 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6069 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6071 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6074 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6075 (sendmmsg): Move declarations...
6076 * socket/sys/socket.h: ... here.
6077 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6078 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6080 * socket/recvmmsg.c: ... this new file.
6081 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6082 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6083 definition of __sendmmsg hidden.
6084 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6085 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6086 Move ENOSYS stub into and include it from...
6087 * socket/sendmmsg.c: ... this new file.
6088 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6089 (sysdep_routines): Move recvmmsg and sendmmsg...
6090 * socket/Makefile (routines): ... here.
6091 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6092 (GLIBC_PRIVATE): Add __sendmmsg.
6093 * include/sys/socket.h (__sendmmsg): Add declarations.
6094 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6097 2012-11-20 Joseph Myers <joseph@codesourcery.com>
6099 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6100 variable I1 with __attribute__ ((unused)).
6101 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6103 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6105 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6106 DUMMY variables with __attribute__ ((unused)).
6108 * bits/byteswap.h: Include <bits/types.h>.
6109 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6111 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6113 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6114 string_t. Do not manually set errno.
6115 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6116 length with __strnlen. Make sure to both set errno and return it on
6119 2012-11-19 David S. Miller <davem@davemloft.net>
6121 With help from Joseph Myers.
6122 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6123 very large arguments properly.
6124 * math/libm-test.inc (atan_test): New tests.
6125 (atan2_test): New tests.
6126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6129 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6132 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6135 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6136 [POSIX] (EADDRNOTAVAIL): Likewise.
6137 [POSIX] (EAFNOSUPPORT): Likewise.
6138 [POSIX] (EALREADY): Likewise.
6139 [POSIX] (ECONNABORTED): Likewise.
6140 [POSIX] (ECONNREFUSED): Likewise.
6141 [POSIX] (ECONNRESET): Likewise.
6142 [POSIX] (EDESTADDRREQ): Likewise.
6143 [POSIX] (EDQUOT): Likewise.
6144 [POSIX] (EHOSTUNREACH): Likewise.
6145 [POSIX] (EIDRM): Likewise.
6146 [POSIX] (EISCONN): Likewise.
6147 [POSIX] (ELOOP): Likewise.
6148 [POSIX] (EMULTIHOP): Likewise.
6149 [POSIX] (ENETDOWN): Likewise.
6150 [POSIX] (ENETUNREACH): Likewise.
6151 [POSIX] (ENOBUFS): Likewise.
6152 [POSIX] (ENODATA): Likewise.
6153 [POSIX] (ENOLINK): Likewise.
6154 [POSIX] (ENOMSG): Likewise.
6155 [POSIX] (ENOPROTOOPT): Likewise.
6156 [POSIX] (ENOSR): Likewise.
6157 [POSIX] (ENOSTR): Likewise.
6158 [POSIX] (ENOTCONN): Likewise.
6159 [POSIX] (ENOTSOCK): Likewise.
6160 [POSIX] (EOPNOTSUPP): Likewise.
6161 [POSIX] (EOVERFLOW): Likewise.
6162 [POSIX] (EPROTO): Likewise.
6163 [POSIX] (EPROTONOSUPPORT): Likewise.
6164 [POSIX] (EPROTOTYPE): Likewise.
6165 [POSIX] (ESTALE): Likewise.
6166 [POSIX] (ETIME): Likewise.
6167 [POSIX] (ETXTBSY): Likewise.
6168 [POSIX] (EWOULDBLOCK): Likewise.
6169 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6170 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6171 [POSIX] (SEEK_CUR): Likewise.
6172 [POSIX] (SEEK_END): Likewise.
6173 [POSIX || UNIX98] (mode_t): Do not require.
6174 [POSIX] (off_t): Likewise.
6175 [POSIX] (pid_t): Likewise.
6176 [POSIX] (sys/stat.h): Do not allow header.
6177 [POSIX] (unistd.h): Likewise.
6178 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6179 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6180 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6181 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6183 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6184 sigevent): Specify elements.
6185 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6187 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6188 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6190 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6191 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6192 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6193 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6194 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6195 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6196 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6197 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6198 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6199 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6200 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6201 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6202 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6203 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6205 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6207 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6209 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6211 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6212 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6213 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6214 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6215 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6216 Specify lower bound on value.
6217 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6218 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6219 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6220 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6221 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6222 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6223 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6224 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6226 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6228 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6229 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6230 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6231 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6232 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6233 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6234 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6235 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6236 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6237 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6238 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6239 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6240 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6241 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6242 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6243 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6245 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6247 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6248 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6249 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6250 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6251 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6252 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6254 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6255 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6256 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6257 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6258 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6259 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6260 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6262 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6263 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6264 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6265 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6266 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6267 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6268 specify as optional.
6269 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6270 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6271 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6272 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6273 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6274 [XPG3] (NL_LANGMAX): Likewise.
6275 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6276 [POSIX || XPG3] (NL_NMAX): Likewise.
6277 [POSIX || XPG3] (NL_SETMAX): Likewise.
6278 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6279 [XPG3] (NZERO): Likewise.
6280 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6281 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6282 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6283 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6284 (REG_ERANGE): Expect.
6285 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6287 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6288 Use (void) in prototype.
6289 [POSIX] (*_t): Allow.
6290 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6291 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6292 (WRDE_BADVAL): Expect.
6294 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6296 [XPG3 || XPG4] (O_RSYNC): Likewise.
6297 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6299 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6300 [XPG3 || XPG4] (sigqueue): Likewise.
6301 [XPG3 || XPG4] (sigtimedwait): Likewise.
6302 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6303 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6304 [XPG3 || XPG4] (vsnprintf): Likewise.
6305 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6307 [XPG3 || XPG4] (blksize_t): Likewise.
6308 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6310 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6311 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6312 [XPG3 || XPG4] (struct itimerspec): Likewise.
6313 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6314 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6315 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6316 [XPG3 || XPG4] (clockid_t): Likewise.
6317 [XPG3 || XPG4] (timer_t): Likewise.
6318 [XPG3 || XPG4] (clock_getres): Likewise.
6319 [XPG3 || XPG4] (clock_gettime): Likewise.
6320 [XPG3 || XPG4] (clock_settime): Likewise.
6321 [XPG3 || XPG4] (nanosleep): Likewise.
6322 [XPG3 || XPG4] (timer_create): Likewise.
6323 [XPG3 || XPG4] (timer_delete): Likewise.
6324 [XPG3 || XPG4] (timer_gettime): Likewise.
6325 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6326 [XPG3 || XPG4] (timer_settime): Likewise.
6327 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6328 [XPG3 || XPG4] (getlogin_r): Likewise.
6329 [XPG3 || XPG4] (pread): Likewise.
6330 [XPG3 || XPG4] (pthread_atfork): Likewise.
6331 [XPG3 || XPG4] (pwrite): Likewise.
6334 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6337 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6339 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6340 finalizing MALLSTREAM.
6342 * sysdeps/mach/hurd/syncfs.c: New file.
6344 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6347 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6348 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6349 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6350 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6351 (_nss_dns_gethostbyname4_r): Likewise.
6352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6353 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6355 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6358 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6360 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6362 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6363 * elf/cache.c (print_entry): Print ",AArch64" for
6366 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6367 * elf/cache.c (print_entry): Print ",hard-float" for
6370 2012-11-18 David S. Miller <davem@davemloft.net>
6372 With help from Joseph Myers.
6373 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6375 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6377 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6378 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6380 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6381 * math/libm-test.inc (y0_test): New tests.
6382 (y1_test): New tests.
6383 * sysdeps/i386/fpu/libm-test-ulps: Update.
6384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6387 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6389 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6391 * configure: Regenerated.
6393 2012-11-17 David S. Miller <davem@davemloft.net>
6396 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6397 nonzero exponents with absolute value below 0x1p-128 to +/-
6400 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6402 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6404 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6406 * posix/getconf-speclist.c: New file.
6407 * posix/posix-envs.def: Likewise.
6408 * posix/confstr.c (START_ENV_GROUP): New macro.
6409 (END_ENV_GROUP): Likewise.
6410 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6411 (KNOWN_PRESENT_ENV_STRING): Likewise.
6412 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6413 (UNKNOWN_ENVIRONMENT): Likewise.
6414 (confstr): Include posix-envs.def instead of handling
6415 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6416 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6417 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6418 (END_ENV_GROUP): Likewise.
6419 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6420 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6421 (UNKNOWN_ENVIRONMENT): Likewise.
6422 (__sysconf): Include posix-envs.def instead of handling associated
6423 cases directly here.
6424 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6425 preprocessing getconf-speclist.c rather than running getconf or
6426 generating empty file.
6428 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6430 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6432 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6435 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6437 2012-11-16 David S. Miller <davem@davemloft.net>
6439 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6440 smaller than LDBL_EPSILON/2.0L, just return xm1.
6442 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6444 * elf/tst-array1.c (init): Set constructor priority to 1000.
6445 (fini): Set destructor priority to 1000.
6446 * elf/tst-array2dep.c: Likewise.
6448 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6451 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6452 (_IO_new_file_xsputn): Also return EOF if none of the input
6453 data was written when overflow failed.
6454 * libio/iopadn.c (_IO_padn): Likewise.
6455 * libio/iowpadn.c (_IO_wpadn): Likewise.
6456 * stdio-common/tst-put-error.c: Add copyright notice.
6457 (do_test): Add case for printing padded string.
6458 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6459 _IO_padn returned error.
6460 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6461 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6464 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6466 * libio/libioP.h: Add comment note that the references to C++
6467 bits are now obsolete.
6469 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6471 * math/libm-test.inc (check_complex): Use asprintf.
6473 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6475 * debug/pcprofiledump.c (print_version): Update copyright year.
6476 * malloc/memusagestat.c (print_version): Likewise.
6478 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6481 * elf/Makefile (tests): Add tst-audit8.
6482 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6483 ($(objpfx)tst-audit8.out): New target.
6484 (tst-audit8-ENV): New variable.
6485 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6486 audit if l_reloc_result is NULL.
6487 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6488 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6489 * elf/tst-audit8.c: New file.
6491 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6493 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6494 * misc/Makefile (CFLAGS-select.c): Define.
6495 * posix/Makefile (CFLAGS-pause.c): Define.
6497 2012-11-13 David S. Miller <davem@davemloft.net>
6499 * crypt/Makefile: Move test targets after toplevel Rules
6500 inclusion. Grab any necessary sysdep routines when linking.
6501 * crypt/md5.c (md5_process_block): Remove define, we will always
6502 name it __md5_process_block.
6503 (md5_finish_ctx): Update md5_process_block call.
6504 (md5_stream): Likewise.
6505 (md5_process_bytes): Likewise.
6506 (md5_process_block): Rename to __md5_process_block and move to ...
6507 * crypt/md5-block.c: ... here.
6508 * crypt/sha256.c (sha256_process_block): Move to ...
6509 * crypt/sha256-block.c: ... here.
6510 * crypt/sha512.c (sha512_process_block): Move to ...
6511 * crypt/sha512-block.c: ... here.
6512 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6514 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6515 * sysdeps/sparc/sparc64/multiarch/Makefile
6516 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6518 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6519 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6521 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6522 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6523 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6524 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6525 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6526 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6527 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6528 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6529 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6531 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6532 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6534 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6536 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6538 * timezone/tzselect.ksh: Update from tzcode git revision
6539 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6540 * timezone/zdump.c: Likewise.
6541 * timezone/zic.c: Likewise.
6542 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6543 in TZVERSION setting, not $(PKGVERSION).
6544 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6545 REPORT_BUGS_TO settings.
6548 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6551 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6553 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6554 detection to immediately after _FP_ROUND().
6555 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6558 2012-11-11 David S. Miller <davem@davemloft.net>
6560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6562 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6563 __close rather than their public counterparts.
6565 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6567 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6569 [UNIX98] (sem_timedwait): Do not expect.
6570 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6571 [XPG4 || UNIX98] (sockatmark): Do not expect.
6572 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6573 (clock_getcpuclockid): Do not expect.
6574 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6575 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6577 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6578 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6579 [UNIX98] (vwscanf): Likewise.
6580 [UNIX98] (vswscanf): Likewise.
6582 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6584 * timezone/version.h: Remove file.
6585 * timezone/README: Do not refer to version.h.
6586 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6588 ($(objpfx)zdump.o): Likewise.
6589 ($(objpfx)version.h): New target.
6591 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6593 * timezone/README: Don't mention modification to tzselect.ksh.
6594 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6595 work on unmodified tzselect.ksh. Substitute version numbers in
6598 * Makefile (format-me): Remove.
6599 (INSTALL): Adjust indentation. Use commands directly instead of
6602 * aclocal.m4 (ACX_PKGVERSION): New macro.
6603 (ACX_BUGURL): Likewise.
6604 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6605 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6606 (REPORT_BUGS_TO): Likewise.
6607 * configure: Regenerated.
6608 * config.h.in (PKGVERSION): New macro.
6609 (REPORT_BUGS_TO): Likewise.
6610 * config.make.in (PKGVERSION): New variable.
6611 (PKGVERSION_TEXI): Likewise.
6612 (REPORT_BUGS_TO): Likewise.
6613 (REPORT_BUGS_TEXI): Likewise.
6614 * Makefile (format-me): Use -I$(common-objpfx)manual.
6615 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6616 ($(common-objpfx)manual/%): New target.
6617 (manual/%): Remove target.
6618 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6619 (print_version): Use PKGVERSION.
6620 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6621 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6623 ($(objpfx)xtrace): Likewise.
6624 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6625 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6626 (print_version): Use PKGVERSION.
6627 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6628 (do_version): Use PKGVERSION.
6629 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6631 (common-ldd-rewrite): Likewise.
6632 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6633 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6634 (print_version): Use PKGVERSION.
6635 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6636 * elf/pldd.c (argp_program_bug_address): Remove variable.
6637 (more_help): New function.
6638 (argp): Use more_help.
6639 (print_version): Use PKGVERSION.
6640 * elf/sln.c (main): Use PKGVERSION.
6641 (usage): Use REPORT_BUGS_TO.
6642 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6643 (top level): Use PKGVERSION.
6644 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6645 (print_version): Use PKGVERSION.
6646 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6647 (print_version): Use PKGVERSION.
6648 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6649 (print_version): Use PKGVERSION.
6650 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6651 (print_version): Use PKGVERSION.
6652 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6653 (print_version): Use PKGVERSION.
6654 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6655 (print_version): Use PKGVERSION.
6656 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6658 ($(objpfx)memusage): Likewise.
6659 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6660 (do_version): Use PKGVERSION.
6661 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6662 (print_version): Use PKGVERSION.
6663 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6664 ($PKGVERSION): New variable.
6665 ($REPORT_BUGS_TO): Likewise.
6666 (usage): Use $REPORT_BUGS_TO.
6667 (top level): Use $PKGVERSION.
6668 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6669 ($(objpfx)pkgvers.texi): New rule.
6670 ($(objpfx)stamp-pkgvers): Likewise.
6671 * manual/install.texi: Include pkgvers.texi.
6672 (--with-pkgversion): Document new configure option.
6673 (--with-bugurl): Likewise.
6674 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6675 than necessarily for this particular distribution. Use
6676 REPORT_BUGS_TO for where to report bugs.
6677 * INSTALL: Regenerated.
6678 * manual/libc.texinfo: Include pkgvers.texi.
6679 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6680 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6681 (print_version): Use PKGVERSION.
6682 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6683 (print_version): Use PKGVERSION.
6684 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6685 (print_version): Use PKGVERSION.
6686 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6687 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6689 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6690 (print_version): Use PKGVERSION.
6691 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6692 (print_version): Use PKGVERSION.
6693 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6696 * timezone/checktab.awk: Update from tzcode 2012i.
6697 * timezone/ialloc.c: Likewise.
6698 * timezone/private.h: Likewise.
6699 * timezone/scheck.c: Likewise.
6700 * timezone/tzfile.h: Likewise.
6701 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6702 (TZVERSION): Hardcode tzcode version number.
6703 * timezone/zdump.c: Update from tzcode 2012i.
6704 * timezone/zic.c: Likewise.
6705 * timezone/version.h: New file.
6706 * timezone/README: Describe version.h. Update upstream location.
6709 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6710 (mktemp): Enable declaration.
6711 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6712 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6713 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6714 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6716 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6728 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6729 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6730 for copies of such integer values.
6731 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6732 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6734 2012-11-09 Andreas Jaeger <aj@suse.de>
6736 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6737 definitions and declarations that are provided by
6738 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6740 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6742 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6743 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6744 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6747 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6749 * elf/elf.h: Update comment before AArch64 relocations.
6751 2012-11-07 David S. Miller <davem@davemloft.net>
6753 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6754 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6755 (__start_context): Declare.
6756 (__makecontext_ret): Delete.
6757 (__makecontext): Hook up __start_context instead of
6759 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6760 (sysdep_routines): Add __start_context when in stdlib.
6762 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6764 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6765 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6766 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6768 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6769 (READELF): New variable. Use it instead of hardcoded "readelf".
6771 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6773 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6774 * sysdeps/x86/Makefile: Here.
6775 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6776 * sysdeps/x86/tst-xmmymm.sh: This.
6778 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6780 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6782 [UNIX98] (pthread_barrier_t): Do not expect.
6783 [UNIX98] (pthread_barrierattr_t): Likewise.
6784 [UNIX98] (pthread_spinlock_t): Likewise.
6785 [UNIX98] (pthread_barrier_destroy): Likewise.
6786 [UNIX98] (pthread_barrier_init): Likewise.
6787 [UNIX98] (pthread_barrier_wait): Likewise.
6788 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6789 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6790 [UNIX98] (pthread_barrierattr_init): Likewise.
6791 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6792 [UNIX98] (pthread_getcpuclockid): Likewise.
6793 [UNIX98] (pthread_mutex_timedlock): Likewise.
6794 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6795 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6796 [UNIX98] (pthread_sigmask): Likewise.
6797 [UNIX98] (pthread_spin_destroy): Likewise.
6798 [UNIX98] (pthread_spin_init): Likewise.
6799 [UNIX98] (pthread_spin_lock): Likewise.
6800 [UNIX98] (pthread_spin_trylock): Likewise.
6801 [UNIX98] (pthread_spin_unlock): Likewise.
6802 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6804 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6805 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6806 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6807 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6808 [XPG3 || XPG4] (pthread_key_t): Likewise.
6809 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6810 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6811 [XPG3 || XPG4] (pthread_once_t): Likewise.
6812 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6813 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6814 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6815 [XPG3 || XPG4] (pthread_t): Likewise.
6817 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6819 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6821 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6822 Change function return type to int.
6824 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6825 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6826 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6827 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6828 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6829 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6830 [!POSIX] (posix_madvise): Likewise.
6831 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6833 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6834 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6836 (posix_mem_offset): Likewise.
6837 (posix_typed_mem_get_info): Likewise.
6838 (posix_typed_mem_open): Likewise.
6840 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6841 Change condition to [XOPEN2K8].
6843 * conform/conformtest.pl: Preprocess allow-header data with -x c
6844 instead of from stdin.
6845 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6846 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6847 [C99-based standards] (cerfc): Likewise.
6848 [C99-based standards] (cexp2): Likewise.
6849 [C99-based standards] (cexpm1): Likewise.
6850 [C99-based standards] (clog10): Likewise.
6851 [C99-based standards] (clog1p): Likewise.
6852 [C99-based standards] (clog2): Likewise.
6853 [C99-based standards] (clgamma): Likewise.
6854 [C99-based standards] (ctgamma): Likewise.
6855 [C99-based standards] (cerff): Likewise.
6856 [C99-based standards] (cerfcf): Likewise.
6857 [C99-based standards] (cexp2f): Likewise.
6858 [C99-based standards] (cexpm1f): Likewise.
6859 [C99-based standards] (clog10f): Likewise.
6860 [C99-based standards] (clog1pf): Likewise.
6861 [C99-based standards] (clog2f): Likewise.
6862 [C99-based standards] (clgammaf): Likewise.
6863 [C99-based standards] (ctgammaf): Likewise.
6864 [C99-based standards] (cerfl): Likewise.
6865 [C99-based standards] (cerfcl): Likewise.
6866 [C99-based standards] (cexp2l): Likewise.
6867 [C99-based standards] (cexpm1l): Likewise.
6868 [C99-based standards] (clog10l): Likewise.
6869 [C99-based standards] (clog1pl): Likewise.
6870 [C99-based standards] (clog2l): Likewise.
6871 [C99-based standards] (clgammal): Likewise.
6872 [C99-based standards] (ctgammal): Likewise.
6873 * conform/data/inttypes.h-data [C99-based standards]: Include
6874 stdint.h-data. Remove all expectations for stdint.h contents.
6875 [C99-based standards] (PRI*): Do not allow.
6876 [C99-based standards] (SCN*): Likewise.
6877 [C99-based standards] (*_t): Likewise.
6878 [C99-based-standards] (PRId8): Expect macro.
6879 [C99-based-standards] (PRIi8): Likewise.
6880 [C99-based-standards] (PRIo8): Likewise.
6881 [C99-based-standards] (PRIu8): Likewise.
6882 [C99-based-standards] (PRIx8): Likewise.
6883 [C99-based-standards] (PRIX8): Likewise.
6884 [C99-based-standards] (SCNd8): Likewise.
6885 [C99-based-standards] (SCNi8): Likewise.
6886 [C99-based-standards] (SCNo8): Likewise.
6887 [C99-based-standards] (SCNu8): Likewise.
6888 [C99-based-standards] (SCNx8): Likewise.
6889 [C99-based-standards] (PRIdLEAST8): Likewise.
6890 [C99-based-standards] (PRIiLEAST8): Likewise.
6891 [C99-based-standards] (PRIoLEAST8): Likewise.
6892 [C99-based-standards] (PRIuLEAST8): Likewise.
6893 [C99-based-standards] (PRIxLEAST8): Likewise.
6894 [C99-based-standards] (PRIXLEAST8): Likewise.
6895 [C99-based-standards] (SCNdLEAST8): Likewise.
6896 [C99-based-standards] (SCNiLEAST8): Likewise.
6897 [C99-based-standards] (SCNoLEAST8): Likewise.
6898 [C99-based-standards] (SCNuLEAST8): Likewise.
6899 [C99-based-standards] (SCNxLEAST8): Likewise.
6900 [C99-based-standards] (PRIdFAST8): Likewise.
6901 [C99-based-standards] (PRIiFAST8): Likewise.
6902 [C99-based-standards] (PRIoFAST8): Likewise.
6903 [C99-based-standards] (PRIuFAST8): Likewise.
6904 [C99-based-standards] (PRIxFAST8): Likewise.
6905 [C99-based-standards] (PRIXFAST8): Likewise.
6906 [C99-based-standards] (SCNdFAST8): Likewise.
6907 [C99-based-standards] (SCNiFAST8): Likewise.
6908 [C99-based-standards] (SCNoFAST8): Likewise.
6909 [C99-based-standards] (SCNuFAST8): Likewise.
6910 [C99-based-standards] (SCNxFAST8): Likewise.
6911 [C99-based-standards] (PRId16): Likewise.
6912 [C99-based-standards] (PRIi16): Likewise.
6913 [C99-based-standards] (PRIo16): Likewise.
6914 [C99-based-standards] (PRIu16): Likewise.
6915 [C99-based-standards] (PRIx16): Likewise.
6916 [C99-based-standards] (PRIX16): Likewise.
6917 [C99-based-standards] (SCNd16): Likewise.
6918 [C99-based-standards] (SCNi16): Likewise.
6919 [C99-based-standards] (SCNo16): Likewise.
6920 [C99-based-standards] (SCNu16): Likewise.
6921 [C99-based-standards] (SCNx16): Likewise.
6922 [C99-based-standards] (PRIdLEAST16): Likewise.
6923 [C99-based-standards] (PRIiLEAST16): Likewise.
6924 [C99-based-standards] (PRIoLEAST16): Likewise.
6925 [C99-based-standards] (PRIuLEAST16): Likewise.
6926 [C99-based-standards] (PRIxLEAST16): Likewise.
6927 [C99-based-standards] (PRIXLEAST16): Likewise.
6928 [C99-based-standards] (SCNdLEAST16): Likewise.
6929 [C99-based-standards] (SCNiLEAST16): Likewise.
6930 [C99-based-standards] (SCNoLEAST16): Likewise.
6931 [C99-based-standards] (SCNuLEAST16): Likewise.
6932 [C99-based-standards] (SCNxLEAST16): Likewise.
6933 [C99-based-standards] (PRIdFAST16): Likewise.
6934 [C99-based-standards] (PRIiFAST16): Likewise.
6935 [C99-based-standards] (PRIoFAST16): Likewise.
6936 [C99-based-standards] (PRIuFAST16): Likewise.
6937 [C99-based-standards] (PRIxFAST16): Likewise.
6938 [C99-based-standards] (PRIXFAST16): Likewise.
6939 [C99-based-standards] (SCNdFAST16): Likewise.
6940 [C99-based-standards] (SCNiFAST16): Likewise.
6941 [C99-based-standards] (SCNoFAST16): Likewise.
6942 [C99-based-standards] (SCNuFAST16): Likewise.
6943 [C99-based-standards] (SCNxFAST16): Likewise.
6944 [C99-based-standards] (PRId32): Likewise.
6945 [C99-based-standards] (PRIi32): Likewise.
6946 [C99-based-standards] (PRIo32): Likewise.
6947 [C99-based-standards] (PRIu32): Likewise.
6948 [C99-based-standards] (PRIx32): Likewise.
6949 [C99-based-standards] (PRIX32): Likewise.
6950 [C99-based-standards] (SCNd32): Likewise.
6951 [C99-based-standards] (SCNi32): Likewise.
6952 [C99-based-standards] (SCNo32): Likewise.
6953 [C99-based-standards] (SCNu32): Likewise.
6954 [C99-based-standards] (SCNx32): Likewise.
6955 [C99-based-standards] (PRIdLEAST32): Likewise.
6956 [C99-based-standards] (PRIiLEAST32): Likewise.
6957 [C99-based-standards] (PRIoLEAST32): Likewise.
6958 [C99-based-standards] (PRIuLEAST32): Likewise.
6959 [C99-based-standards] (PRIxLEAST32): Likewise.
6960 [C99-based-standards] (PRIXLEAST32): Likewise.
6961 [C99-based-standards] (SCNdLEAST32): Likewise.
6962 [C99-based-standards] (SCNiLEAST32): Likewise.
6963 [C99-based-standards] (SCNoLEAST32): Likewise.
6964 [C99-based-standards] (SCNuLEAST32): Likewise.
6965 [C99-based-standards] (SCNxLEAST32): Likewise.
6966 [C99-based-standards] (PRIdFAST32): Likewise.
6967 [C99-based-standards] (PRIiFAST32): Likewise.
6968 [C99-based-standards] (PRIoFAST32): Likewise.
6969 [C99-based-standards] (PRIuFAST32): Likewise.
6970 [C99-based-standards] (PRIxFAST32): Likewise.
6971 [C99-based-standards] (PRIXFAST32): Likewise.
6972 [C99-based-standards] (SCNdFAST32): Likewise.
6973 [C99-based-standards] (SCNiFAST32): Likewise.
6974 [C99-based-standards] (SCNoFAST32): Likewise.
6975 [C99-based-standards] (SCNuFAST32): Likewise.
6976 [C99-based-standards] (SCNxFAST32): Likewise.
6977 [C99-based-standards] (PRId64): Likewise.
6978 [C99-based-standards] (PRIi64): Likewise.
6979 [C99-based-standards] (PRIo64): Likewise.
6980 [C99-based-standards] (PRIu64): Likewise.
6981 [C99-based-standards] (PRIx64): Likewise.
6982 [C99-based-standards] (PRIX64): Likewise.
6983 [C99-based-standards] (SCNd64): Likewise.
6984 [C99-based-standards] (SCNi64): Likewise.
6985 [C99-based-standards] (SCNo64): Likewise.
6986 [C99-based-standards] (SCNu64): Likewise.
6987 [C99-based-standards] (SCNx64): Likewise.
6988 [C99-based-standards] (PRIdLEAST64): Likewise.
6989 [C99-based-standards] (PRIiLEAST64): Likewise.
6990 [C99-based-standards] (PRIoLEAST64): Likewise.
6991 [C99-based-standards] (PRIuLEAST64): Likewise.
6992 [C99-based-standards] (PRIxLEAST64): Likewise.
6993 [C99-based-standards] (PRIXLEAST64): Likewise.
6994 [C99-based-standards] (SCNdLEAST64): Likewise.
6995 [C99-based-standards] (SCNiLEAST64): Likewise.
6996 [C99-based-standards] (SCNoLEAST64): Likewise.
6997 [C99-based-standards] (SCNuLEAST64): Likewise.
6998 [C99-based-standards] (SCNxLEAST64): Likewise.
6999 [C99-based-standards] (PRIdFAST64): Likewise.
7000 [C99-based-standards] (PRIiFAST64): Likewise.
7001 [C99-based-standards] (PRIoFAST64): Likewise.
7002 [C99-based-standards] (PRIuFAST64): Likewise.
7003 [C99-based-standards] (PRIxFAST64): Likewise.
7004 [C99-based-standards] (PRIXFAST64): Likewise.
7005 [C99-based-standards] (SCNdFAST64): Likewise.
7006 [C99-based-standards] (SCNiFAST64): Likewise.
7007 [C99-based-standards] (SCNoFAST64): Likewise.
7008 [C99-based-standards] (SCNuFAST64): Likewise.
7009 [C99-based-standards] (SCNxFAST64): Likewise.
7010 [C99-based-standards] (PRIdMAX): Likewise.
7011 [C99-based-standards] (PRIiMAX): Likewise.
7012 [C99-based-standards] (PRIoMAX): Likewise.
7013 [C99-based-standards] (PRIuMAX): Likewise.
7014 [C99-based-standards] (PRIxMAX): Likewise.
7015 [C99-based-standards] (PRIXMAX): Likewise.
7016 [C99-based-standards] (SCNdMAX): Likewise.
7017 [C99-based-standards] (SCNiMAX): Likewise.
7018 [C99-based-standards] (SCNoMAX): Likewise.
7019 [C99-based-standards] (SCNuMAX): Likewise.
7020 [C99-based-standards] (SCNxMAX): Likewise.
7021 [C99-based-standards] (PRIdPTR): Likewise.
7022 [C99-based-standards] (PRIiPTR): Likewise.
7023 [C99-based-standards] (PRIoPTR): Likewise.
7024 [C99-based-standards] (PRIuPTR): Likewise.
7025 [C99-based-standards] (PRIxPTR): Likewise.
7026 [C99-based-standards] (PRIXPTR): Likewise.
7027 [C99-based-standards] (SCNdPTR): Likewise.
7028 [C99-based-standards] (SCNiPTR): Likewise.
7029 [C99-based-standards] (SCNoPTR): Likewise.
7030 [C99-based-standards] (SCNuPTR): Likewise.
7031 [C99-based-standards] (SCNxPTR): Likewise.
7032 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7034 * conform/data/stdint.h-data: Update comments to clarify
7036 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7038 [C99-based standards] (INT8_MAX): Likewise.
7039 [C99-based standards] (INT16_MIN): Likewise.
7040 [C99-based standards] (INT16_MAX): Likewise.
7041 [C99-based standards] (INT32_MIN): Likewise.
7042 [C99-based standards] (INT32_MAX): Likewise.
7043 [C99-based standards] (INT64_MIN): Likewise.
7044 [C99-based standards] (INT64_MAX): Likewise.
7045 [C99-based standards] (UINT8_MAX): Likewise.
7046 [C99-based standards] (UINT16_MAX): Likewise.
7047 [C99-based standards] (UINT32_MAX): Likewise.
7048 [C99-based standards] (UINT64_MAX): Likewise.
7049 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7050 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7051 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7052 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7053 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7054 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7055 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7056 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7057 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7058 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7059 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7060 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7061 [C99-based standards] (INT_FAST8_MIN): Likewise.
7062 [C99-based standards] (INT_FAST8_MAX): Likewise.
7063 [C99-based standards] (INT_FAST16_MIN): Likewise.
7064 [C99-based standards] (INT_FAST16_MAX): Likewise.
7065 [C99-based standards] (INT_FAST32_MIN): Likewise.
7066 [C99-based standards] (INT_FAST32_MAX): Likewise.
7067 [C99-based standards] (INT_FAST64_MIN): Likewise.
7068 [C99-based standards] (INT_FAST64_MAX): Likewise.
7069 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7070 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7071 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7072 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7073 [C99-based standards] (INTPTR_MIN): Likewise.
7074 [C99-based standards] (INTPTR_MAX): Likewise.
7075 [C99-based standards] (UINTPTR_MAX): Likewise.
7076 [C99-based standards] (INTMAX_MIN): Likewise.
7077 [C99-based standards] (INTMAX_MAX): Likewise.
7078 [C99-based standards] (UINTMAX_MAX): Likewise.
7079 [C99-based standards] (PTRDIFF_MIN): Likewise.
7080 [C99-based standards] (PTRDIFF_MAX): Likewise.
7081 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7082 [C99-based standards] (SIZE_MAX): Likewise.
7083 [C99-based standards] (WCHAR_MAX): Likewise.
7084 [C99-based standards] (WINT_MAX): Likewise.
7085 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7086 constraint on value.
7087 [C99-based standards] (WCHAR_MIN): Likewise.
7088 [C99-based standards] (WINT_MIN): Likewise.
7089 [C99-based standards] (*_t): Allow.
7090 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7091 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7092 Include math.h-data and complex.h-data. Remove all expectations
7093 of math.h and complex.h contents.
7094 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7096 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7097 (struct tm): Expect tag.
7098 [C99-based-standards] (wcstof): Expect function.
7099 [C99-based-standards] (wcstold): Likewise.
7100 [C99-based-standards] (wcstoll): Likewise.
7101 [C99-based-standards] (wcstoull): Likewise.
7102 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7103 macro-int-constant. Specify type.
7104 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7105 constraint on value.
7106 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7108 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7110 [ISO C standards]: Do not allow headers.
7111 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7112 wcs[abcdefghijklmnopqrstuvwxyz]*.
7113 [ISO C standards] (*_t): Do not allow.
7114 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7116 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7117 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7119 [ISO C standards]: Do not allow headers.
7120 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7121 is[abcdefghijklmnopqrstuvwxyz]*.
7122 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7123 to[abcdefghijklmnopqrstuvwxyz]*.
7124 [ISO C standards] (*_t): Do not allow.
7125 * conform/data/stdalign.h-data: New file.
7126 * conform/data/stdbool.h-data: Likewise.
7127 * conform/data/stdnoreturn.h-data: Likewise.
7129 2012-11-07 Roland McGrath <roland@hack.frob.com>
7132 * manual/filesys.texi (Directory Entries): Typo fix.
7133 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7135 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7137 * elf/elf.h (EM_AARCH64): New macro.
7138 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7139 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7140 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7141 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7142 (R_AARCH64_TLSDESC): Likewise.
7143 (NT_ARM_TLS): Likewise.
7144 (NT_ARM_HW_BREAK): Likewise.
7145 (NT_ARM_HW_WATCH): Likewise.
7147 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7150 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7151 (__ieee754_powl): Saturate nonzero exponents with absolute value
7152 below 0x1p-79 to +/- 0x1p-79.
7153 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7154 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7155 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7156 nonzero exponents with absolute value below 0x1p-32 to +/-
7158 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7159 (__ieee754_powl): Saturate nonzero exponents with absolute value
7160 below 0x1p-79 to +/- 0x1p-79.
7161 * math/libm-test.inc (pow_test): Add more tests.
7163 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7165 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7166 _dl_s390_cap_flags with kernel. Increase string length.
7167 (_dl_s390_platforms): Add z196 and zEC12.
7169 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7171 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7172 Change XOPEN21K to XOPEN2K.
7174 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7176 * string/memmove.c: Use memcpy when possible.
7178 2012-11-06 Andreas Jaeger <aj@suse.de>
7180 * po/eo.po: Update from translation team.
7182 2012-11-06 Joseph Myers <joseph@codesourcery.com>
7185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7186 exponent and small x and y exponents, scale x or y up. Increase
7187 by 2 the exponent used in scaling up.
7188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7189 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7190 * math/libm-test.inc (fma_test): Add more tests.
7191 (fma_test_towardzero): Likewise.
7192 (fma_test_downward): Likewise.
7193 (fma_test_upward): Likewise.
7195 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7198 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7202 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7203 namespace for names of struct fields.
7204 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7206 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7207 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7209 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7212 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7214 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7216 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7220 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7223 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7227 definitely overflow as x * y not x * y + z.
7228 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7229 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7230 * math/libm-test.inc (fma_test): Add more tests.
7231 (fma_test_towardzero): Likewise.
7232 (fma_test_downward): Likewise.
7233 (fma_test_upward): Likewise.
7235 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7239 * include/stub-tag.h: Remove file.
7240 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7242 * manual/maint.texi (Porting): Don't reference it.
7243 * Makerules ($(objpfx)stubs): Likewise.
7244 * dirent/closedir.c: Don't include <stub-tag.h>.
7245 * dirent/dirfd.c: Likewise.
7246 * dirent/fdopendir.c: Likewise.
7247 * dirent/getdents.c: Likewise.
7248 * dirent/getdents64.c: Likewise.
7249 * dirent/opendir.c: Likewise.
7250 * dirent/readdir.c: Likewise.
7251 * dirent/readdir64.c: Likewise.
7252 * dirent/readdir64_r.c: Likewise.
7253 * dirent/readdir_r.c: Likewise.
7254 * dirent/rewinddir.c: Likewise.
7255 * dirent/seekdir.c: Likewise.
7256 * dirent/telldir.c: Likewise.
7257 * gmon/profil.c: Likewise.
7258 * grp/setgroups.c: Likewise.
7259 * inet/if_index.c: Likewise.
7260 * io/access.c: Likewise.
7261 * io/chdir.c: Likewise.
7262 * io/chmod.c: Likewise.
7263 * io/chown.c: Likewise.
7264 * io/close.c: Likewise.
7265 * io/dup.c: Likewise.
7266 * io/dup2.c: Likewise.
7267 * io/dup3.c: Likewise.
7268 * io/euidaccess.c: Likewise.
7269 * io/faccessat.c: Likewise.
7270 * io/fchdir.c: Likewise.
7271 * io/fchmod.c: Likewise.
7272 * io/fchmodat.c: Likewise.
7273 * io/fchown.c: Likewise.
7274 * io/fchownat.c: Likewise.
7275 * io/fcntl.c: Likewise.
7276 * io/flock.c: Likewise.
7277 * io/fstatfs.c: Likewise.
7278 * io/fstatfs64.c: Likewise.
7279 * io/fstatvfs.c: Likewise.
7280 * io/fstatvfs64.c: Likewise.
7281 * io/futimens.c: Likewise.
7282 * io/fxstat.c: Likewise.
7283 * io/fxstat64.c: Likewise.
7284 * io/fxstatat.c: Likewise.
7285 * io/fxstatat64.c: Likewise.
7286 * io/getcwd.c: Likewise.
7287 * io/isatty.c: Likewise.
7288 * io/lchmod.c: Likewise.
7289 * io/lchown.c: Likewise.
7290 * io/link.c: Likewise.
7291 * io/linkat.c: Likewise.
7292 * io/lseek.c: Likewise.
7293 * io/lseek64.c: Likewise.
7294 * io/lxstat64.c: Likewise.
7295 * io/mkdir.c: Likewise.
7296 * io/mkdirat.c: Likewise.
7297 * io/mkfifo.c: Likewise.
7298 * io/mkfifoat.c: Likewise.
7299 * io/open.c: Likewise.
7300 * io/open64.c: Likewise.
7301 * io/openat.c: Likewise.
7302 * io/openat64.c: Likewise.
7303 * io/pipe.c: Likewise.
7304 * io/pipe2.c: Likewise.
7305 * io/poll.c: Likewise.
7306 * io/posix_fadvise.c: Likewise.
7307 * io/posix_fadvise64.c: Likewise.
7308 * io/posix_fallocate.c: Likewise.
7309 * io/posix_fallocate64.c: Likewise.
7310 * io/read.c: Likewise.
7311 * io/readlink.c: Likewise.
7312 * io/readlinkat.c: Likewise.
7313 * io/rmdir.c: Likewise.
7314 * io/sendfile.c: Likewise.
7315 * io/sendfile64.c: Likewise.
7316 * io/statfs.c: Likewise.
7317 * io/statfs64.c: Likewise.
7318 * io/statvfs.c: Likewise.
7319 * io/statvfs64.c: Likewise.
7320 * io/symlink.c: Likewise.
7321 * io/symlinkat.c: Likewise.
7322 * io/ttyname.c: Likewise.
7323 * io/ttyname_r.c: Likewise.
7324 * io/umask.c: Likewise.
7325 * io/unlink.c: Likewise.
7326 * io/unlinkat.c: Likewise.
7327 * io/utime.c: Likewise.
7328 * io/utimensat.c: Likewise.
7329 * io/write.c: Likewise.
7330 * io/xmknod.c: Likewise.
7331 * io/xmknodat.c: Likewise.
7332 * io/xstat.c: Likewise.
7333 * io/xstat64.c: Likewise.
7334 * login/getpt.c: Likewise.
7335 * login/grantpt.c: Likewise.
7336 * login/unlockpt.c: Likewise.
7337 * math/e_acoshl.c: Likewise.
7338 * math/e_acosl.c: Likewise.
7339 * math/e_asinl.c: Likewise.
7340 * math/e_atan2l.c: Likewise.
7341 * math/e_atanhl.c: Likewise.
7342 * math/e_coshl.c: Likewise.
7343 * math/e_expl.c: Likewise.
7344 * math/e_fmodl.c: Likewise.
7345 * math/e_gammal_r.c: Likewise.
7346 * math/e_hypotl.c: Likewise.
7347 * math/e_j0l.c: Likewise.
7348 * math/e_j1l.c: Likewise.
7349 * math/e_jnl.c: Likewise.
7350 * math/e_lgammal_r.c: Likewise.
7351 * math/e_log10l.c: Likewise.
7352 * math/e_log2l.c: Likewise.
7353 * math/e_logl.c: Likewise.
7354 * math/e_powl.c: Likewise.
7355 * math/e_rem_pio2l.c: Likewise.
7356 * math/e_sinhl.c: Likewise.
7357 * math/e_sqrtl.c: Likewise.
7358 * math/fclrexcpt.c: Likewise.
7359 * math/fedisblxcpt.c: Likewise.
7360 * math/feenablxcpt.c: Likewise.
7361 * math/fegetenv.c: Likewise.
7362 * math/fegetexcept.c: Likewise.
7363 * math/fegetround.c: Likewise.
7364 * math/feholdexcpt.c: Likewise.
7365 * math/fesetenv.c: Likewise.
7366 * math/fesetround.c: Likewise.
7367 * math/feupdateenv.c: Likewise.
7368 * math/fgetexcptflg.c: Likewise.
7369 * math/fraiseexcpt.c: Likewise.
7370 * math/fsetexcptflg.c: Likewise.
7371 * math/ftestexcept.c: Likewise.
7372 * math/k_cosl.c: Likewise.
7373 * math/k_rem_pio2l.c: Likewise.
7374 * math/k_sinl.c: Likewise.
7375 * math/k_tanl.c: Likewise.
7376 * math/s_asinhl.c: Likewise.
7377 * math/s_atanl.c: Likewise.
7378 * math/s_cbrtl.c: Likewise.
7379 * math/s_erfl.c: Likewise.
7380 * math/s_expm1l.c: Likewise.
7381 * math/s_log1pl.c: Likewise.
7382 * math/s_tanhl.c: Likewise.
7383 * misc/acct.c: Likewise.
7384 * misc/brk.c: Likewise.
7385 * misc/chflags.c: Likewise.
7386 * misc/chroot.c: Likewise.
7387 * misc/fchflags.c: Likewise.
7388 * misc/fgetxattr.c: Likewise.
7389 * misc/flistxattr.c: Likewise.
7390 * misc/fremovexattr.c: Likewise.
7391 * misc/fsetxattr.c: Likewise.
7392 * misc/fsync.c: Likewise.
7393 * misc/ftruncate.c: Likewise.
7394 * misc/futimes.c: Likewise.
7395 * misc/futimesat.c: Likewise.
7396 * misc/getdomain.c: Likewise.
7397 * misc/getdtsz.c: Likewise.
7398 * misc/gethostid.c: Likewise.
7399 * misc/gethostname.c: Likewise.
7400 * misc/getloadavg.c: Likewise.
7401 * misc/getpagesize.c: Likewise.
7402 * misc/getsysstats.c: Likewise.
7403 * misc/getxattr.c: Likewise.
7404 * misc/gtty.c: Likewise.
7405 * misc/ioctl.c: Likewise.
7406 * misc/lgetxattr.c: Likewise.
7407 * misc/listxattr.c: Likewise.
7408 * misc/llistxattr.c: Likewise.
7409 * misc/lremovexattr.c: Likewise.
7410 * misc/lsetxattr.c: Likewise.
7411 * misc/lutimes.c: Likewise.
7412 * misc/madvise.c: Likewise.
7413 * misc/mincore.c: Likewise.
7414 * misc/mlock.c: Likewise.
7415 * misc/mlockall.c: Likewise.
7416 * misc/mmap.c: Likewise.
7417 * misc/mprotect.c: Likewise.
7418 * misc/msync.c: Likewise.
7419 * misc/munlock.c: Likewise.
7420 * misc/munlockall.c: Likewise.
7421 * misc/munmap.c: Likewise.
7422 * misc/preadv.c: Likewise.
7423 * misc/preadv64.c: Likewise.
7424 * misc/ptrace.c: Likewise.
7425 * misc/pwritev.c: Likewise.
7426 * misc/pwritev64.c: Likewise.
7427 * misc/readv.c: Likewise.
7428 * misc/reboot.c: Likewise.
7429 * misc/remap_file_pages.c: Likewise.
7430 * misc/removexattr.c: Likewise.
7431 * misc/revoke.c: Likewise.
7432 * misc/select.c: Likewise.
7433 * misc/setdomain.c: Likewise.
7434 * misc/setegid.c: Likewise.
7435 * misc/seteuid.c: Likewise.
7436 * misc/sethostid.c: Likewise.
7437 * misc/sethostname.c: Likewise.
7438 * misc/setregid.c: Likewise.
7439 * misc/setreuid.c: Likewise.
7440 * misc/setxattr.c: Likewise.
7441 * misc/sstk.c: Likewise.
7442 * misc/stty.c: Likewise.
7443 * misc/swapoff.c: Likewise.
7444 * misc/swapon.c: Likewise.
7445 * misc/sync.c: Likewise.
7446 * misc/syncfs.c: Likewise.
7447 * misc/syscall.c: Likewise.
7448 * misc/truncate.c: Likewise.
7449 * misc/ualarm.c: Likewise.
7450 * misc/usleep.c: Likewise.
7451 * misc/ustat.c: Likewise.
7452 * misc/utimes.c: Likewise.
7453 * misc/vhangup.c: Likewise.
7454 * misc/writev.c: Likewise.
7455 * posix/_exit.c: Likewise.
7456 * posix/alarm.c: Likewise.
7457 * posix/execve.c: Likewise.
7458 * posix/fexecve.c: Likewise.
7459 * posix/fork.c: Likewise.
7460 * posix/fpathconf.c: Likewise.
7461 * posix/getaddrinfo.c: Likewise.
7462 * posix/getegid.c: Likewise.
7463 * posix/geteuid.c: Likewise.
7464 * posix/getgid.c: Likewise.
7465 * posix/getgroups.c: Likewise.
7466 * posix/getlogin.c: Likewise.
7467 * posix/getlogin_r.c: Likewise.
7468 * posix/getpgid.c: Likewise.
7469 * posix/getpid.c: Likewise.
7470 * posix/getppid.c: Likewise.
7471 * posix/getresgid.c: Likewise.
7472 * posix/getresuid.c: Likewise.
7473 * posix/getsid.c: Likewise.
7474 * posix/getuid.c: Likewise.
7475 * posix/glob64.c: Likewise.
7476 * posix/nanosleep.c: Likewise.
7477 * posix/pathconf.c: Likewise.
7478 * posix/pause.c: Likewise.
7479 * posix/posix_madvise.c: Likewise.
7480 * posix/pread.c: Likewise.
7481 * posix/pread64.c: Likewise.
7482 * posix/pwrite.c: Likewise.
7483 * posix/pwrite64.c: Likewise.
7484 * posix/sched_getaffinity.c: Likewise.
7485 * posix/sched_getp.c: Likewise.
7486 * posix/sched_gets.c: Likewise.
7487 * posix/sched_primax.c: Likewise.
7488 * posix/sched_primin.c: Likewise.
7489 * posix/sched_rr_gi.c: Likewise.
7490 * posix/sched_setaffinity.c: Likewise.
7491 * posix/sched_setp.c: Likewise.
7492 * posix/sched_sets.c: Likewise.
7493 * posix/sched_yield.c: Likewise.
7494 * posix/setgid.c: Likewise.
7495 * posix/setlogin.c: Likewise.
7496 * posix/setpgid.c: Likewise.
7497 * posix/setresgid.c: Likewise.
7498 * posix/setresuid.c: Likewise.
7499 * posix/setsid.c: Likewise.
7500 * posix/setuid.c: Likewise.
7501 * posix/sleep.c: Likewise.
7502 * posix/spawni.c: Likewise.
7503 * posix/sysconf.c: Likewise.
7504 * posix/times.c: Likewise.
7505 * posix/wait.c: Likewise.
7506 * posix/wait3.c: Likewise.
7507 * posix/wait4.c: Likewise.
7508 * posix/waitpid.c: Likewise.
7509 * resolv/gai_sigqueue.c: Likewise.
7510 * resource/getpriority.c: Likewise.
7511 * resource/getrlimit.c: Likewise.
7512 * resource/getrusage.c: Likewise.
7513 * resource/nice.c: Likewise.
7514 * resource/setpriority.c: Likewise.
7515 * resource/setrlimit.c: Likewise.
7516 * resource/ulimit.c: Likewise.
7517 * rt/aio_cancel.c: Likewise.
7518 * rt/aio_fsync.c: Likewise.
7519 * rt/aio_read.c: Likewise.
7520 * rt/aio_sigqueue.c: Likewise.
7521 * rt/aio_suspend.c: Likewise.
7522 * rt/aio_write.c: Likewise.
7523 * rt/clock_getres.c: Likewise.
7524 * rt/clock_gettime.c: Likewise.
7525 * rt/clock_nanosleep.c: Likewise.
7526 * rt/clock_settime.c: Likewise.
7527 * rt/lio_listio.c: Likewise.
7528 * rt/mq_close.c: Likewise.
7529 * rt/mq_getattr.c: Likewise.
7530 * rt/mq_notify.c: Likewise.
7531 * rt/mq_open.c: Likewise.
7532 * rt/mq_receive.c: Likewise.
7533 * rt/mq_send.c: Likewise.
7534 * rt/mq_setattr.c: Likewise.
7535 * rt/mq_timedreceive.c: Likewise.
7536 * rt/mq_timedsend.c: Likewise.
7537 * rt/mq_unlink.c: Likewise.
7538 * rt/shm_open.c: Likewise.
7539 * rt/shm_unlink.c: Likewise.
7540 * rt/timer_create.c: Likewise.
7541 * rt/timer_delete.c: Likewise.
7542 * rt/timer_getoverr.c: Likewise.
7543 * rt/timer_gettime.c: Likewise.
7544 * rt/timer_settime.c: Likewise.
7545 * setjmp/__longjmp.c: Likewise.
7546 * setjmp/setjmp.c: Likewise.
7547 * signal/kill.c: Likewise.
7548 * signal/killpg.c: Likewise.
7549 * signal/raise.c: Likewise.
7550 * signal/sigaction.c: Likewise.
7551 * signal/sigaltstack.c: Likewise.
7552 * signal/sigblock.c: Likewise.
7553 * signal/sigignore.c: Likewise.
7554 * signal/sigintr.c: Likewise.
7555 * signal/signal.c: Likewise.
7556 * signal/sigpause.c: Likewise.
7557 * signal/sigpending.c: Likewise.
7558 * signal/sigqueue.c: Likewise.
7559 * signal/sigreturn.c: Likewise.
7560 * signal/sigset.c: Likewise.
7561 * signal/sigsetmask.c: Likewise.
7562 * signal/sigstack.c: Likewise.
7563 * signal/sigsuspend.c: Likewise.
7564 * signal/sigtimedwait.c: Likewise.
7565 * signal/sigvec.c: Likewise.
7566 * signal/sigwait.c: Likewise.
7567 * signal/sigwaitinfo.c: Likewise.
7568 * signal/sysv_signal.c: Likewise.
7569 * socket/accept.c: Likewise.
7570 * socket/accept4.c: Likewise.
7571 * socket/bind.c: Likewise.
7572 * socket/connect.c: Likewise.
7573 * socket/getpeername.c: Likewise.
7574 * socket/getsockname.c: Likewise.
7575 * socket/getsockopt.c: Likewise.
7576 * socket/isfdtype.c: Likewise.
7577 * socket/listen.c: Likewise.
7578 * socket/recv.c: Likewise.
7579 * socket/recvfrom.c: Likewise.
7580 * socket/recvmsg.c: Likewise.
7581 * socket/send.c: Likewise.
7582 * socket/sendmsg.c: Likewise.
7583 * socket/sendto.c: Likewise.
7584 * socket/setsockopt.c: Likewise.
7585 * socket/shutdown.c: Likewise.
7586 * socket/sockatmark.c: Likewise.
7587 * socket/socket.c: Likewise.
7588 * socket/socketpair.c: Likewise.
7589 * stdio-common/ctermid.c: Likewise.
7590 * stdio-common/cuserid.c: Likewise.
7591 * stdio-common/remove.c: Likewise.
7592 * stdio-common/rename.c: Likewise.
7593 * stdio-common/renameat.c: Likewise.
7594 * stdio-common/tempname.c: Likewise.
7595 * stdlib/getcontext.c: Likewise.
7596 * stdlib/makecontext.c: Likewise.
7597 * stdlib/setcontext.c: Likewise.
7598 * stdlib/swapcontext.c: Likewise.
7599 * stdlib/system.c: Likewise.
7600 * streams/fattach.c: Likewise.
7601 * streams/fdetach.c: Likewise.
7602 * streams/getmsg.c: Likewise.
7603 * streams/getpmsg.c: Likewise.
7604 * streams/putmsg.c: Likewise.
7605 * streams/putpmsg.c: Likewise.
7606 * sysdeps/unix/bsd/getpt.c: Likewise.
7607 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7608 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7609 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7612 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7613 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7614 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7615 * sysvipc/msgctl.c: Likewise.
7616 * sysvipc/msgget.c: Likewise.
7617 * sysvipc/msgrcv.c: Likewise.
7618 * sysvipc/msgsnd.c: Likewise.
7619 * sysvipc/semctl.c: Likewise.
7620 * sysvipc/semget.c: Likewise.
7621 * sysvipc/semop.c: Likewise.
7622 * sysvipc/semtimedop.c: Likewise.
7623 * sysvipc/shmat.c: Likewise.
7624 * sysvipc/shmctl.c: Likewise.
7625 * sysvipc/shmdt.c: Likewise.
7626 * sysvipc/shmget.c: Likewise.
7627 * termios/tcdrain.c: Likewise.
7628 * termios/tcflow.c: Likewise.
7629 * termios/tcflush.c: Likewise.
7630 * termios/tcgetattr.c: Likewise.
7631 * termios/tcgetpgrp.c: Likewise.
7632 * termios/tcsendbrk.c: Likewise.
7633 * termios/tcsetattr.c: Likewise.
7634 * termios/tcsetpgrp.c: Likewise.
7635 * time/adjtime.c: Likewise.
7636 * time/clock.c: Likewise.
7637 * time/getitimer.c: Likewise.
7638 * time/gettimeofday.c: Likewise.
7639 * time/setitimer.c: Likewise.
7640 * time/settimeofday.c: Likewise.
7641 * time/stime.c: Likewise.
7642 * time/time.c: Likewise.
7644 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7646 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7649 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7651 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7653 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7657 FE_TONEAREST before applying Dekker multiplication and Knuth
7658 addition. Clear inexact exceptions and check for exact zero
7660 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7661 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7663 * math/libm-test.inc (fma_test): Add more tests.
7664 (fma_test_towardzero): Likewise.
7665 (fma_test_downward): Likewise.
7666 (fma_test_upward): Likewise.
7667 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7669 (libc_fesetround): New macro.
7670 (libc_fesetroundf): Likewise.
7671 (libc_fesetroundl): Likewise.
7672 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7674 (libc_fesetround_387): Likewise.
7675 (libc_fesetroundf): New macro.
7676 (libc_fesetround): Likewise.
7677 (libc_fesetroundl): Likewise.
7678 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7680 (libc_fesetroundf): New macro.
7681 (libc_fesetround): Likewise.
7682 (libc_fesetroundl): Likewise.
7683 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7684 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7685 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7687 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7688 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7690 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7691 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7693 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7697 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7698 integer constant usable in #if and use that to give value to enum
7700 (FE_DIVBYZERO): Likewise.
7701 (FE_UNDERFLOW): Likewise.
7702 (FE_OVERFLOW): Likewise.
7703 (FE_INVALID): Likewise.
7704 (FE_INVALID_SNAN): Likewise.
7705 (FE_INVALID_ISI): Likewise.
7706 (FE_INVALID_IDI): Likewise.
7707 (FE_INVALID_ZDZ): Likewise.
7708 (FE_INVALID_IMZ): Likewise.
7709 (FE_INVALID_COMPARE): Likewise.
7710 (FE_INVALID_SOFTWARE): Likewise.
7711 (FE_INVALID_SQRT): Likewise.
7712 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7713 (FE_TONEAREST): Likewise.
7714 (FE_TOWARDZERO): Likewise.
7715 (FE_UPWARD): Likewise.
7716 (FE_DOWNWARD): Likewise.
7717 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7718 (FE_DIVBYZERO): Likewise.
7719 (FE_OVERFLOW): Likewise.
7720 (FE_UNDERFLOW): Likewise.
7721 (FE_INEXACT): Likewise.
7722 (FE_TONEAREST): Likewise.
7723 (FE_DOWNWARD): Likewise.
7724 (FE_UPWARD): Likewise.
7725 (FE_TOWARDZERO): Likewise.
7726 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7727 (FE_UNDERFLOW): Likewise.
7728 (FE_OVERFLOW): Likewise.
7729 (FE_DIVBYZERO): Likewise.
7730 (FE_INVALID): Likewise.
7731 (FE_TONEAREST): Likewise.
7732 (FE_TOWARDZERO): Likewise.
7733 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7734 (FE_OVERFLOW): Likewise.
7735 (FE_UNDERFLOW): Likewise.
7736 (FE_DIVBYZERO): Likewise.
7737 (FE_INEXACT): Likewise.
7738 (FE_TONEAREST): Likewise.
7739 (FE_TOWARDZERO): Likewise.
7740 (FE_UPWARD): Likewise.
7741 (FE_DOWNWARD): Likewise.
7742 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7743 (FE_DIVBYZERO): Likewise.
7744 (FE_OVERFLOW): Likewise.
7745 (FE_UNDERFLOW): Likewise.
7746 (FE_INEXACT): Likewise.
7747 (FE_TONEAREST): Likewise.
7748 (FE_DOWNWARD): Likewise.
7749 (FE_UPWARD): Likewise.
7750 (FE_TOWARDZERO): Likewise.
7752 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7754 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7756 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7758 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7759 commands. Quote $PWD.
7760 (blacklist_exports): Don't use remove_newlines. Replace "declare
7762 (remove_newlines): Remove.
7764 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7766 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7767 * stdlib/stdlib.h (atof): Moved to ...
7768 * include/bits/stdlib-float.h: Here. New file.
7769 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7770 * stdlib/bits/stdlib-float.h: New file.
7771 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7773 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7776 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7778 * conform/conformtest.pl (@headers): Add fenv.h.
7779 * conform/data/fenv.h-data: New file.
7780 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7781 include of <math/fenv.h>.
7783 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7784 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7785 && !UNIX98]. Enables tests for XOPEN2K8.
7786 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7787 POSIX2008]: Likewise.
7789 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7790 (struct rusage): Do not expect type or its members.
7793 * math/math.h (FP_NAN): Define macro to integer constant usable in
7794 #if and use that to give value to enum constant.
7795 (FP_INFINITE): Likewise.
7796 (FP_ZERO): Likewise.
7797 (FP_SUBNORMAL): Likewise.
7798 (FP_NORMAL): Likewise.
7800 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7802 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7803 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7806 2012-11-02 Roland McGrath <roland@hack.frob.com>
7808 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7809 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7810 autoconf-time if not.
7811 * configure.in: Remove AC_PREREQ.
7813 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7815 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7816 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7817 of the internal implementation.
7819 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7821 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7822 except include of <misc/sys/syslog.h>.
7824 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7827 function returns with a NULL context exit with zero.
7829 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7831 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7833 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7835 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7836 (run_program_cmd): This.
7837 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7838 (tst_langinfo): New variable. Use it.
7840 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7842 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7843 floating point opcodes.
7845 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7847 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7850 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7852 * sysdeps/mach/hurd/powerpc: Remove directory.
7853 * sysdeps/mach/powerpc: Likewise.
7855 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7857 * scripts/check-local-headers.sh: Ignore c++ headers.
7859 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7861 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7862 __libc_cleanup_region_start argument.
7864 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7869 x * y using scaling, not as x * y + z.
7870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7872 * math/libm-test.inc (fma_test): Add more tests.
7873 (fma_test_towardzero): Likewise.
7874 (fma_test_downward): Likewise.
7875 (fma_test_upward): Likewise.
7877 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7879 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7881 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7883 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7886 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7888 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7890 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7897 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7900 Fix the order of the list for glibc 2.17.
7901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7904 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7908 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7911 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7912 for low part of x being zero before using __atanl (y).
7913 * math/libm-test.inc (atan2_test): Add another test.
7915 * manual/install.texi (Configuring and compiling): Document
7916 general use of test-wrapper and test-wrapper-env.
7917 * INSTALL: Regenerated.
7919 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7920 (__fma): Do not extract and scale down low bits on after-rounding
7921 systems when result rounded to normal precision would have normal
7923 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7924 (__fmal): Do not extract and scale down low bits on after-rounding
7925 systems when result rounded to normal precision would have normal
7927 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7928 (__fmal): Do not extract and scale down low bits on after-rounding
7929 systems when result rounded to normal precision would have normal
7931 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7933 (fma_test): Add more tests.
7934 (fma_test_towardzero): Likewise.
7935 (fma_test_downward): Likewise.
7936 (fma_test_upward): Likewise.
7938 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7940 * sysdeps/i386/tininess.h: Renamed to ...
7941 * sysdeps/x86/tininess.h: This.
7942 * sysdeps/x86_64/tininess.h: Removed.
7944 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7946 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7947 input. Use $(build-program-cmd).
7948 ($(objpfx)tst-array1-static.out): Likewise.
7949 ($(objpfx)tst-array2.out): Likewise.
7950 ($(objpfx)tst-array3.out): Likewise.
7951 ($(objpfx)tst-array4.out): Likewise.
7952 ($(objpfx)tst-array5.out): Likewise.
7953 ($(objpfx)tst-array5-static.out): Likewise.
7955 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7957 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7960 * nss/nsswitch.h (nss_interface_function): Provide new
7961 macro for use with NSS functions.
7962 * grp/initgroups.c: Use new macro.
7963 * nss/getXXbyYY.c: Likewise.
7964 * nss/getXXbyYY_r.c: Likewise.
7965 * nss/getXXent.c: Likewise.
7966 * nss/getXXent_r.c: Likewise.
7967 * sysdeps/posix/getaddrinfo.c: Likewise.
7969 2012-10-30 Andreas Jaeger <aj@suse.de>
7971 * po/ru.po: Update Russion translation from translation project.
7973 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7977 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7978 result and shift together with sticky bit instead of replicating
7979 round-to-nearest rounding.
7980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7982 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7983 missing underflow exceptions.
7984 (fma_test_towardzero): Add more tests.
7985 (fma_test_downward): Likewise.
7986 (fma_test_upward): Likewise.
7989 * sysdeps/generic/tininess.h: New file.
7990 * sysdeps/i386/tininess.h: Likewise.
7991 * sysdeps/sh/tininess.h: Likewise.
7992 * sysdeps/x86_64/tininess.h: Likewise.
7993 * stdlib/tst-strtod-underflow.c: Likewise.
7994 * stdlib/tst-tininess.c: Likewise.
7995 * stdlib/strtod_l.c: Include <tininess.h>.
7996 (round_and_return): Do not set errno for exact underflow cases.
7997 Force an underflow exception when setting errno for underflow.
7998 Determine underflow based on rounding to normal precision if
7999 TININESS_AFTER_ROUNDING.
8000 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8001 ERANGE for exact underflow cases.
8002 * stdlib/Makefile (tests): Add tst-tininess and
8003 tst-strtod-underflow.
8004 ($(objpfx)tst-tininess): Use $(link-libm).
8005 ($(objpfx)tst-strtod-underflow): Likewise.
8007 2012-10-30 Andreas Jaeger <aj@suse.de>
8010 * elf/Makefile (tests): Remove conditional for have-initfini-array
8011 since this is now always required and the variable does not exist
8013 (tests-static): Likewise.
8014 (modules-names): Likewise.
8016 * po/eo.po: Add Esperanto translation from translation project.
8018 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8019 merged with constructor/destructor.
8020 (init_array): Likewise.
8021 * elf/tst-array2dep.c (fini_array): Likewise.
8022 (init_array): Likewise.
8024 2012-10-29 Mike Frysinger <vapier@gentoo.org>
8026 * manual/message.texi: Delete @cartouche tags.
8028 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8030 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8032 * sysdeps/mach/hurd/fsync.c: Likewise.
8034 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8035 [_POSIX_REALTIME_SIGNALS]: Change condition to
8036 [_POSIX_REALTIME_SIGNALS > 0].
8038 2012-10-27 Andreas Jaeger <aj@suse.de>
8040 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8041 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8043 [__WORDSIZE != 64]: Likewise.
8045 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8047 * iconvdata/tst-table.sh: Remove ${SHELL}.
8048 * iconvdata/tst-tables.sh: Likewise.
8050 2012-10-25 David S. Miller <davem@davemloft.net>
8052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8053 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8058 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8059 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8060 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8063 2012-10-25 Roland McGrath <roland@hack.frob.com>
8065 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8066 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8069 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8070 Jim Blandy <jimb@codesourcery.com>
8072 * scripts/cross-test-ssh.sh: New file.
8073 * manual/install.texi (Configuring and compiling): Document use of
8075 * INSTALL: Regenerated.
8077 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8079 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8082 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8084 * Makeconfig (run-program-prefix): Fix comment.
8086 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8087 Jim Blandy <jimb@codesourcery.com>
8089 * Makeconfig (test-wrapper): New variable,
8090 (test-wrapper-env): Likewise.
8091 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8092 (run-built-tests): Define to yes.
8093 (run-program-prefix): Use $(test-wrapper).
8094 (built-program-cmd): Likewise.
8095 * Rules (make-test-out): Use $(test-wrapper-env) and
8096 $(host-built-program-cmd).
8097 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8098 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8100 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8101 $(test-wrapper-env) to tst-rtld-load-self.sh.
8102 ($(objpfx)order2.out): Use $(test-wrapper).
8103 ($(objpfx)tst-initorder.out): Likewise.
8104 ($(objpfx)tst-initorder2.out): Likewise.
8105 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8106 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8107 (test_wrapper_env): New variable. Use it to run ld.so.
8108 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8109 Use it to run ld.so.
8110 (test_wrapper_env): Likewise.
8111 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8112 $(test-wrapper) to run-iconv-test.sh.
8113 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8114 (ICONV): Use $test_wrapper.
8115 * posix/Makefile ($(objpfx)globtest.out): Pass
8116 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8117 globtest.sh, not $(run-program-prefix).
8118 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8119 (test_wrapper): Likewise.
8120 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8121 set together with run_via_rtld_prefix.
8122 (run_program_prefix): Define in terms of test_wrapper and
8123 run_via_rtld_prefix.
8125 2012-10-24 Roland McGrath <roland@hack.frob.com>
8127 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8128 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8132 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8133 Declare __clock_getres, __clock_gettime, __clock_settime,
8134 __clock_nanosleep, and __clock_getcpuclockid.
8135 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8136 Remove librt_hidden_def (clock_gettime).
8137 * sysdeps/unix/clock_gettime.c: Likewise.
8138 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8139 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8140 * rt/clock_getres.c: Define __clock_getres as an alias.
8141 * sysdeps/posix/clock_getres.c: Likewise.
8142 * rt/clock_settime.c: Define __clock_settime as an alias.
8143 * sysdeps/unix/clock_settime.c: Likewise.
8144 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8145 * sysdeps/unix/clock_nanosleep.c: Likewise.
8146 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8147 * rt/clock-compat.c: New file.
8148 * rt/Makefile (librt-routines): Add clock-compat and move
8149 $(clock-routines) to ...
8150 (routines): ... here, new variable.
8151 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8152 Don't add get_clockfreq here.
8153 * rt/Versions (libc: GLIBC_2.17): New version set.
8154 Add clock_* symbols here.
8155 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8156 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8157 (GLIBC_2.17): Add clock_* symbols.
8158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8160 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8169 * NEWS: Mention the move.
8171 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8172 Use __open, __read, __close rather than their public counterparts.
8173 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8174 (__get_clockfreq_via_cpuinfo): Likewise.
8175 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8176 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8178 * config.h.in (HAVE_IFUNC): New #undef.
8179 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8181 * configure: Regenerated.
8183 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8185 * configure.in: Move READELF check to start of file.
8186 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8187 libc_cv_asm_gnu_indirect_function in the process.
8188 * configure: Regenerated.
8190 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8192 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8193 send the output to /dev/null.
8194 (libc_cv_cc_with_libunwind): Likewise.
8195 (libc_cv_as_noexecstack): Likewise.
8196 * configure: Regenerate.
8198 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8200 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8202 * posix/globtest.sh (TMPDIR): Do not set.
8203 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8204 (testout): Likewise.
8206 2012-10-24 Andreas Jaeger <aj@suse.de>
8208 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8209 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8210 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8211 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8212 posix_fadvise64, posix_fallocate64.
8214 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8215 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8216 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8218 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8220 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8223 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8224 <bits/fcntl-linux.h>.
8225 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8228 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8229 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8230 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8231 [__WORDSIZE != 64]: Likewise.
8233 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8235 * Makeconfig (run-built-tests): New variable.
8236 * Rules [$(cross-compiling) = yes]: Change condition to
8237 [$(run-built-tests) = no].
8238 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8239 to [$(run-built-tests) = yes].
8240 * elf/Makefile [$(cross-compiling) = no]: Likewise
8241 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8242 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8243 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8244 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8245 * io/Makefile [$(cross-compiling) = no]: Likewise.
8246 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8247 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8248 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8249 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8250 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8251 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8252 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8253 * string/Makefile [$(cross-compiling) = no]: Likewise.
8255 * posix/Makefile ($(objpfx)globtest.out): Pass
8256 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8257 $(rtld-installed-name).
8258 * posix/globtest.sh (elf_objpfx): Remove variable.
8259 (rtld_installed_name): Likewise.
8260 (library_path): Likewise.
8261 (run_program_prefix): New variable. Use for running globtest
8264 2012-10-23 Jim Blandy <jimb@codesourcery.com>
8265 Joseph Myers <joseph@codesourcery.com>
8267 * Makeconfig (host-built-program-cmd): New variable.
8268 * elf/Makefile (tst-stackguard1-ARGS): Use
8269 $(host-built-program-cmd).
8270 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8271 (tst-spawn-ARGS): Likewise.
8272 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8274 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8275 Jim Blandy <jimb@codesourcery.com>
8277 * Makeconfig (run-via-rtld-prefix): New variable.
8278 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8279 (built-program-cmd): Likewise.
8281 2012-10-22 Andreas Jaeger <aj@suse.de>
8283 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8284 __O_RSYNC if it exists, otherwise to O_SYNC.
8286 2012-10-22 Jim Blandy <jimb@codesourcery.com>
8287 Joseph Myers <joseph@codesourcery.com>
8289 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8291 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8293 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8296 2012-10-22 Andreas Jaeger <aj@suse.de>
8298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8306 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8308 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8313 2012-10-21 Jim Blandy <jimb@codesourcery.com>
8314 Joseph Myers <joseph@codesourcery.com>
8316 * config.make.in (NM): New variable.
8318 2012-10-21 Andreas Jaeger <aj@suse.de>
8320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8321 definitions and declarations that are provided by
8322 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8324 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8327 * elf/Makefile (tests-static): Add tst-leaks1-static.
8328 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8329 ($(objpfx)tst-leaks1-static): New rule.
8330 ($(objpfx)tst-leaks1-static-mem): Likewise.
8331 (tst-leaks1-static-ENV): New macro.
8332 * elf/dl-open.c (dl_open_worker): Check the main application
8333 only if SHARED is defined.
8334 * elf/tst-leaks1-static.c: New file.
8336 2012-10-20 Andreas Jaeger <aj@suse.de>
8338 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8339 generic values for Linux.
8340 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8341 and declarations that are provided by <bits/fcntl-linux.h> and
8342 include <bits/fcntl-linux.h>.
8343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8344 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8346 2012-10-20 Roland McGrath <roland@hack.frob.com>
8348 * io/fcntl.h: Move include of <bits/types.h> to the top and
8349 include it unconditionally.
8351 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8353 * wcsmbs/Makefile (tests-ifunc): New variable.
8354 (tests): Add $(tests-ifunc).
8355 * wcsmbs/test-wcschr-ifunc.c: New file.
8356 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8357 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8358 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8359 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8360 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8362 * string/Makefile (tests-ifunc): New variable.
8363 (tests): Add $(tests-ifunc).
8364 * string/test-memccpy.c (TEST_NAME): New macro.
8365 * string/test-memchr.c (TEST_NAME): Likewise.
8366 * string/test-memcmp.c (TEST_NAME): Likewise.
8367 * string/test-memcpy.c (TEST_NAME): Likewise.
8368 * string/test-memmem.c (TEST_NAME): Likewise.
8369 * string/test-memmove.c (TEST_NAME): Likewise.
8370 * string/test-memset.c (TEST_NAME): Likewise.
8371 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8372 * string/test-stpcpy.c (TEST_NAME): Likewise.
8373 * string/test-stpncpy.c (TEST_NAME): Likewise.
8374 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8375 * string/test-strcasestr.c (TEST_NAME): Likewise.
8376 * string/test-strcat.c (TEST_NAME): Likewise.
8377 * string/test-strchr.c (TEST_NAME): Likewise.
8378 * string/test-strcmp.c(TEST_NAME): Likewise.
8379 * string/test-strcpy.c (TEST_NAME): Likewise.
8380 * string/test-strcspn.c (TEST_NAME): Likewise.
8381 * string/test-strlen.c (TEST_NAME): Likewise.
8382 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8383 * string/test-strncmp.c (TEST_NAME): Likewise.
8384 * string/test-strncpy.c (TEST_NAME): Likewise.
8385 * string/test-strnlen.c (TEST_NAME): Likewise.
8386 * string/test-strpbrk.c (TEST_NAME): Likewise.
8387 * string/test-strrchr.c (TEST_NAME): Likewise.
8388 * string/test-strspn.c (TEST_NAME): Likewise.
8389 * string/test-strstr.c (TEST_NAME): Likewise.
8390 * string/test-bcopy-ifunc.c: New file.
8391 * string/test-bzero-ifunc.c: Likewise.
8392 * string/test-memccpy-ifunc.c: Likewise.
8393 * string/test-memchr-ifunc.c: Likewise.
8394 * string/test-memcmp-ifunc.c: Likewise.
8395 * string/test-memcpy-ifunc.c: Likewise.
8396 * string/test-memmem-ifunc.c: Likewise.
8397 * string/test-memmove-ifunc.c: Likewise.
8398 * string/test-mempcpy-ifunc.c: Likewise.
8399 * string/test-memset-ifunc.c: Likewise.
8400 * string/test-rawmemchr-ifunc.c: Likewise.
8401 * string/test-stpcpy-ifunc.c: Likewise.
8402 * string/test-stpncpy-ifunc.c: Likewise.
8403 * string/test-strcasecmp-ifunc.c: Likewise.
8404 * string/test-strcasestr-ifunc.c: Likewise.
8405 * string/test-strcat-ifunc.c: Likewise.
8406 * string/test-strchr-ifunc.c: Likewise.
8407 * string/test-strchrnul-ifunc.c: Likewise.
8408 * string/test-strcmp-ifunc.c: Likewise.
8409 * string/test-strcpy-ifunc.c: Likewise.
8410 * string/test-strcspn-ifunc.c: Likewise.
8411 * string/test-strlen-ifunc.c: Likewise.
8412 * string/test-strncasecmp-ifunc.c: Likewise.
8413 * string/test-strncat-ifunc.c: Likewise.
8414 * string/test-strncmp-ifunc.c: Likewise.
8415 * string/test-strncpy-ifunc.c: Likewise.
8416 * string/test-strnlen-ifunc.c: Likewise.
8417 * string/test-strpbrk-ifunc.c: Likewise.
8418 * string/test-strrchr-ifunc.c: Likewise.
8419 * string/test-strspn-ifunc.c: Likewise.
8420 * string/test-strstr-ifunc.c: Likewise.
8422 * debug/Makefile (tests-ifunc): New variable.
8423 (tests): Add $(tests-ifunc).
8424 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8425 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8426 * debug/test-stpcpy_chk-ifunc.c: New file.
8427 * debug/test-strcpy_chk-ifunc.c: Likewise.
8429 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8432 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8433 header is not read in.
8435 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8437 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8438 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8439 directly. Pass built executable to script as
8440 $(built-program-cmd).
8441 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8442 $testprogram without using LD_LIBRARY_PATH and $ldso.
8444 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8445 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8446 $(rtld-installed-name).
8447 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8448 (rtld_installed_name): Likewise.
8449 (library_path): Likewise.
8450 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8451 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8452 $(run-program-prefix) to tst-tables.sh.
8453 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8454 it to run tst-table-from and tst-table-to.
8455 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8456 Pass it to tst-table.sh.
8457 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8458 $(run-program-prefix) to tst-gettext.sh.
8459 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8461 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8463 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8465 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8466 to run tst-gettext2.
8467 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8468 to run tst-translit.
8469 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8470 $(run-program-prefix) to tst-mtrace.sh.
8471 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8473 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8474 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8475 $(rtld-installed-name).
8476 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8477 (rtld_installed_name): Likewise.
8478 (run_program_prefix): New variable. Use it to run wordexp-test.
8480 * Makeconfig (ARCH): Remove all definitions.
8481 (machine): Likewise.
8482 [ARCH]: Remove conditional code.
8483 [!objdir]: Give error.
8484 [!objdir] (objpfx): Remove.
8485 [!objdir] (common-objpfx): Likewise.
8486 [!objdir] (common-objdir): Likewise.
8487 * configure.in (config_makefile): Remove. Hardcode Makefile in
8488 AC_CONFIG_FILES call.
8489 * configure: Regenerated.
8492 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8494 (testout): Likewise.
8496 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8497 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8498 $(rtld-installed-name).
8499 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8500 (rtld_installed_name): Likwise.
8501 (runit): Remove function.
8502 (run_getconf): New variable, Use it for running getconf binary.
8504 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8507 * string/test-memmem.c (check_result): New function.
8508 (do_one_test): Use it.
8509 (check1): New function.
8510 (test_main): Use it.
8512 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8514 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8516 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8518 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8519 (_G_LSEEK64): Likewise.
8520 (_G_MMAP64): Likewise.
8521 (_G_FSTAT64): Likewise.
8522 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8523 (_G_LSEEK64): Likewise.
8524 (_G_MMAP64): Likewise.
8525 (_G_FSTAT64): Likewise.
8526 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8527 unconditional. Call __mmap64 directly.
8528 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8529 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8531 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8532 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8534 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8535 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8537 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8538 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8540 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8541 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8543 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8544 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8545 __fxstat64 directly.
8546 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8547 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8549 (freopen64) [!_G_OPEN64]: Remove conditional code.
8550 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8552 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8553 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8555 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8556 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8558 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8559 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8561 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8562 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8564 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8565 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8567 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8568 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8570 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8572 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8575 * manual/memory.texi (Malloc Tunable Parameters): Add note
8576 about free list pointers overwriting some perturb bytes.
8577 Wording suggested by Roland McGrath.
8579 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8581 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8582 (lgamma_test): Likewise.
8583 (tgamma_test): Likewise.
8585 2012-10-16 Florian Weimer <fweimer@redhat.com>
8588 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8589 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8591 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8593 * NEWS: Mention BZ #14716.
8594 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8595 when removing AVAILABLE1_USES_J macro.
8597 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8599 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8600 (__bswap_64): __uint64_t for unsigned 64-bit int.
8602 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8604 * include/string.h (memmem): Declare libc hidden alias.
8605 * string/memmem.c (memmem): Define libc hidden alias.
8606 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8607 __read, __close instead of open, read, close.
8609 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8612 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8614 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8615 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8616 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8618 (__rawmemchr_sse2): Likewise.
8619 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8620 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8621 (__strchr_sse2): Likewise.
8622 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8623 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8624 (__strcasecmp_sse2): Likewise.
8625 (__strncasecmp_sse2): Likewise.
8626 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8627 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8628 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8629 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8630 (__strrchr_sse2): Likewise.
8631 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8633 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8634 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8635 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8636 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8637 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8638 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8639 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8640 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8641 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8642 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8643 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8644 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8645 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8646 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8647 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8648 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8649 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8650 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8651 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8652 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8653 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8654 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8655 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8656 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8657 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8658 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8659 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8660 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8661 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8662 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8664 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8666 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8667 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8668 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8669 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8671 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8673 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8674 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8675 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8676 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8678 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8679 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8680 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8681 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8682 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8683 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8684 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8685 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8686 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8687 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8688 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8689 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8690 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8691 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8692 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8693 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8694 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8695 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8696 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8697 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8698 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8699 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8700 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8701 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8702 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8703 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8704 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8705 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8706 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8707 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8708 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8709 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8710 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8711 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8712 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8713 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8714 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8715 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8716 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8717 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8718 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8720 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8721 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8722 * include/ifunc-impl-list.h: New file.
8723 * misc/ifunc-impl-list.c: Likewise.
8724 * misc/Makefile (routines): Add ifunc-impl-list.
8725 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8726 * string/test-string.h: Include <ifunc-impl-list.h>.
8727 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8728 impl_array): New variables.
8729 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8731 (test_init): Call __libc_ifunc_impl_list to initialize
8732 func_list if TEST_IFUNC and TEST_NAME are defined.
8734 * string/Makefile (strop-tests): Add bcopy and bzero.
8735 * string/test-bcopy.c: New file.
8736 * string/test-bzero.c: Likewise.
8737 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8739 * string/test-memset.c: Support bzero test if TEST_BZERO is
8741 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8743 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8745 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8748 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8750 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8751 * configure: Regenerated.
8753 * Makeconfig (+link-static-before-libc): Don't include
8754 $(link-static-libc).
8756 * libio/libio.h (_IO_pos_t): Remove.
8758 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8760 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8763 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8765 * crypt/crypt-entry.c: Include fips-private.h.
8766 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8767 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8768 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8769 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8771 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8773 * crypt/crypt-private.h: Include stdbool.h.
8774 (_ufc_setup_salt_r): Return bool.
8775 * crypt/crypt-entry.c: Include errno.h.
8776 (__crypt_r): Return NULL with EINVAL for bad salt.
8777 * crypt/crypt_util.c (bad_for_salt): New.
8778 (_ufc_setup_salt_r): Check that salt is long enough and within
8779 the specified alphabet.
8780 * crypt/badsalttest.c: New file.
8781 * crypt/Makefile (tests): Add it.
8782 ($(objpfx)badsalttest): New.
8784 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8786 * NEWS: Add entry for BZ #14602.
8788 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8790 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8792 * math/libm-test.inc: Update comment listing what functions and
8794 (isgreater_test): New function.
8795 (isgreaterequal_test): Likewise.
8796 (isless_test): Likewise.
8797 (islessequal_test): Likewise.
8798 (islessgreater_test): Likewise.
8799 (isunordered_test): Likewise.
8800 (main): Call the new functions.
8802 2012-10-09 Roland McGrath <roland@hack.frob.com>
8804 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8805 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8806 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8807 * sysdeps/i386/configure: Regenerated.
8808 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8809 * sysdeps/mach/configure: Regenerated.
8810 * sysdeps/mach/hurd/configure: Regenerated.
8811 * sysdeps/powerpc/configure: Regenerated.
8812 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8813 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8814 * sysdeps/s390/s390-32/configure: Regenerated.
8815 * sysdeps/s390/s390-64/configure: Regenerated.
8816 * sysdeps/sh/configure: Regenerated.
8817 * sysdeps/sparc/configure: Regenerated.
8818 * sysdeps/unix/sysv/linux/configure: Regenerated.
8819 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8820 * sysdeps/x86_64/configure: Regenerated.
8822 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8823 defined. Don't check if MAP is NULL.
8825 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8827 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8828 (_G_stat64): Likewise.
8829 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8830 (_G_stat64): Likewise.
8831 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8832 instead of struct _G_stat64.
8833 * libio/fileops.c (mmap_remap_check): Likewise.
8834 (decide_maybe_mmap): Likewise.
8835 (_IO_new_file_seekoff): Likewise.
8836 (_IO_file_stat): Likewise.
8837 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8839 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8840 instead of struct _G_stat64.
8841 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8843 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8846 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8848 (CHECK_EOL): New macro.
8849 (two_way_short_needle): Check beginning of haystack for EOL. Use
8851 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8852 Replace with CHECK_EOL.
8853 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8854 Replace with CHECK_EOL.
8856 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8858 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8860 * math/libm-test.inc: Update comment listing what functions and
8862 (finite_test): New function.
8863 (isinf_test): Likewise.
8864 (isnan_test): Likewise.
8865 (fpclassify_test): Test subnormal input.
8866 (isfinite_test): Likewise.
8867 (isnormal_test): Likewise.
8868 (main): Call the new functions.
8870 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8873 * Makerules (%.dynsym): Force C locale when running
8874 $(OBJDUMP) --dynamic-syms.
8876 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8878 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8881 2012-10-06 David S. Miller <davem@davemloft.net>
8883 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8884 upper 32-bits of the length value in %o2 since we use branch-on-register
8885 tests which consider the entire 64-bit register.
8887 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8889 * string/test-strstr.c (check2): Add a test for page boundary.
8891 2012-10-05 David S. Miller <davem@davemloft.net>
8893 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8894 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8896 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8898 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8899 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8900 and bzero when HWCAP_SPARC_CRYPTO is present.
8902 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8905 * string/test-strstr.c (check2): New function.
8906 (test_main): Call check2.
8908 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8910 * string/bug-strcasestr1.c (do_test): Moved to ...
8911 * string/test-strcasestr.c (check1): Here. New function.
8912 (do_one_test): Break out result checking code into ...
8913 (check_result): This. New function.
8914 (do_one_test): Call check_result.
8915 (test_main): Call check1.
8916 * string/bug-strchr1.c (do_test): Moved to ...
8917 * string/test-strchr.c (check1): Here. New function.
8918 (do_one_test): Break out result checking code into ...
8919 (check_result): This. New function.
8920 (do_one_test): Call check_result.
8921 (test_main): Call check1.
8922 * string/bug-strstr1.c (main): Moved to ...
8923 * string/test-strstr.c (check1): Here. New function.
8924 (do_one_test): Break out result checking code into ...
8925 (check_result): This. New function.
8926 (do_one_test): Call check_result.
8927 (test_main): Call check1.
8928 * string/bug-strcasestr1.c: Removed.
8929 * string/bug-strchr1.c: Likewise.
8930 * string/bug-strstr1.c: Likewise.
8932 * elf/Makefile (dl-routines): Add hwcaps.
8933 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8934 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8935 (_dl_important_hwcaps): Moved to ...
8936 * elf/dl-hwcaps.c: Here. New file.
8937 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8940 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8941 if IS_IN_rtld isn't defined.
8943 * elf/dl-support.c (_dl_sysinfo_map): New.
8944 Include "get-dynamic-info.h" and "setup-vdso.h".
8945 (_dl_non_dynamic_init): Call setup_vdso.
8946 * elf/dynamic-link.h: Don't include <assert.h>.
8947 (elf_get_dynamic_info): Moved to ...
8948 * elf/get-dynamic-info.h: Here. New file.
8949 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8950 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8951 * elf/setup-vdso.h: Here. New file.
8952 * elf/rtld.c: Include "setup-vdso.h".
8953 (dl_main): Call setup_vdso.
8955 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8957 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8958 creal in comment listing functions tested. List finite, isinf,
8959 isnan, isless, islessequal, isgreater, isgreaterequal,
8960 islessgreater, isunordered, lgamma_r and pow10 as functions and
8961 macros not tested. Mention which functions not tested are aliases
8962 for other functions. Fix typo. Note that signs of NaNs are not
8965 * scripts/config.guess: Update from config.git.
8966 * scripts/config.sub: Likewise.
8968 2012-10-04 Roland McGrath <roland@hack.frob.com>
8970 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8971 * misc/madvise.c (madvise): Renamed to __madvise.
8972 Make madvise a weak alias.
8973 * include/sys/mman.h: Declare __madvise.
8974 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8975 * sysdeps/unix/syscalls.list
8976 (madvise): Make __madvise the strong name, and madvise a weak alias.
8977 * sysdeps/unix/sysv/linux/syscalls.list
8978 (madvise, mmap): Remove redundant entries.
8979 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8980 * malloc/malloc.c (mtrim): Likewise.
8981 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8983 2012-10-03 Roland McGrath <roland@hack.frob.com>
8985 * sysdeps/mach/hurd/dl-cache.c: File removed.
8986 * config.h.in (USE_LDCONFIG): New #undef.
8987 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8988 * configure: Regenerated.
8989 * elf/Makefile (dl-routines): Add dl-cache only under
8990 [$(use-ldconfig) = yes].
8991 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8992 cache on [USE_LDCONFIG].
8993 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8995 * elf/rtld.c (dl_main): Likewise.
8997 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8999 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9000 _SC_LEVEL4_CACHE_LINESIZE.
9002 2012-10-03 Roland McGrath <roland@hack.frob.com>
9004 * sysdeps/unix/bsd/confstr.h: File removed.
9006 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
9008 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9011 2012-10-02 Roland McGrath <roland@hack.frob.com>
9013 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9014 Make 'mapoff' field ElfW(Off) rather than off_t.
9016 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9018 * nscd/Makefile: Remove nscd-cflags and all its users.
9019 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9020 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9023 * malloc.c (malloc_printerr): Clarify error message.
9025 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9029 Set bit_FMA_Usable if FMA is supported.
9030 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9032 (bit_FMA4_Usable): Updated.
9033 (index_FMA_Usable): New macro.
9034 (CPUID_FMA): Likewise
9035 (HAS_FMA): Defined with bit_FMA_Usable.
9037 2012-10-01 Roland McGrath <roland@hack.frob.com>
9039 * bits/types.h (__swblk_t): Type removed.
9040 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9041 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9043 (__SWBLK_T_TYPE): Likewise.
9044 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9045 (__SWBLK_T_TYPE): Likewise.
9046 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9047 (__SWBLK_T_TYPE): Likewise.
9048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9049 (__SWBLK_T_TYPE): Likewise.
9051 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
9052 Honza Horak <hhorak@redhat.com>
9054 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9055 (xdr_mapname): Use YPMAXMAP as maxsize.
9056 (xdr_peername): Use YPMAXPEER as maxsize.
9057 (xdr_keydat): Use YPAXRECORD as maxsize.
9058 (xdr_valdat): Use YPMAXRECORD as maxsize.
9060 2012-10-01 Roland McGrath <roland@hack.frob.com>
9062 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9064 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9065 * csu/init-first.c: ... here.
9066 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9067 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9068 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9069 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9070 * sysdeps/i386/init-first.c: File removed.
9071 * sysdeps/sh/init-first.c: File removed.
9073 2012-10-01 Joseph Myers <joseph@codesourcery.com>
9076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9077 if x * y might underflow to zero and z is zero.
9078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9080 * math/libm-test.inc (min_subnorm_value): New variable.
9081 (fma_test): Add more tests.
9082 (fma_test_towardzero): Likewise.
9083 (fma_test_downward): Likewise
9084 (fma_test_upward): Likewise.
9085 (initialize): Set min_subnorm_value.
9087 2012-09-29 Joseph Myers <joseph@codesourcery.com>
9090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9092 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9093 mode for addition resulting in exact zero.
9094 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9095 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9097 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9098 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9099 * math/libm-test.inc (fma_test): Add more tests.
9100 (fma_test_towardzero): New function.
9101 (fma_test_downward): Likewise.
9102 (fma_test_upward): Likewise.
9103 (main): Call the new functions.
9105 2012-09-28 David S. Miller <davem@davemloft.net>
9107 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9109 2012-09-28 Roland McGrath <roland@hack.frob.com>
9111 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9114 * sysdeps/gnu/_G_config.h: Moved to ...
9115 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9116 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9117 * sysdeps/generic/_G_config.h: ... here.
9119 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9121 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9123 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9124 Conditionalize target on [libnss_test1.so-version].
9126 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9128 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9129 (elfobjdir): Move out of conditionals.
9131 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9132 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9133 (__nss_lookup_function): Conditionalize label remove_from_tree on
9134 [!DO_STATIC_NSS || SHARED], matching its only use.
9136 2012-09-28 David S. Miller <davem@davemloft.net>
9138 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9139 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9141 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9143 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9145 when HWCAP_SPARC_CRYPTO is present.
9147 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9149 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9151 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9154 * stdio-common/vfprintf.c (process_string_arg): Revert
9157 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9159 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9161 * stdio-common/tst-sprintf.c: Include <locale.h>
9162 (main): Test sprintf's handling of incomplete multibyte
9165 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9167 * elf/dl-runtime.c (VERSYMIDX): Removed.
9168 * elf/dl-version.c (VERSYMIDX): Likewise.
9169 * elf/do-rel.h (VERSYMIDX): Likewise.
9171 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9172 * elf/rtld.c (VALIDX): Likewise.
9173 (ADDRIDX): Likewise.
9174 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9175 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9176 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9177 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9179 (ADDRIDX): Likewise.
9181 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9183 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9185 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9188 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9190 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9191 addresses are in the same scope as 192.0.2/24.
9192 * posix/gai.conf: Document new scope table defaults.
9194 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9197 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9198 for ftell. Compute offsets from write pointers instead.
9199 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9201 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9204 * libio/Makefile (tests): New test case tst-fseek.
9205 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9206 combination works in wide mode.
9207 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9208 state when the external buffer state changes.
9210 2012-09-27 David S. Miller <davem@davemloft.net>
9213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9214 pass reloc->r_addend in as the 'high' argument to
9215 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9219 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9221 * rt/tst-aio2.c: Include <pthread.h>.
9222 * rt/tst-aio3.c: Likewise.
9224 2012-09-27 Steve Ellcey <sellcey@mips.com>
9226 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9228 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9230 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9231 contents on [SHARED].
9233 2012-09-26 Marek Polacek <polacek@redhat.com>
9237 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9238 for C++ and GCC <4.3 as well as for non GCC compilers.
9240 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9244 2012-09-25 Roland McGrath <roland@hack.frob.com>
9246 * Makefile.in (all, install): Declare with .PHONY.
9247 Reported by Michael Hope <michael.hope@linaro.org>.
9249 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9251 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9252 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9254 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9256 (sydep_routines): Add the new and the internal functions.
9257 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9258 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9260 (GLIBC_2.17): Add the new function.
9261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9262 (GLIBC_2.17): Likewise.
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9264 (GLIBC_2.17): Likewise.
9265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9266 (GLIBC_2.17): Likewise.
9267 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9269 2012-09-25 Alan Modra <amodra@gmail.com>
9271 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9272 Add release barrier before setting once_control to say
9273 initialisation is done. Add hints on lwarx. Use macro in
9275 (clear_once_control): Add release barrier.
9277 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9280 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9282 * math/s_clog10.c (__clog10): Likewise.
9283 * math/s_clog10f.c (__clog10f): Likewise.
9284 * math/s_clog10l.c (__clog10l): Likewise.
9285 * math/s_clogf.c (__clogf): Likewise.
9286 * math/s_clogl.c (__clogl): Likewise.
9287 * math/Makefile (libm-calls): Add x2y2m1.
9288 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9289 (__x2y2m1): Likewise.
9290 (__x2y2m1l): Likewise.
9291 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9292 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9293 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9294 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9295 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9296 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9297 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9298 * sysdeps/i386/fpu/libm-test-ulps: Update.
9299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9302 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9303 int as type of variable DEPTH.
9304 (glob): Use size_t instead of int as type of variables NEWCOUNT
9307 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9309 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9311 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9312 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9313 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9314 macros for using routine as __sincosf_ia32.
9315 Use macro for function declaration and weak_alias.
9316 * sysdeps/i386/fpu/libm-test-ulps: Update.
9318 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9321 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9323 * math/s_cexpf.c (__cexpf): Likewise.
9324 * math/s_csinf.c (__csinf): Likewise.
9325 * math/s_csinhf.c (__csinhf): Likewise.
9326 * math/s_ctanf.c (__ctanf): Likewise.
9327 * math/s_ctanhf.c (__ctanhf): Likewise.
9328 * math/s_ccosh.c (__ccoshf): Likewise.
9329 * math/s_cexp.c (__cexpl): Likewise.
9330 * math/s_csin.c (__csin): Likewise.
9331 * math/s_csinh.c (__csinh): Likewise.
9332 * math/s_ctan.c (__ctan): Likewise.
9333 * math/s_ctanh.c (ctanh): Likewise.
9334 * math/s_ccoshl.c (__ccoshl): Likewise.
9335 * math/s_cexpl.c (__cexpl): Likewise.
9336 * math/s_csinl.c (__csinl): Likewise.
9337 * math/s_csinhl.c (__csinhl): Likewise.
9338 * math/s_ctanl.c (__ctanl): Likewise.
9339 * math/s_ctanhl.c (__ctanhl): Likewise.
9341 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9343 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9344 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9345 (_IO_off_t): Define to __off_t, not _G_off_t.
9346 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9347 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9348 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9349 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9350 type of __dummy and __dummy2 fields.
9351 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9352 (_G_ssize_t): Likewise.
9353 (_G_off_t): Likewise.
9354 (_G_pid_t): Likewise.
9355 (_G_uid_t): Likewise.
9356 (_G_wchar_t): Likewise.
9357 (_G_wint_t): Likewise.
9358 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9359 (_G_ssize_t): Likewise.
9360 (_G_off_t): Likewise.
9361 (_G_pid_t): Likewise.
9362 (_G_uid_t): Likewise.
9363 (_G_wchar_t): Likewise.
9364 (_G_wint_t): Likewise.
9365 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9366 (_G_ssize_t): Likewise.
9367 (_G_off_t): Likewise.
9368 (_G_pid_t): Likewise.
9369 (_G_uid_t): Likewise.
9370 (_G_wchar_t): Likewise.
9371 (_G_wint_t): Likewise.
9373 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9375 * malloc/arena.c: Include malloc-sysdep.h.
9376 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9377 is sufficient to shrink the heap or an unmap is needed.
9378 * sysdeps/generic/malloc-sysdep.h: New file. Define
9379 new function check_may_shrink_heap.
9380 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9381 new function check_may_shrink_heap.
9383 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9385 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9388 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9390 * catgets/test-gencat.sh: Add "set -e".
9391 * elf/tst-pathopt.sh: Likewise.
9392 * grp/tst_fgetgrent.sh: Likewise.
9393 * iconvdata/run-iconv-test.sh: Likewise.
9394 * intl/tst-gettext.sh: Likewise.
9395 * intl/tst-gettext2.sh: Likewise.
9396 * intl/tst-gettext4.sh: Likewise.
9397 * intl/tst-gettext6.sh: Likewise.
9398 * intl/tst-translit.sh: Likewise.
9399 * io/ftwtest-sh: Likewise.
9400 * libio/test-freopen.sh: Likewise.
9401 * malloc/tst-mtrace.sh: Likewise.
9402 * posix/globtest.sh: Likewise.
9403 * posix/tst-getconf.sh: Likewise.
9404 * posix/wordexp-tst.sh: Likewise.
9405 * stdio-common/tst-printf.sh: Likewise.
9406 * stdio-common/tst-unbputc.sh: Likewise.
9407 * stdlib/tst-fmtmsg.sh: Likewise.
9408 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9409 * catgets/Makefile: Do not specify -e option when running
9410 testsuite shell scripts.
9411 * elf/Makefile: Likewise.
9412 * grp/Makefile: Likewise.
9413 * iconvdata/Makefile: Likewise.
9414 * intl/Makefile: Likewise.
9415 * io/Makefile: Likewise.
9416 * libio/Makefile: Likewise.
9417 * malloc/Makefile: Likewise.
9418 * posix/Makefile: Likewise.
9419 * stdio-common/Makefile: Likewise.
9420 * stdlib/Makefile: Likewise.
9421 * sysdeps/x86_64/Makefile: Likewise.
9423 * io/ftwtest-sh: Add copyright header.
9424 * posix/globtest.sh: Likewise.
9425 * posix/tst-getconf.sh: Likewise.
9426 * posix/wordexp-tst.sh: Likewise.
9427 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9429 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9432 * Makeconfig (+link): Defined as $(+link-static) if
9433 $(build-shared) isn't yes.
9434 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9436 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9438 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9441 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9442 new chunk size with MALLOC_ALIGN_MASK.
9444 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9447 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9449 (__printf_fphex): Determine rounding using get_rounding_mode and
9451 * stdio-common/tst-printf-round.c (struct hex_test): New
9453 (hex_tests): New variable.
9454 (test_hex_in_one_mode): New function.
9455 (do_test): Also run tests for hex float output.
9457 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9459 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9460 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9461 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9462 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9463 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9464 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9465 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9466 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9468 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9470 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9471 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9472 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9473 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9475 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9478 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9480 * elf/tst-rtld-load-self.sh: New test.
9481 * elf/Makefile: Run it.
9483 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9485 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9486 (tst-writev-ENV): Remove.
9487 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9489 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9491 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9493 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9495 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9497 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9499 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9500 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9501 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9504 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9507 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9508 * config.make.in (have-cpp-asm-debuginfo): Removed.
9509 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9510 * configure: Regenerated.
9512 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9515 * stdio-common/printf_fp.c: Include <stdbool.h> and
9517 (___printf_fp): Determine rounding using get_rounding_mode and
9519 * stdio-common/tst-printf-round.c: New file.
9520 * stdio-common/Makefile (tests): Add tst-printf-round.
9521 (link-libm): New variable.
9522 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9524 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9527 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9528 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9530 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9533 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9535 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9536 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9537 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9538 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9540 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9543 * include/rounding-mode.h: New file.
9544 * sysdeps/generic/get-rounding-mode.h: Likewise.
9545 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9546 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9547 (MAX_VALUE): New macro.
9548 (MIN_VALUE): Likewise.
9549 (overflow_value): New function.
9550 (underflow_value): Likewise.
9551 (round_and_return): Use overflow_value and underflow_value to
9552 determine return values in overflow and underflow cases. Use
9553 round_away to determine rounding depending on rounding mode.
9554 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9555 determine return values in overflow and underflow cases.
9556 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9557 (struct test_results): New structure.
9558 (struct test): Use struct test_results to store expected results
9559 for all rounding modes.
9560 (TEST): Include expected results for all rounding modes.
9561 (test_in_one_mode): New function.
9562 (do_test): Use test_in_one_mode to compute and check results.
9563 Check results for all rounding modes.
9564 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9567 2012-12-09 Allan McRae <allan@archlinux.org>
9569 * sysdeps/i386/fpu/libm-test-ulps: Update
9571 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9573 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9574 (_G_int32_t): Likewise.
9575 (_G_uint16_t): Likewise.
9576 (_G_uint32_t): Likewise.
9577 (_G_HAVE_BOOL): Likewise.
9578 (_G_HAVE_ATEXIT): Likewise.
9579 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9580 (_G_HAVE_IO_FILE_OPEN): Likewise.
9581 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9582 (_G_int32_t): Likewise.
9583 (_G_uint16_t): Likewise.
9584 (_G_uint32_t): Likewise.
9585 (_G_HAVE_BOOL): Likewise.
9586 (_G_HAVE_ATEXIT): Likewise.
9587 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9588 (_G_HAVE_IO_FILE_OPEN): Likewise.
9589 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9590 (_G_int32_t): Likewise.
9591 (_G_uint16_t): Likewise.
9592 (_G_uint32_t): Likewise.
9593 (_G_HAVE_BOOL): Likewise.
9594 (_G_HAVE_ATEXIT): Likewise.
9595 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9596 (_G_HAVE_IO_FILE_OPEN): Likewise.
9598 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9600 * csu/libc-tls.c: Update copyright years.
9602 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9604 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9605 [!_G_USING_THUNKS]: Remove conditional code.
9606 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9607 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9609 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9610 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9611 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9612 (_G_VTABLE_LABEL_PREFIX): Likewise.
9613 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9614 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9615 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9616 (_G_VTABLE_LABEL_PREFIX): Likewise.
9617 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9618 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9619 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9620 (_G_VTABLE_LABEL_PREFIX): Likewise.
9621 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9623 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9625 * libio/Makefile: Include ../Makeconfig before tests.
9626 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9627 only if $(build-shared) is yes.
9629 * iconv/gconv_db.c: Update copyright years.
9631 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9633 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9634 unwind info if defined PIC. Fix special cases description.
9635 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9637 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9639 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9641 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9643 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9645 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9648 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9649 (LDLIBS-tst-chk4): This.
9650 (LDFLAGS-tst-chk5): Renamed to ...
9651 (LDLIBS-tst-chk5): This.
9652 (LDFLAGS-tst-chk6): Renamed to ...
9653 (LDLIBS-tst-chk6): This.
9654 (LDFLAGS-tst-lfschk4): Renamed to ...
9655 (LDLIBS-tst-lfschk4): This.
9656 (LDFLAGS-tst-lfschk5): Renamed to ...
9657 (LDLIBS-tst-lfschk5): This.
9658 (LDFLAGS-tst-lfschk6): Renamed to ...
9659 (LDLIBS-tst-lfschk6): This.
9661 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9662 on $(common-objpfx)soversions.mk.
9664 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9667 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9670 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9672 * malloc/arena.c (arena_get_retry): New function that gets
9673 another arena for the caller to try its request on.
9674 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9675 current arena cannot fulfill the request.
9676 (__libc_memalign): Likewise.
9677 (__libc_memalign): Likewise.
9678 (__libc_pvalloc): Likewise.
9679 (__libc_calloc): Likewise.
9681 2012-09-05 John Tobey <john.tobey@gmail.com>
9684 * manual/arith.texi (Operations on Complex): Fix description
9687 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9690 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9694 * manual/memory.texi (Memory): Make order of menu items match
9697 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9699 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9700 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9701 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9703 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9705 * csu/libc-tls.c (static_dtv): Renamed to ...
9706 (_dl_static_dtv): This. Make it global.
9707 (_dl_initial_dtv): Removed.
9708 (__libc_setup_tls): Updated.
9709 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9710 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9713 2012-09-06 Petr Machata <pmachata@redhat.com>
9715 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9716 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9717 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9718 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9720 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9723 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9724 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9727 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9730 * Makeconfig (link-static-before-libc): Replace $(+prector)
9732 (link-static-after-libc): Replace $(+postctor) with
9734 (link-bounded): Replace $(+prector)/$(+postctor) with
9735 $(+prectorT)/$(+postctorT).
9736 (+prectorT): New macro.
9737 (+postctorT): Likewise.
9739 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9741 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9742 (round_str): Handle values above the maximum for IBM long double
9744 * stdlib/tst-strtod-round.c (tests): Regenerated.
9746 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9748 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9750 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9751 zarch_nohighgprs around the zarch optimized routines.
9752 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9753 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9754 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9757 2012-09-05 David S. Miller <davem@davemloft.net>
9759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9761 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9762 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9763 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9764 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9767 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9769 * malloc/arena.c: Fold copyright years.
9770 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9772 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9774 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9776 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9778 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9780 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9782 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9783 change internal state upon failure.
9785 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9787 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9788 * malloc/memusage.c (mmap): Likewise.
9789 (mmap64, mremap): Likewise. Adjust name in comment.
9791 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9793 * libio/fileops.c: Fix typos in comments.
9794 * libio/oldfileops.c: Likewise.
9795 * libio/wfileops.c: Likewise.
9797 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9800 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9801 (tst-malloc-usable-ENV): Set environment for test case.
9802 * malloc/hooks.c (malloc_check_get_size): New function to get
9804 * malloc/malloc.c (musable): Use malloc_check_get_size.
9805 * malloc/tst-malloc-usable.c: New test case.
9807 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9809 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9811 2012-09-05 Allan McRae <allan@archlinux.org>
9814 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9815 determine header location.
9816 * configure: Regenerated.
9818 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9820 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9822 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9823 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9827 2012-09-04 David S. Miller <davem@davemloft.net>
9829 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9830 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9831 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9833 2012-09-04 Florian Weimer <fweimer@redhat.com>
9835 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9838 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9840 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9843 * libio/iogetdelim.c: Include <limits.h>.
9844 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9845 + len + 1 would overflow.
9847 2012-09-03 Andreas Jaeger <aj@suse.de>
9849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9850 * sysdeps/i386/fpu/libm-test-ulps: Update.
9852 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9854 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9855 Add s_sinf-sse2, s_conf-sse2.
9857 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9858 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9859 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9860 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9862 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9863 for using routine as __sinf_ia32.
9864 Use macro for function declaration and weak_alias.
9865 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9866 for using routine as __cosf_ia32.
9867 Use macro for function declaration and weak_alias.
9869 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9870 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9872 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9873 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9876 * math/libm-test.inc (cos_test): Add more test cases.
9877 (sin_test): Likewise.
9878 (sincos_test): Likewise.
9880 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9882 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9883 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9885 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9887 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9890 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9891 first element of the GOT.
9892 (elf_machine_load_address): Return the difference between
9893 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9895 2012-09-01 Allan McRae <allan@archlinux.org>
9898 * configure.in (AWK): Require gawk version 3.0 or later.
9899 * configure: Regenerated.
9901 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9903 * sysdeps/unix/sysv/linux/kernel-features.h
9904 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9905 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9906 [__NR_clock_getres]: Make code unconditional.
9907 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9908 (clock_getcpuclockid): Remove code left unreachable by removal of
9910 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9912 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9913 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9914 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9915 Make code unconditional.
9916 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9917 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9918 * sysdeps/unix/sysv/linux/clock_settime.c
9919 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9921 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9922 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9924 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9927 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9928 scripts/test-installation.pl.
9930 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9931 and $ld_so_version if it is set.
9933 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9936 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9937 failure if reading from procfs failed.
9938 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9940 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9942 * sysdeps/unix/sysv/linux/kernel-features.h
9943 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9944 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9945 Remove conditional code.
9946 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9947 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9948 Remove conditional code.
9949 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9950 * sysdeps/unix/sysv/linux/i386/fxstat.c
9951 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9952 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9953 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9954 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9955 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9956 * sysdeps/unix/sysv/linux/i386/lxstat.c
9957 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9958 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9959 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9960 Remove conditional code.
9961 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9962 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9963 Remove conditional code.
9964 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9965 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9966 <kernel-features.h>.
9967 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9969 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9970 Remove conditional code.
9971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9972 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9975 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9978 * NEWS: Add fixed bug number.
9980 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9983 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9984 underflowing exponent in case of negative sign.
9985 * stdlib/tst-strtod-round-data: Add more tests.
9986 * stdlib/tst-strtod-round.c (tests): Regenerated.
9989 * stdlib/strtod_l.c (NDIG): Remove.
9990 (HEXNDIG): Likewise.
9991 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9992 smallest representable value.
9993 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9994 lie within an exact representation of 1/2 ulp of the result.
9995 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9997 (TENS_P9_IDX): Define unconditionally.
9998 (TENS_P9_SIZE): Likewise.
9999 (TENS_P10_IDX): Likewise.
10000 (TENS_P10_SIZE): Likewise.
10001 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10002 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10003 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10004 entries for 10^2^13 and 10^2^14.
10005 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10006 (TENS_P13_IDX): Define.
10007 (TENS_P13_SIZE): Likewise.
10008 (TENS_P14_IDX): Likewise.
10009 (TENS_P14_SIZE): Likewise.
10010 (_fpioconst_pow10): Change array size to
10011 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10013 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10014 1024]: Add entries for 10^2^13 and 10^2^14.
10015 [LAST_POW10 > _LAST_POW10]: Remove #error.
10016 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10017 (_fpioconst_pow10): Change array size to
10018 FPIOCONST_POW10_ARRAY_SIZE.
10019 * stdlib/gen-fpioconst.c: New file.
10020 * stdlib/gen-tst-strtod-round.c: Likewise.
10021 * stdlib/tst-strtod-round-data: Likewise.
10022 * stdlib/tst-strtod-round.c: Likewise.
10023 * stdlib/Makefile (tests): Add tst-strtod-round.
10026 * stdlib/strtod_l.c: Include <stdint.h>.
10027 (NDEBUG): Do not define.
10028 (round_and_return): Change EXPONENT parameter to type intmax_t.
10029 Rearrange calculations to avoid internal overflow possibilities.
10030 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10031 Rearrange calculations to avoid internal overflow possibilities.
10032 Assert that number fits inside MPNSIZE limbs.
10033 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10034 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10035 calculations and add assertions to avoid internal overflow
10036 possibilities. Add casts to avoid signed/unsigned operations.
10037 * stdlib/tst-strtod-overflow.c: New file.
10038 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10040 2012-08-25 Marek Polacek <polacek@redhat.com>
10042 * time/time.h: Fix some typos in comments.
10044 2012-08-23 Roland McGrath <roland@hack.frob.com>
10046 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10047 * posix/tst-rfc3484-2.c: Likewise.
10048 * posix/tst-rfc3484-3.c: Likewise.
10050 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10052 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10053 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10055 2012-08-23 Joseph Myers <joseph@codesourcery.com>
10057 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10058 #include of fxstatat64.c.
10060 2012-08-22 Roland McGrath <roland@hack.frob.com>
10062 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10063 * shadow/getspent_r.c: Likewise.
10064 * shadow/getspnam.c: Likewise.
10065 * shadow/getspnam_r.c: Likewise.
10066 * gshadow/getsgent.c: Likewise.
10067 * gshadow/getsgent_r.c: Likewise.
10068 * gshadow/getsgnam.c: Likewise.
10069 * gshadow/getsgnam_r.c: Likewise.
10070 * inet/getnetbyad.c: Likewise.
10071 * inet/getnetbyad_r.c: Likewise.
10072 * inet/getnetbynm.c: Likewise.
10073 * inet/getnetbynm_r.c: Likewise.
10074 * inet/getnetent.c: Likewise.
10075 * inet/getnetent_r.c: Likewise.
10076 * inet/getproto.c: Likewise.
10077 * inet/getproto_r.c: Likewise.
10078 * inet/getprtent.c: Likewise.
10079 * inet/getprtent_r.c: Likewise.
10080 * inet/getprtname.c: Likewise.
10081 * inet/getprtname_r.c: Likewise.
10082 * inet/getrpcbyname.c: Likewise.
10083 * inet/getrpcbyname_r.c: Likewise.
10084 * inet/getrpcbynumber.c: Likewise.
10085 * inet/getrpcbynumber_r.c: Likewise.
10086 * inet/getrpcent.c: Likewise.
10087 * inet/getrpcent_r.c: Likewise.
10088 * inet/getaliasent.c: Likewise.
10089 * inet/getaliasent_r.c: Likewise.
10090 * inet/getaliasname.c: Likewise.
10091 * inet/getaliasname_r.c: Likewise.
10092 * nscd/getgrgid_r.c: Likewise.
10093 * nscd/getgrnam_r.c: Likewise.
10094 * nscd/gethstbyad_r.c: Likewise.
10095 * nscd/gethstbynm3_r.c: Likewise.
10096 * nscd/getpwnam_r.c: Likewise.
10097 * nscd/getpwuid_r.c: Likewise.
10098 * nscd/getsrvbynm_r.c: Likewise.
10099 * nscd/getsrvbypt_r.c: Likewise.
10100 * nscd/gai.c: Likewise.
10102 * configure.in (build_nscd): New substituted variable, set
10103 by --disable-build-nscd and defaults to $use_nscd.
10104 * configure: Regenerated.
10105 * config.make.in (build-nscd): New substituted variable.
10106 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10107 Change conditional to require [$(build-nscd) = yes] as well.
10108 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10111 * configure.in (use_nscd): New substituted variable, set by
10112 --disable-nscd. If enabled, define USE_NSCD.
10113 * configure: Regenerated.
10114 * config.h.in: Add USE_NSCD.
10115 * config.make.in (use-nscd): New substituted variable.
10116 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10117 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10118 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10119 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10120 (CFLAGS-getgrnam_r.c): Likewise.
10121 (CFLAGS-initgroups.c): Likewise.
10122 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10123 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10125 * inet/getnetgrent_r.c
10126 (nscd_setnetgrent): New function, broken out of ...
10127 (setnetgrent): ... here. Call it.
10128 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10129 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10130 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10131 * nscd/Makefile (routines, aux): Move definitions after include of
10132 Makeconfig. Conditionalize on [$(use-nscd) != no].
10133 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10134 Conditionalize on [USE_NSCD].
10135 (is_nscd, nscd_init_cb): Likewise.
10136 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10137 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10138 * nss/nss_db/db-init.c: Likewise.
10139 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10141 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10142 (make_request): Use it.
10143 (cache_valid_p): New function.
10144 (__check_pf): Use it.
10145 * NEWS: Add item for --disable-nscd.
10147 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10149 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10150 to support sed >= 4.2.1-20-ga9bf076.
10151 * configure: Regenerated.
10153 2012-08-22 Roland McGrath <roland@hack.frob.com>
10155 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10156 Conditionalize whole body on [IREL].
10158 2012-08-22 Jeff Law <law@redhat.com>
10161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10162 if the family is PF_UNSPEC.
10164 2012-08-22 Mike Frysinger <vapier@gentoo.org>
10166 * Makerules (lib-version): Rename from V.
10167 (install-lib-nosubdir): Change V to lib-version.
10169 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10172 * powerpc32/power6/wcschr.c: New file.
10173 * powerpc32/power6/wcscpy.c: New file.
10174 * powerpc32/power6/wcsrchr.c: New file.
10175 * powerpc64/power6/wcschr.c: New file.
10176 * powerpc64/power6/wcscpy.c: New file.
10177 * powerpc64/power6/wcsrchr.c: New file.
10179 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10181 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10182 (two_way_short_needle): Use it.
10183 * string/strstr.c (AVAILABLE1_USES_J): Define.
10184 * string/strcasestr.c: Likewise.
10186 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10188 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10191 * NEWS: Add an entry.
10192 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10193 define their defaults.
10194 (two_way_short_needle): Detect end-of-string on-the-fly.
10195 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10196 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10197 * string/bug-strcasestr1.c: New test.
10198 * string/Makefile: Run it.
10200 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10203 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10204 the first character.
10206 2012-08-21 Roland McGrath <roland@hack.frob.com>
10208 * csu/elf-init.c (__libc_csu_irel): Function removed.
10209 * csu/libc-start.c (apply_irel): New function.
10210 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10212 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10214 * sysdeps/unix/sysv/linux/kernel-features.h
10215 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10216 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10217 <kernel-features.h>.
10218 [__NR_fadvise64_64]: Make code unconditional.
10219 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10220 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10221 !__NR_fadvise64_64)]: Likewise.
10222 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10223 !__NR_fadvise64_64))]: Likewise.
10224 [__NR_fadvise64]: Make code unconditional.
10225 [!__NR_fadvise64]: Remove conditional code.
10226 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10227 <kernel-features.h>.
10228 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10230 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10233 not include <kernel-features.h>.
10234 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10236 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10238 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10239 include <kernel-features.h>.
10240 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10242 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10245 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10247 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10248 slight instruction rearrangements per scrollpipe analysis.
10249 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10251 2012-08-20 Roland McGrath <roland@hack.frob.com>
10253 * manual/syslog.texi (syslog; vsyslog, closelog):
10254 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10255 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10257 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10258 DSOCAPS to match condition on defining it.
10260 2012-08-20 Joseph Myers <joseph@codesourcery.com>
10262 * sysdeps/unix/sysv/linux/kernel-features.h
10263 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10265 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10266 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10268 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10269 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10271 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10272 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10274 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10275 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10277 * sysdeps/unix/sysv/linux/kernel-features.h
10278 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10279 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10281 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10282 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10283 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10284 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10285 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10286 Make code unconditional.
10287 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10288 (__mmap64) [!__NR_mmap2]: Likewise.
10289 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10290 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10291 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10292 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10293 [__NR_mmap2]: Make code unconditional.
10294 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10295 (__mmap64) [!__NR_mmap2]: Likewise.
10297 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10299 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10301 2012-08-18 Andreas Jaeger <aj@suse.de>
10303 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10305 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10307 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10308 * include/unistd.h (__have_sock_cloexec): Likewise.
10309 (__have_pipe2): Likewise.
10310 (__have_dup3): Likewise.
10312 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10315 * include/unistd.h (__have_pipe2): Change define into an extern int.
10316 (__have_dup3): Likewise.
10317 * socket/have_sock_cloexec.c: Include fcntl.h.
10318 (__have_pipe2): New variable.
10319 (__have_dup3): Likewise.
10321 2012-08-17 Mike Frysinger <vapier@gentoo.org>
10323 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10325 2012-08-17 Marek Polacek <polacek@redhat.com>
10327 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10328 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10330 2012-08-17 Roland McGrath <roland@hack.frob.com>
10332 * configure.in: Add AC_SUBST for sysheaders.
10333 * configure: Regenerated.
10334 * config.make.in (sysheaders): New substituted variable.
10336 * sysdeps/unix/mkfifo.c: Moved ...
10337 * sysdeps/posix/mkfifo.c: ... here.
10338 * sysdeps/unix/mkfifoat.c: Moved ...
10339 * sysdeps/posix/mkfifoat.c: ... here.
10341 * sysdeps/unix/utime.c: Moved ...
10342 * sysdeps/posix/utime.c: ... here.
10344 * sysdeps/unix/time.c: Moved ...
10345 * sysdeps/posix/time.c: ... here.
10346 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10347 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10349 * sysdeps/unix/nice.c: Moved ...
10350 * sysdeps/posix/nice.c: ... here.
10352 * sysdeps/unix/alarm.c: Moved ...
10353 * sysdeps/posix/alarm.c: ... here.
10355 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10357 2012-08-17 Jeff Law <law@redhat.com>
10359 * intl/Makefile (codeset_mo): New variable.
10360 ($(codeset_mo)): New target.
10361 (tst-codeset.out): Depend on that. Remove explicit rule.
10362 (tst-gettext3.out, tst-gettext5.out): Likewise.
10363 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10364 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10365 * intl/tst-codeset.sh: Remove.
10366 * intl/tst-gettext3.sh: Likewise.
10367 * intl/tst-gettext5.sh: Likewise.
10369 2012-08-17 Roland McGrath <roland@hack.frob.com>
10371 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10372 * sysdeps/unix/syscalls.list: ... here.
10374 * sysdeps/posix/getaddrinfo.c
10375 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10376 (gaiconf_init, gaiconf_reload): Use them.
10377 [!_STATBUF_ST_NSEC]
10378 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10379 Define using time_t rather than struct timespec.
10381 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10382 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10384 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10386 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10387 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10390 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10391 __libc_cleanup_push argument.
10393 * bits/param.h: New file.
10394 * misc/sys/param.h: New file.
10395 * include/sys/param.h: New file.
10396 * misc/Makefile (headers): Add bits/param.h.
10397 * sysdeps/generic/sys/param.h: File removed.
10398 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10399 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10400 * sysdeps/mach/hurd/bits/param.h: New file.
10401 * sysdeps/mach/hurd/sys/param.h: File removed.
10403 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10406 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10408 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10409 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10412 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10413 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10414 rather than -D_IO_MTSAFE_IO conditionally.
10415 * stdio-common/Makefile (CPPFLAGS): Likewise.
10416 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10417 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10418 Use $(libio-mtsafe).
10419 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10420 of -D_IO_MTSAFE_IO.
10421 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10422 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10423 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10424 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10425 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10426 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10427 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10428 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10429 (CFLAGS-fread_u_chk.c): Likewise.
10430 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10431 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10432 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10433 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10434 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10435 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10436 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10437 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10438 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10440 * libio/Makefile: Test [$(libc-reentrant) = yes]
10441 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10444 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10445 * sysdeps/pthread/configure: File removed.
10446 * sysdeps/pthread/Makeconfig: New file.
10447 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10448 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10450 2012-08-16 Gary Benson <gbenson@redhat.com>
10452 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10453 unmapping the first object in a namespace.
10455 2012-08-16 Roland McGrath <roland@hack.frob.com>
10457 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10458 (__internal_setnetgrent): ... this. Add internal_function to
10459 definition. Add libc_hidden_def.
10460 (setnetgrent): Update caller.
10461 (internal_endnetgrent): Renamed to ...
10462 (__internal_endnetgrent): ... this. Add internal_function to
10463 definition. Add libc_hidden_def.
10464 (endnetgrent): Update caller.
10465 (internal_getnetgrent_r): Renamed to ...
10466 (__internal_getnetgrent_r): ... this. Add internal_function to
10467 definition. Add libc_hidden_def.
10468 (__getnetgrent_r): Update caller.
10469 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10471 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10473 * stdlib/longlong.h: Update from GCC.
10475 2012-08-16 Roland McGrath <roland@hack.frob.com>
10477 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10478 on _QL, which is set by umul_ppmm but never used.
10479 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10480 variables, which are set by GMP macros but never used.
10481 * stdio-common/_itowa.c (_itowa): Likewise.
10482 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10483 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10485 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10487 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10488 struct La_sh_regs is not constant.
10489 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10490 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10491 and struct La_sparc64_regs are not constant.
10493 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10495 * sysdeps/unix/sysv/linux/kernel-features.h
10496 (__ASSUME_POSIX_TIMERS): Remove.
10497 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10498 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10499 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10500 Make code unconditional.
10501 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10502 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10503 Make code unconditional.
10504 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10505 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10506 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10507 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10508 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10509 Make code unconditional.
10510 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10511 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10512 (__libc_missing_posix_timers): Remove.
10514 2012-08-15 Roland McGrath <roland@hack.frob.com>
10516 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10517 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10519 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10521 * elf/dl-sym.c: Include <stdlib.h>.
10523 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10524 constants, which avoids warnings in 32-bit builds.
10526 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10527 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10529 * misc/lseek.c: File moved to ...
10530 * io/lseek.c: ... here.
10532 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10534 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10535 shifting LEN more than 31 bits at once.
10537 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10540 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10541 segmentation fault for a case of two empty input strings.
10542 * string/test-strncasecmp.c (check1): Renamed to...
10543 (bz12205): ...this.
10544 (bz14195): Add new testcase for two empty input strings and N > 0.
10545 (test_main): Call new testcase, adapt for renamed function.
10547 2012-08-15 Andreas Jaeger <aj@suse.de>
10550 * crypt/md5test2.c: New test, based on test supplied by Serge
10551 Belyshev <belyshev@depni.sinp.msu.ru>.
10552 * crypt/Makefile (xtests): Add md5test-giant..
10553 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10555 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10558 * crypt/md5.c (md5_process_block): Don't assume the buffer
10559 length is less than 2**32.
10560 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10561 length is less than 2**64.
10563 2012-08-15 Roland McGrath <roland@hack.frob.com>
10565 * string/str-two-way.h: Include <sys/param.h>.
10566 (MAX): Macro removed.
10568 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10569 Move #define and #undef of memmove to just before and after
10570 including <string.h>.
10572 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10573 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10574 and after including <string.h>. Move declarations of
10575 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10576 to before #include "string/memmove.c".
10578 * include/dirent.h: Declare __getdirentries.
10580 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10581 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10583 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10585 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10586 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10587 * sysdeps/i386/configure: Regenerated.
10588 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10589 STABS_CURRENT_FILE, and STABS_FUN.
10590 (END): Remove call to STABS_FUN_END.
10591 (STABS_CURRENT_FILE1): Delete.
10592 (STABS_CURRENT_FILE): Likewise.
10593 (STABS_FUN): Likewise.
10594 (STABS_FUN_END): Likewise.
10595 (STABS_FUN2): Likewise.
10596 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10597 * sysdeps/x86_64/configure: Regenerated.
10599 2012-08-14 Roland McGrath <roland@hack.frob.com>
10601 * elf/dl-open.c: Include <atomic.h>.
10602 * elf/dl-lookup.c: Likewise.
10604 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10606 * sysdeps/unix/sysv/linux/kernel-features.h
10607 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10608 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10610 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10612 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10613 condition on __ASSUME_CLONE_THREAD_FLAGS.
10615 2012-08-14 Andreas Jaeger <aj@suse.de>
10617 * sysdeps/i386/fpu/libm-test-ulps: Update.
10619 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10621 * include/atomic.h (atomic_exchange_and_add): Split into ...
10622 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10625 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10629 2012-08-13 Jeff Law <law@redhat.com>
10631 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10632 null byte in the output string.
10634 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10636 * sysdeps/unix/sysv/linux/kernel-features.h
10637 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10638 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10639 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10640 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10641 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10642 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10643 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10645 2012-08-09 Jeff Law <law@redhat.com>
10648 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10649 When avoid_arena is set, don't retry in the that arena. Pick the
10650 next one, whatever it might be.
10651 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10652 (arena_lock): Pass in new parameter to arena_get2.
10653 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10655 (__libc_malloc): Unify retrying after main arena failure with
10656 __libc_memalign version.
10657 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10659 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10662 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10663 to __redirect_strstr.
10664 (__strstr_sse42): Use typeof __redirect_strstr.
10665 (__strstr_ia32): Likewise.
10666 (__libc_strstr): New prototype.
10667 (strstr): Renamed to ...
10668 (__libc_strstr): This.
10669 (strstr): New strong alias of __libc_strstr.
10670 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10671 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10674 (__libc_time): New prototype.
10675 (time_ifunc): Replace time with __libc_time.
10676 (time): New strong alias and hidden definition of __libc_time.
10677 (__GI_time): Remove strong alias.
10678 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10679 Include <stddef.h>.
10680 (memmove): Redefined to __redirect_memmove.
10681 (__memmove_sse2): Use typeof __redirect_memmove.
10682 (__memmove_ssse3): Likewise.
10683 (__memmove_ssse3_back): Likewise.
10684 (__libc_memmove): New prototype.
10685 (memmove): Renamed to ...
10686 (__libc_memmove): This.
10687 (memmove): New strong alias of __libc_memmove.
10689 2012-08-08 Mark Salter <msalter@redhat.com>
10692 (R_MN10300_TLS_GD): Define.
10693 (R_MN10300_TLS_LD): Likewise.
10694 (R_MN10300_TLS_LDO): Likewise.
10695 (R_MN10300_TLS_GOTIE): Likewise.
10696 (R_MN10300_TLS_IE): Likewise.
10697 (R_MN10300_TLS_LE): Likewise.
10698 (R_MN10300_TLS_DTPMOD): Likewise.
10699 (R_MN10300_TLS_DTPOFF): Likewise.
10700 (R_MN10300_TLS_TPOFF): Likewise.
10701 (R_MN10300_SYM_DIFF): Likewise.
10702 (R_MN10300_ALIGN): Likewise.
10703 (R_MN10300_NUM): Update.
10705 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10707 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10710 2012-08-08 Roland McGrath <roland@hack.frob.com>
10712 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10714 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10715 sysdeps/unix -> sysdeps/posix move.
10716 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10718 2012-08-07 Allan McRae <allan@archlinux.org>
10721 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10722 (SUNOS_CPP): Likewise.
10723 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10725 (open_input): Call CPP using execvp.
10727 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10729 * sysdeps/unix/sysv/linux/kernel-features.h
10730 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10731 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10732 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10733 (__ASSUME_WAITID_SYSCALL): Likewise.
10734 * sysdeps/unix/sysv/linux/dl-execstack.c
10735 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10736 code unconditional.
10737 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10739 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10740 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10741 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10743 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10745 [__ASSUME_WAITID_SYSCALL]: Likewise.
10746 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10748 2012-08-07 Roland McGrath <roland@hack.frob.com>
10750 * sysdeps/unix/closedir.c: Renamed to ...
10751 * sysdeps/posix/closedir.c: ... here.
10752 * sysdeps/unix/dirfd.c: Renamed to ...
10753 * sysdeps/posix/dirfd.c: ... here.
10754 * sysdeps/unix/dirstream.h: Renamed to ...
10755 * sysdeps/posix/dirstream.h: ... here.
10756 * sysdeps/unix/fdopendir.c: Renamed to ...
10757 * sysdeps/posix/fdopendir.c: ... here.
10758 * sysdeps/unix/opendir.c: Renamed to ...
10759 * sysdeps/posix/opendir.c: ... here.
10760 * sysdeps/unix/readdir.c: Renamed to ...
10761 * sysdeps/posix/readdir.c: ... here.
10762 * sysdeps/unix/readdir_r.c: Renamed to ...
10763 * sysdeps/posix/readdir_r.c: ... here.
10764 * sysdeps/unix/rewinddir.c: Renamed to ...
10765 * sysdeps/posix/rewinddir.c: ... here.
10766 * sysdeps/unix/seekdir.c: Renamed to ...
10767 * sysdeps/posix/seekdir.c: ... here.
10768 * sysdeps/unix/telldir.c: Renamed to ...
10769 * sysdeps/posix/telldir.c: ... here.
10770 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10771 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10772 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10773 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10775 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10776 * bits/fcntl.h: ... here.
10778 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10780 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10781 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10782 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10783 (struct flock): Move l_start, l_len to the beginning.
10784 Use __pid_t for l_pid.
10785 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10786 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10787 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10788 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10789 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10790 [__USE_LARGEFILE64] (struct flock64): New type.
10791 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10793 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10794 * bits/dirent.h: ... here.
10796 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10797 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10799 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10801 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10802 Change from 2.6.0 to 2.6.16.
10803 * sysdeps/unix/sysv/linux/configure: Regenerated.
10804 * sysdeps/unix/sysv/linux/kernel-features.h
10805 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10806 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10808 (__ASSUME_UTIMES): Likewise.
10809 (__ASSUME_CLONE_STOPPED): Remove.
10810 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10811 architectures, not kernel version.
10812 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10813 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10814 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10815 (__ASSUME_WAITID_SYSCALL): Likewise.
10816 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10817 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10818 * README: State 2.6.16 as minimum Linux kernel version. Do not
10819 refer to older versions.
10821 2012-08-06 Roland McGrath <roland@hack.frob.com>
10823 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10824 Define alphasort64 as an alias.
10825 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10826 Define versionsort64 as an alias.
10827 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10828 Define scandir64 as an alias.
10829 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10830 Define scandirat64 as an alias.
10831 * dirent/alphasort64.c (alphasort64):
10832 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10833 * dirent/versionsort64.c: Likewise.
10834 * dirent/scandir64.c: Likewise.
10835 * dirent/scandirat64.c: Likewise.
10836 * sysdeps/wordsize-64/alphasort.c: File removed.
10837 * sysdeps/wordsize-64/alphasort64.c: File removed.
10838 * sysdeps/wordsize-64/scandir.c: File removed.
10839 * sysdeps/wordsize-64/scandir64.c: File removed.
10840 * sysdeps/wordsize-64/scandirat.c: File removed.
10841 * sysdeps/wordsize-64/scandirat64.c: File removed.
10842 * sysdeps/wordsize-64/versionsort.c: File removed.
10843 * sysdeps/wordsize-64/versionsort64.c: File removed.
10844 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10845 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10846 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10847 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10848 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10849 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10850 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10851 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10853 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10855 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10857 [defined __arch64__ || defined __sparcv9]
10858 (__INO_T_MATCHES_INO64_T): New macro.
10859 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10860 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10861 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10862 * sysdeps/unix/sysv/linux/bits/dirent.h
10863 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10864 (_DIRENT_MATCHES_DIRENT64): New macro.
10866 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10867 Define lockf64 as an alias.
10868 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10869 Define fseeko64 as an alias.
10870 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10871 Define ftello64 as an alias.
10872 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10873 Define _IO_fgetpos64 and fgetpos64 as aliases.
10874 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10875 Define _IO_fsetpos64 and fsetpos64 as aliases.
10876 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10877 Conditionalize body on this.
10878 * libio/fseeko64.c: Likewise.
10879 * libio/ftello64.c: Likewise.
10880 * libio/iofgetpos64.c: Likewise.
10881 * libio/iofsetpos64.c: Likewise.
10882 * sysdeps/wordsize-64/lockf.c: File removed.
10883 * sysdeps/wordsize-64/lockf64.c: File removed.
10884 * sysdeps/wordsize-64/fseeko.c: File removed.
10885 * sysdeps/wordsize-64/fseeko64.c: File removed.
10886 * sysdeps/wordsize-64/ftello.c: File removed.
10887 * sysdeps/wordsize-64/ftello64.c: File removed.
10888 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10889 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10890 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10891 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10892 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10893 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10894 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10895 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10896 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10897 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10898 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10899 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10900 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10901 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10903 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10904 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10905 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10906 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10907 [defined __arch64__ || defined __sparcv9]
10908 (__OFF_T_MATCHES_OFF64_T): New macro.
10909 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10910 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10911 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10912 (__OFF_T_MATCHES_OFF64_T): New macro.
10914 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10916 * stdlib/secure-getenv.c (__secure_getenv): Replace
10917 GLIBC_2_16 with GLIBC_2_17.
10919 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10921 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10922 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10924 2012-08-03 David S. Miller <davem@davemloft.net>
10926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10928 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10930 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10932 (__ASSUME_CORRECT_SI_PID): Likewise.
10933 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10934 (__ASSUME_TMPFS_NAME): Likewise.
10935 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10936 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10937 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10938 (HAVE_AUX_SECURE): Make definition unconditional.
10939 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10940 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10942 2012-08-03 Roland McGrath <roland@hack.frob.com>
10944 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10945 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10946 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10947 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10948 __eloop_threshold instead of SYMLOOP_MAX.
10950 * sysdeps/generic/eloop-threshold.h: New file.
10951 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10953 * elf/chroot_canon.c (chroot_canon): Likewise.
10955 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10958 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10959 Change to 2.6.0 everywhere.
10960 * sysdeps/unix/sysv/linux/configure: Regenerated.
10961 * sysdeps/unix/sysv/linux/kernel-features.h
10962 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10963 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10965 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10966 (__ASSUME_FUTEX_REQUEUE): Remove.
10967 (__ASSUME_STATFS64): Define unconditionally.
10968 (__ASSUME_AT_SECURE): Likewise.
10969 (__ASSUME_CORRECT_SI_PID): Likewise.
10970 (__ASSUME_TGKILL): Define without depending on kernel version for
10972 (__ASSUME_UTIMES): Likewise.
10973 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10975 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10976 (__ASSUME_TMPFS_NAME): Likewise.
10977 * README: Update reference to Linux kernel versions.
10979 2012-08-02 Marek Polacek <polacek@redhat.com>
10982 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10983 libc_cv_asm_type_prefix with %.
10984 * configure: Regenerated.
10985 * include/libc-symbols.h: Remove comment about
10986 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10987 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10988 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10989 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10990 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10991 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10992 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10993 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10994 * elf/tst-unique2mod1.c: Likewise.
10995 * elf/tst-unique1mod2.c: Likewise.
10996 * elf/tst-unique1mod1.c: Likewise.
10997 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10998 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10999 Replace ASM_TYPE_DIRECTIVE with .type.
11000 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11001 * sysdeps/i386/sysdep.h: Likewise.
11002 * sysdeps/x86_64/sysdep.h: Likewise.
11003 * sysdeps/sh/sysdep.h: Likewise.
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11005 Do not define ASM_TYPE_DIRECTIVE.
11006 * sysdeps/powerpc/sysdep.h: Likewise.
11007 * sysdeps/powerpc/powerpc32/sysdep.h:
11008 Replace ASM_TYPE_DIRECTIVE with .type.
11009 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11010 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11011 * sysdeps/i386/fpu/e_powf.S: Likewise.
11012 * sysdeps/i386/fpu/e_expl.S: Likewise.
11013 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11014 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11015 * sysdeps/i386/fpu/e_pow.S: Likewise.
11016 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11017 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11018 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11019 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11020 * sysdeps/i386/fpu/e_log2.S: Likewise.
11021 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11022 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11023 * sysdeps/i386/fpu/e_powl.S: Likewise.
11024 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11025 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11026 * sysdeps/i386/fpu/e_logl.S: Likewise.
11027 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11028 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11029 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11030 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11031 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11032 * sysdeps/i386/fpu/e_log.S: Likewise.
11033 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11034 * sysdeps/i386/fpu/e_logf.S: Likewise.
11035 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11036 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11037 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11038 * sysdeps/i386/fpu/e_log10.S: Likewise.
11039 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11040 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11041 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11042 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11043 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11044 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11045 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11046 * sysdeps/i386/i686/strtok.S: Likewise.
11047 * sysdeps/i386/i386-mcount.S: Likewise.
11048 * sysdeps/i386/strtok.S: Likewise.
11049 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11050 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11051 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11052 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11053 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11054 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11055 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11056 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11057 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11058 * sysdeps/x86_64/_mcount.S: Likewise.
11059 * sysdeps/x86_64/strtok.S: Likewise.
11060 * sysdeps/sh/_mcount.S: Likewise.
11062 2012-08-01 Roland McGrath <roland@hack.frob.com>
11064 * libio/iofopen.c: Include <fcntl.h>.
11065 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11066 (_IO_fopen64, fopen64): Define as aliases.
11067 * libio/iofopen64.c: Include <fcntl.h>.
11068 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11069 Conditionalize body on this.
11070 * sysdeps/wordsize-64/iofopen.c: File removed.
11071 * sysdeps/wordsize-64/iofopen64.c: File removed.
11073 2012-08-01 Marek Polacek <polacek@redhat.com>
11075 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11076 Use dlfcn directly instead of a variable.
11077 (binfmt-subdir): Do not define.
11080 2012-08-01 Joseph Myers <joseph@codesourcery.com>
11082 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11083 Remove all definitions.
11084 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11085 <kernel-features.h>.
11086 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11087 (miss_F_GETOWN_EX): Remove all definitions.
11088 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11090 [!__ASSUME_FCNTL64]: Remove conditional code.
11091 [__ASSUME_FCNTL64]: Make code unconditional.
11092 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11093 <kernel-features.h>.
11094 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11095 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11096 (lockf64) [__NR_fcntl64]: Make code unconditional.
11097 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11099 * sysdeps/unix/sysv/linux/kernel-features.h
11100 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11101 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11102 Make code unconditional.
11103 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11104 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11106 [__NR_vfork]: Make code unconditional.
11107 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11108 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11110 [__NR_vfork]: Make code unconditional.
11111 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11112 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11114 2012-08-01 Roland McGrath <roland@hack.frob.com>
11116 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11117 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11119 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11120 Define mkstemp64 as an alias.
11121 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11122 Define mkstemps64 as an alias.
11123 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11124 Define mkostemp64 as an alias.
11125 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11126 Define mkostemps64 as an alias.
11127 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11128 Conditionalize body on this.
11129 * misc/mkostemp64.c: Likewise.
11130 * misc/mkostemps64.c: Likewise.
11131 * misc/mkstemps64.c: Likewise.
11132 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11133 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11134 * sysdeps/wordsize-64/mkostemp.c: File removed.
11135 * sysdeps/wordsize-64/mkstemp.c: File removed.
11136 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11137 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11138 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11139 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11142 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11143 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11144 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11145 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11147 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11148 compat_symbol macros from <shlib-compat.h> rather than the underlying
11149 default_symbol_version and symbol_version macros, so that DEFAULT
11150 lines in shlib-versions are respected.
11151 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11153 2012-08-01 Florian Weimer <fweimer@redhat.com>
11155 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11156 Declare with warn_unused_result.
11157 (setgid, setregid, setegid, setresgid): Likewise.
11158 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11160 * WUR-REPORT: Remove set*id functions.
11162 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11164 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11166 2012-07-31 Roland McGrath <roland@hack.frob.com>
11169 * include/sys/socket.h (__libc_accept, __libc_accept4):
11170 Add attribute_hidden.
11171 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11173 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11175 * inet/getnetgrent_r.c (setup): Likewise.
11177 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11179 2012-07-31 David S. Miller <davem@davemloft.net>
11181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11183 2012-07-31 Joseph Myers <joseph@codesourcery.com>
11186 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11187 value between 1.0 and 2.0 and smaller part has absolute value less
11189 * math/s_clog10.c (__clog10): Likewise.
11190 * math/s_clog10f.c (__clog10f): Likewise.
11191 * math/s_clog10l.c (__clog10l): Likewise.
11192 * math/s_clogf.c (__clogf): Likewise.
11193 * math/s_clogl.c (__clogl): Likewise.
11194 * math/libm-test.inc (clog_test): Add more tests.
11195 (clog10_test): Likewise.
11196 * sysdeps/i386/fpu/libm-test-ulps: Update.
11197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11199 2012-07-31 Florian Weimer <fweimer@redhat.com>
11201 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11202 Exit with zero in case no suitable GID is found, and write a
11203 message to standard error.
11205 2012-07-30 Roland McGrath <roland@hack.frob.com>
11207 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11209 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11210 (MAXPATHLEN): Removed.
11211 (NOGROUP, NODEV): New macros.
11212 (setbit, clrbit, isset, isclr): New macros.
11213 (howmany, roundup, powerof2): New macros.
11214 (DEV_BSIZE): New macro.
11216 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11217 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11219 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11220 definition on [!__NO_LONG_DOUBLE_MATH].
11222 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11223 PTR_MANGLE and PTR_DEMANGLE.
11225 * socket/accept4.c (accept4): Rename to __libc_accept4.
11226 Define accept4 as a weak alias.
11228 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11229 on [_DIRENT_HAVE_D_TYPE].
11230 * io/ftw.c (ftw_dir): Likewise.
11232 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11234 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11236 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11237 Use the BSD numbers rather than the arbitrary ones we had.
11238 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11239 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11240 (SIGXCPU, SIGXFSZ): New macros.
11243 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11244 initializer on [_LIBC_REENTRANT].
11246 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11247 definitions inside [_POSIX_MAPPED_FILES].
11249 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11251 * dirent/opendir.c: Include <fcntl.h>.
11253 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11254 (__libc_getspecific): Likewise.
11255 (__libc_key_create): Likewise.
11257 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11258 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11259 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11260 (tmpfile64): Define as alias.
11261 * sysdeps/wordsize-64/tmpfile.c: File removed.
11262 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11263 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11264 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11266 * stdio-common/vfscanf.c: Include <stdbool.h>.
11267 * nss/makedb.c: Likewise.
11268 * stdio-common/_i18n_number.h: Likewise.
11269 * argp/argp-help.c: Likewise.
11270 * posix/wordexp.c: Likewise.
11271 * sysdeps/posix/spawni.c: Likewise.
11272 * nss/nss_files/files-initgroups.c: Likewise.
11273 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11274 * nss/nss_files/files-initgroups.c: Likewise.
11275 * nss/nss_db/db-netgrp.c: Likewise.
11276 * nss/nss_db/db-initgroups.c: Likewise.
11277 * io/fchmodat.c: Include <sys/stat.h>.
11279 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11280 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11282 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11285 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11286 Add multiple inclusion protection.
11288 2012-07-27 David S. Miller <davem@davemloft.net>
11290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11292 2012-07-27 Gary Benson <gbenson@redhat.com>
11295 * elf/rtld.c: Include <stap-probe.h>.
11296 (dl_main): Added static probes "init_start" and "init_complete".
11297 * elf/dl-load.c: Include <stap-probe.h>.
11298 (lose): Take new parameter "nsid".
11299 Added static probe "map_failed".
11300 (_dl_map_object_from_fd): Pass namespace id to lose.
11301 Added static probe "map_start".
11302 (open_verify): Pass namespace id to lose.
11303 * elf/dl-open.c: Include <stap-probe.h>.
11304 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11305 and "reloc_complete".
11306 * elf/dl-close.c: Include <stap-probe.h>.
11307 (_dl_close_worker): Added static probes "unmap_start" and
11309 * elf/rtld-debugger-interface.txt: New file documenting the above.
11311 2012-07-26 Roland McGrath <roland@hack.frob.com>
11313 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11314 rather than a string variable.
11315 * sunrpc/rpc_main.c (h_output): Likewise.
11316 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11318 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11320 * inet/check_native.c: New file.
11322 2012-07-26 Joseph Myers <joseph@codesourcery.com>
11325 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11326 if larger part has absolute value 1.0.
11327 * math/s_clog10.c (__clog10): Likewise.
11328 * math/s_clog10f.c (__clog10f): Likewise.
11329 * math/s_clog10l.c (__clog10l): Likewise.
11330 * math/s_clogf.c (__clogf): Likewise.
11331 * math/s_clogl.c (__clogl): Likewise.
11332 * math/libm-test.inc (clog_test): Add more tests.
11333 (clog10_test): Likewise.
11334 * sysdeps/i386/fpu/libm-test-ulps: Update.
11335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11337 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11338 (pltexit): Likewise.
11339 (La_regs): Likewise.
11340 (La_retval): Likewise.
11341 (int_retval): Likewise.
11342 Update #error for removed macros to refer only to definitions in
11344 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11346 (pltexit): Likewise.
11347 (La_regs): Likewise.
11348 (La_retval): Likewise.
11349 (int_retval): Likewise.
11350 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11352 (pltexit): Likewise.
11353 (La_regs): Likewise.
11354 (La_retval): Likewise.
11355 (int_retval): Likewise.
11356 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11358 (pltexit): Likewise.
11359 (La_regs): Likewise.
11360 (La_retval): Likewise.
11361 (int_retval): Likewise.
11362 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11364 (pltexit): Likewise.
11365 (La_regs): Likewise.
11366 (La_retval): Likewise.
11367 (int_retval): Likewise.
11368 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11370 (pltexit): Likewise.
11371 (La_regs): Likewise.
11372 (La_retval): Likewise.
11373 (int_retval): Likewise.
11374 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11376 (pltexit): Likewise.
11377 (La_regs): Likewise.
11378 (La_retval): Likewise.
11379 (int_retval): Likewise.
11380 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11381 macro definitions in tst-audit.h.
11382 * sysdeps/i386/tst-audit.h: New file.
11383 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11384 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11385 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11386 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11387 * sysdeps/sh/tst-audit.h: Likewise.
11388 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11389 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11390 * sysdeps/x86_64/tst-audit.h: Likewise.
11392 2012-07-26 Andreas Jaeger <aj@suse.de>
11394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11397 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11398 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11399 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11401 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11402 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11403 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11405 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11408 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11410 (si_call_addr, si_syscall, si_arch): Define new macro.
11411 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11413 (si_call_addr, si_syscall, si_arch): Define new marcro.
11414 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11416 (si_call_addr, si_syscall, si_arch): Define new macro.
11417 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11419 (si_call_addr, si_syscall, si_arch): Define new macro.
11421 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11425 Change to 2.4.21 where previously 2.4.1.
11426 * sysdeps/unix/sysv/linux/configure: Regenerated.
11427 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11428 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11429 Linux kernel version.
11430 (__ASSUME_STD_AUXV): Remove.
11431 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11433 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11434 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11435 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11436 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11437 (__ASSUME_NETLINK_SUPPORT): Likewise.
11438 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11439 (__no_netlink_support): Remove conditional definition.
11440 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11442 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11443 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11444 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11445 (if_nameindex_ioctl): Remove.
11446 (if_nameindex_netlink): Do not handle __no_netlink_support.
11447 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11449 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11450 Remove conditional code.
11451 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11453 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11455 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11456 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11457 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11459 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11460 [!__ASSUME_STD_AUXV]: Remove conditional code.
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11462 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11463 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11465 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11466 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11468 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11470 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11471 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11473 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11475 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11478 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11481 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11482 code unconditional.
11483 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11485 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11487 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11490 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11492 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11495 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11496 code unconditional.
11497 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11499 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11501 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11504 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11505 code unconditional.
11506 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11508 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11510 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11513 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11515 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11516 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11517 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11518 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11519 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11520 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11521 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11522 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11523 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11524 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11525 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11526 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11527 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11528 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11529 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11530 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11531 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11533 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11535 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11536 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11537 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11539 2012-07-25 Florian Weimer <fweimer@redhat.com>
11541 * Versions.def: Add GLIBC_2.17.
11542 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11543 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11544 Introduce __libc_secure_getenv.
11545 * stdlib/Versions (2.17): Add secure_getenv
11546 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11547 * stdlib/secure-getenv.c: Rename __secure_getenv to
11548 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11549 symbol __secure_getenv for GLIBC_2.0.
11550 * stdlib/tst-secure-getenv.c: New.
11551 * stdlib/Makefile (tests): Add testcase.
11552 * manual/startup.texi (Environment Access): Document
11554 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11555 __libc_secure_getenv.
11556 * inet/ruserpass.c (ruserpass): Likewise.
11557 * malloc/mtrace.c (mtrace): Likewise.
11558 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11559 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11560 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11561 * sysdeps/posix/tempname.c: Likewise. Evaluate
11562 HAVE_SECURE_GETENV.
11563 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11564 __secure_getenv to __libc_secure_getenv.
11565 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11578 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11580 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11581 (struct La_i86_retval): Likewise.
11582 (struct La_x86_64_regs): Likewise.
11583 (struct La_x86_64_retval): Likewise.
11584 (struct La_x32_regs): Likewise.
11585 (struct La_x32_retval): Likewise.
11586 (struct La_ppc32_regs): Likewise.
11587 (struct La_ppc32_retval): Likewise.
11588 (struct La_ppc64_regs): Likewise.
11589 (struct La_ppc64_retval): Likewise.
11590 (struct La_sh_regs): Likewise.
11591 (struct La_sh_retval): Likewise.
11592 (struct La_s390_32_regs): Likewise.
11593 (struct La_s390_32_retval): Likewise.
11594 (struct La_s390_64_regs): Likewise.
11595 (struct La_s390_64_retval): Likewise.
11596 (struct La_sparc32_regs): Likewise.
11597 (struct La_sparc32_retval): Likewise.
11598 (struct La_sparc64_regs): Likewise.
11599 (struct La_sparc64_retval): Likewise.
11600 (struct audit_ifaces): Remove architecture-specific pltenter and
11602 * sysdeps/i386/ldsodefs.h: New file.
11603 * sysdeps/powerpc/ldsodefs.h: Likewise.
11604 * sysdeps/s390/ldsodefs.h: Likewise.
11605 * sysdeps/sh/ldsodefs.h: Likewise.
11606 * sysdeps/sparc/ldsodefs.h: Likewise.
11607 * sysdeps/x86_64/ldsodefs.h: Likewise.
11609 2012-07-25 Marek Polacek <polacek@redhat.com>
11612 * math/libm-test.inc (yn_test): Add another test.
11613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11614 to ERANGE when the result is +-Inf.
11615 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11616 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11617 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11618 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11620 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11622 * conform/data/time.h-data (NULL): Use macro-constant. Require
11624 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11626 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11628 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11630 * configure.in <sysdeps resolving>: Correct printing
11632 * configure: Regenerate.
11634 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11636 * math/w_ilogb.c: Include <limits.h>.
11637 * math/w_ilogbl.c: Likewise.
11639 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11641 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11642 va_copy. Document allowing for unavailable va_copy only as
11643 pre-C99 compatibility.
11644 * manual/string.texi (Copying and Concatenation): Use va_copy
11645 instead of __va_copy in concat example.
11647 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11649 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11650 (__sendto): Use create_address_port. Initialize APORT and deallocate
11653 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11654 with O_NOLINK passed to __file_name_lookup.
11656 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11657 with O_NOLINK passed to __file_name_lookup.
11659 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11660 negative N or less than NGIDS.
11662 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11663 type to string_t. Set ERANGE as errno and return it if NAME is not big
11664 enough. Use memcpy instead of strncpy.
11666 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11668 * elf/Makefile (check-data): Remove.
11669 (localplt.data): New vpath directive.
11670 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11671 instead of $(check-data).
11672 * scripts/data/localplt-generic.data: Move to ...
11673 * sysdeps/generic/localplt.data: ... here.
11674 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11675 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11676 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11679 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11682 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11685 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11688 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11691 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11695 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11697 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11698 PPC32 and PPC64 files.
11699 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11700 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11702 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11704 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11705 __makecontext_ret to ...
11706 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11707 ... here and call exit if uc_link is NULL. New file.
11708 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11709 __makecontext_ret.S.
11710 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11711 __makecontext_ret to ...
11712 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11713 ... here and call exit if uc_link is NULL. New file.
11714 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11715 __makecontext_ret.S.
11717 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11719 * elf/elf.h (R_390_IRELATIVE): New definition.
11720 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11721 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11722 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11723 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11724 (elf_machine_lazy_rel): Likewise.
11725 * sysdeps/s390/dl-irel.h: New file.
11726 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11727 * sysdeps/s390/s390-64/memset.S: New asm code.
11728 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11729 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11730 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11731 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11732 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11733 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11734 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11735 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11736 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11737 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11738 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11739 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11740 * sysdeps/s390/s390-32/memset.S: New asm code.
11741 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11743 2012-07-17 Marek Polacek <polacek@redhat.com>
11746 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11747 * sysdeps/s390/s390-64/configure.in: Likewise.
11748 * sysdeps/sparc/configure.in: Likewise.
11749 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11750 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11751 * sysdeps/i386/configure.in: Likewise.
11752 * sysdeps/x86_64/configure.in: Likewise.
11753 * sysdeps/sh/configure.in: Likewise.
11754 * sysdeps/s390/s390-32/configure: Regenerated.
11755 * sysdeps/s390/s390-64/configure: Likewise.
11756 * sysdeps/x86_64/configure: Likewise.
11757 * sysdeps/sh/configure: Likewise.
11758 * sysdeps/powerpc/powerpc64/configure: Likewise.
11759 * sysdeps/powerpc/powerpc32/configure: Likewise.
11760 * sysdeps/sparc/configure: Likwise.
11761 * sysdeps/i386/configure: Likewise.
11763 * elf/dl-open.c: Comment fixes.
11765 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11767 * Makefile [CXX] (check-data): Remove.
11768 [CXX] (c++-types.data): New vpath directive.
11769 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11770 vpath. Do not allow for C++ type data being missing.
11771 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11772 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11773 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11774 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11775 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11776 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11777 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11780 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11783 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11786 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11789 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11792 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11795 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11798 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11801 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11802 definitions to architecture-specific files.
11803 (TLS_IE): Likewise.
11804 (TLS_LD): Likewise.
11805 (TLS_GD): Likewise.
11806 * sysdeps/i386/tls-macros.h: New file.
11807 * sysdeps/powerpc/tls-macros.h: Likewise.
11808 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11809 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11810 * sysdeps/sh/tls-macros.h: Likewise.
11811 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11812 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11813 * sysdeps/x86_64/tls-macros.h: Likewise.
11815 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11817 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11818 zero value for regular exit case.
11820 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11821 (__start_context): Preserve zero value for regular exit case.
11823 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11824 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11826 * manual/setjmp.texi (setcontext): Clarify normal process
11827 termination when uc_link is the null pointer.
11828 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11831 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11833 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11834 preprocessor. Test for each exception mask separately.
11836 2012-07-16 Andreas Jaeger <aj@suse.de>
11838 * po/ru.po: Update from translation team.
11840 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11842 * conform/data/string.h-data (NULL): Use macro-constant. Require
11844 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11845 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11846 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11847 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11850 2012-07-13 Andreas Jaeger <aj@suse.de>
11852 * po/fr.po: Update from translation team.
11854 2012-07-12 Marek Polacek <polacek@redhat.com>
11857 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11858 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11861 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11864 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11865 Change to 2.4.1 where previously 2.4.0.
11866 * sysdeps/unix/sysv/linux/configure: Regenerated.
11867 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11868 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11870 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11871 (__ASSUME_AT_CLKTCK): Remove.
11872 (__ASSUME_AT_PAGESIZE): Likewise.
11873 (__ASSUME_AT_XID): Likewise.
11874 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11875 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11876 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11878 (HAVE_AUX_PAGESIZE): Likewise.
11879 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11880 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11881 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11883 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11887 the temporary buffer used to invoke __gethostbyname2_r,
11888 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11889 host_data / struct gaih_addrtuple.
11890 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11891 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11892 header file nss/nsswitch.h.
11893 * nss/nsswitch.h (global scope): Add definition of implementation
11894 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11895 resolv/nss_dns/dns-host.c).
11897 2012-07-11 Andreas Jaeger <aj@suse.de>
11899 * po/fr.po: Update from translation team.
11901 * po/sv.po: Update from translation team
11902 * po/fr.po: Another update from translation team.
11904 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11906 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11907 for subnormals or multiply small sinh result by itself.
11908 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11911 2012-07-11 David S. Miller <davem@davemloft.net>
11913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11915 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11918 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11919 (INTERNAL_MARK): Shift it here.
11921 2012-07-10 Marek Polacek <polacek@redhat.com>
11924 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11925 libc_cv_asm_global_directive with .globl.
11926 * configure: Regenerated.
11927 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11929 * sysdeps/i386/configure: Regenerated.
11930 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11932 * sysdeps/x86_64/configure: Regenerated.
11933 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11934 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11935 * elf/tst-unique2mod2.c: Likewise.
11936 * elf/tst-unique2mod1.c: Likewise.
11937 * elf/tst-unique1mod2.c: Likewise.
11938 * elf/tst-unique1mod1.c: Likewise.
11939 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11940 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11942 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11943 * sysdeps/mach/sysdep.h: Likewise.
11944 * sysdeps/i386/sysdep.h: Likewise.
11945 * sysdeps/i386/i386-mcount.S: Likewise.
11946 * sysdeps/x86_64/_mcount.S: Likewise.
11947 * sysdeps/x86_64/sysdep.h: Likewise.
11948 * sysdeps/sh/_mcount.S: Likewise.
11949 * sysdeps/sh/sysdep.h: Likewise.
11950 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11951 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11952 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11953 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11954 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11955 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11956 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11957 * locale/localeinfo.h: Likewise.
11958 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11959 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11961 2012-07-09 Roland McGrath <roland@hack.frob.com>
11964 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11966 * manual/message.texi (The Uniforum approach): Likewise.
11967 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11968 (glibc iconv Implementation): Likewise.
11970 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11973 * math/s_clog.c (__clog): Avoid scaling a value down where that
11974 could result in underflow.
11975 * math/s_clog10.c (__clog10): Likewise.
11976 * math/s_clog10f.c (__clog10f): Likewise.
11977 * math/s_clog10l.c (__clog10l): Likewise.
11978 * math/s_clogf.c (__clogf): Likewise.
11979 * math/s_clogl.c (__clogl): Likewise.
11980 * math/libm-test.inc (clog_test): Add more tests.
11981 (clog10_test): Likewise.
11982 * sysdeps/i386/fpu/libm-test-ulps: Update.
11983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11985 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11988 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11989 by 7 not 8 to examine high bit of fractional part.
11992 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11993 for call to __mcount_internal.
11994 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11995 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11996 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11998 2012-07-06 Joseph Myers <joseph@codesourcery.com>
12001 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12002 approximation for values within 0x1p-13f of an odd multiple of
12004 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12005 exception. Add more tests.
12006 * sysdeps/i386/fpu/libm-test-ulps: Update.
12009 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12010 inputs and return -1 for them. Do not check for +Inf in case not
12011 reachable for +Inf.
12012 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12013 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12014 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12015 and return -1 for them. Do not check for +Inf in case not
12016 reachable for +Inf.
12017 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12019 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12020 and return -1 for them. Do not check for +Inf in case not
12021 reachable for +Inf.
12022 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12023 spurious underflow.
12024 * sysdeps/i386/fpu/libm-test-ulps: Update.
12025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12027 2012-07-06 Mike Frysinger <vapier@gentoo.org>
12029 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12031 2012-07-05 Joseph Myers <joseph@codesourcery.com>
12035 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12036 could result in spurious underflow. Scale down values above
12037 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12038 * math/s_csqrtf.c (__csqrtf): Likewise.
12039 * math/s_csqrtl.c (__csqrtl): Likewise.
12040 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12041 spurious underflow.
12042 * sysdeps/i386/fpu/libm-test-ulps: Update.
12043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12045 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12047 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12049 * catgets/xopen-msg.awk: New file.
12050 * catgets/xopen-msg.sed: Removed.
12052 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12054 * intl/po2test.awk: New file.
12055 * intl/po2test.sed: Removed.
12057 2012-07-04 Joseph Myers <joseph@codesourcery.com>
12060 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12061 or multiply small sinh result by itself.
12062 * math/s_ctanf.c (__ctanf): Likewise.
12063 * math/s_ctanh.c (__ctanh): Likewise.
12064 * math/s_ctanhf.c (__ctanhf): Likewise.
12065 * math/s_ctanhl.c (__ctanhl): Likewise.
12066 * math/s_ctanl.c (__ctanl): Likewise.
12067 * math/libm-test.inc (ctan_test_tonearest): New function.
12068 (ctan_test_towardzero): Likewise.
12069 (ctan_test_downward): Likewise.
12070 (ctan_test_upward): Likewise.
12071 (ctanh_test_tonearest): Likewise.
12072 (ctanh_test_towardzero): Likewise.
12073 (ctanh_test_downward): Likewise.
12074 (ctanh_test_upward): Likewise.
12075 (main): Call these new functions.
12076 * sysdeps/i386/fpu/libm-test-ulps: Update.
12077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12079 2012-07-03 Mike Frysinger <vapier@gentoo.org>
12081 * .gitignore: Delete /ports entry.
12083 2012-07-03 Andreas Jaeger <aj@suse.de>
12085 * po/bg.po: Update from translation team.
12086 * po/cs.po: Likewise.
12087 * po/de.po: Likewise.
12088 * po/hr.po: Likewise.
12089 * po/nl.pl: Likewise.
12090 * po/pl.po: Likewise.
12091 * po/vi.po: Likewise.
12093 2012-07-03 Joseph Myers <joseph@codesourcery.com>
12095 * Makeconfig [!+link] (+link-before-libc): New variable.
12096 [!+link] (+link-after-libc): Likewise.
12097 [!+link] (+link-tests): Likewise.
12098 [!+link] (+link): Define in terms of $(+link-before-libc) and
12099 $(+link-after-libc).
12100 [!+link-static] (+link-static-before-libc): New variable.
12101 [!+link-static] (+link-static-after-libc): Likewise.
12102 [!+link-static] (+link-static-tests): Likewise.
12103 [!+link-static] (+link-static): Define in terms of
12104 $(+link-static-before-libc) and $(+link-static-after-libc).
12105 [build-shared] (link-libc-before-gnulib): New variable.
12106 [build-shared] (link-libc-tests): Likewise.
12107 [build-shared] (link-libc): Define in terms of
12108 $(link-libc-before-gnulib).
12109 [!build-shared] (link-libc-tests): New variable.
12110 (link-libc-static-tests): New variable.
12111 [!gnulib] (gnulib-arch): New variable.
12112 [!gnulib] (gnulib-tests): Likewise.
12113 [!gnulib] (static-gnulib-arch): Likewise.
12114 [!gnulib] (static-gnulib-tests): Likewise.
12115 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12116 Define with "=" instead of ":=".
12117 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12118 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12119 * Rules (binaries-all-notests): New variable.
12120 (binaries-all-tests): Likewise.
12121 (binaries-static-notests): Likewise.
12122 (binaries-static-tests): Likewise.
12123 (binaries-all): Define using $(binaries-all-notests) and
12124 $(binaries-all-tests).
12125 (binaries-static): Define using $(binaries-static-notests) and
12126 $(binaries-static-tests).
12127 (binaries-shared-tests): New variable.
12128 (binaries-shared-notests): Likewise.
12129 (binaries-shared): Remove variable.
12130 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12131 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12132 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12133 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12134 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12135 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12136 * elf/Makefile (sln-modules): New variable.
12137 (extra-objs): Add $(sln-modules:=.o).
12138 (ldconfig-modules): Add static-stubs.
12139 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12140 * elf/static-stubs.c: New file.
12143 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12144 by 7 not 8 to examine high bit of fractional part. Use volatile
12145 variables when splitting into final array of floats if
12146 __FLT_EVAL_METHOD__ != 0.
12147 * math/libm-test.inc (cos_test): Add another test.
12148 (sin_test): Likewise.
12149 * sysdeps/i386/fpu/libm-test-ulps: Update.
12152 * math/libm-test.inc (cosh_test): Add more tests.
12154 * version.h (RELEASE): Set to "development".
12155 (VERSION): Set to "2.16.90".
12157 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12159 * NEWS: Update copyright. Remove last-updated date.
12160 Mention math library bug fixes and timezone data changes.
12161 * README: Mention GNU/Hurd, x32, and HPPA support status.
12163 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12165 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12167 2012-06-27 Andreas Jaeger <aj@suse.de>
12169 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12171 2012-06-25 Andreas Jaeger <aj@suse.de>
12173 * sysdeps/s390/fpu/libm-test-ulps: Update.
12175 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12176 Thomas Schwinge <thomas@codesourcery.com>
12178 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12179 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12183 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12185 * sysdeps/mach/start.c: Remove file.
12186 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12187 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12188 * sysdeps/sh/init-first.c: Likewise.
12190 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12191 registers for frame unwinding purposes, add CFI directives.
12192 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12193 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12194 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12197 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12198 __fortify_fail returning.
12199 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12201 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12202 sysdeps/sh/____longjmp_chk.S.
12203 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12204 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12205 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12206 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12208 * sysdeps/sh/abort-instr.h: New file.
12209 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12210 process in case exit returns.
12212 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12213 initialize the GOT register before use.
12215 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12216 calculation of ARGC > 4.
12218 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12219 meaningful names to some local labels.
12221 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12222 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12224 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12225 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12226 (__arch_compare_and_exchange_val_16_acq): Likewise.
12227 (__arch_compare_and_exchange_val_32_acq): Likewise.
12228 (atomic_exchange_and_add): Fix gUSA sequence.
12229 (atomic_add): Likewise.
12230 (atomic_add_negative): Likewise.
12231 (atomic_add_zero): Likewise.
12232 (atomic_bit_test_set): Likewise.
12234 2012-06-22 Andreas Schwab <schwab@redhat.com>
12237 * include/link.h (struct link_map): Add l_free_initfini.
12238 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12240 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12241 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12242 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12245 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12247 * configure.in: Use AC_LANG_SOURCE.
12248 * configure: Regenerate.
12250 2012-06-22 Roland McGrath <roland@hack.frob.com>
12252 * configure.in (libc_cv_localstatedir): New substituted variable.
12253 * configure: Regenerated.
12254 * config.make.in (localstatedir): New variable, substituted from
12255 libc_cv_localstatedir.
12256 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12257 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12258 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12259 * sysdeps/gnu/configure: Regenerated.
12261 2012-06-21 Jeff Law <law@redhat.com>
12264 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12265 free. Simplify list management for _LIBC case.
12267 2012-06-21 Joseph Myers <joseph@codesourcery.com>
12270 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12271 Clear sign bit of 64-bit integer value before comparing against
12274 * sysdeps/mach/configure: Regenerated.
12276 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12279 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12281 2012-06-21 Jeff Law <law@redhat.com>
12284 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12285 uint16_t for elements in the "seen" array to avoid char overflows.
12286 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12287 * elf/dl-open.c (dl_open_worker): Likewise.
12289 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12291 * scripts/list-sources.sh: Scan PORTS for translations.
12292 * po/libc.pot: Regenerated.
12294 2012-06-21 Andreas Jaeger <aj@suse.de>
12297 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12299 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12300 * bits/byteswap-16.h (__bswap_16): Likewise.
12301 * bits/byteswap.h (__bswap_constant_16): Likewise.
12303 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12306 * sysdeps/i386/fpu_control.h: Removed.
12307 * sysdeps/x86_64/fpu_control.h: Moved to ...
12308 * sysdeps/x86/fpu_control.h: Here.
12310 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12311 (_FPU_SETCW): Likewise.
12313 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12316 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12317 * sysdeps/x86/fpu/bits/mathinline.h: This.
12318 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12322 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12323 functions if __x86_64__ is defined.
12325 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12327 * string/endian.h: Add !__ASSEMBLER__ condition for including
12328 conversion interfaces.
12330 2012-06-15 Joseph Myers <joseph@codesourcery.com>
12333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12334 of ABS(x) in calculating zero to negative powers other than odd
12336 * math/libm-test.inc (pow_test): Add more tests.
12338 2012-06-15 Andreas Jaeger <aj@suse.de>
12340 * manual/contrib.texi (Contributors): Update entry of Liubov
12341 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12344 2012-06-15 Cyril Hrubis <metan@ucw.cz>
12346 * string/string.h: Add __wur to GNU version of strerror_r.
12348 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12351 * string/Makefile (tests): Add tst-strtok_r.
12352 * string/tst-strtok_r.c: New file.
12353 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12354 RAX_LP/RDX_LP on SAVE_PTR.
12356 2012-06-14 Roland McGrath <roland@hack.frob.com>
12358 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12360 2012-06-14 Joseph Myers <joseph@codesourcery.com>
12362 * libm_test.inc (csqrt_test): Allow more spurious underflow
12364 (j0_test): Likewise.
12365 (j1_test): Likewise.
12366 (y0_test): Likewise.
12367 (y1_test): Likewise.
12369 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12371 * po/Makefile (libc.pot): Use UTF-8 charset.
12373 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12376 Suppress sign-conversion warning from FD_SET.
12377 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12378 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12379 not unsigned long int.
12380 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12382 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12386 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12387 __extern_always_inline instead of __extern_inline.
12388 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12389 (__signbit): Likewise.
12390 (__signbitl): Support C++ namespace.
12391 (lrintf): New inline function.
12393 (llrintf): Likewise.
12394 (llrint): Likewise.
12404 (floorf): Likewise.
12405 (nearbyint): Likewise.
12406 (nearbyintf): Likewise.
12408 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12410 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12411 non-default versions.
12413 2012-06-11 Roland McGrath <roland@hack.frob.com>
12416 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12418 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12420 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12421 (FE_UPWARD, FE_DOWNWARD): Don't define.
12422 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12423 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12427 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12428 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12430 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12432 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12434 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12435 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12437 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12440 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12441 * sysdeps/i386/fpu/Implies: New file.
12442 * sysdeps/x86_64/fpu/Implies: Likewise.
12443 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12444 * sysdeps/x86/fpu/bits/fenv.h: This.
12446 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12449 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12452 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12453 character 0xffff that matches the last element of the
12456 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12461 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12464 values higher than 25.6283.
12466 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12469 subnormal exponent extraction and add some __builtin_expect.
12470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12471 Fix for subnormal mantissa calculation.
12473 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12475 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12476 cpu2 is -1 and errno is not ENOSYS.
12478 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12481 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12482 * sysdeps/x86/bits/string.h: This.
12483 * sysdeps/x86_64/bits/string.h: Removed.
12485 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12486 if not compiling for x86-64, but compiling for >= i486.
12488 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12489 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12491 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12492 New macro from Linux kernel 3.4.0.
12493 (FP_XSTATE_MAGIC2): Likewise.
12494 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12495 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12496 (struct _fpx_sw_bytes): New struct.
12497 (struct _xsave_hdr): Likewise.
12498 (struct _ymmh_state): Likewise.
12499 (struct _xstate): Likewise.
12501 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12502 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12503 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12504 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12505 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12506 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12508 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12509 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12510 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12511 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12512 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12513 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12515 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12518 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12519 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12520 (sysdep_headers): Include sys/platform/ppc.h.
12521 * sysdeps/powerpc/test-gettimebase.c: Test for
12522 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12523 * manual/Makefile (appendices): Include platform.texi.
12524 * manual/contrib.texi (Contributors): Update @node pointers.
12525 * manual/maint.texi (Maintenance): Likewise.
12526 (Platform): New node.
12527 * manual/platform.texi: New file. Document the new features.
12529 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12530 Jakub Jelinek <jakub@redhat.com>
12533 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12534 where __builtin_expect is unavailable.
12536 2012-06-03 David S. Miller <davem@davemloft.net>
12538 * stdlib/longlong.h: Updated from GCC.
12540 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12543 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12544 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12547 (GLIBC_2.16): Likewise.
12549 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12551 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12553 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12556 (default-abi): New variable.
12557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12558 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12560 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12562 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12564 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12567 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12568 definition. Document in comment.
12570 2012-06-01 David S. Miller <davem@davemloft.net>
12572 * stdlib/longlong.h: Updated from GCC.
12574 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12577 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12578 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12579 sys/debugreg.h sys/io.h here.
12580 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12581 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12583 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12584 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12585 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12586 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12587 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12588 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12590 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12591 Define only if __x86_64__ is defined.
12593 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12596 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12597 Use int64_t for variable i.
12598 * math/libm-test.inc (fmod_test): Add more tests.
12600 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12601 z computation is not scheduled after fetestexcept.
12602 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12603 Use math_force_eval instead of asm to ensure calculation scheduled
12604 before exception test.
12605 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12606 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12608 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12611 computation is not scheduled after fetestexcept.
12613 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12616 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12617 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12619 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12621 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12622 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12624 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12627 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12629 (__WCHAR_MIN): Support __WORDSIZE == 64.
12630 (__WCHAR_MAX): Likewise.
12632 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12633 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12636 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12637 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12640 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12641 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12643 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12644 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12646 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12647 Defined to 1 if __x86_64__ isn't defined.
12648 (_STAT_VER_LINUX_OLD): New.
12649 (st_atime): Remove duplicate.
12650 (st_mtime): Likewise.
12651 (st_ctime): Likewise.
12653 2012-05-31 David S. Miller <davem@davemloft.net>
12655 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12658 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12660 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12664 * elf/dl-reloc.c: Include <_itoa.h>.
12665 (_dl_reloc_bad_type): Remove use of INTUSE.
12666 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12667 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12668 * stdio-common/psiginfo.c (psiginfo): Likewise.
12669 * stdio-common/psignal.c (psignal): Likewise.
12670 * string/strsignal.c (strsignal): Likewise.
12671 * include/signal.h (_sys_siglist): Declare hidden proto.
12672 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12673 INTVARDEF with libc_hidden_data_def.
12674 * stdio-common/itoa-udigits.c: Likewise.
12675 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12676 (_itoa_lower_digits_internal): Remove declaration.
12677 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12678 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12679 (_sys_sigabbrev_internal): Remove aliases.
12680 (_sys_siglist): Define hidden alias.
12682 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12687 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12690 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12691 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12693 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12694 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12695 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12696 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12698 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12700 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12701 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12702 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12704 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12712 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12713 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12714 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12716 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12717 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12718 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12719 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12720 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12721 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12723 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12724 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12726 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12727 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12729 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12731 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12733 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12734 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12736 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12738 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12739 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12740 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12742 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12744 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12746 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12748 * math/math.h (M_El): Use two more decimal places.
12749 (M_LOG2El): Likewise.
12750 (M_LOG10El): Likewise.
12751 (M_LN2l): Likewise.
12752 (M_LN10l): Likewise.
12754 (M_PI_2l): Likewise.
12755 (M_PI_4l): Likewise.
12756 (M_1_PIl): Likewise.
12757 (M_2_PIl): Likewise.
12758 (M_2_SQRTPIl): Likewise.
12759 (M_SQRT2l): Likewise.
12760 (M_SQRT1_2l): Likewise.
12762 2012-05-31 David S. Miller <davem@davemloft.net>
12764 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12765 values between float registers.
12766 * sysdeps/sparc/sparc64/memset.S: Likewise.
12767 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12769 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12771 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12772 -D_FORTIFY_SOURCE=1.
12773 (CPPFLAGS-tst-longjmp_chk.c): Define.
12774 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12775 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12776 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12777 CFLAGS-tst-wchar-h.c.
12779 2012-05-31 Marek Polacek <polacek@redhat.com>
12782 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12783 __endmntent_internal): Remove declaration.
12784 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12785 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12786 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12788 2012-05-30 David S. Miller <davem@davemloft.net>
12790 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12791 (___Q_simulate_exceptions): Use real FP ops rather than writing
12793 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12796 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12799 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12800 * sysdeps/x86/bits/xtitypes.h: This.
12802 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12803 * sysdeps/x86/bits/wordsize.h: This.
12805 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12806 * sysdeps/x86/bits/huge_vall.h: This.
12808 * sysdeps/i386/bits/select.h: Removed.
12809 * sysdeps/x86_64/bits/select.h: Renamed to ...
12810 * sysdeps/x86/bits/select.h: This.
12812 * sysdeps/i386/bits/setjmp.h: Removed.
12813 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12814 * sysdeps/x86/bits/setjmp.h: This.
12816 * sysdeps/i386/bits/mathdef.h: Removed.
12817 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12818 * sysdeps/x86/bits/mathdef.h: This.
12820 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12823 * include/sys/socket.h (__connect_internal)
12824 (__libc_sa_len_internal): Remove declaration.
12825 (__connect, __libc_sa_len): Declare hidden_proto.
12826 (SA_LEN): Remove use of INTUSE.
12827 * socket/connect.c: Add libc_hidden_def.
12828 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12829 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12830 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12832 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12833 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12834 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12835 of adding _internal alias.
12837 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12840 * sysdeps/i386/bits/link.h: Removed.
12841 * sysdeps/i386/bits/linkmap.h: Likewise.
12842 * sysdeps/x86_64/bits/link.h: Renamed to ...
12843 * sysdeps/x86/bits/link.h: This.
12844 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12845 * sysdeps/x86/bits/linkmap.h: This.
12847 * sysdeps/i386/bits/endian.h: Removed.
12848 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12849 * sysdeps/x86/bits/endian.h: This.
12851 * sysdeps/i386/bits/byteswap.h: Removed.
12852 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12853 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12854 * sysdeps/x86/bits/byteswap.h: This.
12855 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12856 * sysdeps/x86/bits/byteswap-16.h: This.
12857 * sysdeps/i386/Implies: Add x86.
12858 * sysdeps/x86_64/Implies: Likewise.
12860 2012-05-30 David S. Miller <davem@davemloft.net>
12862 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12863 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12864 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12865 (FP_TRAPPING_EXCEPTIONS): Define.
12866 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12867 (FP_TRAPPING_EXCEPTIONS): Define.
12868 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12869 subnormals only when inexact has been signalled or underflow
12870 exceptions are enabled.
12871 (_FP_PACK_CANONICAL): Likewise.
12873 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12876 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12877 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12879 2012-05-30 Richard Henderson <rth@twiddle.net>
12881 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12882 with #ifndef NOT_IN_libc.
12884 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12885 marked to avoid plt entry.
12887 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12890 * Makeconfig (default-abi): New macro.
12891 (abi-includes): Likewise.
12892 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12893 $(abi-$(default-abi)-lib-soname) for soname if defined.
12894 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12896 * Makefile (installed-stubs): Likewise.
12897 * include/stubs-biarch.h: Removed.
12898 * scripts/lib-names.awk: Only handle one library at a time.
12899 * scripts/soversions.awk: Remove WORDSIZE support.
12900 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12902 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12904 (syscall-list-default-condition): Likewise.
12905 (syscall-list-default-condition): Likewise.
12906 (syscall-list-includes): Likewise.
12907 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12908 syscall-list-* with abi-*. Handle undefined abi-variants.
12909 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12910 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12911 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12912 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12913 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12914 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12916 (syscall-list-32-options): Likewise.
12917 (syscall-list-32-condition): Likewise.
12918 (syscall-list-64-options): Likewise.
12919 (syscall-list-64-condition): Likewise.
12920 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12922 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12925 (abi-64-ld-soname): New macro.
12926 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12927 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12930 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12931 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12933 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12935 * sysdeps/unix/sysv/linux/kernel-features.h
12936 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12937 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12938 include <kernel-features.h>.
12939 [!__NR_ftruncate64]: Remove conditional code.
12940 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12941 [__NR_ftruncate64]: Make code unconditional.
12942 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12943 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12944 include <kernel-features.h>.
12945 [!__NR_ftruncate64]: Remove conditional code.
12946 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12947 [__NR_ftruncate64]: Make code unconditional.
12948 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12950 include <kernel-features.h>.
12951 [!__NR_ftruncate64]: Remove conditional code.
12952 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12953 [__NR_ftruncate64]: Make code unconditional.
12954 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12956 include <kernel-features.h>.
12957 [!__NR_ftruncate64]: Remove conditional code.
12958 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12959 [__NR_ftruncate64]: Make code unconditional.
12960 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12962 * configure.in (libc_cv_fpie): Weaken to a compile test using
12963 LIBC_TRY_CC_OPTION.
12964 * configure: Regenerated.
12966 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12981 2012-05-27 David S. Miller <davem@davemloft.net>
12983 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12985 (__Q_simulate_exceptions): Return void. Change to simulate
12986 exceptions by writing into the %fsr.
12987 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12988 (__Qp_handle_exceptions): Likewise.
12990 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12991 __Qp_handle_exceptions.
12992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12993 __Qp_handle_exceptions.
12994 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12995 as unused and give dummy FP_RND_NEAREST initializer.
12996 (FP_INHIBIT_RESULTS): Define.
12997 (___Q_simulate_exceptions): Update declaration.
12998 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13001 as unused and give dummy FP_RND_NEAREST initializer.
13002 (__Qp_handle_exceptions): Update declaration.
13003 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13006 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13008 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13009 the temporary FPU control word.
13010 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13011 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13012 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13013 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13014 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13015 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13016 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13017 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13018 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13019 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13020 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13022 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13024 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13027 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13029 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13030 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13031 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13032 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13034 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13035 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13038 2012-05-27 Ulrich Drepper <drepper@gmail.com>
13040 * po/h.po: Update from translation team.
13042 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13044 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13046 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13047 handling of denormals.
13048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13049 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13050 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13051 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13052 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13057 2012-05-26 Marek Polacek <polacek@redhat.com>
13060 * math/libm-test.inc (fma_test): Don't always expect underflow
13063 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13066 * elf/tst-execstack.c: Include stackinfo.h.
13067 (do_test): Adjust test case to ensure that pthread_getattr_np
13068 behaviour remains the same after marking stack executable.
13070 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13072 * sysdeps/unix/sysv/linux/kernel-features.h
13073 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13074 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13076 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13077 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13078 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13080 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13081 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13083 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13085 * configure.in: Define the default includes to being none.
13086 * configure: Regenerated.
13088 2012-05-25 Roland McGrath <roland@hack.frob.com>
13090 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13091 * sysdeps/x86_64/setjmp.S: Likewise.
13092 * sysdeps/i386/bsd-setjmp.S: Likewise.
13093 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13094 * sysdeps/i386/setjmp.S: Likewise.
13095 * sysdeps/i386/__longjmp.S: Likewise.
13096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13097 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13099 * include/stap-probe.h: New file.
13100 * configure.in: Handle --enable-systemtap.
13101 * configure: Regenerated.
13102 * config.h.in (USE_STAP_PROBE): New #undef.
13103 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13104 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13105 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13107 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13110 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13111 to 2.4.0 where earlier.
13112 * sysdeps/unix/sysv/linux/configure: Regenerated.
13113 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13114 <kernel-features.h>.
13115 [__ASSUME_32BITUIDS]: Make code unconditional.
13116 [!__ASSUME_32BITUIDS]: Remove conditional code.
13117 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13118 <kernel-features.h>.
13119 [__ASSUME_32BITUIDS]: Make code unconditional.
13120 [!__ASSUME_32BITUIDS]: Remove conditional code.
13121 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13122 [__ASSUME_32BITUIDS]: Make code unconditional.
13123 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13124 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13125 <kernel-features.h>.
13126 [__ASSUME_32BITUIDS]: Make code unconditional.
13127 [!__ASSUME_32BITUIDS]: Remove conditional code.
13128 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13129 <kernel-features.h>.
13130 [__ASSUME_32BITUIDS]: Make code unconditional.
13131 [!__ASSUME_32BITUIDS]: Remove conditional code.
13132 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13133 <kernel-features.h>.
13134 [__ASSUME_32BITUIDS]: Make code unconditional.
13135 [!__ASSUME_32BITUIDS]: Remove conditional code.
13136 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13137 <kernel-features.h>.
13138 [__ASSUME_32BITUIDS]: Make code unconditional.
13139 [!__ASSUME_32BITUIDS]: Remove conditional code.
13140 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13141 <kernel-features.h>.
13142 [__ASSUME_32BITUIDS]: Make code unconditional.
13143 [!__ASSUME_32BITUIDS]: Remove conditional code.
13144 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13145 <kernel-features.h>.
13146 [__ASSUME_32BITUIDS]: Make code unconditional.
13147 [!__ASSUME_32BITUIDS]: Remove conditional code.
13148 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13149 <kernel-features.h>.
13150 [__ASSUME_32BITUIDS]: Make code unconditional.
13151 [!__ASSUME_32BITUIDS]: Remove conditional code.
13152 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13153 <kernel-features.h>.
13154 [__ASSUME_32BITUIDS]: Make code unconditional.
13155 [!__ASSUME_32BITUIDS]: Remove conditional code.
13156 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13157 <kernel-features.h>.
13158 [__ASSUME_32BITUIDS]: Make code unconditional.
13159 [!__ASSUME_32BITUIDS]: Remove conditional code.
13160 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13161 <kernel-features.h>.
13162 [__ASSUME_32BITUIDS]: Make code unconditional.
13163 [!__ASSUME_32BITUIDS]: Remove conditional code.
13164 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13165 <kernel-features.h>.
13166 [__NR_setresgid] (__setresgid): Do not declare.
13167 [__ASSUME_32BITUIDS]: Make code unconditional.
13168 [!__ASSUME_32BITUIDS]: Remove conditional code.
13169 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13170 <kernel-features.h>.
13171 [__NR_setresuid] (__setresuid): Do not declare.
13172 [__ASSUME_32BITUIDS]: Make code unconditional.
13173 [!__ASSUME_32BITUIDS]: Remove conditional code.
13174 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13175 <kernel-features.h>.
13176 [__ASSUME_32BITUIDS]: Make code unconditional.
13177 [!__ASSUME_32BITUIDS]: Remove conditional code.
13178 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13179 <kernel-features.h>.
13180 [__ASSUME_32BITUIDS]: Make code unconditional.
13181 [!__ASSUME_32BITUIDS]: Remove conditional code.
13182 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13183 <kernel-features.h>.
13184 [__ASSUME_32BITUIDS]: Make code unconditional.
13185 [!__ASSUME_32BITUIDS]: Remove conditional code.
13186 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13187 <kernel-features.h>.
13188 [__ASSUME_32BITUIDS]: Make code unconditional.
13189 [!__ASSUME_32BITUIDS]: Remove conditional code.
13190 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13191 <kernel-features.h>.
13192 [__ASSUME_32BITUIDS]: Make code unconditional.
13193 [!__ASSUME_32BITUIDS]: Remove conditional code.
13194 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13195 <kernel-features.h>.
13196 [__ASSUME_32BITUIDS]: Make code unconditional.
13197 [!__ASSUME_32BITUIDS]: Remove conditional code.
13198 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13199 <kernel-features.h>.
13200 [__ASSUME_32BITUIDS]: Make code unconditional.
13201 [!__ASSUME_32BITUIDS]: Remove conditional code.
13202 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13203 <kernel-features.h>.
13204 [__ASSUME_32BITUIDS]: Make code unconditional.
13205 [!__ASSUME_32BITUIDS]: Remove conditional code.
13206 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13207 <kernel-features.h>.
13208 [__ASSUME_32BITUIDS]: Make code unconditional.
13209 [!__ASSUME_32BITUIDS]: Remove conditional code.
13210 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13211 <kernel-features.h>.
13212 [__ASSUME_32BITUIDS]: Make code unconditional.
13213 [!__ASSUME_32BITUIDS]: Remove conditional code.
13214 * sysdeps/unix/sysv/linux/kernel-features.h
13215 (__ASSUME_SETRESUID_SYSCALL): Remove.
13216 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13217 (__ASSUME_32BITUIDS): Likewise.
13218 (__ASSUME_LDT_WORKS): Likewise.
13219 (__ASSUME_O_DIRECTORY): Likewise.
13220 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13221 architecture but not kernel version.
13222 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13223 (__ASSUME_MMAP2_SYSCALL): Likewise.
13224 (__ASSUME_STAT64_SYSCALL): Likewise.
13225 (__ASSUME_IPC64): Likewise.
13226 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13227 <kernel-features.h>.
13228 [__ASSUME_32BITUIDS]: Make code unconditional.
13229 [!__ASSUME_32BITUIDS]: Remove conditional code.
13230 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13231 <kernel-features.h>.
13232 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13233 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13234 132096]: Remove conditional code.
13235 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13236 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13237 <kernel-features.h>.
13238 [__ASSUME_32BITUIDS]: Make code unconditional.
13239 [!__ASSUME_32BITUIDS]: Remove conditional code.
13240 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13241 <kernel-features.h>.
13242 [__ASSUME_32BITUIDS]: Make code unconditional.
13243 [!__ASSUME_32BITUIDS]: Remove conditional code.
13244 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13245 <kernel-features.h>.
13246 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13248 (__setresgid): Do not declare.
13249 [__ASSUME_32BITUIDS]: Make code unconditional.
13250 [!__ASSUME_32BITUIDS]: Remove conditional code.
13251 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13252 <kernel-features.h>.
13253 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13255 (__setresuid): Do not declare.
13256 [__ASSUME_32BITUIDS]: Make code unconditional.
13257 [!__ASSUME_32BITUIDS]: Remove conditional code.
13258 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13259 <kernel-features.h>.
13260 [__ASSUME_32BITUIDS]: Make code unconditional.
13261 [!__ASSUME_32BITUIDS]: Remove conditional code.
13262 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13263 <kernel-features.h>.
13264 [__ASSUME_32BITUIDS]: Make code unconditional.
13265 [!__ASSUME_32BITUIDS]: Remove conditional code.
13267 2012-05-25 Richard Henderson <rth@twiddle.net>
13269 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13270 dl_hwcap to ifunc resolver.
13271 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13273 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13274 dl_hwcap to ifunc resolver.
13275 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13277 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13280 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13281 for |x| <= 2**-26, not 2**-57.
13282 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13285 2012-05-24 Jeff Law <law@redhat.com>
13287 * stdio-common/Makefile (tests): Add bug25.
13288 * stdio-common/bug25.c: New test.
13290 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13293 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13294 multiple of MALLOC_ALIGNMENT in size.
13295 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13297 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13299 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13301 (FILENAME_MAX): Use macro-int-constant.
13302 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13303 (_IOFBF): Use macro-int-constant.
13304 (_IOLBF): Likewise.
13305 (_IONBF): Likewise.
13306 (SEEK_CUR): Likewise.
13307 (SEEK_END): Likewise.
13308 (SEEK_SET): Likewise.
13309 (TMP_MAX): Likewise.
13310 (EOF): Use macro-int-constant. Require < 0.
13311 (NULL): Use macro-constant. Require == 0.
13312 (stdin): Require type to be FILE *.
13313 (stdout): Likewise.
13314 (stderr): Likewise.
13315 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13316 macro-int-constant.
13317 (EXIT_SUCCESS): Likewise.
13318 (NULL): Use macro-constant. Require == 0.
13319 (RAND_MAX): Use macro-int-constant.
13320 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13321 [C99-based standards] (strtof): Require function.
13322 [C99-based standards] (strtold): Likewise.
13323 [C99-based standards] (strtoll): Likewise.
13324 [C99-based standards] (strtoull): Likewise.
13325 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13326 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13327 [ISO || ISO99 || ISO11] (math.h): Likewise.
13328 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13329 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13332 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13335 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13336 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13337 * intl/dgettext.c (DCGETTEXT): Likewise.
13338 * intl/gettext.c (DCGETTEXT): Likewise.
13339 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13340 * posix/regex_internal.h (gettext): Likewise.
13341 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13342 Remove declaration.
13343 * include/argz.h (__argz_count_internal)
13344 (__argz_stringify_internal): Remove declaration.
13345 (__argz_count, __argz_stringify): Declare hidden proto.
13346 * intl/dcgettext.c: Remove use of INTDEF.
13347 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13348 * string/argz-stringify.c: Likewise.
13349 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13350 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13351 Declare hidden proto.
13352 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13353 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13354 Declare hidden proto.
13355 * include/stdio.h (__asprintf_internal): Don't declare.
13356 (__asprintf): Don't define as macro. Declare hidden proto.
13357 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13358 (__fsetlocking): Declare hidden proto.
13359 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13360 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13362 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13363 (_IO_setlinebuf): Remove use of INTUSE.
13364 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13365 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13366 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13367 Remove declaration.
13368 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13369 (_IO_do_flush): Remove use of INTUSE.
13370 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13371 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13372 (_IO_adjust_column, _IO_least_wmarker)
13373 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13374 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13375 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13376 (_IO_default_doallocate, _IO_wdefault_doallocate)
13377 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13378 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13379 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13380 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13381 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13382 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13383 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13384 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13385 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13386 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13387 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13388 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13389 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13391 (_IO_flush_all_internal, _IO_adjust_column_internal)
13392 (_IO_default_uflow_internal, _IO_default_finish_internal)
13393 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13394 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13395 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13396 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13397 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13398 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13399 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13400 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13401 (_IO_file_close_internal, _IO_file_close_it_internal)
13402 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13403 (_IO_file_init_internal, _IO_file_attach_internal)
13404 (_IO_file_fopen_internal, _IO_file_read_internal)
13405 (_IO_file_sync_internal, _IO_file_seek_internal)
13406 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13407 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13408 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13409 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13410 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13411 (_IO_list_all_internal, _IO_link_in_internal)
13412 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13413 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13414 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13415 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13416 (_IO_do_write_internal, _IO_padn_internal)
13417 (_IO_getline_info_internal, _IO_getline_internal)
13418 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13419 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13420 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13421 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13422 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13423 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13424 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13425 with libc_hidden_ver, remove use of INTUSE.
13426 * libio/genops.c: Likewise.
13427 * libio/freopen.c: Likewise.
13428 * libio/freopen64.c: Likewise.
13429 * libio/iofclose.c: Likewise.
13430 * libio/iofdopen.c: Likewise.
13431 * libio/iofflush.c: Likewise.
13432 * libio/iofflush_u.c: Likewise.
13433 * libio/iofgets.c: Likewise.
13434 * libio/iofgets_u.c: Likewise.
13435 * libio/iofopen.c: Likewise.
13436 * libio/iofopncook.c: Likewise.
13437 * libio/iofread.c: Likewise.
13438 * libio/iofread_u.c: Likewise.
13439 * libio/ioftell.c: Likewise.
13440 * libio/iofwrite.c: Likewise.
13441 * libio/iogetline.c: Likewise.
13442 * libio/iogets.c: Likewise.
13443 * libio/iogetwline.c: Likewise.
13444 * libio/iopadn.c: Likewise.
13445 * libio/iopopen.c: Likewise.
13446 * libio/ioseekoff.c: Likewise.
13447 * libio/ioseekpos.c: Likewise.
13448 * libio/iosetbuffer.c: Likewise.
13449 * libio/iosetvbuf.c: Likewise.
13450 * libio/ioungetc.c: Likewise.
13451 * libio/ioungetwc.c: Likewise.
13452 * libio/iovdprintf.c: Likewise.
13453 * libio/iovsprintf.c: Likewise.
13454 * libio/iovsscanf.c: Likewise.
13455 * libio/memstream.c: Likewise.
13456 * libio/obprintf.c: Likewise.
13457 * libio/oldfileops.c: Likewise.
13458 * libio/oldiofclose.c: Likewise.
13459 * libio/oldiofdopen.c: Likewise.
13460 * libio/oldiofopen.c: Likewise.
13461 * libio/oldiopopen.c: Likewise.
13462 * libio/oldstdfiles.c: Likewise.
13463 * libio/putc.c: Likewise.
13464 * libio/setbuf.c: Likewise.
13465 * libio/setlinebuf.c: Likewise.
13466 * libio/stdfiles.c: Likewise.
13467 * libio/strops.c: Likewise.
13468 * libio/vasprintf.c: Likewise.
13469 * libio/vscanf.c: Likewise.
13470 * libio/vsnprintf.c: Likewise.
13471 * libio/vswprintf.c: Likewise.
13472 * libio/wfiledoalloc.c: Likewise.
13473 * libio/wfileops.c: Likewise.
13474 * libio/wgenops.c: Likewise.
13475 * libio/wmemstream.c: Likewise.
13476 * libio/wstrops.c: Likewise.
13477 * libio/__fpurge.c: Likewise.
13478 * libio/__fsetlocking.c: Likewise.
13479 * assert/assert.c: Likewise.
13480 * debug/fgets_chk.c: Likewise.
13481 * debug/fgets_u_chk.c: Likewise.
13482 * debug/fread_chk.c: Likewise.
13483 * debug/fread_u_chk.c: Likewise.
13484 * debug/gets_chk.c: Likewise.
13485 * debug/obprintf_chk.c: Likewise.
13486 * debug/vasprintf_chk.c: Likewise.
13487 * debug/vdprintf_chk.c: Likewise.
13488 * debug/vsnprintf_chk.c: Likewise.
13489 * debug/vsprintf_chk.c: Likewise.
13490 * malloc/mtrace.c: Likewise.
13491 * misc/error.c: Likewise.
13492 * misc/syslog.c: Likewise.
13493 * stdio-common/asprintf.c: Likewise.
13494 * stdio-common/fxprintf.c: Likewise.
13495 * stdio-common/getw.c: Likewise.
13496 * stdio-common/isoc99_fscanf.c: Likewise.
13497 * stdio-common/isoc99_scanf.c: Likewise.
13498 * stdio-common/isoc99_vfscanf.c: Likewise.
13499 * stdio-common/isoc99_vscanf.c: Likewise.
13500 * stdio-common/isoc99_vsscanf.c: Likewise.
13501 * stdio-common/printf-prs.c: Likewise.
13502 * stdio-common/printf_fp.c: Likewise.
13503 * stdio-common/printf_fphex.c: Likewise.
13504 * stdio-common/printf_size.c: Likewise.
13505 * stdio-common/putw.c: Likewise.
13506 * stdio-common/scanf.c: Likewise.
13507 * stdio-common/sprintf.c: Likewise.
13508 * stdio-common/tmpfile.c: Likewise.
13509 * stdio-common/vfprintf.c: Likewise.
13510 * stdio-common/vfscanf.c: Likewise.
13511 * stdlib/strfmon_l.c: Likewise.
13512 * sunrpc/openchild.c: Likewise.
13513 * sunrpc/xdr_stdio.c: Likewise.
13514 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13515 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13517 2012-05-24 Roland McGrath <roland@hack.frob.com>
13519 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13521 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13522 in the third column, to generate for the shared library an IFUNC
13523 that uses _dl_vdso_vsym.
13524 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13525 * Makeconfig (object-suffixes-noshared): New variable.
13527 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13528 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13529 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13530 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13533 * include/sys/time.h (__gettimeofday): Remove macro.
13534 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13535 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13537 (__gettimeofday): Add libc_hidden_def.
13538 (gettimeofday): Add libc_hidden_weak.
13539 * sysdeps/mach/gettimeofday.c: Likewise.
13540 * sysdeps/posix/gettimeofday.c: Likewise.
13541 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13542 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13543 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13544 (__gettimeofday_internal): Remove strong_alias.
13545 (__gettimeofday): Add libc_hidden_def.
13546 (gettimeofday): Add libc_hidden_weak.
13547 * sysdeps/unix/syscalls.list (gettimeofday):
13548 Remove __gettimeofday_internal alias.
13550 2012-05-24 Daniel Jacobowitz <drow@false.org>
13551 H.J. Lu <hongjiu.lu@intel.com>
13554 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13555 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13556 (largebin_index_32_big): New.
13557 (largebin_index): Use it for 16-byte alignment.
13558 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13559 correction with front_misalign.
13561 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13589 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13590 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13592 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13596 * math/libm-test.inc (exp_test): Add test from bug 14036.
13597 (pow_test): Add test from bug 10846.
13599 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13601 (special_function): Do not include flags in test name.
13602 (parse_args): Likewise.
13603 * sysdeps/i386/fpu/libm-test-ulps: Update.
13604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13605 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13606 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13609 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13611 * math/libm-test.inc ("Philosophy"): Update comment about
13613 (UNDERFLOW_EXCEPTION): New macro.
13614 (UNDERFLOW_EXCEPTION_OK): Likewise.
13615 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13616 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13617 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13618 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13619 (INVALID_EXCEPTION_OK): Update value.
13620 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13621 (OVERFLOW_EXCEPTION_OK): Likewise.
13622 (IGNORE_ZERO_INF_SIGN): Likewise.
13623 (test_exceptions): Handle underflow exceptions.
13624 (acos_test): Update for underflow exception expectations.
13625 (cexp_test): Likewise.
13626 (clog_test): Likewise.
13627 (clog10_test): Likewise.
13628 (csqrt_test): Likewise.
13629 (ctan_test): Likewise.
13630 (ctanh_test): Likewise.
13631 (exp_test): Likewise.
13632 (exp10_test): Likewise.
13633 (exp2_test): Likewise.
13634 (expm1_test): Likewise.
13635 (fma_test): Likewise.
13636 (j0_test): Likewise.
13637 (jn_test): Likewise.
13638 (nexttoward_test): Likewise.
13639 (pow_test): Likewise.
13640 (scalbn_test): Likewise.
13641 (scalbln_test): Likewise.
13642 (tan_test): Likewise.
13643 (y1_test): Likewise.
13644 * sysdeps/i386/fpu/libm-test-ulps: Update.
13645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13647 2012-05-23 David S. Miller <davem@davemloft.net>
13649 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13650 (__libc_sigaction): Remove unused local variables.
13652 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13654 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13656 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13658 mktime: avoid signed integer overflow
13659 * time/mktime.c (__mktime_internal): Do not mishandle the case
13660 where diff == INT_MIN.
13662 mktime: simplify computation of average
13663 * time/mktime.c (ranged_convert): Use new time_t_avg function
13664 instead of rolling our own (probably-slower) code.
13666 mktime: do not assume signed right shift propagates sign bit
13667 * time/mktime.c (isdst_differ): New static function.
13668 (__mktime_internal): No need to normalize tm_isdst now.
13669 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13672 mktime: merge another wrapv change from gnulib
13673 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13674 from some compilers.
13676 mktime: remove incorrect attempt at unusual arithmetics
13677 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13678 The code didn't really work on such machines anyway.
13679 (TYPE_MINIMUM): Assume two's complement.
13680 (twos_complement_arithmetic): Verify that long_int and time_t
13681 are two's complement (or unsigned, in the latter case).
13683 mktime: check signed shifts on long_int and time_t, too
13684 * time/mktime.c (SHR): Check that shifts work as desired
13685 on the types long_int and time_t too, as SHR is used on
13688 mktime: do not assume 'long' is wide enough
13689 * time/mktime.c (verify): Move decl up.
13690 (long_int): New type.
13691 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13692 to remove assumption in the code that 'long' is wide enough to
13693 store year values. This assumption is not true on x32 and on
13694 some non-glibc platforms.
13696 mktime: merge wrapv change from gnulib
13697 * time/mktime.c (WRAPV): New macro.
13698 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13699 (guess_time_tm, __mktime_internal): Do not assume that signed
13700 integer overflow wraps around; modern compilers generate code
13701 where this assumption is no longer valid.
13703 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13705 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13706 Replace "jmp L(pseudo_end)" with "ret".
13707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13710 2012-05-23 Andreas Jaeger <aj@suse.de>
13712 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13713 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13715 2012-05-23 Andreas Jaeger <aj@suse.de>
13716 Maximilian Attems <max@stro.at>
13718 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13721 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13723 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13724 code so that pseudo_end is just ret and the stack pointer is
13725 correct also for static library in error case.
13727 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13729 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13730 move to syscalls.list.
13731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13736 * manual/install.texi (Running make install): Do not mention Linux
13737 kernel version for which pt_chown is not needed.
13738 (Linux): Do not mention problems with nscd with 2.0 kernels.
13739 * INSTALL: Regenerated.
13741 2012-05-23 Andreas Jaeger <aj@suse.de>
13743 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13744 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13746 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13747 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13748 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13749 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13750 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13751 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13752 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13754 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13755 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13756 * sysdeps/unix/sysv/linux/bits/in.h
13757 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13759 2012-05-22 Roland McGrath <roland@hack.frob.com>
13761 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13762 (PREPARE_VERSION): Just use assert instead, it will be elided
13763 under [NDEBUG] anyway.
13765 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13767 * sysdeps/unix/sysv/linux/Makefile: Include
13768 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13769 (sysdep_routines): Remove sysctl.
13770 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13771 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13772 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13773 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13774 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13776 2012-05-22 Andreas Jaeger <aj@suse.de>
13778 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13779 that pseudo_end is just ret and the stack pointer is correct also
13780 for static library in error case.
13782 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13785 * nss/nsswitch.c (defconfig_entries): New variable.
13786 (__nss_database_lookup): Don't leak defconfig entries.
13787 (nss_parse_service_list): Don't leak on error paths.
13788 (free_database_entries): New function.
13789 (free_defconfig): New function.
13790 (free_mem): Move common code to free_database_entries.
13792 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13794 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13796 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13798 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13799 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13802 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13803 (INTERNAL_SYSCALL_TYPES): Likewise.
13804 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13805 (LOAD_REGS_TYPES_[1-6]): Likewise.
13806 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13807 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13809 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13811 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13812 copysignl for GLIBC_2_0.
13813 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13814 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13815 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13816 logbl for GLIBC_2_0.
13817 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13818 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13820 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13822 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13823 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13825 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13828 * time/mktime.c: Update copyright years.
13830 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13832 mktime: merge comment-quoting-style change from gnulib
13833 * time/mktime.c: Quote 'like this' in comments.
13834 The GNU coding standards suggest that we no longer quote `like this',
13835 as "`" and "'" are typically rendered asymmetrically nowadays.
13836 The typical gnulib style is to quote 'like this' when quoting
13837 code, and "like this" when quoting English.
13839 * time/mktime.c (compile-command): Add "-I.".
13841 mktime: merge mktime-internal.h change from gnulib
13842 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13844 mktime: merge time_r change from gnulib
13845 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13847 mktime: merge DEBUG change from gnulib
13848 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13849 case system <time.h> has a #define.
13851 mktime: merge <sys/types.h> change from gnulib
13852 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13853 since <time.t> is now guaranteed to define time_t.
13855 mktime: merge HAVE_CONFIG_H change from gnulib
13856 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13858 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13863 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13865 (struct rusage): Use anonymous union to pad each field to
13868 2012-05-21 David S. Miller <davem@davemloft.net>
13870 * Makefules (o-iterator): Remove .s cases.
13871 (compile-command.s): Delete.
13872 (COMPILE.s): Delete.
13873 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13875 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13877 * configure.in (libc_cv_predef_stack_protector): Only consider
13878 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13879 * configure: Regenerated.
13881 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13884 New macro. Use R*LP on int and pointer.
13885 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13886 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13887 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13888 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13890 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13891 [__WORDSIZE_TIME64_COMPAT32] instead of
13892 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13893 (struct utmp): Likewise.
13894 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13895 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13897 (__WORDSIZE_TIME64_COMPAT32): This.
13898 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13899 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13900 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13901 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13902 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13903 (__WORDSIZE_TIME64_COMPAT32): New macro.
13905 2012-05-21 Andreas Jaeger <aj@suse.de>
13907 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13908 only if [SHARED]. Add prototype for __wcschr_ia32.
13910 2012-05-21 Roland McGrath <roland@hack.frob.com>
13912 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13913 of %rbp unmolested in the jmp_buf while mangling the low bits.
13914 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13915 unmolested high bits of %rbp while demangling the low bits.
13916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13918 2012-05-21 Andreas Jaeger <aj@suse.de>
13920 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13921 * sunrpc/svc_simple.c: Use it for registerrpc.
13922 * sunrpc/xcrypt.c: Use it for passwd2des.
13924 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13926 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13928 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13929 Don't define if [__SYSCALL_WORDSIZE != 32].
13930 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13933 2012-05-21 Bruno Haible <bruno@clisp.org>
13934 Andreas Jaeger <aj@suse.de>
13936 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13937 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13938 inptr and inend for must_buffer_ch.
13939 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13940 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13941 * stdio-common/Makefile (tests): Remove bug15.
13942 (bug15-ENV): Remove macro.
13943 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13946 2012-05-19 Andreas Jaeger <aj@suse.de>
13947 Roland McGrath <roland@hack.frob.com>
13949 * manual/contrib.texi: Completely rewritten. It contains now an
13950 alphabetical list of contributors and their contributions.
13952 2012-05-21 Richard Henderson <rth@twiddle.net>
13954 * misc/getauxval.c (__getauxval): Use unsigned long int.
13955 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13956 (getauxval): Use unsigned long int.
13958 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13960 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13962 2012-05-21 Roland McGrath <roland@hack.frob.com>
13964 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13965 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13966 __alignof__ (long double).
13968 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13972 2012-05-20 Richard Henderson <rth@twiddle.net>
13974 * misc/getauxval.c: New file.
13975 * misc/sys/auxv.h: New file.
13976 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13977 (routines): Add getauxval.
13978 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13979 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13980 * elf/dl-sysdep.c (_dl_auxv): Remove.
13981 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13982 * elf/dl-support.c (_dl_auxv): New variable.
13983 (_dl_aux_init): Initialize it.
13984 * manual/startup.texi (Auxiliary Vector): New node.
13985 * sysdeps/generic/bits/hwcap.h: New file.
13986 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13987 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13988 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13989 * sysdeps/sparc/sysdep.h: ... here. Include it.
13990 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13991 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13997 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14003 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14007 2012-05-19 David S. Miller <davem@davemloft.net>
14009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14011 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14014 * math/s_ccosh.c: Include <float.h>
14015 (__ccosh): Avoid internal overflow calculating sinh and cosh
14016 values before multiplying by sin and cos values.
14017 * math/s_ccoshf.c: Likewise.
14018 * math/s_ccoshl.c: Likewise.
14019 * math/s_csin.c: Likewise.
14020 * math/s_csinf.c: Likewise.
14021 * math/s_csinl.c: Likewise.
14022 * math/s_csinh.c: Likewise.
14023 * math/s_csinhf.c: Likewise.
14024 * math/s_csinhl.c: Likewise.
14025 * math/libm-test.inc (ccos_test): Add more tests.
14026 (ccosh_test): Likewise.
14027 (csin_test): Likewise.
14028 (csinh_test): Likewise.
14029 * sysdeps/i386/fpu/libm-test-ulps: Update.
14030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14032 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14034 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14035 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14037 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14039 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14041 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14042 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14043 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14044 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14045 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14046 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14047 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14048 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14049 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14050 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14051 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14052 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14053 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14054 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14055 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14056 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14057 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14058 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14059 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14060 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14061 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14062 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14063 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14064 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14065 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14066 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14067 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14068 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14069 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14070 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14071 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14073 2012-05-18 Andreas Jaeger <aj@suse.de>
14075 * csu/.gitignore: Delete.
14077 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14079 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14080 (timex): Use __syscall_slong_t.
14082 2012-05-18 Andreas Jaeger <aj@suse.de>
14083 Carlos O'Donell <carlos_odonell@mentor.com>
14085 * manual/install.texi (Configuring and compiling): Update
14086 description about files modified in the source directory.
14087 * INSTALL: Regenerated.
14089 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14091 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14092 value. Use "or" to set return value to -1.
14093 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14094 negate return value.
14096 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14098 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14099 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14100 failure if the compiler has Graphite support disabled.
14101 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14103 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14104 CFLAGS-memmove.c): Likewise.
14105 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14108 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14110 * sysdeps/x86_64/x32/_itoa.h: New file.
14112 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14113 getdents system call only if kernel and user dirents have the
14114 same d_ino and d_off.
14116 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14117 LLONG_MAX != LONG_MAX.
14118 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14119 (_fitoa_word): Likewise.
14121 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14123 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14124 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14125 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14127 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14128 include <bits/wordsize.h>. Check __x86_64__ instead of
14130 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14131 if __x86_64__ is defined. Use anonymous union on fpstate.
14133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14136 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14138 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14139 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14140 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14141 Refer to _rtld_local_ro instead of _rtld_global_ro.
14142 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14144 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14146 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14148 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14149 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14150 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14152 * sysdeps/powerpc/powerpc32/dl-machine.c
14153 (__elf_machine_runtime_setup) [PROF]: Don't reference
14156 2012-05-18 Andreas Jaeger <aj@suse.de>
14158 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14159 function only available for GCCs before 3.4 since GCC 3.4
14160 introduced a builtin.
14162 (llrintf): Likewise.
14163 (llrint): Likewise.
14170 (nearbyint): Likewise.
14171 (nearbyintf): Likewise.
14175 (floorf): Likewise.
14177 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14179 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14180 on both fields and cast pointer to __syscall_ulong_t.
14182 * bits/types.h (__fsword_t): New type.
14183 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14184 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14186 (__FSWORD_T_TYPE): Likewise.
14187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14188 (__FSWORD_T_TYPE): Likewise.
14189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14190 (__FSWORD_T_TYPE): Likewise.
14191 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14192 (__FSWORD_T_TYPE): Likewise.
14193 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14194 __SWORD_TYPE with __fsword_t.
14195 (statfs64): Likewise.
14197 2012-05-17 David S. Miller <davem@davemloft.net>
14199 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14201 2012-05-17 Andreas Jaeger <aj@suse.de>
14203 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14206 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14208 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14210 2012-05-17 Andreas Jaeger <aj@suse.de>
14212 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14215 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14217 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14219 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14221 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14222 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14224 2012-05-17 Andreas Jaeger <aj@suse.de>
14225 Carlos O'Donell <carlos_odonell@mentor.com>
14228 * sysdeps/x86_64/multiarch/init-arch.h
14229 (bit_YMM_Usable): Rename to...
14230 (bit_AVX_Usable): ... this.
14231 (bit_FMA4_Usable): New macro.
14232 (bit_XMM_state): New macro.
14233 (bit_YMM_state): New macro.
14234 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14235 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14236 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14237 (CPUID_OSXSAVE): New macro.
14238 (CPUID_AVX): New macro.
14239 (CPUID_FMA4): New macro.
14240 (index_YMM_Usable): Rename to...
14241 (index_AVX_Usable): ... this.
14242 (HAS_AVX): Use HAS_ARCH_FEATURE.
14243 (HAS_FMA4): Likewise.
14244 (HAS_YMM_USABLE): Remove.
14245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14246 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14248 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14249 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14250 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14251 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14252 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14254 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14256 * math/libm-test.c: Support platforms without multiple rounding modes.
14257 * math/bug-nextafter.c: Support platforms without FP exceptions.
14258 * math/bug-nexttoward.c: Likewise.
14259 * math/test-fenv.c: Likewise.
14260 * math/test-misc.c: Likewise.
14261 * stdlib/bug-getcontext.c: Likewise.
14263 2012-05-17 Andreas Jaeger <aj@suse.de>
14265 * manual/examples/search.c (critter_cmp): Change signature to
14267 * manual/string.texi (Collation Functions): Likewise.
14269 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14271 * bits/types.h: Fold copyright years.
14272 * bits/typesizes.h: Likewise.
14273 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14277 * time/time.h: Likewise.
14279 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14282 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14283 in instead of returning them. Return void.
14284 (__libc_mallinfo): Accumulate over all arenas.
14285 (__malloc_stats): Adjust for change in int_mallinfo interface.
14287 2012-05-16 Roland McGrath <roland@hack.frob.com>
14290 * configure.in (NM): Add AC_CHECK_TOOL for it.
14291 (libc_extra_cflags): New substituted variable.
14292 Check for -fstack-protector being used implicitly.
14293 * configure: Regenerated.
14294 * config.make.in (config-extra-cflags): New variable,
14295 gets @libc_extra_cflags@.
14296 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14299 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14300 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14301 * configure: Regenerated.
14302 * config.make.in (CPPUNDEFS): New substituted variable.
14303 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14304 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14305 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14307 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14309 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14310 (mq_attr): Use __syscall_slong_t.
14312 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14314 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14315 Check __x86_64__ instead of __WORDSIZE.
14316 (_STAT_VER_LINUX): Likewise.
14317 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14318 __syscall_ulong_t and __syscall_slong_t.
14319 (stat64): Likewise.
14321 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14323 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14325 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14327 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14329 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14331 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14334 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14335 include <bits/wordsize.h>. Check __x86_64__ instead of
14337 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14339 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14341 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14342 include <bits/wordsize.h>. Check __x86_64__ instead of
14344 (user_regs_struct): Use "__extension__ unsigned long long"
14345 instead of "unsigned long" if __x86_64__ is defined.
14346 (user): Likewise. Pad after pointer field if __ILP32__ is
14349 2012-05-16 Joseph Myers <joseph@codesourcery.com>
14351 * configure.in (makeinfo): Require version 4.5 or later. Allow
14353 * configure: Regenerated.
14354 * manual/install.texi (texinfo): Increase version requirement to
14356 * INSTALL: Regenerated.
14358 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14360 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14362 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14364 * sysdeps/x86_64/x32/ffs.c: New file.
14366 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14368 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14369 defined. Use __syscall_ulong_t.
14370 (shminfo): Use __syscall_ulong_t.
14371 (shm_info): Likewise.
14373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14376 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14378 (msgqnum_t): Use __syscall_ulong_t.
14379 (msglen_t): Likewise.
14380 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14383 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14384 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14386 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14388 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14389 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14391 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14394 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14395 include <bits/wordsize.h>. Check __x86_64__ instead of
14398 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14399 "unsigned long long int" if __x86_64__ is defined.
14400 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14402 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14403 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14404 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14406 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14408 (GET_PC): Cast to uintptr_t first.
14409 (GET_FRAME): Likewise.
14410 (GET_STACK): Likewise.
14412 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14413 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14414 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14415 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14416 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14417 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14418 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14419 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14420 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14421 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14422 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14423 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14424 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14425 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14426 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14427 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14428 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14429 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14430 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14431 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14432 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14433 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14434 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14435 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14436 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14437 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14438 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14439 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14440 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14442 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14444 * Makerules (+depfiles): Also collect depfiles from .oS in
14446 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14447 .oS, $(libnldbl-routines)).
14449 * Makerules (native-compile-mkdep-flags): Define.
14450 * sunrpc/Makefile (extra-objs): Add $(addprefix
14451 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14452 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14453 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14454 calling $(make-target-directory).
14456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14458 * bits/types.h (__snseconds_t): Removed.
14459 * time/time.h (struct timespec): Replace __snseconds_t with
14461 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14462 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14465 (__SNSECONDS_T_TYPE): Likewise.
14466 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14467 (__SNSECONDS_T_TYPE): Likewise.
14468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14469 (__SNSECONDS_T_TYPE): Likewise.
14471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14473 * sysdeps/mach/hurd/bits/typesizes.h
14474 (__SYSCALL_SLONG_TYPE): New macro.
14475 (__SYSCALL_ULONG_TYPE): Likewise.
14477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14479 * bits/types.h (__syscall_slong_t): New type.
14480 (__syscall_ulong_t): Likewise.
14482 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14483 (__SYSCALL_ULONG_TYPE): Likewise.
14484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14485 (__SYSCALL_SLONG_TYPE): Likewise.
14486 (__SYSCALL_ULONG_TYPE): Likewise.
14487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14488 (__SYSCALL_SLONG_TYPE): Likewise.
14489 (__SYSCALL_ULONG_TYPE): Likewise.
14490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14491 (__SYSCALL_SLONG_TYPE): Likewise.
14492 (__SYSCALL_ULONG_TYPE): Likewise.
14494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14496 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14497 Add sigaltstack-offsets.sym.
14498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14499 <sigaltstack-offsets.h>.
14500 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14501 longjmp_msg pointer.
14502 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14503 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14505 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14507 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14509 * elf/stackguard-macros.h: Remove file.
14510 * sysdeps/generic/stackguard-macros.h: New file.
14511 * sysdeps/i386/stackguard-macros.h: Likewise.
14512 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14513 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14514 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14515 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14516 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14517 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14518 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14519 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14520 <elf/stackguard-macros.h>.
14523 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14524 __aligned__ in attribute.
14525 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14526 (gregset_t): Likewise.
14528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14530 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14531 * sysdeps/x86_64/64/Implies-after: Here. New file.
14532 * sysdeps/x86_64/x32/Implies-after: New file.
14534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14536 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14537 and access return value for _dl_profile_fixup. Use R10_LP to
14540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14542 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14546 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14547 * sysdeps/x86_64/x32/sysdep.h: New file.
14549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14551 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14552 * sysdeps/x86_64/setjmp.S: Likewise.
14554 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14556 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14557 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14558 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14559 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14560 remove unused global constant.
14562 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14564 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14565 include of <not-cancel.h>.
14567 2012-05-15 Roland McGrath <roland@hack.frob.com>
14569 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14571 2012-05-15 Jeff Law <law@redhat.com>
14572 Andreas Jaeger <aj@suse.de>
14575 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14577 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14578 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14579 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14580 code changing __hst_map_handle.map.
14582 2012-05-15 Roland McGrath <roland@hack.frob.com>
14584 * configure.in (sysnames): Look for Implies-before and Implies-after
14586 * configure: Regenerated.
14588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14590 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14591 8-byte data alignment with LP_SIZE alignment.
14593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14595 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14600 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14604 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14605 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14606 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14608 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14612 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14613 (stackinfo_sub_sp): Likewise.
14615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14617 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14627 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14632 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14636 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14637 into R11_LP and load __x86_64_shared_cache_size_half into
14640 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14642 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14645 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14651 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14653 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14654 powerpc32/power7/fpu/s_logb.c via #include.
14655 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14656 powerpc32/power7/fpu/s_logbf.c via #include.
14657 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14658 powerpc32/power7/fpu/s_logbl.c via #include.
14660 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14662 * README.libm: Remove file.
14664 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14666 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14667 count for x32. Use R*_LP and omit operand-size suffix.
14669 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14671 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14672 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14673 * sysdeps/x86_64/x32/shlib-versions: New file.
14675 2012-05-14 Roland McGrath <roland@hack.frob.com>
14677 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14678 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14679 Use _dl_fatal_printf instead.
14681 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14683 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14684 set if not set by the user. Do not allow for being unset.
14685 * sysdeps/unix/sysv/linux/configure: Regenerated.
14687 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14689 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14690 the `q' suffix from lea and replace .quad with ASM_ADDR.
14692 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14695 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14697 (PTR_DEMANGLE): Likewise.
14699 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14701 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14703 (ASM_ADDR): Likewise.
14704 (RAX_LP): Likewise.
14705 (RBP_LP): Likewise.
14706 (RBX_LP): Likewise.
14707 (RCX_LP): Likewise.
14708 (RDI_LP): Likewise.
14709 (RSI_LP): Likewise.
14710 (RSP_LP): Likewise.
14713 (R10_LP): Likewise.
14714 (R10_LP): Likewise.
14715 (R11_LP): Likewise.
14716 (R12_LP): Likewise.
14717 (R13_LP): Likewise.
14718 (R14_LP): Likewise.
14719 (R15_LP): Likewise.
14721 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14723 * sysdeps/x86_64/x32/dl-machine.h: New file.
14725 2012-05-14 Andreas Jaeger <aj@suse.de>
14727 * manual/Makefile (subdir): Remove export of subdir.
14728 (all): Remove target.
14729 (.PHONY): Remove all from list.
14730 (mkinstalldirs): Remove.
14731 (.PHONY): Remove installdirs from list.
14732 ($(inst_infodir)/libc.info): Use make-target-directory.
14733 (installdirs): Remove.
14734 (subdir_%): Remove.
14735 (glibc-targets): Remove.
14738 ($(objpfx)stubs ../po/manual.pot): Remove.
14739 ($(objpfx)stamp%): Remove.
14740 (make-target-directory): Remove.
14741 (subdir_install): Remove.
14742 (routines): Remove.
14749 * manual/.gitignore: Remove, it's not needed anymore.
14750 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14752 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14754 (texis): Renamed to $(objpfx)texis.
14755 (texis-path): New, contains path to generated files.
14756 (chapters.%): Use texis-path for complete path, add extra argument
14758 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14759 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14760 (summary,texi, stamp-summary): Use complete path of
14761 files. Generate files in build dir.
14762 (dir-add.texi): Build in build dir.
14763 (libm-err.texi,stamp-libm-err): Likewise.
14764 (version.texi, stamp-version): Likewise.
14765 (.%c.texi): Likewise.
14766 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14767 (mostlyclean): Remove target.
14768 (realclean): Remove target.
14769 (generated): Add new variable with contents from mostlyclean and
14770 realclean, remove entries duplicated in common-mostlyclean, add
14771 stamp-libm-err and stamp-version.
14772 (generated-dirs): Add libc directory.
14773 ($(inst_infodir)/libc.info): Install files from build dir.
14775 * manual/install.texi (Configuring and compiling): Adjust since
14776 the info files are not part of the tar ball anymore.
14778 2012-05-14 Andreas Jaeger <aj@suse.de>
14780 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14783 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14786 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14787 to 2.2.0 where earlier.
14788 * sysdeps/unix/sysv/linux/configure: Regenerated.
14789 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14790 Remove conditional code.
14791 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14792 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14793 Remove conditional code.
14794 [!__NR_lchown]: Likewise.
14795 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14796 [__NR_lchown]: Likewise.
14797 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14798 comment referencing __ASSUME_LCHOWN_SYSCALL.
14799 * sysdeps/unix/sysv/linux/i386/sigaction.c
14800 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14801 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14802 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14803 Remove conditional code.
14804 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14805 (__protocol_available): Remove #if 0 code.
14806 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14808 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14809 * sysdeps/unix/sysv/linux/kernel-features.h
14810 (__ASSUME_GETCWD_SYSCALL): Don't define.
14811 (__ASSUME_REALTIME_SIGNALS): Likewise.
14812 (__ASSUME_PREAD_SYSCALL): Likewise.
14813 (__ASSUME_PWRITE_SYSCALL): Likewise.
14814 (__ASSUME_POLL_SYSCALL): Likewise.
14815 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14816 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14818 (__ASSUME_SIOCGIFNAME): Don't define.
14819 (__ASSUME_MSG_NOSIGNAL): Likewise.
14820 (__ASSUME_SENDFILE): Define unconditionally.
14821 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14822 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14824 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14825 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14826 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14827 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14828 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14829 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14830 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14832 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14835 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14836 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14838 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14841 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14842 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14844 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14845 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14847 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14848 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14850 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14851 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14853 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14854 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14855 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14856 Remove conditional code.
14857 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14858 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14859 Remove conditional code.
14860 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14861 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14862 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14863 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14864 Remove conditional code.
14865 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14866 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14867 Remove conditional code.
14868 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14869 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14870 Remove conditional code.
14871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14872 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14873 Remove conditional code.
14874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14875 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14876 Remove conditional code.
14877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14878 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14879 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14880 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14881 * sysdeps/unix/sysv/linux/sigaction.c
14882 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14883 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14884 * sysdeps/unix/sysv/linux/sigpending.c
14885 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14886 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14887 * sysdeps/unix/sysv/linux/sigprocmask.c
14888 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14889 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14890 * sysdeps/unix/sysv/linux/sigsuspend.c
14891 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14892 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14893 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14894 (__libc_missing_rt_sigs): Remove.
14895 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14896 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14897 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14898 Remove conditional code.
14899 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14900 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14902 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14903 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14904 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14905 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14907 2012-05-14 Andreas Jaeger <aj@suse.de>
14909 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14910 it's not used in glibc.
14911 (__coshm1): Likewise.
14912 (__acosh1p): Likewise.
14915 * manual/string.texi (Copying and Concatenation): Add missing
14916 variable in concat example.
14917 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14919 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14923 __builtin_clzl with __builtin_clzll.
14925 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14928 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14931 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14933 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14934 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14935 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14936 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14938 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14940 * NEWS: Update ia64 info.
14942 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14944 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14947 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14949 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14950 * sysdeps/unix/syscalls.list (dup3): Likewise.
14951 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14952 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14954 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14956 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14957 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14959 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14961 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14963 (TLS_IE): Use mov/add instead of movq/addq to load thread
14965 (TLS_GD_PREFIX): New.
14968 2012-05-11 David S. Miller <davem@davemloft.net>
14970 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14971 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14972 (_FPU_SETCW): Likewise.
14974 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14976 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14977 is 32-byte aligned.
14979 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14982 * iconvdata/gb18030.c: Update tables.
14983 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14984 characters specially.
14985 (BODY for TO_LOOP): Add encoding of missing ranges.
14987 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14990 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14991 * sysdeps/mach/hurd/dup3.c: Likewise.
14992 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14993 * sysdeps/powerpc/memmove.c:: Likewise.
14995 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14997 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14998 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15000 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15002 * elf/elf.h (R_X86_64_RELATIVE64): New.
15003 (R_X86_64_NUM): Updated.
15004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15005 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15006 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15007 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15008 tst-quad1pie tst-quad2pie
15009 (modules-names): Add tst-quadmod1 tst-quadmod2.
15010 ($(objpfx)tst-quad1): New dependency.
15011 ($(objpfx)tst-quad2): Likewise.
15012 ($(objpfx)tst-quad1pie): Likewise.
15013 ($(objpfx)tst-quad2pie): Likewise.
15014 * sysdeps/x86_64/tst-quad1.c: New file.
15015 * sysdeps/x86_64/tst-quad1pie.c: New file.
15016 * sysdeps/x86_64/tst-quad2.c: Likewise.
15017 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15018 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15019 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15020 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15021 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15023 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15025 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15026 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15027 * streams/stropts.h (t_scalar_t): Define type.
15029 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15030 (_PATH_PRESERVE): Set to "/var/lib".
15031 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15033 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15036 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15037 if __dir_mkfile succeeded.
15039 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15040 checking for _hurd_dtablesize. Unlock it right after having
15041 finished _hurd_dtable allocation.
15043 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15045 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15046 * sysdeps/mach/hurd/configure: Regenerated.
15047 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15048 special-casing to...
15049 * sysdeps/gnu/configure.in: ... this new file.
15050 * sysdeps/unix/sysv/linux/configure: Regenerated.
15051 * sysdeps/gnu/configure: New generated file.
15053 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15054 for Linux: use nsec instead of usec, as well as:
15055 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15056 members of type struct timespec.
15057 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15059 (struct stat64): Likewise.
15060 (_STATBUF_ST_NSEC): New macro.
15061 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15063 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15064 __strtoul_internal rather than strtoul.
15066 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15068 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15073 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15074 which preserves existing values.
15075 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15077 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15079 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15080 TIMEOUT values. Return EINVAL for NFDS values either negative or
15081 greater than FD_SETSIZE.
15083 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15085 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15086 allocated, call __vm_protect to finish enabling the existing space, and
15087 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15088 allocate the remainder.
15090 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15092 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15093 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15095 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15097 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15098 sysdeps/mach/hurd/readlink.c.
15100 * posix/tst-sysconf.c (posix_options): Only use
15101 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15102 _POSIX_SYNCHRONIZED_IO when they are defined
15103 * sysdeps/mach/hurd/bits/posix_opt.h:
15104 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15105 (_XOPEN_REALTIME): Undefine macro.
15106 (_XOPEN_REALTIME_THREADS): Undefine macro.
15107 (_XOPEN_SHM): Undefine macro.
15108 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15110 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15112 (_POSIX_ASYNC_IO): Undefine macro.
15113 (_POSIX_PRIORITIZED_IO): Undefine macro.
15114 (_POSIX_SPIN_LOCKS): Define macro to -1.
15116 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15117 SA_NODEFER, SA_RESETHAND.
15118 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15119 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15122 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15124 * elf/Makefile (pldd-modules): Define unconditionally.
15126 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15128 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15130 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15132 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15133 Return ENOENT when name is empty.
15134 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15136 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15138 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15140 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15142 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15144 Fix mlock in all cases except non-readable pages.
15145 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15146 instead of VM_PROT_ALL as parameter to __vm_wire function.
15148 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15149 (__mkdir): When path is `/', just fail with EEXIST.
15150 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15152 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15154 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15155 <sys/uio.h> (for writev).
15156 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15157 and <sys/param.h> (for MIN).
15159 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15161 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15162 REQUESTED_TIME. Properly set the remaining time and return EINTR
15165 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15167 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15168 Depend on against $(link-rpcuserlibs).
15170 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15172 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15173 (__libc_stack_end): Do not use attribute_relro.
15174 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15175 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15176 to libthread-provided value.
15177 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15180 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15183 * bits/libc-lock.h (__libc_once_get): New macro.
15184 * sysdeps/mach/bits/libc-lock.h: Likewise.
15185 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15187 instead of using implementation details.
15189 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15190 * libio/freopen.c: Likewise.
15191 * libio/freopen64.c: Likewise.
15192 * misc/syslog.c: Likewise.
15193 * nscd/connections.c: Likewise.
15194 * nscd/netgroupcache.c: Likewise.
15195 * sysdeps/posix/getcwd.c: Likewise.
15197 2012-05-10 Roland McGrath <roland@hack.frob.com>
15199 * math/w_ilogbf.c: Add #include <limits.h>.
15201 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15203 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15204 path instead of returning without unlocking.
15206 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15207 immediate-write ioctls.
15208 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15210 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15212 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15213 __builtin_frame_address instead of making assumptions about the
15214 location of the return address relative to DATA. Force early load of
15215 the return address.
15216 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15217 __builtin_frame_address.
15220 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15221 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15222 implement dup3 and do some further code clean-ups.
15223 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15224 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15226 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15228 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15230 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15231 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15232 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15233 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15234 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15237 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15238 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15239 when handler == SIG_ERR, not when handler != SIG_ERR.
15241 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15243 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15244 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15247 accept4 for GNU Hurd.
15248 * include/sys/socket.h (__libc_accept4): New prototype.
15249 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15250 to implement __libc_accept4.
15251 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15253 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15255 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15256 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15257 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15258 signal-defines.sym.
15260 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15262 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15264 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15266 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15267 assertion on O_CLOEXEC flag.
15268 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15269 * hurd/intern-fd.c: Likewise.
15270 * hurd/port2fd.c: Likewise.
15272 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15275 * bits/in.h (IPV6_PKTINFO): Define new macro.
15276 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15278 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15283 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15285 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15286 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15287 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15288 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15289 * math/libm-test.inc (logb_test) : Additional logb tests.
15291 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15292 Andreas Jaeger <aj@suse.de>
15294 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15295 * configure: Regenerated.
15296 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15297 * config.make.in (link-obsolete-rpc): New substituted variable.
15298 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15299 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15300 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15301 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15302 so that libc.a contains the symbols.
15303 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15304 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15305 * sunrpc/auth_none.c: Likewise.
15306 * sunrpc/auth_unix.c: Likewise.
15307 * sunrpc/authdes_prot.c: Likewise.
15308 * sunrpc/authuxprot.c: Likewise.
15309 * sunrpc/clnt_gen.c: Likewise.
15310 * sunrpc/clnt_perr.c: Likewise.
15311 * sunrpc/clnt_raw.c: Likewise.
15312 * sunrpc/clnt_simp.c: Likewise.
15313 * sunrpc/clnt_tcp.c: Likewise.
15314 * sunrpc/clnt_udp.c: Likewise.
15315 * sunrpc/clnt_unix.c: Likewise.
15316 * sunrpc/des_crypt.c: Likewise.
15317 * sunrpc/des_soft.c: Likewise.
15318 * sunrpc/get_myaddr.c: Likewise.
15319 * sunrpc/key_call.c: Likewise.
15320 * sunrpc/key_prot.c: Likewise.
15321 * sunrpc/netname.c: Likewise.
15322 * sunrpc/pm_getmaps.c: Likewise.
15323 * sunrpc/pm_getport.c: Likewise.
15324 * sunrpc/pmap_clnt.c: Likewise.
15325 * sunrpc/pmap_prot.c: Likewise.
15326 * sunrpc/pmap_prot2.c: Likewise.
15327 * sunrpc/pmap_rmt.c: Likewise.
15328 * sunrpc/publickey.c: Likewise.
15329 * sunrpc/rpc_cmsg.c: Likewise.
15330 * sunrpc/rpc_common.c: Likewise.
15331 * sunrpc/rpc_dtable.c: Likewise.
15332 * sunrpc/rpc_prot.c: Likewise.
15333 * sunrpc/rpc_thread.c: Likewise.
15334 * sunrpc/rtime.c: Likewise.
15335 * sunrpc/svc.c: Likewise.
15336 * sunrpc/svc_auth.c: Likewise.
15337 * sunrpc/svc_raw.c: Likewise.
15338 * sunrpc/svc_run.c: Likewise.
15339 * sunrpc/svc_tcp.c: Likewise.
15340 * sunrpc/svc_udp.c: Likewise.
15341 * sunrpc/svc_unix.c: Likewise.
15342 * sunrpc/svcauth_des.c: Likewise.
15343 * sunrpc/xcrypt.c: Likewise.
15344 * sunrpc/xdr.c: Likewise.
15345 * sunrpc/xdr_array.c: Likewise.
15346 * sunrpc/xdr_float.c: Likewise.
15347 * sunrpc/xdr_intXX_t.c: Likewise.
15348 * sunrpc/xdr_mem.c: Likewise.
15349 * sunrpc/xdr_rec.c: Likewise.
15350 * sunrpc/xdr_ref.c: Likewise.
15351 * sunrpc/xdr_sizeof.c: Likewise.
15352 * sunrpc/xdr_stdio.c: Likewise.
15354 2012-05-10 Roland McGrath <roland@hack.frob.com>
15356 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15357 change. Update copyright years.
15359 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15361 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15363 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15364 Joseph Myers <joseph@codesourcery.com>
15365 Paul Pluzhnikov <ppluzhnikov@google.com>
15368 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15370 [cross-compiling] (extra-libs): Likewise.
15371 [cross-compiling] (extra-libs-others): Likewise.
15372 [cross-compiling] (librpcsvc-routines): Likewise.
15373 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15374 [cross-compiling] (omit-deps): Likewise.
15375 (sunrpc-CPPFLAGS): New variable.
15376 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15377 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15378 (cross-rpcgen-objs): New variable.
15379 (extra-objs): Append $(cross-rpcgen-objs).
15380 ($(cross-rpcgen-objs)): New rule.
15381 ($(objpfx)cross-rpcgen): Likewise.
15382 (rpcgen-cmd): Define to use $(built-program-file). Expand
15384 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15385 ($(objpfx)x%.stmp): Likewise.
15386 * sunrpc/proto.h [IS_IN_build] (_): Define.
15387 [IS_IN_build] (_libc_intl_domainname): Likewise.
15389 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15392 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15393 and R_X86_64_TPOFF64.
15395 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15397 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15398 sysdeps/unix/sysv/syscalls.list.
15401 * sysdeps/unix/sysv/syscalls.list: Remove file.
15403 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15406 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15407 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15408 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15409 (__LC_IDENTIFICATION): Make these macros useful in #if
15410 expressions, as required by C99.
15412 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15414 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15415 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15418 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15420 * stdlib/longlong.h: Updated from GCC.
15422 2012-05-09 Andreas Jaeger <aj@suse.de>
15424 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15425 default is first entry.
15426 (run_mode): Set type.
15427 (main): Remove informal message about syslog.
15428 (options): Fix typo.
15431 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15434 (llrintf): Likewise.
15435 (llrint): Likewise.
15438 (nearbyint): Likewise.
15439 (nearbyintf): Likewise.
15441 2012-05-09 Andreas Jaeger <aj@suse.de>
15442 Pedro Alves <palves@redhat.com>
15444 * nscd/nscd.c (run_mode): Use enum.
15445 (main): Cleanup coding style issue.
15447 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15448 Andreas Jaeger <aj@suse.de>
15450 * nscd/nscd.c (go_background): Replaced with...
15451 (run_mode): ... this.
15452 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15453 (options): Add -F --foreground.
15454 (main): Implement it.
15455 (parse_opt): Parse it.
15457 2012-05-09 Andreas Jaeger <aj@suse.de>
15460 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15461 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15462 -Wconversion warning.
15463 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15466 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15468 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15470 (LC_ALL): Use macro-int-constant.
15471 (LC_COLLATE): Likewise.
15472 (LC_CTYPE): Likewise.
15473 (LC_MESSAGES): Likewise.
15474 (LC_MONETARY): Likewise.
15475 (LC_NUMERIC): Likewise.
15476 (LC_TIME): Likewise.
15477 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15478 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15479 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15480 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15482 [C99-based standards] (float_t): Expect type.
15483 [C99-based standards] (double_t): Expect type.
15484 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15486 [C99-based standards] (HUGE_VALL): Likewise.
15487 [C99-based standards] (INFINITY): Likewise.
15488 [C99-based standards] (NAN): Likewise.
15489 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15490 [C99-based standards] (FP_NAN): Likewise.
15491 [C99-based standards] (FP_NORMAL): Likewise.
15492 [C99-based standards] (FP_SUBNORMAL): Likewise.
15493 [C99-based standards] (FP_ZERO): Likewise.
15494 [C99-based standards] (FP_FAST_FMA): Use
15495 optional-macro-int-constant. Specify type. Require == 1.
15496 [C99-based standards] (FP_FAST_FMAF): Likewise.
15497 [C99-based standards] (FP_FAST_FMAL): Likewise.
15498 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15499 [C99-based standards] (FP_ILOGBNAN): Likewise.
15500 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15502 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15503 [C99-based standards] (math_errhandling): Specify type.
15504 [ISO99 || ISO11] (signgam): Do not allow.
15505 [non-C99-based standards] (copysignf): Do not allow.
15506 [non-C99-based standards] (exp2f): Likewise.
15507 [non-C99-based standards] (log2f): Likewise.
15508 [non-C99-based standards] (modff): Allow.
15509 [non-C99-based standards] (erff): Do not allow.
15510 [non-C99-based standards] (erfcf): Likewise.
15511 [non-C99-based standards] (gammaf): Likewise.
15512 [non-C99-based standards] (hypotf): Likewise.
15513 [non-C99-based standards] (j0f): Likewise.
15514 [non-C99-based standards] (j1f): Likewise.
15515 [non-C99-based standards] (jnf): Likewise.
15516 [non-C99-based standards] (lgammaf): Likewise.
15517 [non-C99-based standards] (tgammaf): Likewise.
15518 [non-C99-based standards] (y0f): Likewise.
15519 [non-C99-based standards] (y1f): Likewise.
15520 [non-C99-based standards] (ynf): Likewise.
15521 [non-C99-based standards] (isnanf): Likewise.
15522 [non-C99-based standards] (acoshf): Likewise.
15523 [non-C99-based standards] (asinhf): Likewise.
15524 [non-C99-based standards] (atanhf): Likewise.
15525 [non-C99-based standards] (cbrtf): Likewise.
15526 [non-C99-based standards] (expm1f): Likewise.
15527 [non-C99-based standards] (ilogbf): Likewise.
15528 [non-C99-based standards] (log1pf): Likewise.
15529 [non-C99-based standards] (logbf): Likewise.
15530 [non-C99-based standards] (nextafterf): Likewise.
15531 [non-C99-based standards] (remainderf): Likewise.
15532 [non-C99-based standards] (rintf): Likewise.
15533 [non-C99-based standards] (scalbf): Likewise.
15534 [non-C99-based standards] (copysignl): Likewise.
15535 [non-C99-based standards] (exp2l): Likewise.
15536 [non-C99-based standards] (log2l): Likewise.
15537 [non-C99-based standards] (modfl): Allow.
15538 [non-C99-based standards] (erfl): Do not allow.
15539 [non-C99-based standards] (erfcl): Likewise.
15540 [non-C99-based standards] (gammal): Likewise.
15541 [non-C99-based standards] (hypotl): Likewise.
15542 [non-C99-based standards] (j0l): Likewise.
15543 [non-C99-based standards] (j1l): Likewise.
15544 [non-C99-based standards] (jnl): Likewise.
15545 [non-C99-based standards] (lgammal): Likewise.
15546 [non-C99-based standards] (tgammal): Likewise.
15547 [non-C99-based standards] (y0l): Likewise.
15548 [non-C99-based standards] (y1l): Likewise.
15549 [non-C99-based standards] (ynl): Likewise.
15550 [non-C99-based standards] (isnanl): Likewise.
15551 [non-C99-based standards] (acoshl): Likewise.
15552 [non-C99-based standards] (asinhl): Likewise.
15553 [non-C99-based standards] (atanhl): Likewise.
15554 [non-C99-based standards] (cbrtl): Likewise.
15555 [non-C99-based standards] (expm1l): Likewise.
15556 [non-C99-based standards] (ilogbl): Likewise.
15557 [non-C99-based standards] (log1pl): Likewise.
15558 [non-C99-based standards] (logbl): Likewise.
15559 [non-C99-based standards] (nextafterl): Likewise.
15560 [non-C99-based standards] (remainderl): Likewise.
15561 [non-C99-based standards] (rintl): Likewise.
15562 [non-C99-based standards] (scalbl): Likewise.
15563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15564 [non-C99-based standards] (FP_*): Do not allow.
15565 [C99-based standards] (FP_*): Change to
15566 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15567 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15569 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15570 (SIG_ERR): Likewise.
15571 [X/Open-based standards] (SIG_HOLD): Likewise.
15572 (SIG_IGN): Likewise.
15573 (SIGABRT): Use macro-int-constant. Specify type. Require
15575 (SIGFPE): Likewise.
15576 (SIGILL): Likewise.
15577 (SIGINT): Likewise.
15578 (SIGSEGV): Likewise.
15579 (SIGTER): Likewise.
15580 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15581 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15582 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15583 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15584 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15585 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15586 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15587 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15588 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15589 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15590 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15591 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15592 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15593 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15594 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15595 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15596 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15597 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15598 [X/Open-based standards] (SIGTRAP): Likewise.
15599 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15600 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15601 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15602 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15603 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15606 2012-05-08 Ian Wienand <ianw@vmware.com>
15609 * time/tzset.c (__tzset_parse_tz): Update default rules for
15610 daylight time changes in the Energy Policy Act of 2005.
15612 2012-05-09 Andreas Jaeger <aj@suse.de>
15615 * elf/ldconfig.c (parse_conf): Change string to make clear that
15616 ldconfig only issued a warning if ld.so.conf does not exist.
15618 2012-05-08 David S. Miller <davem@davemloft.net>
15620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15621 movxtod instead of popping the value on the stack.
15623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15625 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15627 * config.h.in: Add HAVE_ARM_PCS_VFP.
15629 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15632 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15633 checking but the checks are disabled for any reason.
15635 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15637 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15638 and ELF64_R_TYPE with ELFW(R_TYPE).
15640 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15642 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15643 (ulimit): Likewise.
15645 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15646 (settimeofday): Likewise.
15648 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15650 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15651 a struct th_u2 inside the union, and move tu_block/tu_code into
15652 a new th_u3 union of tu_block/tu_code inside of that. Move
15653 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15654 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15655 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15656 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15657 (th_stuff): Change to th_u1.tu_stuff.
15659 (th_msg): Change to th_u1.th_u2.tu_data.
15661 2012-05-07 David S. Miller <davem@davemloft.net>
15663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15666 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15667 (SETUP_PIC_REG): Use it.
15668 (SETUP_PIC_REG_LEAF): Use it.
15670 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15674 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15676 (EXPL_FINITE): Likewise.
15677 (FLDLOG): Likewise.
15678 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15679 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15681 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15683 (EXPL_FINITE): Likewise.
15684 (FLDLOG): Likewise.
15685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15686 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15688 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15689 test of -max_value argument for long double.
15690 * sysdeps/i386/fpu/libm-test-ulps: Update.
15691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15693 2012-05-06 David S. Miller <davem@davemloft.net>
15695 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15696 quad soft-float symbols whose references which are compiler
15698 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15700 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15704 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15706 (EXPL_FINITE): Likewise.
15707 (FLDLOG): Likewise.
15710 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15711 Adjust comments for base varying.
15712 (__expl_finite): Change alias to EXPL_FINITE.
15713 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15715 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15716 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15717 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15718 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15719 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15721 (EXPL_FINITE): Likewise.
15722 (FLDLOG): Likewise.
15725 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15726 Adjust comments for base varying.
15727 (__expl_finite): Change alias to EXPL_FINITE.
15728 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15733 * math/libm-test.inc (check_float_internal): Correct ulp
15734 calculation for subnormal expected results.
15736 2012-05-06 Andreas Jaeger <aj@suse.de>
15738 * Makeconfig (+math-flags): New, set to -frounding-math.
15739 (+cflags): Add +math-flags so that all of glibc gets compiled with
15742 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15744 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15746 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15752 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15753 (__ieee754_expl): Allow for and saturate large arguments.
15754 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15755 (u_threshold): Likewise.
15756 (__exp): Call __ieee754_exp before checking for overflow and
15758 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15759 (u_threshold): Likewise.
15760 (__expf): Call __ieee754_expf before checking for overflow and
15762 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15763 (u_threshold): Likewise.
15764 (__expl): Call __ieee754_expl before checking for overflow and
15766 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15767 (__ieee754_expl): Allow for and saturate large arguments.
15768 * math/libm-test.inc (exp_test): Add another test. Do not allow
15769 missing overflow exception on overflow.
15770 (expm1_test): Do not allow missing overflow exception on overflow.
15772 * sysdeps/i386/fpu/e_expl.c: Move to ...
15773 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15774 rather than using inline asm.
15775 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15776 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15777 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15779 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15782 (signal): Likewise.
15786 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15788 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15789 sysdeps/unix/common/syscalls.list.
15790 (fchmod): Likewise.
15791 (fchown): Likewise.
15792 (ftruncate): Likewise.
15793 (getrusage): Likewise.
15794 (gettimeofday): Likewise.
15795 (setpgid): Likewise.
15796 (setregid): Likewise.
15797 (setreuid): Likewise.
15798 (sigaction): Likewise.
15799 (truncate): Likewise.
15800 (vhangup): Likewise.
15801 * sysdeps/unix/common/syscalls.list: Remove file.
15802 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15803 * sysdeps/unix/sysv/linux/Implies: Likewise.
15805 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15807 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15809 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15813 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15816 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15819 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15822 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15825 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15828 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15831 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15835 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15839 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15842 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15846 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15850 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15852 * sysdeps/unix/common/bits/dirent.h: Remove file.
15853 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15855 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15856 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15857 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15858 * sysdeps/unix/bsd/isatty.c: Likewise.
15859 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15860 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15861 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15863 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15867 long double comparison inaccuracies.
15868 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15871 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15873 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15874 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15876 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15880 nonzero digits before rounding a hex value.
15881 * stdlib/tst-strtod.c (tests): Add another test.
15883 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15885 * sysdeps/s390/fpu/libm-test-ulps: Update.
15887 2012-05-03 Andreas Jaeger <aj@suse.de>
15889 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15890 does not get optimized out.
15891 (malloc_opt_barrier): New.
15893 2012-05-03 Andreas Jaeger <aj@suse.de>
15894 Roland McGrath <roland@hack.frob.com>
15896 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15897 intermediate file deletion.
15898 (generated): Add .symlist files.
15900 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15903 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15904 Redirect under this condition.
15905 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15906 [__USE_GNU] (__dprintf_chk): Not under this condition.
15907 [__USE_GNU] (__vdprintf_chk): Likewise.
15908 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15909 under this condition.
15910 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15911 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15912 [__USE_XOPEN2K8] (vdprintf): Likewise.
15913 [__USE_GNU] (__dprintf_chk): Not under this condition.
15914 [__USE_GNU] (__vdprintf_chk): Likewise.
15915 [__USE_GNU] (dprintf): Likewise.
15916 [__USE_GNU] (vdprintf): Likewise.
15918 2012-05-03 Roland McGrath <roland@hack.frob.com>
15920 * elf/Makefile (common-generated): Set this instead of generated for
15921 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15922 $(all-built-dso)-derived lists.
15924 2012-05-03 Andreas Jaeger <aj@suse.de>
15926 * sysdeps/i386/fpu/libm-test-ulps: Update.
15929 * FAQ.in: Likewise.
15930 * scripts/gen-FAQ.pl: Likewise.
15931 * manual/install.texi (Installation): Point to online location of
15933 * Makefile (files-for-dist): Remove FAQ.
15936 2012-05-02 Allan McRae <allan@archlinux.org>
15938 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15939 (LDFLAGS-reldepmod5.so): Likewise.
15940 (LDFLAGS-reldep6mod1.so): Likewise.
15941 (LDFLAGS-reldep6mod4.so): Likewise.
15942 (LDFLAGS-reldep8mod3.so): Likewise.
15943 (LDFLAGS-unload4mod1.so): Likewise.
15944 (LDFLAGS-unload4mod2.so): Likewise.
15945 (LDFLAGS-tst-initorder): Likewise.
15946 (LDFLAGS-tst-initordera2.so): Likewise.
15947 (LDFLAGS-tst-initordera3.so): Likewise.
15948 (LDFLAGS-tst-initordera4.so): Likewise.
15949 (LDFLAGS-tst-initorderb2.so): Likewise.
15950 (LDFLAGS-noload): Likewise.
15951 (LDFLAGS-next): Likewise.
15952 (LDFLAGS-order2mod1.so): Likewise.
15953 (LDFLAGS-order2mod2.so): Likewise.
15954 (LDFLAGS-tst-initorder2): Likewise.
15955 (LDFLAGS-tst-initorder2a.so): Likewise.
15956 (LDFLAGS-tst-initorder2b.so): Likewise.
15957 (LDFLAGS-tst-initorder2c.so): Likewise.
15958 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15960 2012-05-02 David S. Miller <davem@davemloft.net>
15962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15964 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15967 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15969 2012-05-02 Andreas Jaeger <aj@suse.de>
15971 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15972 since we manipulate rounding mode.
15973 (CPPFLAGS-test-idouble.c): Likewise.
15974 (CPPFLAGS-test-ifloat.c): Likewise.
15975 (CFLAGS-test-ldouble.c): Likewise.
15976 (CFLAGS-test-double.c): Likewise.
15977 (CFLAGS-test-float.c): Likewise.
15978 (CFLAGS-test-misc.c): Likewise.
15979 (CFLAGS-test-test-fenv.c): Likewise.
15981 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15985 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15986 comparisons to determine direction to adjust input.
15988 2012-05-01 Roland McGrath <roland@hack.frob.com>
15990 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15991 output to the target.
15993 * scripts/localplt.awk: New file.
15994 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15995 (check-localplt-CFLAGS): Variable removed.
15996 ($(all-built-dso:=.jmprel)): New static pattern rule.
15997 (generated): Add those targets.
15998 (localplt-built-dso): New variable.
15999 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16001 * elf/check-localplt.c: File removed.
16003 * scripts/check-execstack.awk: New file.
16004 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16005 (check-execstack-CFLAGS): Variable removed.
16006 ($(objpfx)check-execstack.h): Target removed.
16007 ($(objpfx)execstack-default): New target.
16008 (generated): Add that instead of check-execstack.h.
16009 ($(all-built-dso:=.phdr)): New static pattern rule.
16010 (generated): Add those targets.
16011 * elf/check-execstack.c: File removed.
16013 * scripts/check-textrel.awk: New file.
16014 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16015 (check-textrel-CFLAGS): Variable removed.
16016 (all-built-dso): Use := to define.o
16017 ($(all-built-dso:=.dyn)): New static pattern rule.
16018 (generated): Add those targets.
16019 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16020 * config.make.in (READELF): New substituted variable.
16021 * elf/check-textrel.c: File removed.
16023 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16025 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16027 * conform/data/ctype.h-data [C99-based standards] (isblank):
16029 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16030 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16032 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16033 Specify type. Require positive value.
16034 (EILSEQ): Likewise.
16035 (ERANGE): Likewise.
16036 [ISO || POSIX] (EILSEQ): Do not expect.
16037 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16038 Specify type. Require positive value.
16039 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16040 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16041 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16042 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16043 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16044 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16045 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16046 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16047 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16048 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16049 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16050 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16051 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16052 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16053 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16054 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16055 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16056 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16057 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16058 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16059 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16060 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16061 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16062 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16063 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16064 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16065 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16066 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16067 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16068 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16069 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16070 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16071 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16072 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16073 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16074 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16075 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16076 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16077 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16078 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16079 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16080 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16081 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16082 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16083 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16084 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16085 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16086 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16087 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16088 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16089 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16090 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16091 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16092 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16093 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16094 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16095 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16096 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16097 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16098 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16099 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16100 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16101 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16102 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16103 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16104 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16105 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16106 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16107 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16108 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16109 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16110 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16111 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16112 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16113 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16114 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16115 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16117 (FLT_ROUNDS): Expect as macro, not constant.
16118 (FLT_MANT_DIG): Use macro-int-constant.
16119 (DBL_MANT_DIG): Likewise.
16120 (LDBL_MANT_DIG): Likewise.
16121 (FLT_DIG): Likewise.
16122 (DBL_DIG): Likewise.
16123 (LDBL_DIG): Likewise.
16124 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16125 (DBL_MIN_EXP): Likewise.
16126 (LDBL_MIN_EXP): Likewise.
16127 (FLT_MAX_EXP): Use macro-int-constant.
16128 (DBL_MAX_EXP): Likewise.
16129 (LDBL_MAX_EXP): Likewise.
16130 (FLT_MAX_10_EXP): Likewise.
16131 (DBL_MAX_10_EXP): Likewise.
16132 (LDBL_MAX_10_EXP): Likewise.
16133 (FLT_MAX): Use macro-constant.
16134 (DBL_MAX): Likewise.
16135 (LDBL_MAX): Likewise.
16136 (FLT_EPSILON): Use macro-constant. Give upper bound.
16137 (DBL_EPSILON): Likewise.
16138 (LDBL_EPSILON): Likewise.
16139 (FLT_MIN): Likewise.
16140 (DBL_MIN): Likewise.
16141 (LDBL_MIN): Likewise.
16142 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16143 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16144 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16145 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16146 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16147 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16148 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16149 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16150 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16151 [ISO11] (FLT_TRUE_MIN): Likewise.
16152 [ISO11] (LDBL_TRUE_MIN): Likewise.
16153 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16154 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16155 (SCHAR_MIN): Use macro-int-constant. Specify type.
16156 (SCHAR_MAX): Likewise.
16157 (UCHAR_MAX): Likewise.
16158 (CHAR_MIN): Likewise.
16159 (CHAR_MAX): Likewise.
16160 (MB_LEN_MAX): Use macro-int-constant.
16161 (SHRT_MIN): Use macro-int-constant. Specify type.
16162 (SHRT_MAX): Likewise.
16163 (USHRT_MAX): Likewise.
16164 (INT_MAX): Likewise.
16165 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16167 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16169 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16171 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16172 bound negative. Suffix upper bound with "L".
16173 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16175 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16177 [C99-based standards] (LLONG_MAX): Likewise.
16178 [C99-based standards] (ULLONG_MAX): Likewise.
16179 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16181 [ISO11] (max_align_t): Require type.
16182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16184 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16185 from $CFLAGS, without defining away __attribute__ calls.
16186 (checknamespace): Use $CFLAGS_namespace.
16188 * conform/conformtest.pl (@keywords): Only include C99 keywords
16189 for standards based on C99 or C11.
16191 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16193 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16196 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16197 usability of symbols in #if.
16199 * conform/conformtest.pl: If macro or constant types start
16200 "promoted:", expect the symbol to be of the following type
16201 promoted by the integer promotions.
16203 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16204 in one place. Also handle "macro-constant".
16206 * conform/conformtest.pl: Only accept expected macro values with
16207 "==". Parse all "macro" lines in one place.
16208 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16210 * conform/conformtest.pl: Handle braced types on "constant" lines
16211 instead of handling "typed-constant".
16212 * conform/data/signal.h-data: Use "constant" instead of
16215 * conform/conformtest.pl: Handle "optional-" at start of lines in
16216 one place rather than duplicating several cases. Handle each
16217 format of "macro" line with initial "optional-".
16219 * conform/conformtest.pl: Only accept expected constant or
16220 optional-constant values with "==". Parse all "constant" lines in
16221 one place. Parse all "optional-constant" lines in one place.
16222 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16223 * conform/data/fmtmsg.h-data: Likewise.
16224 * conform/data/netinet/in.h-data: Likewise.
16225 * conform/data/tar.h-data: Likewise.
16226 * conform/data/limits.h-data: Use "==" form on "constant" and
16227 "optional-constant" lines.
16229 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16230 Use -std=c99 for XOPEN2K.
16231 (@knownproblems): Remove.
16232 (newtoken): Don't check %isknown.
16234 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16235 Do not expect macro.
16236 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16237 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16238 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16239 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16240 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16241 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16242 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16243 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16244 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16245 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16246 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16247 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16248 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16249 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16250 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16251 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16252 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16253 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16254 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16255 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16256 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16257 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16258 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16259 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16260 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16261 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16262 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16263 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16264 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16265 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16266 [XPG3] (acosh): Likewise.
16267 [XPG3] (asinh): Likewise.
16268 [XPG3] (atanh): Likewise.
16269 [XPG3] (cbrt): Likewise.
16270 [XPG3] (expm1): Likewise.
16271 [XPG3] (ilogb): Likewise.
16272 [XPG3] (log1p): Likewise.
16273 [XPG3] (logb): Likewise.
16274 [XPG3] (nextafter): Likewise.
16275 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16276 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16277 [XPG3] (remainder): Likewise.
16278 [XPG3] (rint): Likewise.
16279 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16280 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16281 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16282 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16283 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16284 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16285 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16286 [UNIX98 || XOPEN2K] (scalb): Expect.
16287 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16288 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16289 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16290 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16291 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16292 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16293 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16294 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16295 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16296 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16297 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16298 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16299 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16300 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16301 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16302 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16303 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16304 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16305 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16306 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16307 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16308 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16309 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16310 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16311 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16312 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16313 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16314 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16315 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16316 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16317 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16318 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16319 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16320 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16321 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16322 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16323 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16324 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16325 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16326 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16327 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16328 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16329 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16330 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16331 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16332 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16333 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16334 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16335 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16336 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16337 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16338 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16339 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16340 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16341 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16342 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16343 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16344 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16345 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16346 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16347 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16348 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16349 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16350 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16351 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16352 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16353 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16354 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16355 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16356 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16357 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16358 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16359 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16360 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16361 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16362 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16363 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16364 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16365 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16366 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16367 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16368 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16369 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16370 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16371 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16372 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16373 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16374 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16375 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16376 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16377 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16378 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16379 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16380 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16381 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16382 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16383 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16384 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16385 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16386 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16387 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16388 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16389 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16390 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16391 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16392 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16393 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16394 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16395 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16396 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16397 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16398 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16399 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16400 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16401 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16402 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16403 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16404 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16405 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16406 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16407 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16408 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16409 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16410 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16411 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16412 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16413 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16414 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16415 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16416 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16417 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16418 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16419 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16420 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16421 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16422 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16423 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16425 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16426 _XOPEN_SOURCE_EXTENDED for XPG4.
16428 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16430 * Makeconfig (localtime): Remove variable.
16431 (inst_localtime-file): Likewise.
16433 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16454 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16458 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16459 comparisons to determine direction to adjust input.
16460 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16461 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16462 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16464 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16466 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16468 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16469 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16471 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16473 * math/libm-test.inc (nexttoward_test): Add more tests.
16475 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16478 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16479 in version GLIBC_2.1, not GLIBC_2.0.
16480 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16483 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16486 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16488 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16489 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16490 * math/libm-test.inc (acos_test): Add more tests.
16491 (asin_test): Likewise.
16492 * sysdeps/i386/fpu/libm-test-ulps: Update.
16493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16496 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16498 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16499 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16500 * math/libm-test.inc (acos_test_tonearest): New function.
16501 (acos_test_towardzero): Likewise.
16502 (acos_test_downward): Likewise.
16503 (acos_test_upward): Likewise.
16504 (asin_test_tonearest): Likewise.
16505 (asin_test_towardzero): Likewise.
16506 (asin_test_downward): Likewise.
16507 (asin_test_upward): Likewise.
16508 (main): Call the new functions.
16509 * sysdeps/i386/fpu/libm-test-ulps: Update.
16510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16514 * math/e_exp10.c: Include <float.h>.
16515 (__ieee754_exp10): Handle underflow here rather than multiplying
16516 large negative argument by M_LN10.
16517 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16519 * math/e_exp10l.c: Include <float.h>.
16520 (__ieee754_exp10l): Handle underflow here rather than multiplying
16521 large negative argument by M_LN10l.
16522 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16523 spurious overflow exception on underflow.
16525 2012-04-29 Marek Polacek <polacek@redhat.com>
16527 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16528 (__fortify_function): New macro.
16529 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16530 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16531 __extern_always_inline.
16532 * libio/bits/stdio2.h: Likewise.
16533 * libio/bits/stdio.h: Likewise.
16534 * string/string.h: Likewise.
16535 * string/bits/string3.h: Likewise.
16536 * include/stdio.h: Likewise.
16537 * stdlib/bits/stdlib.h: Likewise.
16538 * stdlib/stdlib.h: Likewise.
16539 * rt/bits/mqueue2.h: Likewise.
16540 * rt/mqueue.h: Likewise.
16541 * posix/bits/unistd.h: Likewise.
16542 * posix/unistd.h: Likewise.
16543 * io/bits/poll2.h: Likewise.
16544 * io/bits/fcntl2.h: Likewise.
16545 * io/fcntl.h: Likewise.
16546 * io/sys/poll.h: Likewise.
16547 * misc/bits/syslog.h: Likewise.
16548 * misc/bits/syslog-ldbl.h: Likewise.
16549 * misc/sys/syslog.h: Likewise.
16550 * socket/bits/socket2.h: Likewise.
16551 * socket/sys/socket.h: Likewise.
16552 * debug/tst-chk1.c: Likewise.
16553 * wcsmbs/bits/wchar2.h: Likewise.
16554 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16555 * wcsmbs/wchar.h: Likewise.
16557 2012-04-29 Andreas Jaeger <aj@suse.de>
16559 * Makerules (tests): Remove enable-check-abi protection.
16560 (check-abi-warn): Remove.
16561 (check-abi-%): Remove check-abi-warn usage.
16563 * configure.in: Remove check-abi configure option.
16564 * configure: Regenerated.
16565 * config.make.in (enable-check-abi): Remove.
16567 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16570 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16571 double functions to double *_finite functions.
16574 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16575 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16577 * stdio-common/Makefile (tests): Add tst-sprintf3.
16578 * stdio-common/tst-sprintf3.c: New file.
16580 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16581 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16583 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16585 * conform/conformtest.pl: Remove duplicate typed-constant
16588 2012-04-28 David S. Miller <davem@davemloft.net>
16590 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16591 (check-abi-%): Remove AWK script prerequisite and explicit
16593 (check-abi): Rewrite to just diff the symlist with the abilist.
16594 (config-tls, config-abi-config): Delete, no longer used.
16595 (update-abi-%): Remove AWK script and explicit abilist directory.
16596 (update-abi): Rewrite to simply compare and conditionally copy the
16597 symlist and the sysdep abilist file. Remove update-abi-config
16599 * abilist/ld.abilist: Remove.
16600 * abilist/libBrokenLocale.abilist: Remove.
16601 * abilist/libanl.abilist: Remove.
16602 * abilist/libcrypt.abilist: Remove.
16603 * abilist/libdl.abilist: Remove.
16604 * abilist/librt.abilist: Remove.
16605 * abilist/libthread_db.abilist: Remove.
16606 * abilist/libutil.abilist: Remove.
16607 * scripts/extract-abilist.awk: Remove.
16608 * scripts/merge-abilist.awk: Remove.
16609 * sysdeps/generic/libcidn.abilist: New file.
16610 * sysdeps/generic/libnss_compat.abilist: New file.
16611 * sysdeps/generic/libnss_db.abilist: New file.
16612 * sysdeps/generic/libnss_dns.abilist: New file.
16613 * sysdeps/generic/libnss_files.abilist: New file.
16614 * sysdeps/generic/libnss_hesiod.abilist: New file.
16615 * sysdeps/generic/libnss_nis.abilist: New file.
16616 * sysdeps/generic/libnss_nisplus.abilist: New file.
16617 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16618 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16619 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16622 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16623 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16624 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16625 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16626 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16627 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16628 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16629 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16631 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16632 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16633 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16634 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16636 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16637 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16638 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16639 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16640 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16641 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16643 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16644 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16645 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16647 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16750 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16751 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16752 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16754 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16755 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16756 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16757 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16758 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16759 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16760 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16761 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16762 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16763 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16815 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16817 * conform/conformtest.pl: Fix typo in handling typed-constant from
16820 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16822 * README: Cut down references to pre-2.6 Linux kernels and
16823 Linuxthreads. Update lists of configurations in libc and ports
16824 and sort alphabetically. Say "or newer" with Linux kernel version
16827 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16829 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16832 * math/libm-test.inc (logb_test_downward): New test to expose
16833 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16836 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16839 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16841 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16842 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16844 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16846 * sysdeps/unix/i386/brk.S: Remove file.
16847 * sysdeps/unix/i386/dl-brk.S: Likewise.
16848 * sysdeps/unix/i386/pipe.S: Likewise.
16849 * sysdeps/unix/i386/sigreturn.S: Likewise.
16850 * sysdeps/unix/i386/syscall.S: Likewise.
16851 * sysdeps/unix/i386/vfork.S: Likewise.
16852 * sysdeps/unix/i386/wait.S: Likewise.
16854 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16855 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16857 * configure.in (arm*-none*): Do not allow without
16858 --enable-hacker-mode.
16859 (netbsd*): Remove case setting base_os.
16860 (386bsd*): Likewise.
16861 (freebsd*): Likewise.
16864 (sunos*): Likewise.
16865 (ultrix*): Likewise.
16866 (newsos*): Likewise.
16867 (dynix*): Likewise.
16873 (minix*): Likewise.
16874 (irix4*): Likewise.
16875 (irix6*): Likewise.
16876 (solaris[2-9]*): Likewise.
16878 * configure: Regenerated.
16880 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16883 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16884 overflow or cancellation in calculating denominator.
16885 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16886 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16887 down expression to avoid unexpected rounding in newer GCCs.
16888 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16890 2012-04-26 David S. Miller <davem@davemloft.net>
16892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16893 long-double compat symbols.
16894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16908 2012-04-25 David S. Miller <davem@davemloft.net>
16910 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16911 HWCAP_* values only after the memory barriers have been defined.
16912 (atomic_full_barrier): Define.
16913 (atomic_read_barrier): Define.
16914 (atomic_write_barrier): Define.
16916 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16918 * shlib-versions: Add libgcc_s version information.
16919 * sysdeps/generic/libgcc_s.h: Remove.
16920 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16922 * sysdeps/gnu/unwind-resume.c: Likewise.
16923 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16925 2012-04-25 David S. Miller <davem@davemloft.net>
16927 * sysdeps/unix/sparc/brk.S: Delete.
16928 * sysdeps/unix/sparc/dl-brk.S: Delete.
16929 * sysdeps/unix/sparc/pipe.S: Delete.
16930 * sysdeps/unix/sparc/sysdep.S: Delete.
16931 * sysdeps/unix/sparc/sysdep.h: Delete.
16932 * sysdeps/unix/sparc/vfork.S: Delete.
16933 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16934 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16935 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16936 ret_ERRVAL, r0, r1, MOVE): Define.
16937 (JUMPTARGET): Remove.
16938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16939 sysdeps/unix/sparc/sysdep.h
16940 (ENTRY, END): Remove.
16941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16943 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16945 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16946 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16949 * timezone/README: Update upstream location and email address for
16951 * timezone/zdump.c: Update from tzcode 2012b.
16952 * timezone/zic.c: Likewise.
16954 * configure.in (libc_cv_as_needed): Remove test.
16955 * configure: Regenerated.
16956 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16957 conditional definition.
16958 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16959 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16960 * config.make.in (have-as-needed): Remove variable.
16962 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16963 Paul Pluzhnikov <ppluzhnikov@google.com>
16965 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16968 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16970 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16971 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16972 * sysdeps/sh/strlen.S: Likewise.
16974 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16976 * sysdeps/unix/fork.S: Remove file.
16977 * sysdeps/unix/i386/fork.S: Likewise.
16978 * sysdeps/unix/sparc/fork.S: Likewise.
16980 * sysdeps/unix/system.c: Remove file.
16981 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16983 * sysdeps/unix/getegid.S: Remove file.
16984 * sysdeps/unix/geteuid.S: Likewise.
16986 2012-04-24 Roland McGrath <roland@hack.frob.com>
16988 * scripts/check-localplt.awk: New file.
16989 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16991 * scripts/data/localplt-generic.data: Add a comment.
16993 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16994 NODE when __dir_mkfile failed.
16995 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16996 Reported by Ludovic Courtès <ludo@gnu.org>.
16998 2012-04-24 Andreas Jaeger <aj@suse.de>
17000 * Makerules (common-clean): Also remove gen-as-const-headers
17003 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17005 * Makerules (native-compile): Do not change working directory for
17006 build. Use $(OUTPUT_OPTION) in command.
17007 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17009 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17012 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17013 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17014 * math/libm-test.inc (floor_test): Add more tests.
17015 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17017 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17019 * sysdeps/unix/getdents.c: Remove file.
17020 * sysdeps/unix/sysv/getdents.c: Likewise.
17021 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17023 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17024 sysdeps/unix/mman/syscalls.list.
17026 (mprotect): Likewise.
17028 (munmap): Likewise.
17029 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17030 * sysdeps/unix/mman/syscalls.list: Remove.
17031 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17033 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17034 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17035 * configure: Regenerated.
17036 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17037 $(libgcc_s_suffix).
17038 * config.make.in (libgcc_s_suffix): Remove variable.
17040 2012-04-23 Joseph Myers <joseph@codesourcery.com>
17042 * sysdeps/unix/sysv/gethostname.c: Move to ...
17043 * sysdeps/posix/gethostname.c: ... here.
17045 * sysdeps/unix/execve.S: Remove file.
17047 * sysdeps/unix/_exit.S: Remove file.
17049 2012-04-23 Andreas Jaeger <aj@suse.de>
17052 * manual/Makefile: Remove make dist support, there's no
17053 need for a stand-alone documentation tar ball.
17054 (TEXI2DVI): Define always, it's not in Makeconfig.
17057 (edition): Removed.
17058 (glibc-doc-$(edition).tar): Removed
17062 (ETAGS): Remove, it's in Makeconfig.
17063 (move-if-change): Remove, it's in Makeconfig.
17065 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
17068 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17069 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17070 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17071 (strtod_l, strtof_l, strtold_l): Remove __wur.
17072 It is not necessarily an error to ignore strtol's return value.
17073 One can reliably look at the stored endptr to decide whether
17074 the number had valid syntax.
17076 2012-04-21 Andreas Jaeger <aj@suse.de>
17079 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17081 2012-04-21 Joseph Myers <joseph@codesourcery.com>
17083 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17084 * sysdeps/unix/sysv/Versions: Remove file.
17086 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17091 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
17094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17095 version from __vm86.
17097 2012-04-20 Joseph Myers <joseph@codesourcery.com>
17099 * sysdeps/unix/common/lxstat.c: Remove file.
17100 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17102 * sysdeps/unix/sysv/Makefile: Remove file.
17104 * sysdeps/unix/sysv/direct.h: Remove file.
17106 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17107 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17108 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17109 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17110 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17111 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17112 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17114 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17116 * sysdeps/unix/xmknod.c: Remove file.
17117 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17119 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17121 * sysdeps/unix/sysv/i386/time.S: Remove file.
17123 * sysdeps/unix/fxstat.c: Remove file.
17124 * sysdeps/unix/xstat.c: Likewise.
17125 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17127 * sysdeps/unix/sysv/sigaction.c: Remove file.
17129 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17130 (sysdep_headers): Remove variable.
17131 [termio.h not in sysdep_headers] (generated): Likewise.
17132 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17133 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17134 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17135 * sysdeps/unix/sysv/tcflow.c: Likewise.
17136 * sysdeps/unix/sysv/tcflush.c: Likewise.
17137 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17138 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17139 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17140 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17141 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17143 * sysdeps/unix/siglist.c: Remove file.
17145 * sysdeps/unix/getppid.S: Remove file.
17147 * sysdeps/unix/mkdir.c: Remove file.
17148 * sysdeps/unix/rmdir.c: Likewise.
17150 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17152 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17154 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17155 errlist-compat value.
17157 2012-04-18 David S. Miller <davem@davemloft.net>
17159 * sysdeps/generic/memcopy.h (reg_char): Delete.
17160 * debug/strcat_chk.c: Use char, not reg_char.
17161 * debug/strcpy_chk.c: Likewise.
17162 * debug/strncat_chk.c: Likewise.
17163 * debug/strncpy_chk.c: Likewise.
17164 * string/memchr.c: Likewise.
17165 * string/memrchr.c: Likewise.
17166 * string/rawmemchr.c: Likewise.
17167 * string/strcat.c: Likewise.
17168 * string/strchr.c: Likewise.
17169 * string/strchrnul.c: Likewise.
17170 * string/strcmp.c: Likewise.
17171 * string/strcpy.c: Likewise.
17172 * string/strncat.c: Likewise.
17173 * string/strncmp.c: Likewise.
17174 * string/strncpy.c: Likewise.
17176 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17178 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17179 __builtin_memcopy is called when src and dest ranges are known to not
17182 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17184 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17185 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17186 fwd_align_merge macro call.
17187 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17188 bwd_align_merge macro call.
17189 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17191 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17193 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17194 bwd_align_merge macros.
17195 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17196 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17197 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17199 2012-04-18 David S. Miller <davem@davemloft.net>
17201 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17203 2012-04-18 Andreas Jaeger <aj@suse.de>
17206 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17207 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17208 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17210 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17211 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17212 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17214 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17215 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17216 Adjust for changed ldbl-128 files.
17218 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17219 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17220 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17222 2012-04-17 David S. Miller <davem@davemloft.net>
17224 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17226 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17228 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17229 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17230 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17231 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17232 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17233 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17235 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17238 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17239 * math/libm-test.inc: Add ilogb errno and exception tests.
17240 * math/w_ilogb.c: New file: ilogb wrapper.
17241 * math/w_ilogbf.c: New file: ilogbf wrapper.
17242 * math/w_ilogbl.c: New file: ilogbl wrapper.
17243 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17244 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17245 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17246 exception being thrown with 0.0 as argument.
17247 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17248 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17249 exception being thrown with 0.0 as argument.
17250 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17251 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17252 exception being thrown with 0.0 as argument.
17253 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17254 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17255 exception being thrown with 0.0 as argument.
17256 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17257 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17258 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17259 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17261 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17262 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17263 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17264 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17266 2012-04-17 Petr Baudis <pasky@ucw.cz>
17268 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17271 2012-04-16 Marek Polacek <polacek@redhat.com>
17273 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17275 2012-04-16 Marek Polacek <polacek@redhat.com>
17277 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17278 operands of fdivp instruction.
17280 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17282 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17283 * elf/tst-auditmod3b.c: Likewise.
17284 * elf/tst-auditmod4b.c: Likewise.
17285 * elf/tst-auditmod5b.c: Likewise.
17286 * elf/tst-auditmod6b.c: Likewise.
17287 * elf/tst-auditmod6c.c: Likewise.
17288 * elf/tst-auditmod7b.c: Likewise.
17289 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17290 * sysdeps/x86_64/preconfigure.in: Likewise.
17291 * sysdeps/x86_64/preconfigure: Regenerated.
17293 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17295 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17298 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
17300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17301 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17303 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17306 * locale/iso-639.def: Fix gl language name. Spotted by
17309 2012-04-12 Roland McGrath <roland@hack.frob.com>
17312 * libio/libio.h (__io_write_fn): Update comment.
17314 2012-04-12 Petr Baudis <pasky@ucw.cz>
17317 * stdio.texi (Hook Functions): The user provided writer function
17318 is not allowed to return -1.
17320 2012-04-11 David S. Miller <davem@davemloft.net>
17322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17324 2012-04-11 Mike Frysinger <vapier@gentoo.org>
17326 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17327 Add a leading slash to rtkaio.
17329 2012-04-11 Jim Meyering <meyering@redhat.com>
17332 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17333 It is not necessarily an error to ignore fwrite's return
17334 value. One can reliably use ferror to test for errors after
17337 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17339 * bits/types.h (__snseconds_t): New type.
17340 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17342 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17344 (__SNSECONDS_T_TYPE): Likewise.
17345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17346 (__SNSECONDS_T_TYPE): Likewise.
17347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17348 (__SNSECONDS_T_TYPE): Likewise.
17350 2012-04-10 Andreas Jaeger <aj@suse.de>
17353 * manual/time.texi (Processor Time): Return type of times is
17354 elapsed real time since an arbitrary point in the past.
17355 (CPU Time): Move CLK_TCK from here...
17356 (Processor Time): ...to here. Correct description.
17357 * manual/conf.texi (Constants for Sysconf): Correct description of
17360 2012-04-10 David S. Miller <davem@davemloft.net>
17363 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17364 where the is a gap between DT_REL(A) and DT_JMPREL.
17366 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17368 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17369 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17370 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17372 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17374 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17375 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17376 (dl_main): Handle --inhibit-cache.
17377 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17379 * elf/dl-load.c (_dl_map_object): Use it.
17380 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17382 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17385 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17386 (__ieee754_powl): Saturate large exponents rather than testing for
17387 overflow of y*log2(x).
17388 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17389 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17393 * math/s_ctan.c: Include <float.h>.
17394 (__ctan): Avoid internal overflow or cancellation in calculating
17396 * math/s_ctanf.c: Likewise.
17397 * math/s_ctanl.c: Likewise.
17398 * math/s_ctanh.c: Likewise.
17399 * math/s_ctanhf.c: Likewise.
17400 * math/s_ctanhl.c: Likewise.
17401 * math/libm-test.inc (ctan_test): Add more tests.
17402 (ctanh_test): Likewise.
17403 * sysdeps/i386/fpu/libm-test-ulps: Update.
17404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17406 2012-04-09 Andreas Jaeger <aj@suse.de>
17409 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17410 is an optional BSD extension.
17413 * manual/stdio.texi (Opening Streams): Document additional fopen
17416 2012-04-09 Roland McGrath <roland@hack.frob.com>
17418 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17419 %eax without telling the compiler.
17421 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17424 * manual/install.texi: Use sourceware.org.
17426 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17429 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17430 (__ieee754_pow): Generate overflow and underflow using huge*huge
17431 and tiny*tiny rather than just returning constant infinity or zero
17432 for large exponents.
17433 * math/libm-test.inc (pow_test): Require overflow exceptions for
17434 applicable cases of large exponents.
17437 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17438 (__ieee754_pow): Use iterative multiplication algorithm only for
17439 integer exponents with absolute value below 1024. Check for odd
17440 integer exponents when using algorithm for real exponents.
17441 * math/libm-test.inc (pow_test): Add more tests.
17442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17444 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17447 * math/libm-test.inc (exp_test): Do not allow overflow exception
17450 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17453 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17454 instead of __kernel_standard_f.
17456 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17458 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17459 * sysdeps/x86_64/memset_chk.S: Likewise.
17461 2012-04-08 Andreas Jaeger <aj@suse.de>
17464 * manual/startup.texi (Environment Access): Describe return value
17465 for putenv and setenv.
17468 * manual/filesys.texi (Directory Entries): Add description for
17472 * manual/filesys.texi (Directory Entries): Clarify that it's file
17473 system not operating system in the description of DT_UNKNOWN.
17476 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17478 2012-04-08 Stephen Compall <s11@member.fsf.org>
17481 * manual/llio.texi (Opening and Closing Files): Add cross
17482 reference to explain mode argument.
17484 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17486 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17487 * sysdeps/x86_64/memset_chk.S: Likewise.
17489 2012-04-07 David S. Miller <davem@davemloft.net>
17491 * elf/elf.h (R_SPARC_WDISP10): Define.
17492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17495 R_SPARC_SIZE64 and R_SPARC_H34.
17497 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17499 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17500 conditions and remove no longer applicable assertion.
17502 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17504 * bits/byteswap.h: Include <features.h>.
17505 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17506 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17508 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17510 * bits/byteswap.h (__bswap_16): Removed.
17511 Include <bits/byteswap-16.h> to get __bswap_16.
17512 * sysdeps/i386/bits/byteswap.h: Likewise.
17513 * sysdeps/s390/bits/byteswap.h: Likewise.
17514 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17515 * bits/byteswap-16.h: New file.
17516 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17517 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17518 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17519 * string/Makefile (headers): Add bits/byteswap-16.h.
17521 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17524 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17526 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17527 * nss/tst-nss-static.c: New.
17529 2012-04-06 Robert Millan <rmh@gnu.org>
17532 * manual/llio.texi (File Position Primitive): lseek
17533 refers to WHENCE when it really means OFFSET.
17535 2012-04-06 Andreas Jaeger <aj@suse.de>
17537 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17538 strncmp declarations.
17540 * abilist/libc.abilist: Add __poll and __ppoll.
17542 2012-04-05 David S. Miller <davem@davemloft.net>
17544 * scripts/check-local-headers.sh: Accept a host triplet in the
17545 path matched by the exclude regexp.
17547 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17549 * sysdeps/powerpc/powerpc32/dl-machine.h
17550 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17551 * sysdeps/s390/s390-32/dl-machine.h
17552 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17553 * sysdeps/sparc/sparc32/dl-machine.h
17554 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17555 * sysdeps/sparc/sparc64/dl-machine.h
17556 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17558 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17560 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17561 undefined symbol errors.
17563 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17566 2012-04-05 Michael Matz <matz@suse.de>
17569 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17571 2012-04-05 Andreas Jaeger <aj@suse.de>
17574 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17577 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17579 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17580 which ROUND is no valid rounding mode.
17582 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17584 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17586 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17588 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17590 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17591 an exception using FPU order intentionally.
17593 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17595 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17596 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17597 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17598 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17600 2012-04-05 Simon Josefsson <simon@josefsson.org>
17603 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17604 EINVAL when BUFLEN is too smal.
17606 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17609 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17610 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17612 2012-04-03 Andreas Jaeger <aj@suse.de>
17615 * manual/setjmp.texi (System V contexts): Fix sentence.
17618 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17619 New macro for this case.
17620 [!__GNUC__] (__bswap_64): New inline function for this case.
17621 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17622 * bits/byteswap.h: Likewise.
17623 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17624 ull, guard with __GLIBC_HAVE_LONG_LONG.
17626 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17627 __GLIBC_HAVE_LONG_LONG.
17629 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17630 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17632 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17635 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17636 inptr and inend, rather than using last_ch.
17638 2012-04-02 David S. Miller <davem@davemloft.net>
17640 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17641 * stdio-common/printf-parse.h (read_int): Change return type to
17642 'int', return -1 on INT_MAX overflow.
17643 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17644 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17645 overflows INT_MAX. Check for overflow of in-format-string precision
17646 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17647 SIZE_MAX not INT_MAX for integer overflow test.
17648 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17649 skip the construct in the format string but do not record anything.
17650 * stdio-common/bug22.c: Adjust to test both width/prevision
17651 INT_MAX overflow as well as total length INT_MAX overflow. Check
17652 explicitly for proper errno values.
17654 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17656 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17658 * string/test-strcmp.c [! WIDE]: Likewise.
17659 * time/tst-mktime2.c: Likewise for INT_MAX.
17660 * string/test-string.h: #include <sys/param.h> for MIN.
17662 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17663 * sysdeps/i386/init-first.c (init): Likewise.
17664 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17665 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17666 * sysdeps/sh/init-first.c (init): Likewise.
17668 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17670 * po/ru.po: Update from translation team.
17671 * po/vi.po: Likewise.
17673 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17675 * resolv/nss_dns/dns-host.c: Merge copyright years.
17677 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17679 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17680 Optimize memcpy with prefetch if
17681 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17682 src, dst pointers have unequal 16 byte alignments.
17684 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17687 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17688 from a CNAME entry and return the minimum ttl for the query.
17689 (gaih_getanswer_slice): Likewise.
17691 2012-03-30 Jeff Law <law@redhat.com>
17693 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17695 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17696 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17698 * resolv/nss_dns/dns-host.c: Update copyright year.
17700 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17702 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17703 requests to save a system call. Fix check that all bytes are sent.
17705 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17706 comments for sendmmsg.
17708 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17711 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17712 with only 1 character between 0x0041 and 0x01b0.
17713 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17714 * wcsmbs/tst-mbsnrtowcs.c: New file.
17716 2012-03-29 David S. Miller <davem@davemloft.net>
17718 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17719 small copies by hand.
17721 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17724 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17725 _nss_compat_initgroups_dyn): Fall back to malloc/free
17726 for large group memberships.
17728 2012-03-28 David S. Miller <davem@davemloft.net>
17730 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17731 that branches into memcpy.
17732 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17733 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17734 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17735 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17738 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17739 implementation too.
17740 * sysdeps/sparc/mempcpy.S: New file.
17742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17743 the IFUNC routine in the libc case.
17744 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17746 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17747 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17748 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17749 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17750 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17751 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17752 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17753 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17755 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17756 loop to 256 bytes instead of 64 bytes and fix test signedness.
17758 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17759 * sysdeps/sparc/sparc32/Makefile: rather than here...
17760 * sysdeps/sparc/sparc64/Makefile: and here.
17762 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17764 * malloc/mallocbug.c: Avoid warnings about unused variables.
17766 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17769 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17770 in the right place. Discard and retry query if response is
17771 larger than input buffer size.
17773 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17778 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17779 x for large integer exponent.
17780 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17781 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17782 sign of result as needed afterwards.
17783 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17784 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17785 result for underflowing pow the same as for overflow.
17786 (__kernel_standard_l): Handle powl overflow and underflow here
17787 rather than calling __kernel_standard.
17788 * math/libm-test.inc (pow_test): Add more tests.
17803 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17804 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17805 (__kernel_standard_l): New function.
17806 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17808 * math/w_acosl.c (__acosl): Likewise.
17809 * math/w_asinl.c (__asinl): Likewise.
17810 * math/w_atan2l.c (__atan2l): Likewise.
17811 * math/w_atanhl.c (__atanhl): Likewise.
17812 * math/w_coshl.c (__coshl): Likewise.
17813 * math/w_exp10l.c (__exp10l): Likewise.
17814 * math/w_exp2l.c (__exp2l): Likewise.
17815 * math/w_fmodl.c (__fmodl): Likewise.
17816 * math/w_hypotl.c (__hypotl): Likewise.
17817 * math/w_j0l.c (__j0l, __y0l): Likewise.
17818 * math/w_j1l.c (__j1l, __y1l): Likewise.
17819 * math/w_jnl.c (__jnl, __ynl): Likewise.
17820 * math/w_lgammal.c (__lgammal): Likewise.
17821 * math/w_log10l.c (__log10l): Likewise.
17822 * math/w_log2l.c (__log2l): Likewise.
17823 * math/w_logl.c (__logl): Likewise.
17824 * math/w_powl.c (__powl): Likewise.
17825 * math/w_remainderl.c (__remainderl): Likewise.
17826 * math/w_scalbl.c (sysv_scalbl): Likewise.
17827 * math/w_sinhl.c (__sinhl): Likewise.
17828 * math/w_sqrtl.c (__sqrtl): Likewise.
17829 * math/w_tgammal.c (__tgammal): Likewise.
17830 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17831 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17832 * math/libm-test.inc (acos_test): Add more tests.
17833 (acosh_test): Likewise.
17834 (asin_test): Likewise.
17835 (atanh_test): Likewise.
17836 (exp_test): Likewise.
17837 (exp10_test): Likewise.
17838 (exp2_test): Likewise.
17839 (expm1_test): Likewise.
17840 (lgamma_test): Likewise.
17841 (log_test): Likewise.
17842 (log10_test): Likewise.
17843 (log1p_test): Likewise.
17844 (log2_test): Likewise.
17845 (pow_test): Do not allow some spurious overflow exceptions.
17846 (sqrt_test): Add more tests.
17847 (tgamma_test): Likewise.
17848 (y0_test): Likewise.
17849 (y1_test): Likewise.
17850 (yn_test): Likewise.
17852 2012-03-27 Anton Blanchard <anton@samba.org>
17854 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17856 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17857 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17858 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17860 2012-03-27 David S. Miller <davem@davemloft.net>
17862 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17864 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17865 have-as-vis3 check.
17867 2012-03-27 Andreas Jaeger <aj@suse.de>
17869 * sysdeps/x86_64/elf/configure.in: Moved to ...
17870 * sysdeps/x86_64/configure.in: ... here.
17871 * sysdeps/x86_64/elf/start.S: Moved to ...
17872 * sysdeps/x86_64/start.S: ... here.
17873 * sysdeps/x86_64/elf/configure: Delete.
17875 * sysdeps/x86_64/configure.in: Merge contents from
17876 sysdeps/i386/configure.in (without i686 check).
17878 * sysdeps/i386/elf/Versions: Merge into ...
17879 * sysdeps/i386/Versions: ... this.
17880 * sysdeps/i386/elf/Versions: Delete file.
17881 * sysdeps/i386/elf/start.S: Moved to ...
17882 * sysdeps/i386/start.S: ...here.
17883 * sysdeps/i386/elf/configure.in: Merge into...
17884 * sysdeps/i386/configure.in: ...here.
17885 * sysdeps/i386/elf/configure.in: Delete file.
17886 * sysdeps/i386/elf/configure: Delete file.
17888 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17889 * debug/backtracesyms.c: ... here.
17890 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17891 * debug/backtracesymsfd.c: ... here.
17892 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17893 * sysdeps/generic/ifunc-sel.h: ... here.
17895 * sysdeps/unix/i386/start.c: Delete file.
17896 * sysdeps/unix/sparc/start.c: Delete file.
17897 * sysdeps/unix/start.c: Delete file.
17899 * sysdeps/sh/elf/configure.in: Moved to ...
17900 * sysdeps/sh/configure.in: ... here.
17901 * sysdeps/sh/elf/start.S: Moved to ...
17902 * sysdeps/sh/start.S: ... here.
17903 * sysdeps/sh/elf/configure: Delete file.
17905 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17906 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17907 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17908 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17909 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17910 * sysdeps/powerpc/powerpc64/start.S: here.
17911 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17912 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17913 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17914 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17915 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17917 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17918 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17919 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17920 * sysdeps/powerpc/powerpc32/start.S: ... here.
17921 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17922 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17923 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17925 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17926 * sysdeps/powerpc/ifunc-sel.h: ... here.
17927 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17928 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17930 * sysdeps/sparc/elf/configure.in: Moved to ...
17931 * sysdeps/sparc/configure.in: ... here.
17932 * sysdeps/sparc/elf/configure: Delete file.
17933 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17934 * sysdeps/sparc/sparc32/start.S: ... here.
17935 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17936 * sysdeps/sparc/sparc64/start.S: ... here.
17937 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17938 * sysdeps/sparc/sparc32/Makefile: ... this.
17939 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17940 * sysdeps/sparc/sparc64/Makefile: ... this.
17942 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17943 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17944 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17945 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17946 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17947 * sysdeps/s390/s390-32/setjmp.S: ... here.
17948 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17949 * sysdeps/s390/s390-32/configure.in: ... here.
17950 * sysdeps/s390/s390-32/elf/configure: Delete file.
17951 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17952 * sysdeps/s390/s390-32/start.S: ... here.
17954 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17955 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17956 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17957 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17958 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17959 * sysdeps/s390/s390-64/setjmp.S: ... here.
17960 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17961 * sysdeps/s390/s390-64/configure.in: ... here
17962 * sysdeps/s390/s390-64/elf/configure: Delete file.
17963 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17964 * sysdeps/s390/s390-64/start.S: ... here.
17965 * sysdeps/s390/s390-64/elf/configure: Delete.
17967 * configure.in: Remove support for elf directories in sysdeps.
17969 * configure: Regenerated.
17970 * sysdeps/i386/configure: Regenerated.
17971 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17972 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17973 * sysdeps/s390/s390-32/configure: Regenerated.
17974 * sysdeps/s390/s390-64/configure: Regenerated.
17975 * sysdeps/sh/configure: Regenerated.
17976 * sysdeps/sparc/configure: Regenerated.
17977 * sysdeps/x86_64/configure: Regenerated.
17979 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17983 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17984 denormal result into account.
17986 2012-03-25 Roland McGrath <roland@hack.frob.com>
17988 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17989 Reported by Allan McRae <allan@archlinux.org>.
17991 2012-03-23 Jeff Law <law@redhat.com>
17993 * nss/getnssent.c (__nss_getent): Fix typo.
17995 2012-03-23 David S. Miller <davem@davemloft.net>
17997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17999 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18001 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18002 to pad to uint64_t for each field.
18003 (dl_tls_index): Replace unsigned long with uint64_t.
18005 2012-03-23 Daniel Jacobowitz <dmj@google.com>
18006 Paul Pluzhnikov <ppluzhnikov@google.com>
18009 * grp/Makefile (otherlibs): Don't set it.
18010 * inet/Makefile (otherlibs): Likewise.
18011 * login/Makefile (otherlibs): Likewise.
18012 * nscd/Makefile (otherlibs): Likewise.
18013 * posix/Makefile (otherlibs): Likewise.
18014 * pwd/Makefile (otherlibs): Likewise.
18015 * rt/Makefile (otherlibs): Likewise.
18016 * sunrpc/Makefile (otherlibs): Likewise.
18017 * nss/Makefile (otherlibs): Likewise.
18018 Add libnss_files to routines and static-only-routines.
18019 ($(objpfx)getent): Remove rule.
18020 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18021 static-only-routines.
18023 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18026 * math/s_cexp.c: Include <float.h>.
18027 (__cexp): Handle exp result overflowing not necessarily
18028 overflowing both real and imaginary parts of result.
18029 * math/s_cexpf.c: Likewise.
18030 * math/s_cexpl.c: Likewise.
18031 * math/libm-test.inc (cexp_test): Add more tests.
18032 * sysdeps/i386/fpu/libm-test-ulps: Update.
18033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18035 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18037 * include/link.h (ELFW): New macro.
18038 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18039 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18041 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18043 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18046 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18048 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18050 (struct La_x32_retval): Likewise.
18052 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18054 * sysdeps/x86_64/preconfigure.in: New file.
18055 * sysdeps/x86_64/preconfigure: New generated file.
18057 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18060 * math/e_exp2l.c: Include <float.h>.
18061 (__ieee754_exp2l): Handle overflow and underflow cases
18062 separately. Only pass fractional part of argument to
18064 * math/libm-test.inc (exp2_test): Add more tests.
18066 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18067 negating x to take absolute value.
18068 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18070 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18071 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18073 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18074 computing low part if x was negated.
18075 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18077 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18079 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18080 la_x32_gnu_pltexit.
18081 (pltexit): Cast int_retval to ptrdiff_t.
18082 * elf/tst-auditmod3b.c: Likewise.
18083 * elf/tst-auditmod4b.c: Likewise.
18084 * elf/tst-auditmod5b.c: Likewise.
18085 * elf/tst-auditmod6b.c: Likewise.
18086 * elf/tst-auditmod6c.c: Likewise.
18087 * elf/tst-auditmod7b.c: Likewise.
18089 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18090 and x32_gnu_pltexit.
18092 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18093 __ELF_NATIVE_CLASS.
18094 (La_x32_regs): New macro.
18095 (La_x32_retval): Likewise.
18096 (la_x32_gnu_pltenter): New function prototype.
18097 (la_x32_gnu_pltexit): Likewise.
18099 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18101 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18106 * configure.in (libc_cv_cc_nofma): Check for option to disable
18107 generation of FMA instructions.
18108 * configure: Regenerate.
18109 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18110 * sysdeps/ieee754/dbl-64/Makefile: New file.
18111 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18112 Remove brandred-fma4.
18113 (CFLAGS-brandred-fma4.c): Remove.
18114 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18115 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18117 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18120 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18122 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18123 LLONG_MAX != LONG_MAX.
18124 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18125 (_fitoa_word): Likewise.
18126 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18127 LLONG_MAX != LONG_MAX.
18128 * stdio-common/_itowa.h: Include <_itoa.h>.
18129 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18130 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18131 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18132 only if not defined.
18133 (_ITOA_WORD_TYPE): Likewise.
18134 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18135 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18137 2012-03-21 David S. Miller <davem@davemloft.net>
18139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18141 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18143 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18144 of x86_64 when setting libc_cv_slibdir, libdir and
18146 * sysdeps/unix/sysv/linux/configure: Regenerated.
18148 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18150 * manual/lang.texi (Old Varargs): Remove section.
18151 (How Variadic): Update menu.
18152 (va_start): Do not mention varargs.h.
18154 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18155 Joseph Myers <joseph@codesourcery.com>
18157 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18159 * configure: Regenerated.
18161 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18163 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18164 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18167 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18170 * Makefile (files-for-dist): Remove NOTES.
18171 (NOTES): Remove rule.
18172 * README: Don't refer to NOTES.
18173 * manual/creature.texi: Don't include macros.texi.
18174 * manual/intro.texi (creature.texi): Remove comment referring to
18177 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18178 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18179 * configure: Regenerated.
18180 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18181 LIBC_TRY_CC_OPTION.
18182 (libc_cv_as_i686): Likewise.
18183 (libc_cv_cc_avx): Likewise.
18184 (libc_cv_cc_sse2avx): Likewise.
18185 (libc_cv_cc_fma4): Likewise.
18186 (libc_cv_cc_novzeroupper): Likewise.
18187 * sysdeps/i386/configure: Regenerated.
18190 * sysdeps/i386/fpu/s_cexp.S: Remove.
18191 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18192 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18193 * math/libm-test.inc (cexp_test): Add more tests.
18194 * sysdeps/i386/fpu/libm-test-ulps: Update.
18195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18197 2012-03-21 Allan McRae <allan@archlinux.org>
18199 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18201 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18204 * math/w_exp2.c: Do not include <float.h>.
18205 (o_threshold, u_threshold): Remove.
18206 (__exp2): Calculate result before checking finiteness and calling
18208 * math/w_exp2f.c: Likewise.
18209 * math/w_exp2l.c: Likewise.
18210 * math/libm-test.inc (exp2_test): Require overflow exception for
18214 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18215 range of signed 64-bit integers before using fistpll. Remove
18216 checks for whether integers fit in mantissa bits.
18217 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18218 the range of signed 32-bit integers before using fistpl. Remove
18219 checks for whether integers fit in mantissa bits.
18220 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18221 (__ieee754_powl): Test for y outside the range of signed 64-bit
18222 integers before using fistpll. Reduce 64-bit values to 63-bit
18224 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18225 divide-by-zero is raised for zero to large negative powers.
18226 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18227 (__ieee754_powl): Test for y outside the range of signed 64-bit
18228 integers before using fistpll. Reduce 64-bit values to 63-bit
18230 * math/libm-test.inc (pow_test): Add more tests.
18232 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18234 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18235 <stdio-common/_itoa.h>.
18236 * debug/segfault.c: Likewise.
18237 * elf/dl-cache.c: Likewise.
18238 * elf/dl-minimal.c: Likewise.
18239 * elf/dl-misc.c: Likewise.
18240 * elf/dl-sysdep.c: Likewise.
18241 * elf/dl-version.c: Likewise.
18242 * elf/rtld.c: Likewise.
18243 * hurd/hurdsock.c: Likewise.
18244 * hurd/lookup-retry.c: Likewise.
18245 * malloc/malloc.c: Likewise.
18246 * malloc/mtrace.c: Likewise.
18247 * nscd/nscd_getgr_r.c: Likewise.
18248 * nscd/nscd_getpw_r.c: Likewise.
18249 * nscd/nscd_getserv_r.c: Likewise.
18250 * posix/getopt_init.c: Likewise.
18251 * posix/wordexp.c: Likewise.
18252 * stdio-common/_itoa.c: Likewise.
18253 * stdio-common/printf_fphex.c: Likewise.
18254 * stdio-common/vfprintf.c: Likewise.
18255 * string/_strerror.c: Likewise.
18256 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18257 * sysdeps/i386/i686/hp-timing.h: Likewise.
18258 * sysdeps/mach/_strerror.c: Likewise.
18259 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18260 * sysdeps/mach/hurd/sethostid.c: Likewise.
18261 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18262 * sysdeps/mach/xpg-strerror.c: Likewise.
18263 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18264 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18265 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18266 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18267 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18268 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18269 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18270 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18271 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18272 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18273 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18274 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18275 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18276 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18277 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18278 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18279 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18280 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18281 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18282 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18283 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18285 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18287 * stdio-common/_itoa.h: Moved to ...
18288 * sysdeps/generic/_itoa.h: Here.
18290 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18292 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18293 instead of "_itoa.h" and "_itowa.h".
18294 * stdio-common/vfprintf.: Likewise.
18296 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18298 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18300 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18301 (__signbit): Likwise.
18302 (llrintf): Likwise.
18305 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18307 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18310 2012-03-20 Joseph Myers <joseph@codesourcery.com>
18312 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18313 OVERFLOW_EXCEPTION_OK.
18314 * math/libm-test.inc ("Philosophy"): Update comment about
18316 (OVERFLOW_EXCEPTION): Define.
18317 (OVERFLOW_EXCEPTION_OK): Likewise.
18318 (INVALID_EXCEPTION_OK): Renumber.
18319 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18320 (IGNORE_ZERO_INF_SIGN): Likewise.
18321 (test_exceptions): Handle FE_OVERFLOW.
18322 (exp10_test): Expect overflow exceptions.
18323 (exp2_test): Likewise.
18324 (expm1_test): Likewise.
18325 (nextafter_test): Likewise.
18326 (pow_test): Likewise.
18327 (scalbn_test): Likewise.
18328 (scalbln_test): Likewise.
18330 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18332 * sysdeps/x86_64/bits/atomic.h
18333 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18335 (atomic_exchange_acq): Likewise.
18336 (__arch_exchange_and_add_body): Likewise.
18337 (__arch_add_body): Likewise.
18338 (atomic_add_negative): Likewise.
18339 (atomic_add_zero): Likewise.
18341 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18343 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18344 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18346 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18348 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18349 Check __x86_64__ instead of __WORDSIZE.
18351 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18353 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18355 2012-03-19 David S. Miller <davem@davemloft.net>
18357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18359 * sysdeps/sparc/fpu/fenv_private.h: New file.
18360 * sysdeps/sparc/fpu/math_private.h: Use it.
18361 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18363 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18364 (libc_feholdexcept_setroundl): Remove.
18365 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18367 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18368 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18370 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18372 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18373 int64_t instead of long int.
18374 (INSERT_WORDS64): Likwise.
18376 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18378 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18379 _Unwind_GetCFA return to _Unwind_Ptr first.
18381 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18384 * math/s_clog.c: Include <float.h>.
18385 (__clog): Scale large or subnormal inputs.
18386 * math/s_clogf.c: Likewise.
18387 * math/s_clogl.c: Likewise.
18388 * math/s_clog10.c: Include <float.h>.
18389 (M_LOG10_2): Define.
18390 (__clog10): Scale large or subnormal inputs.
18391 * math/s_clog10f.c: Likewise.
18392 * math/s_clog10l.c: Likewise.
18393 * math/libm-test.inc (clog_test): Add more tests.
18394 (clog10_test): Likewise.
18395 * sysdeps/i386/fpu/libm-test-ulps: Update.
18396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18399 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18401 * math/libm-test.inc (atan2_test): Add another test.
18403 * Makerules (common-objdir-compile): Remove.
18404 * sysdeps/unix/Makefile (config-generated): Do not add
18405 $(unix-generated) to variable.
18406 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18407 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18409 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18411 [generic bits/local_lim.h] (before-compile): Do not append to
18413 [generic bits/local_lim.h] (common-generated): Likewise.
18414 [generic sys/param.h] (before-compile): Do not append to variable.
18415 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18416 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18417 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18418 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18420 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18421 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18422 [generic sys/param.h] ($(addprefix
18423 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18424 [generic sys/param.h] (common-generated): Do not append to
18426 [generic sys/param.h] (sysdep_headers): Likewise.
18427 [generic bits/errno.h] (before-compile): Do not append to
18429 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18431 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18432 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18433 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18434 [generic bits/errno.h] (common-generated): Do not append to
18436 [generic bits/ioctls.h] (before-compile): Do not append to
18438 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18440 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18441 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18442 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18444 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18445 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18446 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18447 [generic bits/ioctls.h] (common-generated): Do not append to
18449 [generic sys/syscall.h] (syscall.h): Remove variable.
18450 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18452 [generic sys/syscall.h] (before-compile): Do not append to
18454 [generic sys/syscall.h] (common-generated): Likewise.
18455 * sysdeps/unix/errnos-tmpl.c: Remove file.
18456 * sysdeps/unix/errnos.awk: Likewise.
18457 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18458 * sysdeps/unix/ioctls.awk: Likewise.
18459 * sysdeps/unix/mk-local_lim.c: Likewise.
18460 * sysdeps/unix/snarf-ioctls: Likewise.
18462 2012-03-19 Richard Henderson <rth@twiddle.net>
18464 * sysdeps/i386/fpu/fenv_private.h: New file.
18465 * sysdeps/i386/fpu/math_private.h: Use it.
18466 (math_opt_barrier, math_force_eval): Remove.
18467 (libc_feholdexcept_setround_53bit): Remove.
18468 (libc_feupdateenv_53bit): Remove.
18469 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18470 (math_opt_barrier, math_force_eval): Remove.
18471 (libc_feholdexcept): Remove.
18472 (libc_feholdexcept_setround): Remove.
18473 (libc_fetestexcept, libc_fesetenv): Remove.
18474 (libc_feupdateenv_test): Remove.
18475 (libc_feupdateenv, libc_feholdsetround): Remove.
18476 (libc_feresetround): Remove.
18478 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18479 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18481 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18482 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18483 (libc_feupdateenv_testl): New.
18484 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18485 (libc_feupdateenv_testf): New.
18486 (libc_feupdateenv): Use libc_feupdateenv_test.
18487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18488 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18490 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18491 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18492 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18493 (libc_feresetround_noex): New.
18494 (libc_feresetround_noexf): New.
18495 (libc_feresetround_noexl): New.
18496 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18497 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18498 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18499 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18501 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18504 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18505 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18506 SET_RESTORE_ROUND_NOEX.
18507 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18508 SET_RESTORE_ROUND_NOEXF.
18509 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18510 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18511 (libc_feholdsetroundf): New.
18512 (libc_feresetround, libc_feresetroundf): New.
18514 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18515 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18516 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18518 * sysdeps/generic/math_private.h: Include <fenv.h>.
18519 (default_libc_feholdexcept): New.
18520 (default_libc_feholdexcept_setround): New.
18521 (default_libc_fesetenv, default_libc_feupdateenv): New.
18522 (libc_feholdexcept): Only define if undefined.
18523 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18524 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18525 (libc_feholdexcept_setroundl): Likewise.
18526 (libc_feholdexcept_setround_53bit): Likewise.
18527 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18528 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18529 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18530 (libc_feupdateenv_53bit): Likewise.
18531 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18532 (libc_feholdexcept): Convert from macro to inline function.
18533 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18534 (libc_fesetenv, libc_feupdateenv): Likewise.
18536 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18537 not previously defined.
18538 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18539 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18540 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18541 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18542 * sysdeps/ieee754/flt-32/math_private.h: New file.
18543 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18544 math_private.h below SET_FLOAT_WORD.
18545 (__isnan, __isinf_ns, __finite): Remove.
18546 (__isnanf, __isinf_nsf, __finitef): Remove.
18548 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18552 2012-03-17 David S. Miller <davem@davemloft.net>
18555 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18558 2012-03-16 David S. Miller <davem@davemloft.net>
18560 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18564 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18566 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18567 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18568 sysdep_routines when subdir is sysvipc.
18569 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18570 __getshmlba helper.
18572 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18574 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18576 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18579 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18581 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18582 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18583 (__lround): Renamed to ...
18584 (__llround): This. Replace long int with long long int.
18585 Define lround functions as aliases of llround functions.
18586 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18588 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18590 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18591 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18592 adresses to uintptr_t. Replace "long int" and "unsigned long
18593 int" with "greg_t" on va_arg.
18595 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18597 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18598 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18600 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18601 Move e_machine check before EI_CLASS check. Handle x32
18602 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18603 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18604 SKIP_EM_IA_64 and include
18605 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18607 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18608 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18609 (add_system_dir): New macro.
18611 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18612 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18614 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18625 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18627 * math/w_j0f.c (j0f): Likewise.
18629 * math/w_j0l.c (__j0l): Likewise.
18631 * math/w_j1.c (j1): Likewise.
18633 * math/w_j1f.c (j1f): Likewise.
18635 * math/w_j1l.c (__j1l): Likewise.
18637 * math/w_jn.c (jn): Likewise.
18639 * math/w_jnf.c (jnf): Likewise.
18641 * math/w_jnl.c (__jnl): Likewise.
18643 * math/libm-test.inc (j0_test): Add more tests.
18644 (j1_test): Likewise.
18645 (jn_test): Likewise. Add trailing semicolon to existing test.
18646 (y0_test): Likewise.
18647 (y1_test): Likewise.
18648 * sysdeps/i386/fpu/libm-test-ulps: Update.
18649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18653 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18654 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18655 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18656 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18657 (__tanl): Set errno for infinite argument.
18658 * sysdeps/i386/fpu/mptan.c: Remove.
18659 * sysdeps/i386/fpu/s_tan.S: Likewise.
18660 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18661 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18662 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18663 * math/libm-test.inc (tan_test): Add more tests and enable more
18664 tests for double and long double.
18665 * sysdeps/i386/fpu/libm-test-ulps: Update.
18666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18668 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18670 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18671 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18673 2012-03-16 Roland McGrath <roland@hack.frob.com>
18675 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18676 * configure.in: Use it for both main tree and add-ons.
18677 * configure: Regenerated.
18679 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18681 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18683 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18685 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18689 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18690 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18691 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18692 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18693 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18695 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18696 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18697 != 0 for prec == 2.
18698 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18699 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18700 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18701 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18702 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18703 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18704 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18705 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18706 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18707 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18708 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18709 * math/libm-test.inc (cos_test): Add more tests and enable more
18710 tests for long double.
18711 (sin_test): Likewise.
18712 (sincos_test): Likewise.
18713 * sysdeps/i386/fpu/libm-test-ulps: Update.
18714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18716 2012-03-16 David S. Miller <davem@davemloft.net>
18718 * sysdeps/sparc/fpu/math_private.h: New file.
18720 2012-03-15 David S. Miller <davem@davemloft.net>
18722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18732 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18736 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18737 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18739 * sysdeps/sparc/sparc-ifunc.h: New file.
18740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18766 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18767 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18785 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18787 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18791 2012-03-15 Andreas Jaeger <aj@suse.de>
18794 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18795 ieee754/flt-32 implementation for sin, cos and sincos.
18796 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18797 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18798 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18799 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18800 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18801 ieee754/flt-32 implementation for tan.
18803 * math/libm-test.inc (cos_test): Enable some large input tests for
18805 (sin_test): Likewise.
18806 (sincos_test): Likewise.
18807 (tan_test): Add tests for large input.
18809 * sysdeps/i386/fpu/libm-test-ulps: Update.
18811 2012-03-15 Andreas Jaeger <aj@suse.de>
18814 * math/libm-test.inc (cos_test): Add more test cases.
18815 (sin_test): Likewise.
18816 (sincos_test): Likewise.
18818 2012-03-15 Andreas Jaeger <aj@suse.de>
18821 * math/libm-test.inc (cos_test): Add a test case for large input
18823 (sin_test): Likewise.
18824 (sincos_test): Likewise.
18826 2012-03-15 Andreas Jaeger <aj@suse.de>,
18827 Joseph Myers <joseph@codesourcery.com>
18830 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18831 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18832 * sysdeps/i386/fpu/branred.c: Likewise.
18833 * sysdeps/i386/fpu/dosincos.c: Likewise.
18834 * sysdeps/i386/fpu/mpa.c: Likewise.
18835 * sysdeps/i386/fpu/s_cos.S: Likewise.
18836 * sysdeps/i386/fpu/s_sin.S: Likewise.
18837 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18838 * sysdeps/i386/fpu/sincos32.c: Likewise.
18840 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18842 (libc_feupdateenv_53bit): Define.
18843 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18845 (libc_feupdateenv_53bit): Define.
18847 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18848 53 bit (without extend i386 double precision).
18850 * math/libm-test.inc (sincos_test): Add tests for large input.
18854 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18856 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18860 2012-03-15 David S. Miller <davem@davemloft.net>
18862 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18863 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18864 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18865 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18890 fmin/fmax sysdep routines.
18891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18893 2012-03-14 David S. Miller <davem@davemloft.net>
18895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18899 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18901 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18967 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18972 * sysdeps/sparc/configure.in: New file.
18973 * sysdeps/sparc/configure: Generate.
18974 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18975 * configure: Regenerate.
18976 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18977 * config.make.in (have-as-vis3): New.
18978 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18979 available use -Av9d instead of -Av9a.
18980 * sysdeps/sparc/sparc64/Makefile: Likewise.
18981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18993 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18996 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18997 fzeros/fnegs to load 0x80000000 into a float register instead of
18999 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19001 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19005 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19006 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19007 ($(inst_includedir)/bits/syscall.h): Remove rule.
19008 ($(objpfx)bits/syscall.d): Include instead of
19009 $(objpfx)syscall-list.d.
19010 (generated): Change syscall-list.h and syscall-list.d to
19011 bits/syscall.h and bits/syscall.d.
19013 2012-03-14 Roland McGrath <roland@hack.frob.com>
19016 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19018 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19021 * math/s_csqrt.c: Include <float.h>.
19022 (__csqrt): Scale large or subnormal inputs.
19023 * math/s_csqrtf.c: Likewise.
19024 * math/s_csqrtl.c: Likewise.
19025 * math/libm-test.inc (csqrt_test): Add more tests.
19026 * sysdeps/i386/fpu/libm-test-ulps: Update.
19027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19030 * math/libm-test.inc (hypot_test): Add more tests.
19032 2012-03-13 David S. Miller <davem@davemloft.net>
19035 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19036 double-precision for the calculation instead of scaling.
19038 2012-03-13 Joseph Myers <joseph@codesourcery.com>
19040 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19041 manipulate bits before adding and subtracting TWO52[sx].
19042 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19043 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19045 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19047 2012-03-13 David S. Miller <davem@davemloft.net>
19049 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19050 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19052 rtld-global-offsets.h
19053 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19055 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19058 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19060 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19061 'err' in the ifdef scope in which it is actually used.
19063 * nss/nss_db/db-init.c: Include string.h
19065 2012-03-12 David S. Miller <davem@davemloft.net>
19067 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19068 masking out of the most significant byte of random value used.
19069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19070 Fix coding style in previous change.
19072 * sysdeps/unix/sysv/linux/kernel-features.h
19073 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19074 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19076 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19079 2012-03-11 David S. Miller <davem@davemloft.net>
19081 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19082 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19083 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19084 for 'resultvar' otherwise things get truncated on 64-bit.
19086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19087 Fix masking out of the most significant byte of random value used.
19089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19091 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19095 2012-03-09 David S. Miller <davem@davemloft.net>
19097 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19098 variables with appropriate CPP guards.
19099 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19100 frame pointer, not the stack pointer. Correct layout comments. Fix test
19101 on resulting framesize and the management of the outregs buffer for pltexit.
19102 Preserve floating point return values across _dl_call_pltexit call.
19103 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19104 framesize and the management of the outregs buffer for pltexit.
19105 Preserve floating point return values across _dl_call_pltexit
19107 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19108 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19109 (print_exit): Fix format string for return register value.
19111 2012-03-10 Joseph Myers <joseph@codesourcery.com>
19113 * sunrpc/Makefile (others): Add rpcgen.
19114 ($(objpfx)rpcgen): Remove special build rule and dependency on
19116 * sunrpc/rpcgen.c: New file.
19118 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19121 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19122 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19123 * sysdeps/i386/crti.S: Likewise.
19124 * sysdeps/i386/crtn.S: Likewise.
19125 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19126 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19127 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19128 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19129 * sysdeps/sh/crti.S: Likewise.
19130 * sysdeps/sh/crtn.S: Likewise.
19131 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19134 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19136 * locale/programs/locfile-kw.gperf: Likewise.
19137 * locale/programs/charmap-kw.h: Regenerated.
19138 * locale/programs/locfile-kw.h: Likewise.
19141 * intl/plural.y: Replace FSF snail mail address with URL.
19142 * intl/plural.c: Regenerated.
19144 2012-03-09 Richard Henderson <rth@twiddle.net>
19146 * include/math_private.h: Remove file.
19147 * math/math_private.h: Move file ...
19148 * sysdeps/generic/math_private.h: ... here.
19150 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19151 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19152 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19154 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19155 and <math_private.h>.
19156 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19157 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19158 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19159 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19160 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19161 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19162 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19164 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19165 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19166 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19167 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19168 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19170 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19171 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19172 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19173 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19174 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19175 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19177 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19178 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19180 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19181 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19202 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19204 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19208 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19209 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19210 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19211 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19212 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19213 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19214 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19215 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19216 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19217 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19220 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19223 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19231 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19235 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19236 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19238 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19239 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19240 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19243 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19244 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19245 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19246 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19247 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19248 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19249 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19250 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19251 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19252 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19253 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19254 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19255 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19256 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19257 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19258 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19259 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19260 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19261 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19262 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19263 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19264 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19266 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19267 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19268 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19269 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19270 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19271 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19272 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19273 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19274 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19275 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19276 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19277 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19278 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19279 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19280 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19281 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19282 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19283 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19284 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19285 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19286 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19287 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19288 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19289 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19290 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19291 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19292 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19293 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19294 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19295 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19296 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19297 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19298 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19299 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19300 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19301 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19302 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19303 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19304 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19305 * sysdeps/ieee754/k_standard.c: Likewise.
19306 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19307 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19308 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19309 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19310 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19311 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19312 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19313 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19314 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19315 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19316 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19317 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19318 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19319 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19320 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19321 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19322 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19323 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19324 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19325 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19326 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19327 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19328 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19329 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19330 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19331 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19332 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19333 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19334 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19335 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19336 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19337 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19338 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19339 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19343 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19345 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19346 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19347 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19348 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19349 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19350 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19351 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19352 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19353 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19354 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19356 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19357 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19358 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19359 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19360 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19361 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19362 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19363 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19364 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19365 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19366 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19367 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19368 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19370 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19371 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19372 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19373 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19374 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19375 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19376 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19378 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19379 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19380 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19382 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19383 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19384 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19385 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19386 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19387 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19388 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19389 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19390 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19391 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19392 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19393 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19394 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19396 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19397 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19398 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19399 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19400 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19401 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19402 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19403 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19404 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19405 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19407 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19408 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19409 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19410 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19411 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19412 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19413 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19414 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19415 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19416 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19417 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19418 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19419 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19420 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19421 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19422 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19423 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19424 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19425 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19426 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19427 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19428 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19429 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19430 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19431 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19432 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19433 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19434 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19435 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19436 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19437 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19438 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19439 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19440 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19441 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19442 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19443 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19444 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19445 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19446 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19447 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19448 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19449 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19450 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19451 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19452 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19453 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19454 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19455 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19456 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19457 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19458 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19459 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19460 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19461 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19462 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19466 * sysdeps/ieee754/s_lib_version.c: Likewise.
19467 * sysdeps/ieee754/s_matherr.c: Likewise.
19468 * sysdeps/ieee754/s_signgam.c: Likewise.
19469 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19470 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19471 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19472 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19473 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19474 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19475 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19476 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19477 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19478 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19479 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19480 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19481 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19482 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19483 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19484 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19485 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19486 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19487 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19491 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19493 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19494 * sunrpc/rpc_main.c: Likewise.
19495 * sunrpc/rpc_svcout.c: Likewise.
19497 2012-03-09 David S. Miller <davem@davemloft.net>
19499 * include/math_private.h: New file.
19501 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19503 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19504 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19505 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19506 from <bits/socket_type.h>.
19507 (enum __socket_type): Don't define here.
19508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19510 bits/socket_type.h.
19513 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19514 checking __USE_GNU.
19516 * Makerules ($(inst_includedir)/%.h): New rule.
19517 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19518 (install-others): Remove variable setting.
19519 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19521 2012-03-08 Richard Henderson <rth@twiddle.net>
19523 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19524 from macro to inline function; merge with the
19525 !__LIBC_INTERNAL_MATH_INLINES version.
19526 (__ieee754_sqrtf): Likewise.
19528 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19529 to inline function.
19530 (__rintf, __floor, __floorf): Likewise.
19532 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19533 macro to inline function.
19534 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19536 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19537 not <math/math_private.h>.
19539 2012-03-08 David S. Miller <davem@davemloft.net>
19541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19543 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19545 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19547 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19549 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19550 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19552 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19554 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19555 be defined individually, they must be defined as a block. Define
19556 S for printing a string instead of hidint the different by using a
19557 macro for adding the 'l'.
19558 * stdio-common/tst-fphex-wide.c: Adjust.
19560 2012-03-07 Marek Polacek <polacek@redhat.com>
19562 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19564 2012-03-08 Marek Polacek <polacek@redhat.com>
19567 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19568 * stdio-common/tst-fphex.c: Define a few macros to make the
19569 test reusable. Use them.
19570 * stdio-common/tst-fphex-wide.c: New file.
19572 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19575 * manual/macros.texi (gnusystems): New macro.
19576 (nongnusystems): Likewise.
19577 (gnulinuxhurdsystems): Likewise.
19578 (gnuhurdsystems): Likewise..
19579 (gnulinuxsystems): Likewise.
19580 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19581 variants of the GNU system, not "GNU system".
19582 * manual/conf.texi: Likewise.
19583 * manual/errno.texi: Likewise. Update example of errno macro
19585 * manual/filesys.texi: Likewise.
19586 (getumask): Document as specific to GNU/Hurd.
19587 * manual/install.texi: Likewise. Reword some references to
19589 * manual/intro.texi: Likewise.
19590 * manual/io.texi: Likewise.
19591 (File Name Portability): Detail which constraints are inapplicable
19592 to all GNU systems and which are only inapplicable to GNU/Hurd.
19593 * manual/job.texi: Likewise.
19594 * manual/llio.texi: Likewise.
19595 (O_NOCTTY): Document as present on GNU/Linux.
19596 * manual/maint.texi: Likewise.
19597 * manual/memory.texi: Likewise.
19598 * manual/pattern.texi: Likewise.
19599 * manual/pipe.texi: Likewise.
19600 * manual/process.texi: Likewise.
19601 * manual/resource.texi: Likewise.
19602 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19604 * manual/setjmp.texi: Likewise.
19605 * manual/signal.texi: Likewise.
19606 * manual/startup.texi: Likewise.
19607 * manual/stdio.texi: Likewise.
19608 * manual/terminal.texi: Likewise.
19609 (ONLCR): Document as POSIX.
19610 (OXTABS): Document availability on GNU/Linux as XTABS.
19611 (ONOEOT): Document availability separately from other bits.
19612 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19613 * manual/time.texi: Likewise.
19614 * manual/users.texi: Likewise.
19615 * INSTALL: Regenerated.
19616 * sysdeps/gnu/errlist.c: Regenerated.
19618 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19619 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19620 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19622 * configure: Regenerated.
19624 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19626 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19627 default includes instead of AC_HEADER_CHECK.
19628 * sysdeps/i386/configure: Regenerated.
19631 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19632 * math/s_cacoshf.c (__cacoshf): Likewise.
19633 * math/s_cacoshl.c (__cacoshl): Likewise.
19634 * math/s_casinh.c (__casinh): Set signs of result from argument.
19635 * math/s_casinhf.c (__casinhf): Likewise.
19636 * math/s_casinhl.c (__casinhl): Likewise.
19637 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19638 (casinh_test): Add more tests.
19639 * sysdeps/i386/fpu/libm-test-ulps: Update.
19640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19642 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19644 * po/zh_TW.po: Update from translation team.
19646 * login/Makefile (distribute): Remove variable.
19647 * catgets/Makefile: Likewise.
19648 * mach/Makefile: Likewise.
19649 * malloc/Makefile: Likewise.
19650 * misc/Makefile: Likewise.
19651 * iconv/Makefile: Likewise.
19652 * nscd/Makefile: Likewise.
19653 * hurd/Makefile: Likewise.
19654 * manual/Makefile: Likewise.
19655 * locale/Makefile: Likewise.
19656 * intl/Makefile: Likewise.
19657 * conform/Makefile: Likewise.
19658 * nss/Makefile: Likewise.
19659 * time/Makefile: Likewise.
19660 * soft-fp/Makefile: Likewise.
19661 * dirent/Makefile: Likewise.
19662 * gmon/Makefile: Likewise.
19663 * po/Makefile: Likewise.
19664 * rt/Makefile: Likewise.
19665 * socket/Makefile: Likewise.
19666 * math/Makefile: Likewise.
19667 * signal/Makefile: Likewise.
19668 * debug/Makefile: Likewise.
19669 * elf/Makefile: Likewise.
19670 * timezone/Makefile: Likewise.
19671 * stdlib/Makefile: Likewise.
19672 * iconvdata/Makefile: Likewise.
19673 * sunrpc/Makefile: Likewise.
19674 * io/Makefile: Likewise.
19675 * argp/Makefile: Likewise.
19676 * inet/Makefile: Likewise.
19677 * hesiod/Makefile: Likewise.
19678 * grp/Makefile: Likewise.
19679 * csu/Makefile: Likewise.
19680 * wctype/Makefile: Likewise.
19681 * crypt/Makefile: Likewise.
19682 * libio/Makefile: Likewise.
19683 * string/Makefile: Likewise.
19684 * nis/Makefile: Likewise.
19685 * resolv/Makefile: Likewise.
19686 * stdio-common/Makefile: Likewise.
19687 * wcsmbs/Makefile: Likewise.
19688 * dlfcn/Makefile: Likewise.
19689 * posix/Makefile: Likewise.
19692 * timezone/Makefile: Don't install timezone files, just the programs
19695 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19697 * nss/databases.def: Add missing gshadow entry.
19699 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19701 2012-03-06 Marek Polacek <polacek@redhat.com>
19704 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19705 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19706 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19707 * stdio-common/tst-long-dbl-fphex.c: New file.
19709 2012-03-06 David S. Miller <davem@davemloft.net>
19711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19712 (set_obp_int): New function.
19713 (get_obp_int): New function.
19714 (__get_clockfreq_via_dev_openprom): Likewise.
19715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19716 Avoid unused variable warnings on 'val' and use builtin_expect.
19717 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19719 (INLINE_CLONE_SYSCALL): Likewise.
19721 2012-03-05 David S. Miller <davem@davemloft.net>
19723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19725 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19729 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19730 only for |x| >= 40.
19731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19733 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19736 Replace gettimeofday with __vdso_gettimeofday.
19738 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19739 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19740 __vdso_clock_gettime and __vdso_getcpu.
19742 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19743 time with __vdso_time.
19745 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19747 * manual/lang.texi (size_t): Note types to which size_t may be
19748 equivalent with the GNU C Library, but do not describe when
19749 differences between them are significant.
19751 2012-03-05 Andreas Jaeger <aj@suse.de>
19753 * sysdeps/i386/fpu/libm-test-ulps: Update.
19755 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19758 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19759 (__ieee754_pow): Save and restore rounding mode and use
19760 round-to-nearest for main computations.
19761 * math/libm-test.inc (pow_test_tonearest): New function.
19762 (pow_test_towardzero): Likewise.
19763 (pow_test_downward): Likewise.
19764 (pow_test_upward): Likewise.
19765 (main): Call the new functions.
19766 * sysdeps/i386/fpu/libm-test-ulps: Update.
19767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19770 * math/libm-test.inc (cosh_test_tonearest): New function.
19771 (cosh_test_towardzero): Likewise.
19772 (cosh_test_downward): Likewise.
19773 (cosh_test_upward): Likewise.
19774 (sinh_test_tonearest): Likewise.
19775 (sinh_test_towardzero): Likewise.
19776 (sinh_test_downward): Likewise.
19777 (sinh_test_upward): Likewise.
19778 (main): Call the new functions.
19779 * sysdeps/i386/fpu/libm-test-ulps: Update.
19780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19782 2012-03-05 Tom de Vries <tom@codesourcery.com>
19784 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19785 default stack guard is set in last bytes.
19786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19788 2012-03-05 Kees Cook <keescook@chromium.org>
19790 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19793 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19794 possibly allocate from heap instead of stack.
19795 * stdio-common/bug-vfprintf-nargs.c: New file.
19796 * stdio-common/Makefile (tests): Add nargs overflow test.
19798 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19802 2012-03-03 Marek Polacek <polacek@redhat.com>
19804 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19805 * math/math_private.h: Likewise.
19806 * stdlib/tst-strtod.c: Likewise.
19807 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19808 * sysdeps/x86_64/bits/atomic.h: Likewise.
19810 2012-03-02 David S. Miller <davem@davemloft.net>
19812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19816 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19817 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19818 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19819 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19821 2012-03-02 Roland McGrath <roland@hack.frob.com>
19824 * manual/examples/README: New file, says the example source files
19825 can be used under GPL>=2.
19826 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19827 line containing just "*/".
19828 * manual/examples/add.c: Add copyright header (GPL>=2).
19829 * manual/examples/argp-ex1.c: Likewise.
19830 * manual/examples/argp-ex2.c: Likewise.
19831 * manual/examples/argp-ex3.c: Likewise.
19832 * manual/examples/argp-ex4.c: Likewise.
19833 * manual/examples/atexit.c: Likewise.
19834 * manual/examples/db.c: Likewise.
19835 * manual/examples/dir.c: Likewise.
19836 * manual/examples/dir2.c: Likewise.
19837 * manual/examples/execinfo.c: Likewise.
19838 * manual/examples/filecli.c: Likewise.
19839 * manual/examples/filesrv.c: Likewise.
19840 * manual/examples/fmtmsgexpl.c: Likewise.
19841 * manual/examples/genpass.c: Likewise.
19842 * manual/examples/inetcli.c: Likewise.
19843 * manual/examples/inetsrv.c: Likewise.
19844 * manual/examples/isockad.c: Likewise.
19845 * manual/examples/longopt.c: Likewise.
19846 * manual/examples/memopen.c: Likewise.
19847 * manual/examples/memstrm.c: Likewise.
19848 * manual/examples/mkfsock.c: Likewise.
19849 * manual/examples/mkisock.c: Likewise.
19850 * manual/examples/mygetpass.c: Likewise.
19851 * manual/examples/pipe.c: Likewise.
19852 * manual/examples/popen.c: Likewise.
19853 * manual/examples/rprintf.c: Likewise.
19854 * manual/examples/search.c: Likewise.
19855 * manual/examples/select.c: Likewise.
19856 * manual/examples/setjmp.c: Likewise.
19857 * manual/examples/sigh1.c: Likewise.
19858 * manual/examples/sigusr.c: Likewise.
19859 * manual/examples/stpcpy.c: Likewise.
19860 * manual/examples/strdupa.c: Likewise.
19861 * manual/examples/strftim.c: Likewise.
19862 * manual/examples/strncat.c: Likewise.
19863 * manual/examples/subopt.c: Likewise.
19864 * manual/examples/swapcontext.c: Likewise.
19865 * manual/examples/termios.c: Likewise.
19866 * manual/examples/testopt.c: Likewise.
19867 * manual/examples/testpass.c: Likewise.
19868 * manual/examples/timeval_subtract.c: Likewise.
19871 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19873 * manual/timeval_subtract.c.texi: ... here, new file.
19875 2012-03-02 David S. Miller <davem@davemloft.net>
19877 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19879 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19882 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19883 (__sin): Save and restore rounding mode and use round-to-nearest
19884 for all computations.
19885 (__cos): Save and restore rounding mode and use round-to-nearest
19886 for all computations.
19887 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19889 (tan): Save and restore rounding mode and use round-to-nearest for
19891 * math/libm-test.inc (cos_test_tonearest): New function.
19892 (cos_test_towardzero): Likewise.
19893 (cos_test_downward): Likewise.
19894 (cos_test_upward): Likewise.
19895 (sin_test_tonearest): Likewise.
19896 (sin_test_towardzero): Likewise.
19897 (sin_test_downward): Likewise.
19898 (sin_test_upward): Likewise.
19899 (tan_test_tonearest): Likewise.
19900 (tan_test_towardzero): Likewise.
19901 (tan_test_downward): Likewise.
19902 (tan_test_upward): Likewise.
19903 (main): Call the new functions.
19904 * sysdeps/i386/fpu/libm-test-ulps: Update.
19905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19908 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19909 small n, then large n, before computing and testing k+n.
19910 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19915 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19916 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19917 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19918 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19919 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19920 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19921 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19923 * math/libm-test.inc (scalbn_test): Add more tests.
19924 (scalbln_test): Likewise.
19926 * manual/filesys.texi (mode_t): Describe constraints on size and
19927 signedness, not exact equivalence to a particular type.
19929 (ino64_t): Likewise.
19931 (nlink_t): Likewise.
19932 (blkcnt_t): Likewise.
19933 (blkcnt64_t): Likewise.
19934 * manual/llio.texi (off_t): Likewise.
19937 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19938 (__ieee754_exp): Save and restore rounding mode and use
19939 round-to-nearest for all computations.
19940 * math/libm-test.inc (exp_test_tonearest): New function.
19941 (exp_test_towardzero): Likewise.
19942 (exp_test_downward): Likewise.
19943 (exp_test_upward): Likewise.
19944 (main): Call the new functions.
19945 * sysdeps/i386/fpu/libm-test-ulps: Update.
19946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19948 2012-03-01 Chris Demetriou <cgd@google.com>
19950 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19951 have predictable order.
19953 2012-03-01 David S. Miller <davem@davemloft.net>
19955 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19957 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19958 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19959 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19960 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19962 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19963 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19964 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19966 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19967 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19968 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19969 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19970 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19974 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19975 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19976 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19978 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19979 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19980 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19981 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19982 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19983 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19984 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19985 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19986 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19987 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19988 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19989 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19991 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19992 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19994 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19995 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19996 * sysdeps/sparc/elf/configure: Regenerated.
19998 2012-03-01 Joseph Myers <joseph@codesourcery.com>
20000 * configure.in (AS, LD): Require binutils 2.20 or later.
20001 * configure: Regenerated.
20002 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20003 as required minimum version.
20004 * INSTALL: Regenerated.
20008 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20009 before squaring exponent.
20010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20011 bottom long double and 27 bits of top long double before squaring
20013 * math/libm-test.inc (erfc_test): Add more tests.
20014 * sysdeps/i386/fpu/libm-test-ulps: Update.
20015 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20018 2012-03-01 Kai Tietz <ktietz@redhat.com>
20020 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20021 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20022 containing bit-fields.
20023 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20024 * soft-fp/single.h (_FP_UNION_S): Likewise.
20025 * soft-fp/double.h (_FP_UNION_D): Likewise.
20027 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20030 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20031 not include ../strcmp.S.
20032 [USE_AS_STRNCASECMP_L]: Likewise.
20033 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20034 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20035 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20036 (__strncasecmp_l_ia32): Define as alias to
20037 __strncasecmp_l_nonascii.
20040 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20041 * sysdeps/i386/fpu/libm-test-ulps: Update.
20042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20044 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20047 2012-02-29 Jeff Law <law@redhat.com>
20049 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20050 out of bounds read.
20052 2012-02-29 Marek Polacek <polacek@redhat.com>
20055 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20056 * elf/Makefile: Add rules to run tst-unused-dep.out.
20058 2012-02-28 David S. Miller <davem@davemloft.net>
20060 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20061 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20062 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20063 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20064 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20065 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20067 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20069 * math/libm-test.inc (llround_test): Move one test from
20070 lround_test. Use TEST_f_L in moved test.
20071 (lround_test): Move misplaced test to llround_test. Add testcase
20074 2012-02-28 Ulrich Drepper <drepper@gmail.com>
20076 * sysdeps/x86_64/fpu/e_expf.S: New file.
20077 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20079 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20082 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20083 of remain_len that may cause incomplete multi-byte character and
20085 * posix/bug-regex33.c: New file.
20086 * posix/Makefile (tests): Add bug-regex33.
20088 2012-02-28 Joseph Myers <joseph@codesourcery.com>
20090 * manual/macros.texi: New file.
20091 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20092 * manual/libc.texinfo: Include macros.texi.
20093 * manual/creatute.texi: Likewise.
20094 * manual/install.texi: Likewise.
20095 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20096 @glibcadj{} in references to the GNU C Library.
20097 * manual/charset.texi: Likewise.
20098 * manual/conf.texi: Likewise.
20099 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20100 when not using those macros.
20101 * manual/creature.texi: Likewise.
20102 * manual/crypt.texi: Likewise.
20103 * manual/errno.texi: Likewise.
20104 * manual/filesys.texi: Likewise.
20105 * manual/header.texi: Likewise.
20106 * manual/install.texi: Likewise.
20107 * manual/intro.texi: Likewise.
20108 * manual/io.texi: Likewise.
20109 * manual/job.texi: Likewise.
20110 * manual/lang.texi: Likewise.
20111 * manual/libc.texiinfo: Likewise.
20112 * manual/llio.texi: Likewise.
20113 * manual/locale.texi: Likewise.
20114 * manual/maint.texi: Likewise.
20115 * manual/math.texi: Likewise.
20116 * manual/memory.texi: Likewise.
20117 * manual/message.texi: Likewise.
20118 * manual/nss.texi: Likewise.
20119 * manual/pattern.texi: Likewise.
20120 * manual/process.texi: Likewise.
20121 * manual/resource.texi: Likewise.
20122 * manual/search.texi: Likewise.
20123 * manual/setjmp.texi: Likewise.
20124 * manual/signal.texi: Likewise.
20125 * manual/socket.texi: Likewise.
20126 * manual/startup.texi: Likewise.
20127 * manual/stdio.texi: Likewise.
20128 * manual/string.texi: Likewise.
20129 * manual/sysinfo.texi: Likewise.
20130 * manual/syslog.texi: Likewise.
20131 * manual/terminal.texi: Likewise.
20132 * manual/time.texi: Likewise.
20133 * manual/users.texi: Likewise.
20134 * INSTALL: Regenerated.
20135 * NOTES: Regenerated.
20136 * sysdeps/gnu/errlist.c: Regenerated.
20138 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20140 * include/dirent.h: Include <dirstream.h> before
20143 2012-02-28 David S. Miller <davem@davemloft.net>
20145 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20146 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20147 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20148 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20150 2012-02-27 David S. Miller <davem@davemloft.net>
20152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20154 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20155 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20158 frame pointer instead of stack pointer relative arg slot.
20159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20160 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20161 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20163 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20166 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20168 2012-02-27 David S. Miller <davem@davemloft.net>
20170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20174 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20175 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20176 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20177 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20179 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20181 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20182 later. Allow versions 5-9.
20183 * configure: Regenerated.
20184 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20185 required minimum version and 4.6 as recommended version. Do not
20186 mention bugs in GCC 2.7 and 2.8.
20187 * INSTALL: Regenerated.
20189 2012-02-27 David S. Miller <davem@davemloft.net>
20191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20195 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20196 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20197 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20198 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20201 manipulate bits before adding and subtracting TWO112[sx].
20202 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20204 2012-02-27 Roland McGrath <roland@hack.frob.com>
20207 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20208 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20209 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20210 being in POSIX, because they are in 1003.1-2008.
20212 * rt/tst-aio.c: Include <fcntl.h>.
20213 * rt/tst-aio7.c: Likewise.
20214 * rt/tst-aio64.c: Likewise.
20216 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20218 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20220 * manual/install.texi (--with-headers): Describe headers as
20221 interface headers, not private headers.
20222 (Specific advice for GNU/Linux systems): Describe use of headers
20223 from "make headers_install", not private headers from older
20225 * INSTALL: Regenerated.
20226 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20228 * sysdeps/unix/sysv/linux/configure: Regenerated.
20230 * manual/llio.texi (fclean): Remove documentation.
20232 * manual/Makefile (libc-texi-generated): New variable. Include
20234 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20235 $(libc-texi-generated), not duplicated list of files.
20236 (version.texi, stamp-version): New rules.
20237 (realclean): Remove $(libc-texi-generated), not individual files
20238 from that list. Do not remove dir-add.texinfo.
20239 * manual/libc.texinfo: Comment out uses of edition numbers and
20240 references to printed manual. Remove last-updated dates.
20241 (EDITION): Comment out.
20243 (VERSION, UPDATED): Remove.
20244 (version.texi): Include.
20246 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20248 * sysdeps/posix/spawni.c: Include <signal.h>.
20249 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20250 * sysdeps/pthread/aio_fsync.c: Likewise.
20252 2012-02-26 Ulrich Drepper <drepper@gmail.com>
20254 * conform/Makefile (tests): Run only when not cross-compiling and
20255 when fast-check is not defined.
20257 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20258 * conform/data/limits.h-data: Fixes for POSIX2008.
20259 * conform/run-conformtest.sh: Run all tests.
20260 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20262 * include/bits/dlfcn.h: Likewise.
20263 * include/langinfo.h: Likewise.
20264 * include/monetary.h: Likewise.
20265 * include/sys/poll.h: Likewise.
20267 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20269 * posix/spawn.h: Define __need_sigset_t.
20270 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20271 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20272 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20273 to get sigevent_t only.
20274 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20275 only for __USE_GNU.
20276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20277 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20278 process_vm_writev only for __USE_GNU.
20279 * termios/termios.h: Declare tcgetsid also for POSIX2008.
20281 * conform/Makefile: For now ignore errors from run-conformtest.
20282 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20283 POSIX to avoid namespace pollution. Don't prepend headers.
20284 * conform/data/aio.h-data: Fixes for POSIX testing.
20285 * conform/data/fcntl.h-data: Likewise.
20286 * conform/data/glob.h-data: Likewise.
20287 * conform/data/grp.h-data: Likewise.
20288 * conform/data/pthread.h-data: Likewise.
20289 * conform/data/pwd.h-data: Likewise.
20290 * conform/data/signal.h-data: Likewise.
20291 * conform/data/spawn.h-data: Likewise.
20292 * conform/data/stdio.h-data: Likewise.
20293 * conform/data/stdlib.h-data: Likewise.
20294 * conform/data/stropts.h-data: Likewise.
20295 * conform/data/sys/mman.h-data: Likewise.
20296 * conform/data/sys/stat.h-data: Likewise.
20297 * conform/data/sys/types.h-data: Likewise.
20298 * conform/data/sys/wait.h-data: Likewise.
20299 * conform/data/time.h-data: Likewise.
20300 * conform/data/unistd.h-data: Likewise.
20301 * conform/data/utime.h-data: Likewise.
20303 * io/sys/stat.h: fchmod was always in POSIX.
20304 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20305 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20306 * rt/aio.h: Define __need_timespec before including <time.h>.
20307 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20308 struct. Add forward declaration of pthread_attr_t and use it in
20310 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20311 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20312 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20313 always remove CLK_TCK definition.
20315 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20317 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20319 2012-02-25 Ulrich Drepper <drepper@gmail.com>
20321 * conform/run-conformtest.sh: New file.
20322 * conform/Makefile: Run run-conformtest for tests.
20323 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20326 * conform/data/uchar.h-data: New file.
20327 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20328 * conform/data/arpa/inet.h-data: Likewise.
20329 * conform/data/assert.h-data: Likewise.
20330 * conform/data/complex.h-data: Likewise.
20331 * conform/data/cpio.h-data: Likewise.
20332 * conform/data/ctype.h-data: Likewise.
20333 * conform/data/dirent.h-data: Likewise.
20334 * conform/data/dlfcn.h-data: Likewise.
20335 * conform/data/errno.h-data: Likewise.
20336 * conform/data/fcntl.h-data: Likewise.
20337 * conform/data/float.h-data: Likewise.
20338 * conform/data/fmtmsg.h-data: Likewise.
20339 * conform/data/fnmatch.h-data: Likewise.
20340 * conform/data/ftw.h-data: Likewise.
20341 * conform/data/glob.h-data: Likewise.
20342 * conform/data/grp.h-data: Likewise.
20343 * conform/data/iconv.h-data: Likewise.
20344 * conform/data/inttypes.h-data: Likewise.
20345 * conform/data/langinfo.h-data: Likewise.
20346 * conform/data/libgen.h-data: Likewise.
20347 * conform/data/limits.h-data: Likewise.
20348 * conform/data/locale.h-data: Likewise.
20349 * conform/data/math.h-data: Likewise.
20350 * conform/data/monetary.h-data: Likewise.
20351 * conform/data/mqueue.h-data: Likewise.
20352 * conform/data/ndbm.h-data: Likewise.
20353 * conform/data/net/if.h-data: Likewise.
20354 * conform/data/netdb.h-data: Likewise.
20355 * conform/data/netinet/in.h-data: Likewise.
20356 * conform/data/nl_types.h-data: Likewise.
20357 * conform/data/poll.h-data: Likewise.
20358 * conform/data/pthread.h-data: Likewise.
20359 * conform/data/pwd.h-data: Likewise.
20360 * conform/data/regex.h-data: Likewise.
20361 * conform/data/sched.h-data: Likewise.
20362 * conform/data/search.h-data: Likewise.
20363 * conform/data/semaphore.h-data: Likewise.
20364 * conform/data/setjmp.h-data: Likewise.
20365 * conform/data/signal.h-data: Likewise.
20366 * conform/data/spawn.h-data: Likewise.
20367 * conform/data/stdarg.h-data: Likewise.
20368 * conform/data/stdio.h-data: Likewise.
20369 * conform/data/stdlib.h-data: Likewise.
20370 * conform/data/string.h-data: Likewise.
20371 * conform/data/strings.h-data: Likewise.
20372 * conform/data/stropts.h-data: Likewise.
20373 * conform/data/sys/ipc.h-data: Likewise.
20374 * conform/data/sys/mman.h-data: Likewise.
20375 * conform/data/sys/msg.h-data: Likewise.
20376 * conform/data/sys/resource.h-data: Likewise.
20377 * conform/data/sys/select.h-data: Likewise.
20378 * conform/data/sys/sem.h-data: Likewise.
20379 * conform/data/sys/shm.h-data: Likewise.
20380 * conform/data/sys/socket.h-data: Likewise.
20381 * conform/data/sys/stat.h-data: Likewise.
20382 * conform/data/sys/statvfs.h-data: Likewise.
20383 * conform/data/sys/time.h-data: Likewise.
20384 * conform/data/sys/timeb.h-data: Likewise.
20385 * conform/data/sys/times.h-data: Likewise.
20386 * conform/data/sys/types.h-data: Likewise.
20387 * conform/data/sys/uio.h-data: Likewise.
20388 * conform/data/sys/un.h-data: Likewise.
20389 * conform/data/sys/utsname.h-data: Likewise.
20390 * conform/data/sys/wait.h-data: Likewise.
20391 * conform/data/syslog.h-data: Likewise.
20392 * conform/data/tar.h-data: Likewise.
20393 * conform/data/termios.h-data: Likewise.
20394 * conform/data/utime.h-data: Likewise.
20395 * conform/data/utmpx.h-data: Likewise.
20396 * conform/data/varargs.h-data: Likewise.
20397 * conform/data/wchar.h-data: Likewise.
20398 * conform/data/wctype.h-data: Likewise.
20399 * conform/data/wordexp.h-data: Likewise.
20401 * include/stropts.h: New file.
20402 * include/uchar.h: New file.
20403 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20404 * include/assert.h: Likewise.
20405 * include/ctype.h: Likewise.
20406 * include/dirent.h: Likewise.
20407 * include/dlfcn.h: Likewise.
20408 * include/fcntl.h: Likewise.
20409 * include/fnmatch.h: Likewise.
20410 * include/glob.h: Likewise.
20411 * include/grp.h: Likewise.
20412 * include/libio.h: Likewise.
20413 * include/locale.h: Likewise.
20414 * include/math.h: Likewise.
20415 * include/net/if.h: Likewise.
20416 * include/netdb.h: Likewise.
20417 * include/netinet/in.h: Likewise.
20418 * include/pthread.h: Likewise.
20419 * include/pwd.h: Likewise.
20420 * include/regex.h: Likewise.
20421 * include/sched.h: Likewise.
20422 * include/search.h: Likewise.
20423 * include/setjmp.h: Likewise.
20424 * include/signal.h: Likewise.
20425 * include/stdio.h: Likewise.
20426 * include/stdlib.h: Likewise.
20427 * include/string.h: Likewise.
20428 * include/sys/cdefs.h: Likewise.
20429 * include/sys/mman.h: Likewise.
20430 * include/sys/msg.h: Likewise.
20431 * include/sys/resource.h: Likewise.
20432 * include/sys/select.h: Likewise.
20433 * include/sys/socket.h: Likewise.
20434 * include/sys/stat.h: Likewise.
20435 * include/sys/statvfs.h: Likewise.
20436 * include/sys/time.h: Likewise.
20437 * include/sys/times.h: Likewise.
20438 * include/sys/uio.h: Likewise.
20439 * include/sys/utsname.h: Likewise.
20440 * include/sys/wait.h: Likewise.
20441 * include/termios.h: Likewise.
20442 * include/time.h: Likewise.
20443 * include/ulimit.h: Likewise.
20444 * include/unistd.h: Likewise.
20445 * include/utime.h: Likewise.
20446 * include/wchar.h: Likewise.
20447 * include/wctype.h: Likewise.
20448 * include/wordexp.h: Likewise.
20450 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20452 * time/time.h: TIME_UTC must be a macro.
20453 Make timespec_get available for ISO C11 only as well.
20455 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20457 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20458 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20460 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20462 * configure.in: Use -o not -a in test for unsupported multi-arch.
20464 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20466 * manual/texinfo.tex: Update to version 2012-01-19.16.
20468 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20470 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20472 2012-02-24 Roland McGrath <roland@hack.frob.com>
20475 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20476 * manual/fdl-1.3.texi: New file.
20477 * manual/fdl-1.1.texi: File removed.
20480 * manual/libc.texinfo (FDL_VERSION): New @set.
20481 Use it for mention of FDL in cover text.
20482 (Documentation License): Use it in @include file name.
20484 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20485 Roland McGrath <roland@hack.frob.com>
20488 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20489 not LONG_LONG_MAX and LONG_LONG_MIN.
20490 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20491 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20493 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20495 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20499 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20500 manipulate bits before adding and subtracting TWO23[sx].
20501 * math/libm-test.inc (nearbyint_test): Add more tests.
20503 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20506 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20507 bits before adding and subtracting TWO23[sx].
20508 * math/libm-test.inc (rint_test): Add more tests.
20509 (rint_test_tonearest): Likewise.
20510 (rint_test_towardzero): Likewise.
20511 (rint_test_downward): Likewise.
20512 (rint_test_upward: Likewise.
20514 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20517 * include/stdc-predef.h: New file. Extracted from features.h.
20518 * include/features.h: Include stdc-predef.h.
20519 * Makefile (headers): Add stdc-predef.h.
20520 * CONFORMANCE (Compiler limitations): Update.
20522 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20524 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20526 2012-02-21 David S. Miller <davem@davemloft.net>
20528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20529 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20531 2012-02-20 David S. Miller <davem@davemloft.net>
20533 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20534 using a normal save/restore sequence, rather than allocating a
20535 dummy stack frame just to store a frame pointer and restore.
20536 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20538 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20540 * manual/install.texi: Fix stray word in line-wrapped comment.
20542 2012-02-20 David S. Miller <davem@davemloft.net>
20544 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20545 both binutils and gcc support GOTDATA.
20547 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20548 "rd %pc" in the PIC register setup sequences.
20550 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20551 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20552 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20553 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20554 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20556 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20557 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20559 (SYSCALL_ERROR_HANDLER): Likewise.
20560 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20561 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20563 (SYSCALL_ERROR_HANDLER): Likewise.
20565 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20566 (HAVE_GCC_GOTDATA): New.
20567 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20568 relocation support in both binutils and gcc.
20569 * sysdeps/sparc/elf/configure: Regenerate.
20571 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20572 * sysdeps/sparc/sparc32/elf/configure: Delete.
20573 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20574 * sysdeps/sparc/sparc64/elf/configure: Delete.
20575 * sysdeps/sparc/elf/configure.in: New file.
20576 * sysdeps/sparc/elf/configure: Generate.
20578 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20579 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20580 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20581 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20582 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20584 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20586 * manual/install.texi: Do not mention specific glibc version
20588 * manual/libc.texinfo (VERSION, UPDATED): Update.
20589 (@copying): Use @copyright{} and range of years.
20591 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20594 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20595 [crti.S not in sysdirs] (generated): Do not append.
20596 [crti.S not in sysdirs] (omit-deps): Likewise.
20597 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20598 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20599 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20600 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20601 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20603 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20604 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20605 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20606 * csu/defs.awk: Remove file.
20607 * sysdeps/generic/initfini.c: Likewise.
20608 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20610 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20613 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20615 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20616 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20617 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20618 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20620 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20622 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20623 (__EPOLL_PACKED): Define to empty if not defined by
20625 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20629 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20631 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20632 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20633 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20634 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20636 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20640 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20642 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20644 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20645 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20649 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20651 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20652 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20654 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20656 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20657 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20659 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20661 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20664 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20666 * math/w_acos.c: Use non-signaling floating-point comparisons.
20667 * math/w_acosf.c: Likewise.
20668 * math/w_acosh.c: Likewise.
20669 * math/w_acoshf.c: Likewise.
20670 * math/w_acoshl.c: Likewise.
20671 * math/w_acosl.c: Likewise.
20672 * math/w_asin.c: Likewise.
20673 * math/w_asinf.c: Likewise.
20674 * math/w_asinl.c: Likewise.
20675 * math/w_atanh.c: Likewise.
20676 * math/w_atanhf.c: Likewise.
20677 * math/w_atanhl.c: Likewise.
20678 * math/w_exp2.c: Likewise.
20679 * math/w_exp2f.c: Likewise.
20680 * math/w_exp2l.c: Likewise.
20681 * math/w_j0.c: Likewise.
20682 * math/w_j0f.c: Likewise.
20683 * math/w_j0l.c: Likewise.
20684 * math/w_j1.c: Likewise.
20685 * math/w_j1f.c: Likewise.
20686 * math/w_j1l.c: Likewise.
20687 * math/w_jn.c: Likewise.
20688 * math/w_jnf.c: Likewise.
20689 * math/w_log.c: Likewise.
20690 * math/w_log10.c: Likewise.
20691 * math/w_log10f.c: Likewise.
20692 * math/w_log10l.c: Likewise.
20693 * math/w_log2.c: Likewise.
20694 * math/w_log2f.c: Likewise.
20695 * math/w_log2l.c: Likewise.
20696 * math/w_logf.c: Likewise.
20697 * math/w_logl.c: Likewise.
20698 * math/w_sqrt.c: Likewise.
20699 * math/w_sqrtf.c: Likewise.
20700 * math/w_sqrtl.c: Likewise.
20701 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20702 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20703 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20704 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20705 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20707 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20710 * manual/string.texi (strnlen): Use correct parameter name in
20711 equivalent expression.
20713 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20716 * manual/users.texi (seteuid): Consistently use neweuid for
20719 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20722 * manual/nss.texi (Services in the NSS configuration): Correct
20723 list of services in example configuration file.
20725 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20728 * manual/arith.texi: Remove statements about negative zero
20729 behaving identically to zero.
20731 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20734 * manual/install.texi: Do not document upgrading from libc5.
20736 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20739 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20741 2012-02-18 David S. Miller <davem@davemloft.net>
20743 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20744 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20745 %o7 across the call.
20746 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20749 SETUP_PIC_REG_LEAF.
20750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20751 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20752 * sysdeps/sparc/crtn.S: Likewise.
20754 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20756 * aout/Makefile: Remove.
20758 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20761 * manual/examples/argp-ex1.c (main): Format definition in GNU
20763 * manual/examples/argp-ex2.c (main): Likewise.
20764 * manual/examples/argp-ex3.c (main): Likewise.
20765 * manual/examples/argp-ex4.c (main): Likewise.
20766 * manual/examples/longopt.c (main): Use new-style prototype
20768 * manual/examples/strncat.c (main): Specify return type and use
20769 (void) for arguments.
20770 * manual/examples/subopt.c (main): Use char **argv argument.
20772 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20775 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20778 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20781 * manual/string.texi (strchr): Change when strchrnul is
20784 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20787 * manual/locale.texi (setlocale): Document LOCPATH.
20789 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20792 * manual/process.texi (execle): Move @dots{} before last argument.
20794 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20797 * manual/charset.texi (Generic Charset Conversion): Fix typo
20798 (LC_TYPE -> LC_CTYPE).
20800 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20803 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20804 (scalbnf): Likewise.
20805 (scalbnl): Likewise.
20806 (scalbln): Likewise.
20807 (scalblnf): Likewise.
20808 (scalblnl): Likewise.
20809 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20810 (vwarnx): Likewise.
20813 * manual/filesys.texi (telldir): Use braces around return type.
20814 * manual/llio.texi (mmap): Add space after comma.
20815 (mmap64): Likewise.
20816 * manual/math.texi (jn): Use @var{} on parameter names.
20822 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20824 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20826 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20827 (sched_get_priority_max): Likewise.
20828 * manual/signal.texi (sigvec): Add space after comma.
20829 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20831 (if_indextoname): Likewise.
20832 (if_freenameindex): Likewise.
20833 (sendto): Use ',' instead of '.' in prototype.
20834 * manual/startup.texi (syscall): Use @dots{} instead of literal
20836 * manual/stdio.texi (__fpending): Separate initial words of
20837 paragraph from @deftypefun line.
20838 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20840 (vsyslog): Use @var{} on parameter names.
20841 * manual/terminal.texi (stty): Use @var{} on parameter names.
20842 * manual/users.texi (getutmp): Use @var{} on parameter names.
20843 (getutmpx): Likewise.
20845 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20848 * manual/stdio.texi (fopen): Fix typos in description of
20851 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20854 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20855 get clock_id definition.
20857 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20860 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20861 (madvise): Cast every argument to void on its own.
20863 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20866 * manual/startup.texi (Exit Status): Fix typo.
20868 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20871 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20872 * manual/examples/argp-ex2.c: Likewise.
20873 * manual/examples/argp-ex3.c: Likewise.
20875 2012-02-16 Richard Henderson <rth@redhat.com>
20877 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20878 * sysdeps/s390/s390-32/initfini.c: Remove.
20879 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20880 * sysdeps/s390/s390-64/initfini.c: Remove.
20882 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20884 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20885 compiler output for sysdeps/generic/initfini.c.
20886 * sysdeps/sh/elf/initfini.c: Remove file.
20888 2012-02-16 David S. Miller <davem@davemloft.net>
20891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20893 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20894 * sysdeps/sparc/crti.S: New file.
20895 * sysdeps/sparc/crtn.S: New file.
20896 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20897 * sysdeps/sparc/sparc64/Makefile: Likewise.
20899 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20902 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20904 2012-02-15 Roland McGrath <roland@hack.frob.com>
20907 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20909 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20910 (write, read, close): Likewise.
20911 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20913 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20915 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20916 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20917 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20918 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20920 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20924 2012-02-14 Marek Polacek <polacek@redhat.com>
20926 * sysdeps/x86_64/crti.S: New file.
20927 * sysdeps/x86_64/crtn.S: New file.
20928 * sysdeps/x86_64/elf/initfini.c: Remove file.
20930 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20932 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20933 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20934 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20935 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20937 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20941 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20943 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20944 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20945 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20946 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20948 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20952 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20954 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20955 __feraiseexcept instead of feraiseexcept.
20957 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20958 nanosleep invocations.
20959 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20960 strings, and add error checking for a nanosleep invocations.
20962 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20964 Replace FSF snail mail address with URLs, as per GNU coding standards.
20965 Most of the snail mail addresses were wrong anyway, and omitting
20966 them makes the source code easier to maintain. Almost all of the
20967 changes are to license notices and to locale LC_IDENTIFICATION
20968 addresses, except for this one:
20969 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20970 not its snail mail address.
20972 2012-02-09 Richard Henderson <rth@twiddle.net>
20974 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20975 of kernel-features.h.
20977 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20979 2012-02-08 Marek Polacek <polacek@redhat.com>
20981 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20982 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20983 * sysdeps/gnu/_G_config.h: Likewise.
20984 * sysdeps/generic/_G_config.h: Likewise.
20986 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20988 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20992 * sysdeps/powerpc/powerpc32/crti.S: New file.
20993 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20994 * sysdeps/powerpc/powerpc64/crti.S: New file.
20995 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20997 * Makeconfig (have-initfini): Don't set.
20998 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20999 * configure.in (nopic_initfini): Don't substitute.
21000 * config.h.in (HAVE_INITFINI): Don't #undef.
21001 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21002 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21004 2012-02-08 Joseph Myers <joseph@codesourcery.com>
21006 Support crti.S and crtn.S provided directly by architectures.
21007 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21008 [crti.S in sysdirs] (omit-deps): Likewise.
21009 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21010 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21011 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21012 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21013 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21014 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21015 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21016 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21017 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21018 compiler output for sysdeps/generic/initfini.c.
21019 * sysdeps/i386/elf/Makefile: Remove file.
21020 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21022 2012-02-07 Marek Polacek <polacek@redhat.com>
21024 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21025 * sysdeps/gnu/_G_config.h: Likewise.
21026 * sysdeps/mach/hurd/_G_config.h: Likewise.
21028 2012-02-07 Marek Polacek <polacek@redhat.com>
21030 * math/Makefile (tests): Add tst-CMPLX2.
21031 * math/tst-CMPLX2.c: New file.
21033 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21035 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21037 * math/libm-test.inc (jn_test): Add missing L suffix.
21039 2012-02-06 Marek Polacek <polacek@redhat.com>
21041 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21042 * sysdeps/i386/fpu/e_powf.S: Likewise.
21043 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21044 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21045 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21046 * sysdeps/i386/fpu/e_pow.S: Likewise.
21047 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21048 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21049 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21050 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21051 * sysdeps/i386/fpu/e_log2.S: Likewise.
21052 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21053 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21054 * sysdeps/i386/fpu/e_powl.S: Likewise.
21055 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21056 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21057 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21058 * sysdeps/i386/fpu/e_logl.S: Likewise.
21059 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21060 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21061 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21062 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21063 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21064 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21065 * sysdeps/i386/fpu/e_log.S: Likewise.
21066 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21067 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21068 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21069 * sysdeps/i386/fpu/e_logf.S: Likewise.
21070 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21071 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21072 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21073 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21074 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21075 * sysdeps/i386/fpu/e_log10.S: Likewise.
21076 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21077 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21078 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21079 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21080 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21081 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21082 * sysdeps/i386/asm-syntax.h: Likewise.
21083 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21084 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21085 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21086 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21087 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21088 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21089 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21090 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21091 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21092 * sysdeps/powerpc/sysdep.h: Likewise.
21093 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21094 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21096 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21099 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21101 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21103 * sysdeps/i386/sysdep.h: Include <features.h>.
21104 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21107 2012-02-05 Joseph Myers <joseph@codesourcery.com>
21109 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21111 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21114 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21116 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21117 (SETUP_PIC_REG): Use GET_PC_THUNK.
21118 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21121 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21123 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21124 for non-PIC compilation.
21125 (SETUP_PIC_REG): Add .p2align directive.
21126 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21127 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21128 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21129 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21130 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21131 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21132 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21133 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21134 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21135 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21136 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21137 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21138 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21139 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21140 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21141 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21142 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21143 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21144 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21145 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21146 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21147 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21148 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21149 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21150 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21151 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21152 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21153 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21154 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21155 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21156 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21157 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21158 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21159 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21160 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21161 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21162 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21163 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21164 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21165 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21166 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21168 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21170 * math/tst-CMPLX.c: Include <stdio.h>.
21172 2012-01-31 Joseph Myers <joseph@codesourcery.com>
21174 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21176 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21177 * sysdeps/sparc/bits/mathdef.h: Likewise.
21179 2012-01-31 Marek Polacek <polacek@redhat.com>
21181 * libio/libio.h: Don't define _PARAMS.
21182 * locale/programs/config.h: Don't define PARAMS.
21183 * stdlib/strtol_l.c: Likewise.
21184 (__strtol_l): Remove PARAMS from the prototype.
21186 2012-01-31 Ulrich Drepper <drepper@gmail.com>
21188 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21189 names. Just use the correct names. Remove unnecessary wrapper
21191 * malloc/arena.c: Likewise.
21192 * malloc/hooks.c: Likewise.
21194 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21195 ARENA_TEST says not to. Simplify test for creation of a new arena.
21196 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21198 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21200 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21202 (update_get_addr): New function.
21203 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21204 GET_ADDR_MODULE parameter.
21206 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21208 * crypt/cert.c: Remove __STDC__ conditionals.
21209 * crypt/crypt-entry.c: Likewise.
21210 * crypt/crypt_util.c: Likewise.
21211 * libio/filedoalloc.c: Likewise.
21212 * libio/fileops.c: Likewise.
21213 * libio/genops.c: Likewise.
21214 * libio/iofclose.c: Likewise.
21215 * libio/iofdopen.c: Likewise.
21216 * libio/iofopen.c: Likewise.
21217 * libio/iofopen64.c: Likewise.
21218 * libio/iogetdelim.c: Likewise.
21219 * libio/iopopen.c: Likewise.
21220 * libio/obprintf.c: Likewise.
21221 * libio/oldfileops.c: Likewise.
21222 * libio/oldiofclose.c: Likewise.
21223 * libio/oldiofdopen.c: Likewise.
21224 * libio/oldiofopen.c: Likewise.
21225 * libio/oldiopopen.c: Likewise.
21226 * libio/wfiledoalloc.c: Likewise.
21227 * libio/wgenops.c: Likewise.
21228 * locale/programs/xmalloc.c: Likewise.
21229 * misc/syslog.c: Likewise.
21230 * stdio-common/xbug.c: Likewise.
21231 * string/memchr.c: Likewise.
21232 * string/memcmp.c: Likewise.
21233 * string/memrchr.c: Likewise.
21234 * string/rawmemchr.c: Likewise.
21235 * sysdeps/posix/getcwd.c: Likewise.
21236 * time/strftime_l.c: Likewise.
21238 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21240 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21241 * config.make.in (config-cflags-sse2avx): Define.
21242 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21245 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21247 * scripts/config.guess: Update from upstream config git repository.
21248 * scripts/config.sub: Likewise.
21250 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21252 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21254 (R_TILEPRO_*, R_TILEGX_*): New macros.
21256 * scripts/firstversions.awk: Fix bug in version range handling.
21258 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21260 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21262 * include/sys/epoll.h: New file.
21263 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21266 2012-01-28 Ulrich Drepper <drepper@gmail.com>
21268 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21269 Avoid unnecessary __WORDSIZE == 64 test.
21270 (fmaxf): Use VEX format if possible.
21275 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21276 * math/math_private.h: Remove libc_fegetround* and
21278 * sysdeps/i386/configure.in: Check for -msse2avx.
21279 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21280 also if SSE2AVX is defined.
21281 Remove libc_fegetround* and libc_fesetround*.
21282 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21283 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21284 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21286 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21287 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21288 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21289 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21292 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21294 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21296 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21298 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21300 2012-01-27 Ulrich Drepper <drepper@gmail.com>
21303 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21305 * Makeconfig (libm): Define.
21306 * elf/Makefile: Add rules to build and run tst-relsort1.
21307 * elf/tst-relsort1.c: New file.
21308 * elf/tst-relsort1mod1.c: New file.
21309 * elf/tst-relsort1mod2.c: New file.
21311 2012-01-27 Joseph Myers <joseph@codesourcery.com>
21313 * math/s_ldexp.c: Remove __STDC__ conditionals.
21314 * math/s_ldexpf.c: Likewise.
21315 * math/s_ldexpl.c: Likewise.
21316 * math/s_nextafter.c: Likewise.
21317 * math/s_nexttowardf.c: Likewise.
21318 * math/s_significand.c: Likewise.
21319 * math/s_significandf.c: Likewise.
21320 * math/s_significandl.c: Likewise.
21321 * math/w_jnl.c: Likewise.
21322 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21323 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21324 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21325 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21326 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21328 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21329 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21330 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21331 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21332 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21333 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21334 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21335 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21336 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21337 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21338 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21339 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21341 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21342 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21343 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21344 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21345 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21346 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21347 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21348 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21349 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21350 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21351 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21352 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21353 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21354 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21355 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21356 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21357 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21358 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21359 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21360 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21361 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21362 * sysdeps/ieee754/k_standard.c: Likewise.
21363 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21364 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21365 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21366 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21367 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21368 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21369 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21370 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21371 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21372 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21373 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21374 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21375 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21376 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21377 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21378 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21379 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21381 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21382 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21383 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21384 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21385 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21386 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21387 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21388 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21389 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21392 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21393 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21394 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21395 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21396 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21397 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21398 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21399 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21400 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21401 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21402 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21403 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21404 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21405 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21406 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21407 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21408 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21409 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21410 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21411 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21412 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21413 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21414 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21415 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21416 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21417 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21418 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21419 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21420 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21421 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21422 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21423 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21424 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21425 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21426 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21427 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21428 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21429 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21430 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21431 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21432 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21433 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21434 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21435 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21436 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21437 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21438 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21439 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21440 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21441 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21442 * sysdeps/ieee754/s_matherr.c: Likewise.
21443 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21444 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21448 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21450 * crypt/md5.h: Remove __STDC__ conditionals.
21451 * libio/libioP.h: Likewise.
21452 * locale/programs/config.h: Likewise.
21453 * sysdeps/generic/sysdep.h: Likewise.
21454 * sysdeps/i386/asm-syntax.h: Likewise.
21455 * sysdeps/s390/asm-syntax.h: Likewise.
21456 * sysdeps/unix/sysdep.h: Likewise.
21457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21460 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21462 * libio/libio.h: Remove __STDC__ conditionals.
21463 * malloc/obstack.h: Likewise.
21464 * math/complex.h: Likewise.
21465 * math/math.h: Likewise.
21466 * sysdeps/generic/_G_config.h: Likewise.
21467 * sysdeps/gnu/_G_config.h: Likewise.
21468 * sysdeps/mach/hurd/_G_config.h: Likewise.
21469 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21470 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21471 * sysdeps/sparc/bits/mathdef.h: Likewise.
21473 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21476 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21477 Clean up HAS_* macros.
21478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21479 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21484 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21485 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21489 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21491 * elf/tst-unique3.cc (gets): Remove declaration.
21492 * elf/tst-unique3lib.cc (gets): Likewise.
21493 * elf/tst-unique3lib2.cc (gets): Likewise.
21494 * elf/tst-unique4.cc (gets): Likewise.
21496 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21498 * include/stdio.h: Add C++ protection. Add gets declarations and
21500 * debug/tst-chk1.c: Don't declare gets here.
21501 * stdio-common/tst-gets.c: Likewise.
21503 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21505 * posix/glob: Remove directory.
21507 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21509 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21511 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21513 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21514 of the non-standard EPFNOSUPPORT.
21516 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21518 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21519 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21520 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21522 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21524 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21526 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21528 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21530 * nscd/grpcache.c (cache_addgr): Likewise.
21531 * nscd/hstcache.c (cache_addhst): Likewise.
21532 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21533 * nscd/pwdcache.c (cache_addpw): Likewise.
21534 * nscd/servicescache.c (cache_addserv): Likewise.
21536 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21538 * malloc/malloc.c: Various cleanups.
21539 * malloc/hooks.c: Likewise.
21541 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21542 * stdlib/bug-fmtmsg1.c: New file.
21544 * stdlib/fmtmsg.c (init): Add missing unlock.
21545 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21547 2012-01-12 Marek Polacek <polacek@redhat.com>
21549 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21552 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21554 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21555 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21556 macro to ensure uniqueness of label name.
21557 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21558 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21560 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21562 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21564 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21565 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21566 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21569 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21571 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21573 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21574 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21575 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21577 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21579 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21580 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21584 * math/bits/math-finite.h: Add ldexp support.
21586 2012-01-10 Marek Polacek <polacek@redhat.com>
21588 * locale/programs/localedef.h (show_archive_content): Add noreturn
21591 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21593 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21595 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21597 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21599 * io/Makefile (headers): Add bits/poll2.h.
21601 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21604 typo #include statement.
21606 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21608 * include/sys/cdefs.h: Define __attribute_alloc_size.
21609 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21610 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21611 * elf/pldd.c: Likewise.
21612 * iconv/iconv_charmap.c: Likewise.
21613 * iconv/iconvconfig.c: Likewise.
21614 * iconv/strtab.c: Likewise.
21615 * locale/programs/locale.c: Likewise.
21616 * locale/programs/localedef.h: Likewise.
21617 * locale/programs/simple-hash.c: Likewise.
21618 * nscd/nscd.h: Likewise.
21619 * nss/makedb.c: Likewise.
21620 * sysdeps/generic/ldconfig.h: Likewise.
21621 * locale/programs/localedef.c: Remove xmalloc prototype.
21622 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21624 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21626 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21629 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21631 * math/Makefile (tests): Add tst-CMPLX.
21632 * math/tst-CMPLX.c: New file.
21634 * math/complex.h (CMPLXL): Fix typo.
21636 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21637 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21639 * debug/tst-chk1.c: Add poll and ppoll tests.
21640 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21641 * include/sys/poll.h: Add hidden proto for ppoll.
21642 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21643 * sysdeps/mach/hurd/ppoll.c: Likewise.
21644 * io/ppoll.c: Likewise.
21645 * debug/poll_chk.c: New file.
21646 * debug/ppoll_chk.c: New file.
21647 * include/bits/poll2.h: New file.
21648 * io/bits/poll2.h: New file.
21651 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21653 * configure.in: static is always set to yes. Remove.
21654 * config.make.in: Don't set build-static.
21655 * Makeconfig: Remove use of build-static.
21656 * dlfcn/Makefile: Likewise.
21657 * elf/Makefile: Likewise.
21658 * math/Makefile: Likewise.
21659 * misc/Makefile: Likewise.
21660 * nptl/Makefile: Likewise.
21661 * sysdeps/mach/hurd/Makefile: Likewise.
21663 * configure.in: PWD_P is not used anymore.
21664 * config.make.in: Remove PWD_P entry.
21666 * configure.in: Remove last remnants of RANLIB.
21667 No need to check for signed size_t anymore.
21668 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21670 Remove __builtin_expect test because we require at least gcc 3.4.
21671 * aclocal.m4: Likewise.
21673 * wcsmbs/mbrtoc16.c: Implement using towc function.
21674 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21675 * wcsmbs/wcsmbsload.c: Likewise.
21676 * iconv/gconv_simple.c: Likewise.
21677 * iconv/gconv_int.h: Likewise.
21678 * iconv/gconv_builtin.h: Likewise.
21679 * iconv/iconv_prog.c: Remove CHAR16 handling.
21681 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21683 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21685 * configure.in: Remove --with-elf and --enable-bounded options.
21686 Dont set base_machine for ia64. More non-ELF conditions removed.
21687 Remove testing and setting of leading underscore information.
21688 * config.make.in (build-bounded): Set to no.
21689 * config.h.in: Remove NO_UNDERSCORES entry.
21690 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21692 * csu/start.c: Remove !NO_UNDERSCORE code.
21693 * locale/localeinfo.h: Likewise.
21694 * sysdeps/generic/machine-gmon.h: Likewise.
21695 * sysdeps/generic/sysdep.h: Likewise.
21696 * sysdeps/i386/sysdep.h: Likewise.
21697 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21698 * sysdeps/mach/sysdep.h: Likewise.
21699 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21700 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21701 * sysdeps/sh/sysdep.h: Likewise.
21702 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21703 * sysdeps/unix/i386/sysdep.S: Likewise.
21704 * sysdeps/unix/sparc/start.c: Likewise.
21705 * sysdeps/unix/sparc/sysdep.S: Likewise.
21706 * sysdeps/unix/sparc/sysdep.h: Likewise.
21707 * sysdeps/unix/start.c: Likewise.
21708 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21709 * sysdeps/x86_64/sysdep.h: Likewise.
21711 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21714 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21716 * argp/argp-fmtstream.h: Use const instead __const.
21717 * argp/argp.h: Likewise.
21718 * assert/assert.h: Likewise.
21719 * bits/fenv.h: Likewise.
21720 * bits/sched.h: Likewise.
21721 * bits/sigset.h: Likewise.
21722 * bits/sigthread.h: Likewise.
21723 * catgets/nl_types.h: Likewise.
21724 * conform/data/pthread.h-data: Likewise.
21725 * crypt/crypt-private.h: Likewise.
21726 * crypt/crypt.h: Likewise.
21727 * crypt/crypt_util.c: Likewise.
21728 * ctype/ctype.h: Likewise.
21729 * debug/execinfo.h: Likewise.
21730 * debug/mbsnrtowcs_chk.c: Likewise.
21731 * debug/mbsrtowcs_chk.c: Likewise.
21732 * debug/wcsnrtombs_chk.c: Likewise.
21733 * debug/wcsrtombs_chk.c: Likewise.
21734 * debug/wcstombs_chk.c: Likewise.
21735 * dirent/dirent.h: Likewise.
21736 * dlfcn/dlfcn.h: Likewise.
21737 * elf/neededtest4.c: Likewise.
21738 * grp/grp.h: Likewise.
21739 * gshadow/gshadow.h: Likewise.
21740 * iconv/gconv.h: Likewise.
21741 * iconv/gconv_int.h: Likewise.
21742 * iconv/gconv_simple.c: Likewise.
21743 * iconv/iconv.h: Likewise.
21744 * iconv/loop.c: Likewise.
21745 * iconv/skeleton.c: Likewise.
21746 * include/aio.h: Likewise.
21747 * include/aliases.h: Likewise.
21748 * include/argz.h: Likewise.
21749 * include/arpa/inet.h: Likewise.
21750 * include/assert.h: Likewise.
21751 * include/dirent.h: Likewise.
21752 * include/dlfcn.h: Likewise.
21753 * include/execinfo.h: Likewise.
21754 * include/fcntl.h: Likewise.
21755 * include/fenv.h: Likewise.
21756 * include/glob.h: Likewise.
21757 * include/grp.h: Likewise.
21758 * include/libintl.h: Likewise.
21759 * include/mntent.h: Likewise.
21760 * include/netdb.h: Likewise.
21761 * include/pwd.h: Likewise.
21762 * include/rpc/netdb.h: Likewise.
21763 * include/sched.h: Likewise.
21764 * include/search.h: Likewise.
21765 * include/shadow.h: Likewise.
21766 * include/signal.h: Likewise.
21767 * include/stdio.h: Likewise.
21768 * include/stdlib.h: Likewise.
21769 * include/string.h: Likewise.
21770 * include/sys/socket.h: Likewise.
21771 * include/sys/stat.h: Likewise.
21772 * include/sys/statfs.h: Likewise.
21773 * include/sys/statvfs.h: Likewise.
21774 * include/sys/syslog.h: Likewise.
21775 * include/sys/time.h: Likewise.
21776 * include/sys/uio.h: Likewise.
21777 * include/time.h: Likewise.
21778 * include/unistd.h: Likewise.
21779 * include/utmp.h: Likewise.
21780 * include/wchar.h: Likewise.
21781 * include/wctype.h: Likewise.
21782 * inet/aliases.h: Likewise.
21783 * inet/arpa/inet.h: Likewise.
21784 * inet/netinet/ether.h: Likewise.
21785 * inet/netinet/in.h: Likewise.
21786 * intl/libintl.h: Likewise.
21787 * io/bits/fcntl2.h: Likewise.
21788 * io/fcntl.h: Likewise.
21789 * io/ftw.h: Likewise.
21790 * io/sys/poll.h: Likewise.
21791 * io/sys/stat.h: Likewise.
21792 * io/sys/statfs.h: Likewise.
21793 * io/sys/statvfs.h: Likewise.
21794 * io/utime.h: Likewise.
21795 * libio/bits/stdio.h: Likewise.
21796 * libio/bits/stdio2.h: Likewise.
21797 * libio/libio.h: Likewise.
21798 * libio/libioP.h: Likewise.
21799 * libio/stdio.h: Likewise.
21800 * locale/lc-ctype.c: Likewise.
21801 * locale/locale.h: Likewise.
21802 * login/utmp.h: Likewise.
21803 * malloc/arena.c: Likewise.
21804 * malloc/malloc.c: Likewise.
21805 * malloc/malloc.h: Likewise.
21806 * malloc/mcheck.c: Likewise.
21807 * malloc/mtrace.c: Likewise.
21808 * math/bits/mathcalls.h: Likewise.
21809 * math/fenv.h: Likewise.
21810 * math/math_private.h: Likewise.
21811 * misc/bits/error.h: Likewise.
21812 * misc/bits/syslog.h: Likewise.
21813 * misc/err.h: Likewise.
21814 * misc/error.h: Likewise.
21815 * misc/fstab.h: Likewise.
21816 * misc/mntent.h: Likewise.
21817 * misc/regexp.h: Likewise.
21818 * misc/search.h: Likewise.
21819 * misc/sgtty.h: Likewise.
21820 * misc/sys/mman.h: Likewise.
21821 * misc/sys/syslog.h: Likewise.
21822 * misc/sys/uio.h: Likewise.
21823 * misc/sys/xattr.h: Likewise.
21824 * misc/ttyent.h: Likewise.
21825 * nis/rpcsvc/ypclnt.h: Likewise.
21826 * nss/nss.h: Likewise.
21827 * posix/bits/unistd.h: Likewise.
21828 * posix/fnmatch.h: Likewise.
21829 * posix/glob.h: Likewise.
21830 * posix/sched.h: Likewise.
21831 * posix/spawn.h: Likewise.
21832 * posix/sys/wait.h: Likewise.
21833 * posix/unistd.h: Likewise.
21834 * posix/wordexp.h: Likewise.
21835 * pwd/pwd.h: Likewise.
21836 * resolv/netdb.h: Likewise.
21837 * resource/sys/resource.h: Likewise.
21838 * rt/aio.h: Likewise.
21839 * rt/bits/mqueue2.h: Likewise.
21840 * rt/mqueue.h: Likewise.
21841 * shadow/shadow.h: Likewise.
21842 * signal/signal.h: Likewise.
21843 * socket/send.c: Likewise.
21844 * socket/sendto.c: Likewise.
21845 * socket/sys/socket.h: Likewise.
21846 * stdio-common/printf.h: Likewise.
21847 * stdlib/bits/stdlib.h: Likewise.
21848 * stdlib/fmtmsg.h: Likewise.
21849 * stdlib/monetary.h: Likewise.
21850 * stdlib/stdlib.h: Likewise.
21851 * stdlib/ucontext.h: Likewise.
21852 * streams/stropts.h: Likewise.
21853 * string/argz.h: Likewise.
21854 * string/bits/string2.h: Likewise.
21855 * string/string.h: Likewise.
21856 * string/strings.h: Likewise.
21857 * sunrpc/rpc/auth.h: Likewise.
21858 * sunrpc/rpc/auth_des.h: Likewise.
21859 * sunrpc/rpc/clnt.h: Likewise.
21860 * sunrpc/rpc/netdb.h: Likewise.
21861 * sunrpc/rpc/pmap_clnt.h: Likewise.
21862 * sunrpc/rpc/xdr.h: Likewise.
21863 * sysdeps/generic/inttypes.h: Likewise.
21864 * sysdeps/generic/net/if.h: Likewise.
21865 * sysdeps/generic/sys/swap.h: Likewise.
21866 * sysdeps/gnu/net/if.h: Likewise.
21867 * sysdeps/gnu/utmpx.h: Likewise.
21868 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21869 * sysdeps/i386/i486/bits/string.h: Likewise.
21870 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21871 * sysdeps/s390/bits/string.h: Likewise.
21872 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21873 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21874 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21875 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21876 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21877 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21878 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21879 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21880 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21881 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21882 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21883 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21884 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21885 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21886 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21887 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21888 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21890 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21892 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21893 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21894 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21895 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21896 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21897 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21898 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21899 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21900 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21901 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21902 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21903 * sysvipc/sys/ipc.h: Likewise.
21904 * sysvipc/sys/msg.h: Likewise.
21905 * sysvipc/sys/sem.h: Likewise.
21906 * sysvipc/sys/shm.h: Likewise.
21907 * termios/termios.h: Likewise.
21908 * time/sys/time.h: Likewise.
21909 * time/time.h: Likewise.
21910 * wcsmbs/bits/wchar2.h: Likewise.
21911 * wcsmbs/uchar.h: Likewise.
21912 * wcsmbs/wchar.h: Likewise.
21913 * wctype/wctype.h: Likewise.
21916 * Makeconfig: Remove all but ELF support including AIX support.
21917 * Makerules: Likewise.
21918 * config.h.in: Likewise.
21919 * config.make.in: Likewise.
21920 * configure: Likewise.
21921 * configure.in: Likewise.
21922 * csu/Makefile: Likewise.
21923 * csu/version.c: Likewise.
21924 * debug/Makefile: Likewise.
21925 * dlfcn/Makefile: Likewise.
21926 * elf/Makefile: Likewise.
21927 * extra-lib.mk: Likewise.
21928 * iconv/Makefile: Likewise.
21929 * include/libc-symbols.h: Likewise.
21930 * include/shlib-compat.h: Likewise.
21931 * resolv/Makefile: Likewise.
21932 * resolv/res_libc.c: Likewise.
21933 * rt/Makefile: Likewise.
21934 * sysdeps/i386/asm-syntax.h: Likewise.
21935 * sysdeps/i386/sysdep.h: Likewise.
21936 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21937 * sysdeps/mach/sysdep.h: Likewise.
21938 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21939 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21940 * sysdeps/s390/asm-syntax.h: Likewise.
21941 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21942 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21943 * sysdeps/sh/sysdep.h: Likewise.
21944 * sysdeps/unix/sparc/sysdep.h: Likewise.
21945 * sysdeps/wordsize-32/divdi3.c: Likewise.
21946 * sysdeps/x86_64/sysdep.h: Likewise.
21948 * argp/Versions: Remove _argp_unlock_xxx.
21951 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21952 * abilist/libBrokenLocale.abilist: Likewise.
21953 * abilist/libanl.abilist: Likewise.
21954 * abilist/libc.abilist: Likewise.
21955 * abilist/libcrypt.abilist: Likewise.
21956 * abilist/libdl.abilist: Likewise.
21957 * abilist/libm.abilist: Likewise.
21958 * abilist/libnsl.abilist: Likewise.
21959 * abilist/libpthread.abilist: Likewise.
21960 * abilist/libresolv.abilist: Likewise.
21961 * abilist/librt.abilist: Likewise.
21962 * abilist/libthread_db.abilist: Likewise.
21963 * abilist/libutil.abilist: Likewise.
21964 * abilist/libnss_db.abilist: New file.
21966 * scripts/abilist.awk: Add support for indirect functions.
21968 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21970 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21972 * shlib-versions: Remove entries for ports architectures.
21974 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21976 * elf/stackguard-macros.h: Remove support for IA-64.
21977 * elf/tst-auditmod1.c: Likewise.
21978 * sysdeps/generic/ldsodefs.h: Likewise.
21980 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21981 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21985 * configure.in: Remove --enable-omitfp support.
21987 * config.make.in: Likewise.
21988 * Makeconfig: Likewise.
21989 * manual/install.texi: Likewise.
21991 In case anyone cares, the IA-64 architecture could move to ports.
21992 * sysdeps/ia64/*: Removed.
21993 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21994 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21997 * configure.in: Remove entries for unsupported architectures.
22000 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22001 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22003 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22004 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22005 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22006 fall back to using wcrtomb.
22007 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22008 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22010 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22011 * wcsmbs/tst-c16c32-1.c: New file.
22013 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22016 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22018 * elf/tst-unique3.cc: Add explicit declaration of gets.
22019 * elf/tst-unique3lib.cc: Likewise.
22020 * elf/tst-unique3lib2.cc: Likewise.
22021 * elf/tst-unique4.cc: Likewise.
22023 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22025 2012-01-06 Joseph Myers <joseph@codesourcery.com>
22028 * assert/assert.h (static_assert): Don't define for C++.
22029 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22030 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22032 2012-01-03 Ulrich Drepper <drepper@gmail.com>
22034 * iconv/loop.c (single loop): Fix assertion in storing of
22037 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22039 2012-01-01 Ulrich Drepper <drepper@gmail.com>
22041 * posix/getconf.c: Update copyright year.
22042 * nss/getent.c: Likewise.
22043 * nss/makedb.c: Likewise.
22044 * iconv/iconvconfig.c: Likewise.
22045 * iconv/iconv_prog.c: Likewise.
22046 * elf/ldconfig.c: Likewise.
22047 * elf/pldd.c: Likewise.
22048 * elf/sotruss.ksh: Likewise.
22049 * catgets/gencat.c: Likewise.
22050 * csu/version.c: Likewise.
22051 * elf/ldd.bash.in: Likewise.
22052 * elf/sprof.c (print_version): Likewise.
22053 * locale/programs/locale.c: Likewise.
22054 * locale/programs/localedef.c: Likewise.
22055 * login/programs/pt_chown.c: Likewise.
22056 * nscd/nscd.c (print_version): Likewise.
22057 * debug/xtrace.sh: Likewise.
22058 * malloc/memusage.sh: Likewise.
22059 * malloc/mtrace.pl: Likewise.
22060 * debug/catchsegv.sh: Likewise.
22062 2011-12-30 Jakub Jelinek <jakub@redhat.com>
22064 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22067 2011-12-24 Ulrich Drepper <drepper@gmail.com>
22070 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22071 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22073 * iconv/gconv_int.h: Likewise.
22074 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22075 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22076 from libc for GLIBC_2.16.
22077 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22078 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22079 * wcsmbs/uchar.h: Really define mbstate_t.
22080 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22081 * wcsmbs/c16rtomb.c: New file.
22082 * wcsmbs/mbrtoc16.c: New file.
22083 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22084 for C/POSIX locale.
22085 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22086 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22088 * wcsmbs/wchar.h: Add missing __restrict.
22090 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22093 * time/Makefile (routines): Add timespec_get.
22094 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22095 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22096 timespec for ISO C11.
22097 * time/timespec_get.c: New file.
22098 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22099 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22102 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22103 * stdlib/stdlib.h: Declare aligned_alloc.
22104 * Versions.def: Add GLIBC_2.16 for libc.
22105 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22108 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22111 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22115 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22118 * assert/assert.h (static_assert): Define.
22120 * version.h: Update for 2.16 development version.
22123 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22126 * version.h (RELEASE): Bump for 2.15 release.
22127 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22129 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22130 Patch by Marek Polacek <mpolacek@redhat.com>.
22132 * bits/byteswap.h: Protect long long constants with __extension__.
22133 * sysdeps/i386/bits/byteswap.h: Likewise.
22134 * sysdeps/ia64/bits/byteswap.h: Likewise.
22135 * sysdeps/s390/bits/byteswap.h: Likewise.
22136 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22138 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22141 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22142 destination buffer.
22143 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22145 2011-12-23 Marek Polacek <polacek@redhat.com>
22147 * elf/dl-addr.c (determine_info): Add inline keyword.
22148 * elf/tst-auditmod4b.c (check_avx): Likewise.
22149 * elf/tst-auditmod6b.c (check_avx): Likewise.
22150 * elf/tst-auditmod6c.c (check_avx): Likewise.
22151 * elf/tst-auditmod7b.c (check_avx): Likewise.
22153 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22155 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22158 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22161 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22162 processing for last bytes.
22164 2011-08-06 Bruno Haible <bruno@clisp.org>
22167 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22168 U+0385, not to U+1FEE.
22171 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22172 entry for U+00A5 U+0301.
22174 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22177 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22178 buffer for the output is too small.
22180 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22184 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22185 SSE flags if possible.
22187 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22191 processing for last bytes.
22193 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22195 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22196 (syscall-list-default-options, syscall-list-default-condition)
22197 (syscall-list-includes): Define.
22198 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22199 list of ABIs and options and #if conditions for each ABI. Do not
22200 handle common syscalls between ABIs specially.
22201 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22203 (syscall-list-variants, syscall-list-32bit-options)
22204 (syscall-list-32bit-condition, syscall-list-64bit-options)
22205 (syscall-list-64bit-condition): Define.
22206 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22207 (syscall-list-variants, syscall-list-32bit-options)
22208 (syscall-list-32bit-condition, syscall-list-64bit-options)
22209 (syscall-list-64bit-condition): Define.
22210 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22212 (syscall-list-variants, syscall-list-32bit-options)
22213 (syscall-list-32bit-condition, syscall-list-64bit-options)
22214 (syscall-list-64bit-condition): Define.
22215 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22217 (syscall-list-variants, syscall-list-32bit-options)
22218 (syscall-list-32bit-condition, syscall-list-64bit-options)
22219 (syscall-list-64bit-condition): Define.
22221 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22223 * locale/iso-639.def: Add brx entry.
22226 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22227 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22229 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22230 __feraiseexcept_renamed.
22232 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22235 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22236 EPOLLET with unsigned values.
22237 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22238 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22240 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22241 to large cancellation.
22242 * math/s_cacoshf.c: Likewise.
22243 * math/s_cacoshl.c: Likewise.
22245 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22249 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22250 * math/s_cacoshf.c: Likewise.
22251 * math/s_cacoshl.c: Likewise.
22253 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22256 * iconv/gconv.h: Define __GCONV_SWAP.
22257 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22258 * iconvdata/utf-16.c: Likewise.
22259 * iconvdata/utf-32.c: Likewise.
22261 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22265 numerator after shifting it by one limb.
22267 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22269 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22270 under [__USE_EXTERN_INLINES].
22272 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22275 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22277 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22279 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22280 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22282 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22283 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22284 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22285 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22286 for strncasecmp/strncasecmp_l compilation.
22287 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22288 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22290 2011-12-08 Marek Polacek <mpolacek@redhat.com>
22293 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22296 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22299 * time/tzfile.c (__tzfile_read): Check values from file header.
22301 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22303 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22304 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22305 * powerpc/powerpc32/dl-start.S: Likewise.
22306 * powerpc/powerpc32/elf/start.S: Likewise.
22307 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22308 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22309 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22310 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22311 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22312 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22313 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22314 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22315 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22316 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22317 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22318 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22319 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22320 * powerpc/powerpc32/memset.S: Likewise.
22321 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22322 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22323 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22324 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22325 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22326 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22327 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22328 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22329 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22330 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22331 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22332 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22333 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22335 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22337 * math/libm-test.inc: Added more nearbyint tests.
22338 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22340 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22343 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22345 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22348 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22350 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22351 Add wcscpy-ssse3 wcscpy-c.
22352 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22353 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22354 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22355 * sysdeps/x86_64/wcschr.S: New file.
22356 * sysdeps/x86_64/wcsrchr.S: New file.
22357 * string/test-strcmp.c: Remove checking of wcscmp function for
22359 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22360 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22361 wcsrchr-sse2 wcsrchr-c.
22362 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22363 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22364 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22365 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22366 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22367 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22368 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22369 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22370 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22371 * wcsmbc/wcschr.c (WCSCHR): New macro.
22373 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22375 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22376 * wcsmbs/test-wcsrchr.c: New file.
22377 * string/test-strrchr.c: Add wcsrchr support.
22379 * wcsmbs/test-wcscpy.c: New file.
22380 * string/test-strcpy.c: Add wcscpy support.
22383 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22385 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22388 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22391 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22393 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22395 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22396 Minor optimizations.
22398 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22399 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22400 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22402 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22404 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22405 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22406 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22407 for gcc to avoid warnings.
22408 * inet/Makefile (tests): Add tst-checks.
22409 * inet/tst-checks.c: New file.
22411 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22414 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22417 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22418 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22420 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22422 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22424 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22427 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22429 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22431 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22432 conditional on GCC version.
22433 (__arch_compare_and_exchange_val_8_acq)
22434 (__arch_compare_and_exchange_val_16_acq)
22435 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22436 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22437 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22439 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22441 * sysdeps/sh/backtrace.c: New file.
22443 2011-12-02 Andreas Schwab <schwab@redhat.com>
22445 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22448 2011-12-01 Andreas Schwab <schwab@redhat.com>
22450 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22451 falling back to utime.
22453 2011-11-30 Andreas Schwab <schwab@redhat.com>
22455 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22456 expectations for float.
22458 2011-11-29 Andreas Schwab <schwab@redhat.com>
22460 * locale/weight.h (findidx): Add parameter len.
22461 * locale/weightwc.h (findidx): Likewise.
22462 * posix/fnmatch_loop.c (FCT): Adjust caller.
22463 * posix/regcomp.c (build_equiv_class): Likewise.
22464 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22465 * posix/regexec.c (check_node_accept_bytes): Likewise.
22466 * string/strcoll_l.c (STRCOLL): Likewise.
22467 * string/strxfrm_l.c (STRXFRM): Likewise.
22469 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22471 * Makefile.in: Remove CVSOPT handling.
22472 * configure.in: Remove use of AC_REVISION.
22473 * iconvdata/Makefile (distribute): No need to filter out CVS.
22474 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22477 2011-11-16 Andreas Schwab <schwab@redhat.com>
22479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22480 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22481 [USE_AS_STRNCASECMP_L]: Likewise.
22482 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22483 NO_TLS_DIRECT_SEG_REFS.
22484 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22485 Fix argument offsets for non-PIC.
22486 [USE_AS_STRNCASECMP_L]: Likewise.
22487 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22488 NO_TLS_DIRECT_SEG_REFS.
22490 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22492 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22494 * locale/loadlocale.c (_nl_load_locale): Likewise.
22496 2011-11-15 Andreas Schwab <schwab@redhat.com>
22498 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22499 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22500 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22501 (SYSCALL_GETTIME): Set errno on error.
22503 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22504 count references to noai6ai_cached.
22506 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22508 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22510 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22511 FD_CLOEXEC for /proc/self/maps.
22513 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22514 FD_CLOEXEC for /proc/meminfo.
22516 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22519 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22520 FD_CLOEXEC for given file.
22522 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22524 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22525 FD_CLOEXEC for /etc/hosts.
22526 (_gethtent): Likewise.
22528 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22530 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22531 cancellation and set FD_CLOEXEC for /etc/netgroup.
22533 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22534 reading /etc/publickey.
22536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22537 allow cancellation when reading /etc/group.
22539 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22541 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22543 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22544 when using data file.
22546 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22548 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22549 (write_nis_obj): Use "c" and "e" in fopen.
22551 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22553 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22555 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22557 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22559 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22562 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22564 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22566 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22568 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22569 file parsing and set FD_CLOEXEC.
22571 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22573 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22575 2011-11-14 Andreas Schwab <schwab@redhat.com>
22577 * malloc/arena.c (arena_get2): Don't call reused_arena when
22578 _int_new_arena failed.
22580 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22582 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22583 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22584 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22585 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22586 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22587 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22588 to compile strcasecmp and strncasecmp.
22589 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22590 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22592 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22594 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22596 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22597 locale-defines.sym to gen-as-const-headers.
22598 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22599 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22600 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22601 to compile strcasecmp and strncasecmp.
22602 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22603 strcasecmp_l and strncasecmp_l.
22604 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22605 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22606 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22607 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22608 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22609 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22610 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22611 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22612 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22613 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22614 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22616 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22618 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22619 result of SYSDEP_GETTIME_CPU to retval.
22620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22621 parameter list to macro. Remove trailing semicolon. Adjust users.
22623 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22626 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22628 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22630 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22631 from unused variable.
22633 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22635 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22638 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22641 * sunrpc/rpc_prot.c (rejected): Fix case value.
22643 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22644 unsigned long long int to avoid warnings in shift.
22646 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22648 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22651 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22652 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22653 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22655 * nis/nis_table.c (nis_list): Use variable of correct type for
22656 result of __follow_path call.
22658 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22660 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22661 of math functions ceil, trunc, floor, round, and sqrt, when
22662 avaliable on the platform.
22663 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22665 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22666 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22667 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22669 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22671 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22672 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22674 2011-11-11 Roland McGrath <roland@hack.frob.com>
22676 * include/unistd.h: Fix __readlink return type.
22677 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22679 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22681 * stdlib/ucontext.h: Undo last change for makecontext.
22683 2011-11-11 Andreas Schwab <schwab@redhat.com>
22685 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22687 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22688 * setjmp/setjmp.h: Mark functions as non-leaf.
22689 * setjmp/bits/setjmp2.h: Likewise.
22690 * stdlib/ucontext.h: Likewise.
22692 2011-11-10 Andreas Schwab <schwab@redhat.com>
22694 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22695 (reused_arena): Don't check arena limit.
22696 (arena_get2): Atomically check arena limit.
22698 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22700 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22701 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22703 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22706 2011-11-07 Andreas Schwab <schwab@redhat.com>
22708 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22709 handler when locking.
22711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22712 Fix size of allocated buffer.
22714 2011-11-04 Andreas Schwab <schwab@redhat.com>
22717 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22718 declarations for long double functions.
22719 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22721 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22723 2011-11-03 Andreas Schwab <schwab@redhat.com>
22725 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22728 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22731 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22733 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22735 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22737 * include/alloca.h (stackinfo_alloca_round): Define.
22738 (extend_alloca): Use it.
22739 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22740 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22743 * scripts/check-local-headers.sh: Ignore libaudit.h.
22745 * nscd/Makefile (extra-objs): Make recursively expanded.
22747 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22749 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22750 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22752 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22753 * posix/tst-rfc3484-2.c: Likewise.
22754 * posix/tst-rfc3484-3.c: Likewise.
22756 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22758 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22760 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22761 process_vm_writev from libc using GLIBC_2.15 version.
22763 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22765 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22767 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22770 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22773 * nss/getent.c (initgroups_keys): Show error message in case no group
22776 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22777 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22778 __bump_nl_timestamp.
22779 * nscd/connections (nscd_init): When host database is served open
22780 netlink socket and request notification about configuration changes.
22781 (main_loop_poll): Track netlink file descriptor and bump timestamp
22782 in case data becomes available.
22783 (main_loop_epoll): Likewise.
22784 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22785 (database_pers_head): Add extra_data fileds.
22786 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22787 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22788 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22790 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22791 in6ai data, call __free_in6ai.
22792 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22793 Add -DHAVE_NETLINK.
22794 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22795 interface information. Reuse previous data if netlink timestamp
22797 (__bump_nl_timestamp): New function.
22798 (__free_in6ai): New function.
22800 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22802 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22803 close_not_cancel_no_status here.
22804 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22806 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22809 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22812 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22813 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22814 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22816 2011-07-03 Andreas Jaeger <aj@suse.de>
22819 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22820 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22821 * math/libm-test.inc (sin_test): Add test case.
22823 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22826 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22827 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22829 * elf/chroot_canon.c (chroot_canon): Cleanups.
22831 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22834 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22835 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22837 * string/test-strchr.c: Make usable for strchrnul testing.
22838 * string/test-strchrnul.c: New file.
22839 * string/Makefile (strop-tests): Add strchrnul.
22841 * po/it.po: Update from translation team.
22842 * po/es.po: Likewise.
22844 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22847 the three constants needed as parameters. Drop the others.
22848 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22849 __m128i_strloadu_tolower.
22850 Create and initialize variable zero and use it in all the places
22851 where _mm_setzero_si128 was used.
22853 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22854 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22855 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22856 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22858 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22859 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22860 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22861 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22862 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22863 __mpranred, __mptan.
22864 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22865 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22866 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22867 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22868 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22869 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22871 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22872 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22874 2011-10-28 Andreas Schwab <schwab@redhat.com>
22876 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22877 redefine if SHARED.
22878 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22881 wide char related routines to wcsmbs subdir.
22883 2011-10-27 Andreas Schwab <schwab@redhat.com>
22886 * misc/sys/cdefs.h (__THROWNL): Define.
22887 * posix/unistd.h: Use __THREADNL instead of __THREAD
22888 for memory synchronization functions.
22890 2011-10-26 Roland McGrath <roland@hack.frob.com>
22893 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22895 * manual/stdio.texi (Obstack Streams): Node removed.
22897 2011-10-26 Andreas Schwab <schwab@redhat.com>
22899 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22900 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22901 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22903 * math/math_private.h (math_force_eval): Allow non-addressable
22905 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22907 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22909 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22910 file is not needed.
22912 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22913 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22919 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22921 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22922 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22923 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22924 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22925 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22926 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22927 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22928 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22929 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22930 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22931 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22932 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22933 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22934 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22935 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22936 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22937 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22938 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22939 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22941 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22942 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22945 place. Use VEX encoding when compiling for AVX.
22947 2011-10-25 Andreas Schwab <schwab@redhat.com>
22949 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22950 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22952 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22954 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22956 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22957 useless if() expression.
22958 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22959 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22960 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22962 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22963 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22964 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22965 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22966 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22967 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22968 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22969 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22970 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22971 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22972 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22973 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22974 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22975 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22976 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22978 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22980 2011-10-25 Andreas Schwab <schwab@redhat.com>
22982 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22984 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22986 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22988 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22989 .text section. Avoid duplicate constants.
22990 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22992 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22998 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22999 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23000 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23001 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23002 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23003 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23004 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23005 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23006 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23007 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23008 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23010 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23011 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23012 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23013 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23014 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23015 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23016 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23017 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23018 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23019 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23021 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23022 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23023 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23024 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23025 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23026 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23027 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23028 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23029 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23031 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23032 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23033 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23034 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23036 2011-10-24 Ulrich Drepper <drepper@gmail.com>
23038 * sysdeps/x86_64/dla.h: Move to ...
23039 * sysdeps/x86_64/fpu/dla.h: ...here.
23040 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23041 situations. Use __builtin_fma only for gcc 4.6 and up.
23043 * config.make.in: Add have-mfma4 entry.
23044 * configure.in: Substitute libc_cv_cc_fma4.
23045 * math/Makefile (dbl-only-routines): Add sincostab.
23046 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23047 Use __sincostab not sincos.
23048 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23052 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23055 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23056 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23057 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23058 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23060 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23061 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23063 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23064 define aliases when function name is a macro.
23065 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23066 sysdeps/ieee754/dbl-64/sincos.tbl.
23067 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23068 fma4-enabled routines.
23069 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23070 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23071 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23072 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23073 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23074 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23076 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23078 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23079 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23080 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23081 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23082 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23083 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23084 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23085 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23086 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23087 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23088 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23089 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23090 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23092 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23094 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23095 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23096 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23097 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23098 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23100 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23102 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23107 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23108 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23109 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23111 2011-10-24 Andreas Schwab <schwab@redhat.com>
23113 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23115 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23117 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23119 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23121 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23123 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23124 Remove unused variable magic_bits.
23125 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23127 * string/strnlen.c: Define and use STRNLEN macro.
23128 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23129 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23131 * wcsmbs/wcslen.c: Define and use WCSLEN.
23132 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23133 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23134 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23135 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23136 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23137 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23138 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23140 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23143 strnlen-sse2-no-bsf.
23144 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23146 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23147 Add strnlen support.
23148 (USE_AS_STRNLEN): New macro.
23149 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23150 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23151 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23152 * sysdeps/x86_64/wcslen.S: New file.
23154 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23156 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23157 XMM-moves are used for copying on small sizes.
23159 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23161 * wcsmbs/Makefile (strop-tests): Add wcschr.
23162 * wcsmbs/test-wcschr.c: New file.
23163 * string/test-strchr.c: Update.
23164 Add wcschr support.
23167 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23169 * wcsmbs/Makefile (strop-tests): Add wcslen.
23170 * wcsmbs/test-wcslen.c: New file.
23171 * string/test-strlen.c: Update.
23172 Add wcslen support.
23175 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23177 * po/it.po: Update from translation team.
23179 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23181 * sysdeps/x86_64/wcscmp.S: Update.
23182 Fix wrong comparison semantics.
23183 wcscmp shall use signed comparison not unsigned.
23184 Don't use substraction to avoid overflow bug.
23185 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23186 * wcsmbc/wcscmp.c: Likewise.
23187 * string/test-strcmp.c: Likewise.
23188 Add new tests to check cases with negative values.
23190 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23192 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23193 * sysdeps/x86_64/dla.h: ...here. New file.
23194 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23204 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23207 __ynl_finite aliases.
23209 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23213 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23215 [DLA_FMA] (EMULV): Use DLA_FMA.
23216 [DLA_FMA] (MUL12): Use EMULV.
23217 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23218 that are not needed.
23219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23220 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23222 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23227 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23229 * math/s_nan.c: Undef __nan.
23230 * math/s_nanf.c: Undef __nanf.
23231 * math/s_nanl.c: Undef __nanl.
23232 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23235 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23237 * math/s_catan.c: Add branch predictions.
23238 * math/s_catanf.c: Likewise.
23239 * math/s_catanh.c: Likewise.
23240 * math/s_catanhf.c: Likewise.
23241 * math/s_catanhl.c: Likewise.
23242 * math/s_catanl.c: Likewise.
23243 * math/s_cexp.c: Likewise.
23244 * math/s_cexpf.c: Likewise.
23245 * math/s_cexpl.c: Likewise.
23246 * math/s_clog.c: Likewise.
23247 * math/s_clog10.c: Likewise.
23248 * math/s_clog10f.c: Likewise.
23249 * math/s_clog10l.c: Likewise.
23250 * math/s_clogf.c: Likewise.
23251 * math/s_clogl.c: Likewise.
23252 * math/s_csqrt.c: Likewise.
23253 * math/s_csqrtf.c: Likewise.
23254 * math/s_csqrtl.c: Likewise.
23255 * math/s_ctanf.c: Likewise.
23256 * math/s_ctanh.c: Likewise.
23257 * math/s_ctanhf.c: Likewise.
23258 * math/s_ctanhl.c: Likewise.
23259 * math/s_ctanl.c: Likewise.
23261 * math/math_private.h: Define __nan, __nanf, __nanl.
23262 * math/s_cacosh.c: Include <math_private.h>.
23263 * math/s_cacoshl.c: Likewise.
23264 * math/s_casinh.c: Likewise.
23265 * math/s_casinhf.c: Likewise.
23266 * math/s_casinhl.c: Likewise.
23267 * math/s_ccos.c: Rely entire on ccosh.
23268 * math/s_ccosf.c: Rely entire on ccoshf.
23269 * math/s_ccosl.c: Rely entirely on ccoshl.
23270 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23271 Remove tests for FE_INVALID.
23272 * math/s_ccoshf.c: Likewise.
23273 * math/s_ccoshl.c: Likewise.
23274 * math/s_csin.c: Likewise.
23275 * math/s_csinf.c: Likewise.
23276 * math/s_csinh.c Likewise.
23277 * math/s_csinhf.c: Likewise.
23278 * math/s_csinhl.c: Likewise.
23279 * math/s_csinl.c: Likewise.
23280 * math/s_ctan.c: Likewise.
23281 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23282 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23283 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23285 2011-10-21 Ulrich Drepper <drepper@gmail.com>
23287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23288 compilation problems.
23290 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23293 2011-10-20 Ulrich Drepper <drepper@gmail.com>
23295 * sysdeps/i386/configure.in: Test for -mfma4 option.
23296 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23297 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23298 COMMON_CPUID_INDEX_80000001.
23299 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23300 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23301 use it if FMA3 is not supported.
23302 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23304 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23305 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23307 2011-10-20 Andreas Schwab <schwab@redhat.com>
23310 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23311 it would create a cycle with a link time dependency.
23313 2011-10-19 Ulrich Drepper <drepper@gmail.com>
23315 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23317 * string/Makefile (strop-tests): Add rawmemchr.
23318 * string/test-rawmemchr.c: New file.
23320 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23322 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23323 when compiling str{,n}casecmp and when AVX is available. Hook up
23324 new optimized code in initializers.
23326 2011-10-19 Andreas Schwab <schwab@redhat.com>
23328 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23329 __feraiseexcept instead of feraiseexcept.
23331 2011-10-18 Ulrich Drepper <drepper@gmail.com>
23333 * math/math_private.h: Define defaults for libc_fetestexcept and
23335 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23336 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23337 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23338 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23339 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23340 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23341 libc_fetestexcept and libc_feupdateenv.
23343 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23344 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23345 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23346 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23347 libc_feholdexcept_setround.
23349 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23350 Add s_nearbyint-c and s_nearbyintf-c.
23351 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23352 nearbyintf inlines.
23353 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23354 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23355 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23356 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23358 * math/math_private.h: Define defaults for libc_fegetround,
23359 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23360 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23361 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23363 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23364 standard functions.
23365 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23366 Remove comments and hacks for old compiler versions.
23367 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23368 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23369 libc_feholdexceptl.
23371 2011-10-18 Andreas Schwab <schwab@redhat.com>
23373 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23374 (__feraiseexcept_renamed): Add __NTH.
23375 (feraiseexcept): Add __NTH. Rename local variables to fix
23376 namespace violations.
23378 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23380 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23382 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23384 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23385 recently added interfaces.
23386 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23388 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23389 about macro parameter expansion.
23391 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23392 __NO_MATH_INLINES is defined. Cleanups.
23394 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23395 and __floorf is target has SSE4.1.
23396 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23397 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23398 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23399 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23401 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23403 (floorf): Likewise.
23405 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23407 2011-10-17 Andreas Schwab <schwab@redhat.com>
23409 * misc/sys/cdefs.h: Fix last change.
23411 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23414 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23416 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23418 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23420 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23421 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23423 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23424 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23425 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23426 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23427 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23428 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23429 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23430 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23431 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23432 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23433 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23434 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23435 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23436 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23437 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23438 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23439 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23441 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23442 ceil, ceilf, floor, floorf.
23444 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23445 Perform IRELATIVE relocations last.
23447 * elf/do-rel.h: Add another parameter nrelative, replacing the
23448 local variable with the same name. Change name of the function
23449 to end in Rel or Rela (uppercase).
23450 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23451 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23452 elf_dynamic_do_##reloc function.
23454 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23456 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23457 is sufficient, at least on modern CPUs.
23459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23461 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23462 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23464 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23466 * math/bits/math-finite.h: Add entries for exp.
23467 * math/e_expl.c: Add __*_finite alias.
23468 * sysdeps/i386/fpu/e_exp.S: Likewise.
23469 * sysdeps/i386/fpu/e_expf.S: Likewise.
23470 * sysdeps/i386/fpu/e_expl.c: Likewise.
23471 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23472 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23473 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23475 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23476 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23477 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23479 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23480 is sufficient, at least on modern CPUs.
23482 * ctype/ctype-info.c (__ctype_init): Define.
23483 * include/ctype.h (__ctype_init): Declare.
23484 (__ctype_b_loc): The variable is always initialized.
23485 (__ctype_toupper_loc): Likewise.
23486 (__ctype_tolower_loc): Likewise.
23487 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23488 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23490 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23492 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23494 * configure.in: Also look in $cxxmachine/include for C++ system
23497 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23499 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23500 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23501 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23502 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23503 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23504 (USE_AS_WMEMCMP): New macro.
23506 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23507 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23508 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23509 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23511 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23512 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23513 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23514 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23515 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23516 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23517 (USE_AS_WMEMCMP): New macro.
23518 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23519 * sysdeps/string/test-memcmp.c: Update.
23520 Fix simple_wmemcmp.
23522 * wcsmbs/wmemcmp.c: Update.
23523 (WMEMCMP): New macro.
23526 2011-10-12 Andreas Jaeger <aj@suse.de>
23529 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23531 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23533 * libio/iofwide.c (do_length): Avoid warning.
23535 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23537 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23539 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23541 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23542 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23543 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23544 * sysdeps/i386/i686/fpu/e_log.S: New file.
23545 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23546 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23548 * ctype/ctype.h: Add support for inlined isXXX functions when
23549 compiling C++ code.
23551 2011-10-14 Andreas Schwab <schwab@redhat.com>
23553 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23555 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23557 2011-10-13 Roland McGrath <roland@hack.frob.com>
23560 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23562 2011-10-13 Andreas Schwab <schwab@redhat.com>
23564 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23565 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23568 * sysdeps/x86_64/memrchr.S: Check for zero size.
23570 * string/stratcliff.c: Add memrchr tests.
23572 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23575 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23576 rawmemchr-sse2 rawmemchr-sse2-bsf.
23577 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23578 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23579 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23580 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23581 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23582 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23583 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23584 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23585 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23586 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23587 * string/memrchr.c (MEMRCHR): New macro.
23589 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23591 Add integration with gcc's -ffinite-math-only and optimize wrapper
23593 * Versions.def: Define GLIBC_2.15 version for libm.
23594 * math/Makefile (headers): Add bits/math-finite.h.
23595 * math/bits/math-finite.h: New file.
23596 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23597 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23598 * math/e_acoshl.c: Add __*_finite alias.
23599 * math/e_acosl.c: Likewise.
23600 * math/e_asinl.c: Likewise.
23601 * math/e_atan2l.c: Likewise.
23602 * math/e_atanhl.c: Likewise.
23603 * math/e_coshl.c: Likewise.
23604 * math/e_exp10.c: Likewise.
23605 * math/e_exp10f.c: Likewise.
23606 * math/e_exp10l.c: Likewise.
23607 * math/e_exp2l.c: Likewise.
23608 * math/e_fmodl.c: Likewise.
23609 * math/e_gammal_r.c: Likewise.
23610 * math/e_hypotl.c: Likewise.
23611 * math/e_j0l.c: Likewise.
23612 * math/e_j1l.c: Likewise.
23613 * math/e_jnl.c: Likewise.
23614 * math/e_lgammal_r.c: Likewise.
23615 * math/e_log10l.c: Likewise.
23616 * math/e_log2l.c: Likewise.
23617 * math/e_logl.c: Likewise.
23618 * math/e_powl.c: Likewise.
23619 * math/e_sinhl.c: Likewise.
23620 * math/e_sqrtl.c: Likewise.
23621 * math/e_scalb.c: Completely rewritten and optimized.
23622 * math/e_scalbf.c: Likewise.
23623 * math/e_scalbl.c: Likewise.
23624 * math/w_acos.c: Likewise.
23625 * math/w_acosf.c: Likewise.
23626 * math/w_acosl.c: Likewise.
23627 * math/w_acosh.c: Likewise.
23628 * math/w_acoshf.c: Likewise.
23629 * math/w_acoshl.c: Likewise.
23630 * math/w_asin.c: Likewise.
23631 * math/w_asinf.c: Likewise.
23632 * math/w_asinl.c: Likewise.
23633 * math/w_atan2.c: Likewise.
23634 * math/w_atan2f.c: Likewise.
23635 * math/w_atan2l.c: Likewise.
23636 * math/w_atanh.c: Likewise.
23637 * math/w_atanhf.c: Likewise.
23638 * math/w_atanhl.c: Likewise.
23639 * math/w_exp10.c: Likewise.
23640 * math/w_exp10f.c: Likewise.
23641 * math/w_exp10l.c: Likewise.
23642 * math/w_fmod.c: Likewise.
23643 * math/w_fmodf.c: Likewise.
23644 * math/w_fmodl.c: Likewise.
23645 * math/w_j0.c: Likewise.
23646 * math/w_j0f.c: Likewise.
23647 * math/w_j0l.c: Likewise.
23648 * math/w_j1.c: Likewise.
23649 * math/w_j1f.c: Likewise.
23650 * math/w_j1l.c: Likewise.
23651 * math/w_jn.c: Likewise.
23652 * math/w_jnf.c: Likewise.
23653 * math/w_log.c: Likewise.
23654 * math/w_logf.c: Likewise.
23655 * math/w_logl.c: Likewise.
23656 * math/w_log10.c: Likewise.
23657 * math/w_log10f.c: Likewise.
23658 * math/w_log10l.c: Likewise.
23659 * math/w_log2.c: Likewise.
23660 * math/w_log2f.c: Likewise.
23661 * math/w_log2l.c: Likewise.
23662 * math/w_pow.c: Likewise.
23663 * math/w_powf.c: Likewise.
23664 * math/w_powl.c: Likewise.
23665 * math/w_remainder.c: Likewise.
23666 * math/w_remainderf.c: Likewise.
23667 * math/w_remainderl.c: Likewise.
23668 * math/w_scalb.c: Likewise.
23669 * math/w_scalbf.c: Likewise.
23670 * math/w_scalbl.c: Likewise.
23671 * math/w_sqrt.c: Likewise.
23672 * math/w_sqrtf.c: Likewise.
23673 * math/w_sqrtl.c: Likewise.
23674 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23675 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23677 * math/math_private.h: Declare __kernel_standard_f.
23678 * math/w_cosh.c: Remove cruft and optimize a bit.
23679 * math/w_coshf.c: Likewise.
23680 * math/w_coshl.c: Likewise.
23681 * math/w_exp2.c: Likewise.
23682 * math/w_exp2f.c: Likewise.
23683 * math/w_exp2l.c: Likewise.
23684 * math/w_hypot.c: Likewise.
23685 * math/w_hypotf.c: Likewise.
23686 * math/w_hypotl.c: Likewise.
23687 * math/w_lgamma.c: Likewise.
23688 * math/w_lgamma_r.c: Likewise.
23689 * math/w_lgammaf.c: Likewise.
23690 * math/w_lgammaf_r.c: Likewise.
23691 * math/w_lgammal.c: Likewise.
23692 * math/w_lgammal_r.c: Likewise.
23693 * math/w_sinh.c: Likewise.
23694 * math/w_sinhf.c: Likewise.
23695 * math/w_sinhl.c: Likewise.
23696 * math/w_tgamma.c: Likewise.
23697 * math/w_tgammaf.c: Likewise.
23698 * math/w_tgammal.c: Likewise.
23699 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23700 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23701 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23702 Minor optimizations. Pretty printing. Remove cruft.
23703 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23704 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23705 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23706 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23707 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23708 * sysdeps/i386/fpu/e_asin.S: Likewise.
23709 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23710 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23711 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23712 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23713 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23715 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23716 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23717 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23718 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23719 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23720 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23721 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23722 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23723 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23724 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23725 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23726 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23727 * sysdeps/i386/fpu/e_log.S: Likewise.
23728 * sysdeps/i386/fpu/e_log10.S: Likewise.
23729 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23730 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23731 * sysdeps/i386/fpu/e_log2.S: Likewise.
23732 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23733 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23734 * sysdeps/i386/fpu/e_logf.S: Likewise.
23735 * sysdeps/i386/fpu/e_logl.S: Likewise.
23736 * sysdeps/i386/fpu/e_pow.S: Likewise.
23737 * sysdeps/i386/fpu/e_powf.S: Likewise.
23738 * sysdeps/i386/fpu/e_powl.S: Likewise.
23739 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23740 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23741 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23742 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23743 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23744 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23745 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23746 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23747 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23748 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23749 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23751 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23753 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23754 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23755 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23756 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23757 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23758 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23759 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23760 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23761 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23762 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23764 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23765 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23766 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23768 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23769 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23770 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23771 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23772 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23773 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23774 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23775 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23776 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23777 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23778 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23779 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23780 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23781 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23782 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23783 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23784 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23785 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23786 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23787 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23788 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23789 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23790 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23791 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23792 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23793 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23794 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23795 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23796 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23797 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23798 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23799 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23800 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23801 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23802 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23803 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23804 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23805 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23806 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23807 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23808 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23809 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23812 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23813 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23815 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23816 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23817 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23818 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23819 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23820 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23821 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23822 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23825 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23826 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23827 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23828 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23829 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23830 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23831 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23832 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23833 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23834 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23835 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23836 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23837 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23838 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23839 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23840 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23841 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23842 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23843 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23844 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23845 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23846 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23847 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23848 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23849 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23850 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23851 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23852 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23853 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23854 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23855 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23856 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23858 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23859 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23860 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23861 (__isnanf): Likewise.
23862 (__isinf_ns): Likewise.
23863 (__isinf_nsf): Likewise.
23864 (__finite): Likewise.
23865 (__finitef): Likewise.
23866 (__ieee754_sqrt): Define as macro.
23867 (__ieee754_sqrtf): Define as macro.
23868 (__ieee754_sqrtl): Define as macro.
23869 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23871 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23872 __FINITE_MATH_ONLY__ consistent.
23873 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23875 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23877 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23880 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23882 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23884 * po/ja.po: Update from translation team.
23886 2011-10-08 Roland McGrath <roland@hack.frob.com>
23888 * locale/programs/locarchive.c (prepare_address_space): New function.
23889 (create_archive, enlarge_archive, open_archive): Use it.
23891 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23892 inside [SHARED], where it is used.
23894 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23896 * nss/getent.c (netgroup_keys): Remove unused variable.
23897 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23899 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23901 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23902 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23904 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23905 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23906 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23907 * math/Makefile (libm-calls): Add s_isinf_ns.
23908 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23909 * math/multc3.c: Likewise.
23910 * math/s_casin.c: Likewise.
23911 * math/s_casinf.c: Likewise.
23912 * math/s_casinl.c: Likewise.
23913 * math/s_ccos.c: Likewise.
23914 * math/s_ccosf.c: Likewise.
23915 * math/s_ccosl.c: Likewise.
23916 * math/s_ctan.c: Likewise.
23917 * math/s_ctanf.c: Likewise.
23918 * math/s_ctanh.c: Likewise.
23919 * math/s_ctanhf.c: Likewise.
23920 * math/s_ctanhl.c: Likewise.
23921 * math/s_ctanl.c: Likewise.
23922 * math/w_fmod.c: Likewise.
23923 * math/w_fmodf.c: Likewise.
23924 * math/w_fmodl.c: Likewise.
23925 * math/w_remainder.c: Likewise.
23926 * math/w_remainderf.c: Likewise.
23927 * math/w_remainderl.c: Likewise.
23928 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23929 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23930 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23932 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23933 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23934 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23935 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23937 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23939 * stdio-common/printf_fphex.c: Likewise.
23940 * stdio-common/printf_size.c: Likewise.
23942 * math/e_exp10.c: Include math_private.h using <...> not "...".
23943 * math/e_exp10f.c: Likewise.
23944 * math/e_exp10l.c: Likewise.
23945 * math/e_exp2l.c: Likewise.
23946 * math/e_j0l.c: Likewise.
23947 * math/e_j1l.c: Likewise.
23948 * math/e_jnl.c: Likewise.
23949 * math/e_lgammal_r.c: Likewise.
23950 * math/e_rem_pio2l.c: Likewise.
23951 * math/e_scalb.c: Likewise.
23952 * math/e_scalbf.c: Likewise.
23953 * math/e_scalbl.c: Likewise.
23954 * math/k_cosl.c: Likewise.
23955 * math/k_sinl.c: Likewise.
23956 * math/k_tanl.c: Likewise.
23957 * math/s_cacoshf.c: Likewise.
23958 * math/s_catan.c: Likewise.
23959 * math/s_catanf.c: Likewise.
23960 * math/s_catanh.c: Likewise.
23961 * math/s_catanhf.c: Likewise.
23962 * math/s_catanhl.c: Likewise.
23963 * math/s_catanl.c: Likewise.
23964 * math/s_ccosh.c: Likewise.
23965 * math/s_ccoshf.c: Likewise.
23966 * math/s_ccoshl.c: Likewise.
23967 * math/s_cexp.c: Likewise.
23968 * math/s_cexpf.c: Likewise.
23969 * math/s_cexpl.c: Likewise.
23970 * math/s_clog.c: Likewise.
23971 * math/s_clog10.c: Likewise.
23972 * math/s_clog10f.c: Likewise.
23973 * math/s_clog10l.c: Likewise.
23974 * math/s_clogf.c: Likewise.
23975 * math/s_clogl.c: Likewise.
23976 * math/s_csin.c: Likewise.
23977 * math/s_csinf.c: Likewise.
23978 * math/s_csinh.c: Likewise.
23979 * math/s_csinhf.c: Likewise.
23980 * math/s_csinhl.c: Likewise.
23981 * math/s_csinl.c: Likewise.
23982 * math/s_csqrt.c: Likewise.
23983 * math/s_csqrtf.c: Likewise.
23984 * math/s_csqrtl.c: Likewise.
23985 * math/s_ctan.c: Likewise.
23986 * math/s_ctanf.c: Likewise.
23987 * math/s_ctanh.c: Likewise.
23988 * math/s_ctanhf.c: Likewise.
23989 * math/s_ctanhl.c: Likewise.
23990 * math/s_ctanl.c: Likewise.
23991 * math/s_ldexp.c: Likewise.
23992 * math/s_ldexpf.c: Likewise.
23993 * math/s_ldexpl.c: Likewise.
23994 * math/s_significand.c: Likewise.
23995 * math/s_significandf.c: Likewise.
23996 * math/s_significandl.c: Likewise.
23997 * math/w_acos.c: Likewise.
23998 * math/w_acosf.c: Likewise.
23999 * math/w_acosh.c: Likewise.
24000 * math/w_acoshf.c: Likewise.
24001 * math/w_acoshl.c: Likewise.
24002 * math/w_acosl.c: Likewise.
24003 * math/w_asin.c: Likewise.
24004 * math/w_asinf.c: Likewise.
24005 * math/w_asinl.c: Likewise.
24006 * math/w_atan2.c: Likewise.
24007 * math/w_atan2f.c: Likewise.
24008 * math/w_atan2l.c: Likewise.
24009 * math/w_atanh.c: Likewise.
24010 * math/w_atanhf.c: Likewise.
24011 * math/w_atanhl.c: Likewise.
24012 * math/w_cosh.c: Likewise.
24013 * math/w_coshf.c: Likewise.
24014 * math/w_coshl.c: Likewise.
24015 * math/w_dremf.c: Likewise.
24016 * math/w_exp10.c: Likewise.
24017 * math/w_exp10f.c: Likewise.
24018 * math/w_exp10l.c: Likewise.
24019 * math/w_exp2.c: Likewise.
24020 * math/w_exp2f.c: Likewise.
24021 * math/w_fmod.c: Likewise.
24022 * math/w_fmodf.c: Likewise.
24023 * math/w_fmodl.c: Likewise.
24024 * math/w_hypot.c: Likewise.
24025 * math/w_hypotf.c: Likewise.
24026 * math/w_hypotl.c: Likewise.
24027 * math/w_j0.c: Likewise.
24028 * math/w_j0f.c: Likewise.
24029 * math/w_j0l.c: Likewise.
24030 * math/w_j1.c: Likewise.
24031 * math/w_j1f.c: Likewise.
24032 * math/w_j1l.c: Likewise.
24033 * math/w_jn.c: Likewise.
24034 * math/w_jnf.c: Likewise.
24035 * math/w_jnl.c: Likewise.
24036 * math/w_lgamma.c: Likewise.
24037 * math/w_lgamma_r.c: Likewise.
24038 * math/w_lgammaf.c: Likewise.
24039 * math/w_lgammaf_r.c: Likewise.
24040 * math/w_lgammal.c: Likewise.
24041 * math/w_lgammal_r.c: Likewise.
24042 * math/w_log.c: Likewise.
24043 * math/w_log10.c: Likewise.
24044 * math/w_log10f.c: Likewise.
24045 * math/w_log10l.c: Likewise.
24046 * math/w_log2.c: Likewise.
24047 * math/w_log2f.c: Likewise.
24048 * math/w_log2l.c: Likewise.
24049 * math/w_logf.c: Likewise.
24050 * math/w_logl.c: Likewise.
24051 * math/w_pow.c: Likewise.
24052 * math/w_powf.c: Likewise.
24053 * math/w_powl.c: Likewise.
24054 * math/w_remainder.c: Likewise.
24055 * math/w_remainderf.c: Likewise.
24056 * math/w_remainderl.c: Likewise.
24057 * math/w_scalb.c: Likewise.
24058 * math/w_scalbf.c: Likewise.
24059 * math/w_scalbl.c: Likewise.
24060 * math/w_sinh.c: Likewise.
24061 * math/w_sinhf.c: Likewise.
24062 * math/w_sinhl.c: Likewise.
24063 * math/w_sqrt.c: Likewise.
24064 * math/w_sqrtf.c: Likewise.
24065 * math/w_sqrtl.c: Likewise.
24066 * math/w_tgamma.c: Likewise.
24067 * math/w_tgammaf.c: Likewise.
24068 * math/w_tgammal.c: Likewise.
24070 * po/ja.po: Update from translation team.
24072 2011-09-29 Andreas Jaeger <aj@suse.de>
24075 * sunrpc/netname.c (netname2host): Fix logic.
24079 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24081 * math/w_remainder.c (__remainder): Likewise.
24082 * math/w_remainderf.c (__remainderf): Likewise.
24083 * math/libm-test.inc (remainder_test): Add test cases.
24085 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24087 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24090 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24092 * string/test-memcmp.c: Avoid unncessary #defines.
24093 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24095 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24097 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24098 Use new sse2 version for core i3 - i7 as it's faster
24099 than sse42 version.
24100 (bit_Prefer_PMINUB_for_stringop): New.
24101 * sysdeps/x86_64/rawmemchr.S: Update.
24102 Replace with faster SSE2 version.
24103 * sysdeps/x86_64/memrchr.S: New file.
24104 * sysdeps/x86_64/memchr.S: Update.
24105 Replace with faster SSE2 version.
24107 2011-09-12 Marek Polacek <mpolacek@redhat.com>
24109 * elf/dl-load.c (lose): Add cast to avoid warning.
24111 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24113 * po/ca.po: Update from translation team.
24115 * inet/getnetgrent_r.c: Hook up nscd.
24116 * nscd/Makefile (routines): Add nscd_netgroup.
24117 (nscd-modules): Add netgroupcache.
24118 (CFLAGS-netgroupcache.c): Define.
24119 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24120 (cache_search): Add const to second parameter.
24121 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24123 (dbs): Add netgrdb entry.
24124 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24125 (verify_persistent_db): Handle netgrdb.
24126 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24127 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24129 (netgroup_response_header): Define.
24130 (innetgroup_response_header): Define.
24131 (datahead): Add netgroup_response_header and innetgroup_response_header
24133 * nscd/nscd.conf: Add entries for netgroup cache.
24134 * nscd/nscd.h (dbtype): Add netgrdb.
24135 (_PATH_NSCD_NETGROUP_DB): Define.
24136 (netgroup_iov_disabled): Declare.
24137 (xmalloc, xcalloc, xrealloc): Move declarations here.
24138 (cache_search): Adjust prototype.
24139 Add netgroup-related prototypes.
24140 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24141 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24142 (__nscd_innetgr): Declare.
24143 * nscd/selinux.c (perms): Use access_vector_t as element type and
24144 add netgroup-related initializers.
24145 * nscd/netgroupcache.c: New file.
24146 * nscd/nscd_netgroup.c: New file.
24147 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24148 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24149 For four parameters use innetgr.
24150 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24151 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24152 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24153 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24155 * nscd/connections.c (register_traced_file): Don't register file
24156 for disabled databases.
24158 2011-10-06 Ulrich Drepper <drepper@gmail.com>
24160 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24162 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24163 from tree and freeing node.
24165 2011-09-25 Jiri Olsa <jolsa@redhat.com>
24167 * nss/nsswitch.c (__nss_database_lookup): Handle
24168 nss_parse_service_list out of memory case.
24170 2011-09-15 Jiri Olsa <jolsa@redhat.com>
24172 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24173 out of memory case.
24175 2011-10-04 Andreas Schwab <schwab@redhat.com>
24177 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24178 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24180 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24181 elf_machine_rela, elf_machine_lazy_rel.
24182 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24183 (ELF_DYNAMIC_DO_REL): Likewise.
24184 (ELF_DYNAMIC_DO_RELA): Likewise.
24185 (ELF_DYNAMIC_RELOCATE): Likewise.
24186 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24187 to ELF_DYNAMIC_DO_REL.
24188 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24189 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24190 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24192 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24193 skip_ifunc, don't call ifunc function if non-zero.
24194 (elf_machine_rela): Likewise.
24195 (elf_machine_lazy_rel): Likewise.
24196 (elf_machine_lazy_rela): Likewise.
24197 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24198 (elf_machine_lazy_rel): Likewise.
24199 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24201 (elf_machine_lazy_rel): Likewise.
24202 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24204 (elf_machine_lazy_rel): Likewise.
24205 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24206 (elf_machine_lazy_rel): Likewise.
24207 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24208 (elf_machine_lazy_rel): Likewise.
24209 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24210 (elf_machine_lazy_rel): Likewise.
24211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24212 (elf_machine_lazy_rel): Likewise.
24213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24214 (elf_machine_lazy_rel): Likewise.
24215 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24216 (elf_machine_lazy_rel): Likewise.
24218 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24220 * nss/nss_files/files-init.c (_nss_files_init): Use static
24221 initialization for all the *_traced_file variables.
24223 2011-09-28 Andreas Schwab <schwab@redhat.com>
24225 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24227 2011-09-27 Roland McGrath <roland@hack.frob.com>
24230 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24232 2011-09-27 Andreas Schwab <schwab@redhat.com>
24234 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24235 Reread the line before reparsing it.
24237 2011-09-26 Andreas Schwab <schwab@redhat.com>
24239 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24241 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24242 Maxim Kuvyrkov <maxim@codesourcery.com>
24243 Joseph Myers <joseph@codesourcery.com>
24245 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24246 if needed for __stack_chk_guard.
24248 2011-09-19 Roland McGrath <roland@hack.frob.com>
24250 * sysdeps/posix/spawni.c (script_execute): Always define it.
24251 It will be optimized away if unused.
24252 (maybe_script_execute): New function.
24253 (__spawni): Call it.
24255 * Makerules: Don't include tls.make.
24256 (config-tls): Always set to thread.
24257 * tls.make.c: File removed.
24259 2011-09-19 Mike Frysinger <vapier@gentoo.org>
24261 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24262 * config.make.in (CPPFLAGS-config): New substituted variable.
24264 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24266 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24269 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24270 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24272 2011-09-15 Roland McGrath <roland@hack.frob.com>
24274 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24275 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24277 (CALL_FAIL): Likewise.
24278 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24279 (CALL_FAIL): Macro removed.
24280 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24282 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24284 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24285 for __FINITE_MATH_ONLY__ == 1.
24287 2011-09-15 Andreas Schwab <schwab@redhat.com>
24289 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24290 __ieee754_sqrt instead of sqrt.
24291 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24292 __ieee754_sqrtf instead of sqrtf.
24293 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24294 __floorf instead of floorf.
24295 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24296 __floorf, __truncf instead of floorf, truncf.
24298 2011-09-14 Ulrich Drepper <drepper@gmail.com>
24300 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24302 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24303 __extern_always_inline.
24304 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24307 2011-09-14 Andreas Schwab <schwab@redhat.com>
24309 * elf/rtld.c (dl_main): Also relocate in dependency order when
24310 doing symbol dependency testing.
24312 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24314 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24315 Always define `refsym'.
24317 2011-09-13 Andreas Schwab <schwab@redhat.com>
24319 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24320 (__FD_ELT): Renamed from __FDELT.
24321 * misc/bits/select2.h (__FD_ELT): Likewise.
24322 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24323 __FD_MASK instead of __FDELT, __FDMASK.
24324 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24326 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24329 * elf/Makefile (gen-ldd): Fix pattern.
24331 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24332 (init_tls): Likewise.
24334 2011-09-12 Ulrich Drepper <drepper@gmail.com>
24336 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24338 2011-09-12 Andreas Schwab <schwab@redhat.com>
24340 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24341 `struct cmsghdr *' instead of `void *'.
24342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24345 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24347 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24349 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24350 ldd_rewrite_script.
24352 2011-09-11 Ulrich Drepper <drepper@gmail.com>
24354 * configure.in: Remove --with-tls option.
24355 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24356 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24357 out in case it is missing.
24358 * sysdeps/ia64/elf/configure.in: Likewise.
24359 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24360 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24361 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24362 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24363 * sysdeps/sh/elf/configure.in: Likewise.
24364 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24365 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24366 * sysdeps/x86_64/elf/configure.in: Likewise.
24367 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24368 * sysdeps/mach/hurd/tls.h: Likewise.
24371 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24374 * configure.in: Fix use of AC_INIT.
24376 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24378 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24380 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24382 * malloc/hooks.c: Likewise.
24385 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24386 variables statically.
24387 (narenas): Initialize.
24388 (list_lock): Initialize.
24389 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24390 initializtion of main_arena and list_lock. Small cleanups.
24391 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24392 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24393 Add initializers to main_arena and mp_.
24394 (malloc_state): Remove pagesize member. Change all users to use
24397 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24398 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24399 is always initialized.
24401 * malloc/malloc.c: Removed unused configurations and dead code.
24402 * malloc/arena.c: Likewise.
24403 * malloc/hooks.c: Likewise.
24404 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24406 * include/tls.h: Removed. USE___THREAD must always be defined.
24407 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24408 * elf/dl-libc.c: Likewise.
24409 * elf/dl-tsd.c: Likewise.
24410 * include/errno.h: Likewise.
24411 * include/netdb.h: Likewise.
24412 * include/resolv.h: Likewise.
24413 * inet/herrno-loc.c: Likewise.
24414 * inet/herrno.c: Likewise.
24415 * malloc/arena.c: Likewise.
24416 * malloc/hooks.c: Likewise.
24417 * malloc/malloc.c: Likewise.
24418 * resolv/res-state.c: Likewise.
24419 * resolv/res_libc.c: Likewise.
24420 * sysdeps/i386/dl-machine.h: Likewise.
24421 * sysdeps/ia64/dl-machine.h: Likewise.
24422 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24423 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24424 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24425 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24426 * sysdeps/sh/dl-machine.h: Likewise.
24427 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24428 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24429 * sysdeps/unix/i386/sysdep.S: Likewise.
24430 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24431 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24432 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24434 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24435 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24436 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24437 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24440 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24441 * sysdeps/x86_64/dl-machine.h: Likewise.
24442 * tls.make.c: Likewise.
24444 * configure.in: Remove --with-__thread option. Make tests for
24445 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24446 tls_model attribute fail if no support is available. Remove
24448 * Makeconfig: Adjust for dropped configure option. All features are
24450 * Makerules: Likewise.
24451 * Versions.def: Likewise.
24452 * argp/argp-fmtstream.c: Likewise.
24453 * argp/argp-fmtstream.h: Likewise.
24454 * argp/argp-help.c: Likewise.
24455 * assert/assert.c: Likewise.
24456 * config.h.in: Likewise.
24457 * config.make.in: Likewise.
24458 * configure: Likewise.
24459 * configure.in: Likewise.
24460 * csu/Versions: Likewise.
24461 * csu/init.c: Likewise.
24462 * elf/tst-audit2.c: Likewise.
24463 * elf/tst-tls10.c: Likewise.
24464 * elf/tst-tls10.h: Likewise.
24465 * elf/tst-tls11.c: Likewise.
24466 * elf/tst-tls12.c: Likewise.
24467 * elf/tst-tls14.c: Likewise.
24468 * elf/tst-tlsmod11.c: Likewise.
24469 * elf/tst-tlsmod12.c: Likewise.
24470 * elf/tst-tlsmod13.c: Likewise.
24471 * elf/tst-tlsmod13a.c: Likewise.
24472 * elf/tst-tlsmod14a.c: Likewise.
24473 * elf/tst-tlsmod15b.c: Likewise.
24474 * elf/tst-tlsmod16a.c: Likewise.
24475 * elf/tst-tlsmod16b.c: Likewise.
24476 * elf/tst-tlsmod7.c: Likewise.
24477 * elf/tst-tlsmod8.c: Likewise.
24478 * elf/tst-tlsmod9.c: Likewise.
24479 * gmon/gmon.c: Likewise.
24480 * grp/fgetgrent_r.c: Likewise.
24481 * grp/putgrent.c: Likewise.
24482 * hurd/fopenport.c: Likewise.
24483 * include/libc-symbols.h: Likewise.
24484 * include/tls.h: Likewise.
24485 * intl/gettextP.h: Likewise.
24486 * intl/loadinfo.h: Likewise.
24487 * locale/global-locale.c: Likewise.
24488 * locale/localeinfo.h: Likewise.
24489 * mach/devstream.c: Likewise.
24490 * malloc/arena.c: Likewise.
24491 * malloc/set-freeres.c: Likewise.
24492 * misc/err.c: Likewise.
24493 * misc/getttyent.c: Likewise.
24494 * misc/mntent_r.c: Likewise.
24495 * posix/getopt.c: Likewise.
24496 * posix/wordexp.c: Likewise.
24497 * pwd/fgetpwent_r.c: Likewise.
24498 * resolv/Versions: Likewise.
24499 * resolv/res_hconf.c: Likewise.
24500 * shadow/fgetspent_r.c: Likewise.
24501 * shadow/putspent.c: Likewise.
24502 * stdio-common/printf_fphex.c: Likewise.
24503 * stdio-common/tmpfile.c: Likewise.
24504 * stdlib/abort.c: Likewise.
24505 * stdlib/fmtmsg.c: Likewise.
24506 * sunrpc/auth_unix.c: Likewise.
24507 * sunrpc/clnt_perr.c: Likewise.
24508 * sunrpc/clnt_tcp.c: Likewise.
24509 * sunrpc/clnt_udp.c: Likewise.
24510 * sunrpc/clnt_unix.c: Likewise.
24511 * sunrpc/openchild.c: Likewise.
24512 * sunrpc/svc_simple.c: Likewise.
24513 * sunrpc/svc_tcp.c: Likewise.
24514 * sunrpc/svc_udp.c: Likewise.
24515 * sunrpc/svc_unix.c: Likewise.
24516 * sunrpc/xdr.c: Likewise.
24517 * sunrpc/xdr_array.c: Likewise.
24518 * sunrpc/xdr_rec.c: Likewise.
24519 * sunrpc/xdr_ref.c: Likewise.
24520 * sunrpc/xdr_stdio.c: Likewise.
24522 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24524 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24526 2011-07-03 Andreas Jaeger <aj@suse.de>
24528 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24529 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24530 regenerate with gen-libm-tests.pl.
24532 2010-05-12 Petr Baudis <pasky@suse.cz>
24535 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24536 around j0() zero points by switching to j1().
24537 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24538 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24542 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24544 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24546 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24549 Patch in part by Pavel Roskin <proski@gnu.org>.
24552 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24554 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24555 Free memory block if necessary.
24558 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24559 be NULL. Don't lock in this case.
24561 2011-09-09 Roland McGrath <roland@hack.frob.com>
24563 * elf/elf.h (ELFOSABI_GNU): New macro.
24564 (ELFOSABI_LINUX): Define to that.
24566 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24568 * string/strncat.c (strncat): Undef the symbol in case it has been
24569 defined in bits/string.h.
24571 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24573 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24575 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24578 2011-08-17 Andreas Jaeger <aj@suse.de>
24580 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24582 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24583 Ian Lance Taylor <iant@google.com>
24585 * math/libm-test.inc (lround_test): New testcase.
24586 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24588 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24590 * Makefile: Remove support for automatic cvs check-ins.
24591 * Makerules: Likewise.
24592 * config.make.in: Likewise.
24593 * configure.in: Likewise.
24594 * intl/Makefile: Likewise.
24595 * locale/Makefile: Likewise.
24596 * po/Makefile: Likewise.
24597 * posix/Makefile: Likewise.
24598 * sysdeps/gnu/Makefile: Likewise.
24599 * sysdeps/mach/hurd/Makefile: Likewise.
24600 * sysdeps/sparc/sparc32/Makefile: Likewise.
24603 * posix/Makefile (bug-regex32-ENV): Define.
24604 Patch by John Stanley <jpsinthemix@verizon.net>.
24606 * misc/Makefile (headers): Add bits/select2.h.
24607 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24608 * misc/bits/select2.h: New file.
24609 * include/bits/select2.h: New file.
24610 * debug/Makefile (routines): Add fdelt_chk.
24611 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24612 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24614 * debug/fdelt_chk.c: New file.
24616 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24617 * wcsmbs/test-wmemcmp.c: Likewise.
24618 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24619 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24621 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24623 * string/Makefile (strop-tests): Add memcmp.
24624 * string/test-wmemcmp.c: New file.
24625 * string/test-memcmp.c: Add wmemcmp support.
24627 2011-09-08 Roland McGrath <roland@hack.frob.com>
24630 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24633 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24634 garbage value in a __mach_port_mod_refs call in the cases of the
24635 task-self and thread-self ports.
24637 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24639 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24641 2011-09-08 Andreas Schwab <schwab@redhat.com>
24643 * elf/dl-load.c (lose): Check for non-null L.
24645 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24647 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24649 * elf/dl-libc.c (dlerror_run): Pass back error code from
24653 * elf/dl-load.c (lose): Free l_origin if it is valid.
24655 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24657 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24658 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24660 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24661 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24662 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24664 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24666 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24667 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24668 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24669 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24670 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24671 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24672 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24673 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24674 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24675 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24677 2011-08-15 Alan Modra <amodra@gmail.com>
24680 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24681 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24682 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24683 ppc_mcount to static-only-routines.
24684 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24686 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24687 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24689 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24691 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24692 for finite and infinity parameters.
24694 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24696 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24697 and add nop instructions for throughput optimization.
24698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24700 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24702 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24703 aligned copy for power7 with vector-scalar instructions.
24704 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24706 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24708 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24711 2011-09-07 Andreas Schwab <schwab@redhat.com>
24714 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24717 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24719 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24720 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24721 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24722 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24725 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24727 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24728 Forgot to demangle the pointer.
24730 * sysdeps/i386/sysdep.h: Define atom_text_section.
24731 * sysdeps/x86_64/sysdep.h: Likewise.
24732 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24733 section with atom_text_section.
24734 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24735 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24736 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24737 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24738 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24740 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24741 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24742 already be defined. Change to take two parameters and don't assign
24743 result to variable. Adjust all users.
24744 Define INTERNAL_GETTIME if not already defined.
24745 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24748 HAVE_CLOCK_GETTIME_VSYSCALL.
24749 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24752 gettimeofday vsyscall, just use time.
24754 2011-09-06 Andreas Schwab <schwab@redhat.com>
24756 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24759 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24761 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24763 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24765 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24766 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24767 syscall if possible.
24769 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24771 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24772 e_ident. Don't pass to find_mapsXX.
24773 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24775 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24778 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24779 * sysdeps/x86_64/multiarch/strchr.S: Update.
24780 Check bit_slow_BSF bit.
24781 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24782 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24783 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24785 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24788 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24790 (tryshell): Define.
24791 (__spawni): Change last parameter to be flag. Test
24792 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24793 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24794 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24795 * posix/spawni.c: Likewise.
24796 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24797 * posix/spawnp.c: Likewise. Change normal version to use
24798 SPAWN_XFLAGS_USE_PATH.
24799 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24800 SPAWN_XFLAGS_TRY_SHELL.
24803 * posix/glob.h: Remove gcc 1.x support.
24806 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24808 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24811 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24813 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24814 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24815 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24816 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24817 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24818 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24820 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24822 * sysdeps/x86_64/wcscmp.S: New file.
24824 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24825 wcscmp-c wcscmp-sse2
24826 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24827 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24828 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24829 * wcsmbs/wcscmp.c: Allow renaming.
24831 2011-09-05 David S. Miller <davem@davemloft.net>
24833 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24834 stack slot, rather than the struct return pointer slot.
24835 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24836 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24838 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24840 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24842 * po/ja.po: Update from translation team.
24845 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24846 kernel in 64-bit binaries.
24848 2011-09-01 David S. Miller <davem@davemloft.net>
24850 * elf/elf.h (HWCAP_SPARC_*): Move to..
24851 * sysdeps/sparc/sysdep.h: this new file and add new values.
24852 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24853 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24854 _DL_HWCAP_COUNT to 24.
24855 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24857 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24858 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24859 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24861 instead of magic constants.
24862 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24864 2011-08-31 David S. Miller <davem@davemloft.net>
24866 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24868 Reimplement to do errno handling inline.
24869 (SYSCALL_ERROR_HANDLER): New macro.
24870 (__SYSCALL_STRING): Do not do errno handling in asm.
24871 (__CLONE_SYSCALL_STRING): Delete.
24872 (__INTERNAL_SYSCALL_STRING): Delete.
24873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24874 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24875 (PSEUDO): Reimplement to do errno handling inline.
24876 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24877 (SYSCALL_ERROR_HANDLER): New macro.
24878 (__SYSCALL_STRING): Do not do errno handling in asm.
24879 (__CLONE_SYSCALL_STRING): Delete.
24880 (__INTERNAL_SYSCALL_STRING): Delete.
24881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24882 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24884 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24885 (inline_syscall*): Add 'err' argument.
24886 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24887 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24888 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24889 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24891 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24892 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24894 2011-08-30 Andreas Schwab <schwab@redhat.com>
24896 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24898 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24900 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24903 2011-08-24 David S. Miller <davem@davemloft.net>
24905 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24907 2011-08-24 Andreas Schwab <schwab@redhat.com>
24909 * elf/Makefile: Add rules to build and run unload8 test.
24910 * elf/unload8.c: New file.
24911 * elf/unload8mod1.c: New file.
24912 * elf/unload8mod1x.c: New file.
24913 * elf/unload8mod2.c: New file.
24914 * elf/unload8mod3.c: New file.
24916 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24919 2011-08-23 David S. Miller <davem@davemloft.net>
24921 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24922 subtract stack bias.
24923 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24924 %sp not %fp in calculations.
24925 (_JMPBUF_UNWINDS_ADJ): Likewise.
24927 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24928 (aio_suspend): Call it to force an exception region around the
24929 AIO_MISC_WAIT() invocation.
24931 2011-08-23 Andreas Schwab <schwab@redhat.com>
24933 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24936 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24938 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24940 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24941 and <dl-machine.h>.
24942 (Elf64_FuncDesc): Remove.
24944 2011-08-22 David S. Miller <davem@davemloft.net>
24946 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24947 sigaltstack check, add missing cfi directives.
24948 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24949 missing cfi directives, and sigaltstack handling.
24951 2011-08-16 Andreas Schwab <schwab@redhat.com>
24954 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24955 object is seen twice.
24956 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24958 * elf/Makefile (distribute): Add tst-initorder2.c.
24959 (tests): Add tst-initorder2.
24960 (modules-names): Add tst-initorder2a tst-initorder2b
24961 tst-initorder2c tst-initorder2d. Add rules to build them.
24962 ($(objpfx)tst-initorder2.out): New rule.
24963 * elf/tst-initorder2.c: New file.
24964 * elf/tst-initorder2.exp: New file.
24966 2011-08-22 Andreas Schwab <schwab@redhat.com>
24968 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24970 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24971 dependencies back to end of function.
24973 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24974 $(elfobjdir)/ld.so.
24976 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24979 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24980 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24981 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24982 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24983 of __vdso_gettimeofday.
24984 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24985 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24987 (_libc_vdso_platform_setup): Remove initialization of
24988 __vdso_gettimeofday and __vdso_time.
24990 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24992 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24993 and fgetc_unlocked.
24994 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24997 * elf/dl-open.c (add_to_global): Report additions to the global scope
24998 for LD_DEBUG=scopes.
24999 (dl_open_worker): Also print scope of newly loaded dependencies.
25000 (_dl_show_scope): Indicate if there is no scope.
25003 * stdio-common/Makefile (tests): Add bug24.
25004 * stdio-common/bug24.c: New file.
25006 2011-08-19 Andreas Jaeger <aj@suse.de>
25009 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25010 non-existant file when using close-on-exec mode.
25012 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25014 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25015 the very first instruction.
25017 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25018 the CFI state in the end.
25019 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25020 inclusion of dl-trampoline.h.
25021 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25023 2011-08-19 Andreas Schwab <schwab@redhat.com>
25025 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25026 expectations for long double.
25028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25029 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25031 2011-08-14 David S. Miller <davem@davemloft.net>
25033 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25034 artificual limit depends upon the system page size.
25036 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25038 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25039 * resolv/Makefile: Define CFLAGS-libresolv.
25041 2011-08-17 Andreas Schwab <schwab@redhat.com>
25043 * nss/makedb.c (compute_tables): Make variables used in nested
25046 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25048 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25049 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25050 if buffer was too small.
25052 * elf/pldd.c (main): Attach to all threads in the process.
25053 Rewrite /proc handling to use *at functions.
25055 2011-08-16 Ulrich Drepper <drepper@gmail.com>
25057 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25058 specifies first scope to show.
25059 (dl_open_worker): Update callers. Move printing scope of new
25060 object to before the relocation.
25061 * elf/rtld.c (dl_main): Update _dl_show_scope call.
25062 * sysdeps/generic/ldsodefs.h: Update declaration.
25064 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25065 string for the scope number.
25067 2011-08-14 Ulrich Drepper <drepper@gmail.com>
25069 * nscd/servicescache.c (cache_addserv): Make sure written is always
25072 2011-08-14 Roland McGrath <roland@hack.frob.com>
25074 * sysdeps/i386/i486/bits/atomic.h
25075 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25076 statement expression, so as to suppress "set but not used" warning.
25077 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25079 * string/strncat.c (STRNCAT): Use prototype definition.
25081 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25082 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25084 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25085 (localedef-modules): Add localedef.
25086 (locale-modules): Add locale.
25088 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25089 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25090 to avoid a warning.
25092 2011-08-14 David S. Miller <davem@davemloft.net>
25094 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25095 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25097 2011-08-13 Ulrich Drepper <drepper@gmail.com>
25099 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25100 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25101 * elf/rtld.c (dl_main): Set l_name of vDSO.
25102 Call _dl_show_scope when DL_DEBUG_SCOPES.
25103 (process_dl_debug): Recognize scopes flag and also set it for all.
25104 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25105 Declare _dl_show_scope.
25107 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25108 (do_dlopen): Pass caller_dlopen to dl_open.
25109 (__libc_dlopen_mode): Initialize caller_dlopen.
25111 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25112 of libc. Make tolower call locale-independent. Optimize a bit by
25113 using isdigit instead of isalnum.
25114 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25116 2011-08-12 Ulrich Drepper <drepper@gmail.com>
25118 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25119 was a dependency or dynamically loaded.
25121 2011-08-11 Ulrich Drepper <drepper@gmail.com>
25123 * intl/l10nflist.c: Allow architecture-specific pop function.
25124 * sysdeps/x86_64/l10nflist.c: New file.
25126 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25129 2011-08-10 Andreas Schwab <schwab@redhat.com>
25131 * include/dirent.h: Add libc_hidden_proto for scandirat and
25132 scandirat64. Don't declare __scandirat64.
25133 * dirent/scandirat.c: Add libc_hidden_def.
25134 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25135 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25137 2011-08-10 David S. Miller <davem@davemloft.net>
25139 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25141 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25142 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25143 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25145 2011-08-09 Ulrich Drepper <drepper@gmail.com>
25147 * Versions.def [libc]: Add GLIBC_2.15.
25148 * dirent/Makefile (routines): Add scandirat and scandirat64.
25149 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25151 * dirent/dirent.h: Declare scandirat and scandirat64.
25152 * dirent/scandirat.c: New file.
25153 * dirent/scandirat64.c: New file.
25154 * sysdeps/wordsize-64/scandirat.c: New file.
25155 * sysdeps/wordsize-64/scandirat64.c: New file.
25156 * dirent/opendir.c: Define opendirat.
25157 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25159 * dirent/scandir64.c: Adjust for scandir.c change.
25160 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25161 __scandirat64, and __scandir_cancel_handler.
25162 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25163 additional parameter and use openat instead of open (outside of ld.so).
25164 Add new __opendir as wrapper around __opendirat.
25165 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25166 here without requiring old scandirat implementation.
25168 2011-08-08 Ulrich Drepper <drepper@gmail.com>
25170 * dirent/scandir.c (cancel_handler): Renamed to
25171 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25172 defined. Adjust users.
25173 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25174 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25176 2011-08-04 Ulrich Drepper <drepper@gmail.com>
25178 * string/test-string.h (IMPL): Use __STRING to expand name and then
25181 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25184 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25186 * string/Makefile: Update.
25187 (strop-tests): Append strncat.
25188 * string/test-wcscmp.c: New file.
25189 New comprehensive test for wcscmp.
25190 * string/test-strcmp.c: Update.
25191 (WIDE): New define.
25193 2011-07-22 Andreas Schwab <schwab@redhat.com>
25195 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25198 2011-07-26 Andreas Schwab <schwab@redhat.com>
25200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25201 encoding to ACE if AI_IDN.
25203 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25205 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25206 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25208 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25210 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25211 Fix overflow bug in strncat.
25212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25214 * string/test-strncat.c: Update.
25215 Add new tests for checking overflow bugs.
25217 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25220 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25221 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25222 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25223 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25224 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25225 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25226 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25227 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25230 (USE_AS_STRCAT): Define.
25231 Add strcat and strncat support.
25232 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25234 2011-07-25 Andreas Schwab <schwab@redhat.com>
25236 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25237 __n bigger than INT_MAX+1.
25238 (__strncmp_g): Likewise.
25240 2011-07-23 Ulrich Drepper <drepper@gmail.com>
25242 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25243 * libio/stido.h: Likewise.
25245 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25250 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25251 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25252 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25253 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25257 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25262 (_dl_x86_64_save_sse): Likewise.
25264 2011-07-22 Ulrich Drepper <drepper@gmail.com>
25266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25268 (_dl_x86_64_save_sse): Likewise.
25270 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25272 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25274 2011-07-21 Andreas Schwab <schwab@redhat.com>
25276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25278 (_dl_x86_64_save_sse): Use correct AVX check.
25280 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25282 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25283 bug in strncpy/strncat.
25284 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25286 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25288 * string/tester.c (test_strcat): Add tests for different alignments
25289 of source and destination.
25290 (test_strncat): Likewise.
25292 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25295 * posix/glob.c (glob): Check passed in values before using them in
25296 expressions to avoid some overflows.
25297 (glob_in_dir): Likewise.
25300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25301 check for AVX enablement so that we don't crash with old kernels and
25303 * elf/tst-audit4.c: Add same checks here.
25304 * elf/tst-audit6.c: Likewise.
25306 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25308 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25310 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25312 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25314 * po/cs.po: Update from translation team.
25315 * po/bg.po: Likewise.
25317 2011-07-12 Marek Polacek <mpolacek@redhat.com>
25319 * misc/sys/cdefs.h: Add support for const attribute.
25320 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25321 to gnu_dev_{major,minor,makedev} functions.
25323 2011-07-20 Marek Polacek <mpolacek@redhat.com>
25325 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25327 2011-07-20 Andreas Schwab <schwab@redhat.com>
25329 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25332 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25334 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25335 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25336 register in order to avoid conflicts with the soft frame pointer
25337 being held in r11 when necessary.
25338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25339 (INTERNAL_VSYSCALL_NCS): Likewise.
25341 2011-07-14 Marek Polacek <mpolacek@redhat.com>
25343 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25344 * elf/dl-fini.c (_dl_fini): Adjust caller.
25345 * elf/dl-close.c (_dl_close_worker): Likewise.
25346 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25348 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25350 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25351 "aux_cache->nlibs < 0".
25353 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25354 in the reload-count case.
25356 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25359 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25360 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25361 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25362 * sysdeps/x86_64/multiarch/strcat.S: New file.
25363 * sysdeps/x86_64/multiarch/strncat.S: New file.
25364 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25365 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25366 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25367 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25368 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25369 (USE_AS_STRCAT): Define.
25370 Add strcat and strncat support.
25371 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25372 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25373 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25374 * string/strncat.c: Update.
25375 (USE_AS_STRNCAT): Define.
25376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25377 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25379 * sysdeps/x86_64/multiarch/init-arch.h
25380 (bit_Prefer_PMINUB_for_stringop): New.
25381 (index_Prefer_PMINUB_for_stringop): Likewise.
25382 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25383 bit_Prefer_PMINUB_for_stringop.
25385 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25387 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25389 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25390 of casting of buffer.
25391 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25392 buffer32 and buffer64.
25393 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25394 writes instead of casting of buffer.
25395 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25397 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25400 2011-07-19 Andreas Schwab <schwab@redhat.com>
25402 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25404 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25406 * nscd/nscd.c (termination_handler): Don't do anything for a database
25407 if it has not yet been initialized.
25409 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25411 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25413 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25415 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25417 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25419 * po/nl.po: Update from translation team.
25420 * po/sv.po: Likewise.
25422 2011-07-16 Roland McGrath <roland@hack.frob.com>
25424 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25425 now disallowed by GCC.
25427 * configure.in (use-default-link): Default to yes if a test -shared
25428 link meets our qualifications.
25429 * configure: Regenerated.
25431 * config.make.in (output-format): New variable.
25432 * configure.in: Check for ld --print-output-format support.
25433 * configure: Regenerated.
25434 * Makerules ($(common-objpfx)format.lds)
25435 [$(output-format) != unknown]: Just use $(output-format),
25436 instead of the linker-script munging.
25438 2011-07-14 Roland McGrath <roland@hack.frob.com>
25440 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25441 of $(common-objpfx)shlib.lds.
25442 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25444 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25445 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25447 * configure.in (-z relro check): Adjust test code to add a large
25448 writable data section after it.
25449 * configure: Regenerated.
25451 2011-07-11 Roland McGrath <roland@hack.frob.com>
25453 * configure.in (-z relro check): Fix test code to make the variable
25455 * configure: Regenerated.
25457 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25459 * nscd/nscd.h (struct traced_file): Define.
25460 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25461 elements. Add traced_files.
25462 (inotify_fd): Declare.
25463 (register_traced_file): Declare.
25464 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25465 (inotify_fd): Export.
25466 (resolv_conf_descr): Remove.
25467 (nscd_init): Move inotify descriptor creation to main.
25468 Don't register files for notification here.
25469 (register_traced_file): New function.
25470 (invalidate_cache): Don't use reset_res to determine whether to call
25471 res_init, go through the list of registered files.
25472 (main_loop_poll): The inotify descriptors are now stored in the
25473 structures for the traced files.
25474 (main_loop_epoll): Likewise
25475 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25476 to __nss_disable_nscd.
25477 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25478 for a database anymore. Check the records for all the registered
25480 * nss/Makefile (libnss_files-routines): Add files-init.
25481 (libnss_db-routines): Add db-init.
25482 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25483 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25484 * nss/nss_db/db-init.c: New file.
25485 * nss/nss_files/files-init.c: New file.
25486 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25487 __nss_lookup_function.
25488 (__nss_lookup_function): Call nss_load_library.
25489 (nss_load_all_libraries): New function.
25490 (__nss_disable_nscd): Take parameter with callback function for files
25491 to register. Set is_nscd. Load all the DSOs for the NSS modules
25492 used for the cached services.
25493 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25494 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25495 options for features to all the files in nscd.
25497 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25499 2011-07-10 Roland McGrath <roland@hack.frob.com>
25501 * csu/elf-init.c (__libc_csu_init): Comment typo.
25503 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25505 * po/pl.po: Update from translation team.
25506 * po/ja.po: Likewise.
25507 * po/ru.po: Likewise.
25508 * po/ko.po: Likewise.
25509 * po/fr.po: Likewise.
25511 2011-07-09 Roland McGrath <roland@hack.frob.com>
25513 * configure.in (.ctors/.dtors header and trailer check):
25514 Use an empirical test on a built program.
25515 * configure: Regenerated.
25517 * configure.in (-z relro check): Use an empirical test on a built DSO.
25518 Detect, but do not require, on ia64.
25519 * configure: Regenerated.
25521 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25522 Update tests that use readelf to use $READELF instead.
25523 * configure: Regenerated.
25525 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25527 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25528 if the result is not used.
25530 2011-07-05 Andreas Jaeger <aj@suse.de>
25533 * stdlib/tst-strtod.c: Add testcase.
25535 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25537 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25538 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25539 The latter has a higher limit. Take additional parameter to pass to
25541 (__pathconf): Pass file to __statfs_link_max.
25542 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25544 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25548 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25549 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25551 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25552 (__statfs_filesize_max): Likewise.
25553 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25555 2011-07-05 Andreas Jaeger <aj@suse.de>
25557 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25559 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25561 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25563 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25566 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25568 * Makefile (strop-tests): Add strncat.
25569 * string/test-strncat.c: New file.
25571 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25573 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25575 2011-06-21 Andreas Jaeger <aj@suse.de>
25577 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25578 Copy rule from iconvdata/Makefile.
25580 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25583 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25584 but no long options are defined, just return 'W'.
25586 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25589 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25591 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25593 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25595 (innetgr): Likewise.
25597 2011-07-05 Roland McGrath <roland@hack.frob.com>
25599 * config.make.in (install_root): Default to $(DESTDIR).
25601 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25605 2011-07-02 Roland McGrath <roland@hack.frob.com>
25607 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25609 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25610 containing directory rather than embedding absolute directory names.
25612 * scripts/check-local-headers.sh: Rewritten using awk.
25613 Match by word, not by line. Print error messages for matches.
25614 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25616 * Makerules [shlib-lds-flags empty]:
25617 ($(common-objpfx)libc_pic.opts): New target.
25618 ($(common-objpfx)libc_pic.os.clean): New target.
25619 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25621 * config.make.in (OBJCOPY): New variable.
25622 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25623 * configure: Regenerated.
25625 * config.make.in (use-default-link): New variable.
25626 * configure.in (use_default_link): Grok --with-default-link to set it.
25627 * configure: Regenerated.
25628 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25629 (shlib-lds, shlib-lds-flags): Define to empty.
25631 * Makerules (shlib-lds): New variable.
25632 (shlib-lds-flags): New variable.
25633 (build-shlib, build-moduile, build-module-asneeded): Use it.
25634 ($(common-objpfx)libc.so): Use $(shlib-lds).
25635 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25636 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25638 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25639 DT_FLAGS/DT_FLAGS_1 with zero flags.
25641 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25642 linker script munging.
25644 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25646 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25648 * crypt/sha512.c (sha512_process_block): Perform total addition using
25649 128-bit if possible.
25650 (__sha512_finish_ctx): Likewise.
25651 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25653 * crypt/sha256.c (SWAP64): Define.
25654 (sha256_process_block): Perform total addition using 64-bit if
25656 (__sha256_finish_ctx): Likewise.
25658 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25660 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25661 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25662 * nscd/hstcache.c (cache_addhst): Likewise.
25663 * nscd/grpcache.c (cache_addgr): Likewise.
25664 * nscd/aicache.c (addhstaiX): Likewise
25665 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25667 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25669 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25670 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25671 * nscd/hstcache.c (cache_addhst): Likewise.
25672 * nscd/grpcache.c (cache_addgr): Likewise.
25673 * nscd/aicache.c (addhstaiX): Likewise
25675 2011-07-01 Andreas Schwab <schwab@redhat.com>
25677 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25678 domain only when needed.
25680 2011-06-30 Andreas Schwab <schwab@redhat.com>
25682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25683 is always restored.
25685 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25687 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25688 are re-adding the entry.
25689 * nscd/servicescache.c (cache_addserv): Likewise.
25691 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25693 * sysdeps/generic/dl-irel.h: fix protection against multiple
25695 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25697 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25700 * malloc/memusage.sh: Fix quoting in message.
25701 * debug/xtrace.sh: Likewise.
25703 * configure.in: Remove support for --experimental-malloc option, make
25705 * config.make.in: Likewise.
25706 * malloc/Makefile: Likewise.
25708 2011-06-27 Andreas Schwab <schwab@redhat.com>
25710 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25711 two-byte characters.
25713 2011-06-27 Roland McGrath <roland@hack.frob.com>
25715 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25716 AC_CACHE_CHECK invocation.
25717 * configure: Regenerated.
25719 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25721 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25724 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25725 bit from old_res_options.
25727 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25729 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25730 value type for setfct.
25732 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25735 __gettimeofday instead of gettimeofday.
25737 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25739 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25741 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25743 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25745 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25748 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25751 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25752 strcpy-sse2-unaligned strncpy-sse2-unaligned
25753 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25754 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25755 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25756 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25757 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25758 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25759 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25760 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25761 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25762 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25763 (STRCPY): Support SSE2 and SSSE3 versions.
25765 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25768 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25769 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25770 kernels which artificially limit size of requests.
25772 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25775 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25776 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25777 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25778 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25779 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25780 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25781 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25782 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25784 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25785 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25786 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25787 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25788 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25790 Enable unaligned load optimization for Intel Core i3, i5 and i7
25792 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25794 (index_Fast_Unaligned_Load): Define.
25795 (HAS_FAST_UNALIGNED_LOAD): Define.
25797 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25799 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25801 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25804 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25805 until it is clear that the information is realy needed.
25806 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25808 2011-06-22 Andreas Schwab <schwab@redhat.com>
25810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25812 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25814 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25815 /sys/devices/system/cpu/online if it is usable.
25817 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25818 reading the information from the /proc filesystem to once a second.
25820 2011-06-21 Andreas Jaeger <aj@suse.de>
25822 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25823 NULL after inclusion of kernel headers.
25825 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25827 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25828 calls to internal_setent.
25831 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25832 addresses using gethostbyname4_r ignore IPv4 addresses.
25834 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25835 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25837 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25839 2011-06-20 David S. Miller <davem@davemloft.net>
25841 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25843 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25845 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25846 (elf_irel): Use it.
25847 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25848 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25849 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25850 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25851 * sysdeps/x86_64/dl-irel.h: Likewise.
25853 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25854 * elf/dl-sym.c: Likewise.
25856 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25858 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25859 need to dereference resplen2.
25861 2011-06-14 Andreas Schwab <schwab@redhat.com>
25863 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25865 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25867 * Makeconfig: Define vardbdir and inst_vardbdir.
25868 * nss/Makefile: Add rules to install db-Makefile.
25870 * nss/nss_db/db-XXX.c: Cleanup.
25872 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25873 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25875 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25876 * nss/makedb.c: Implement -g option to specify that value strings
25877 are generated and should not be added to table iterated over for
25879 * nss/nss_db/db-initgroups.c: New file.
25881 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25884 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25885 (internal_getgrouplist): Adjust to name change.
25886 Update use_initgroups_entry if this is not the first call.
25887 * nss/databases.def: Add initgroups entry.
25889 * nss/makedb.c (compute_tables): Check result of multiple hash table
25890 sizes to minimize maximum chain length.
25892 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25894 * Versions.def: Add entry for libnss_db.
25895 * shlib-versions: Likewise.
25896 * nss/Makefile: Add rules to build libnss_db.
25897 * nss/Versions: Add libnss_db information. Organize libnss_files
25899 * nss/db-Makefile: Add gshadow support. Change rules for the new
25900 makedb progra. Some minor improvements to generate smaller files.
25901 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25903 * nss/makedb.c: ...here.
25904 Improve database format to be smaller and require less memory at
25906 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25908 * nss/nss_db/db-netgrp.c: Likewise.
25909 * nss/nss_db/db-open.c: Likewise.
25910 * nss/nss_files/flies-XXX.x: Adjust comments.
25911 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25912 * nss/nss_files/files-grp.c: Likewise.
25913 * nss/nss_files/files-hosts.c: Likewise.
25914 * nss/nss_files/files-network.c: Likewise.
25915 * nss/nss_files/files-proto.c: Likewise.
25916 * nss/nss_files/files-pwd.c: Likewise.
25917 * nss/nss_files/files-rpc.c: Likewise.
25918 * nss/nss_files/files-service.c: Likewise.
25919 * nss/nss_files/files-sgrp.c: Likewise.
25920 * nss/nss_files/files-spwd.c: Likewise.
25921 * nss/nss_db/db-alias.c: Removed.
25922 * nss/nss_db/dummy-db.h: Removed.
25924 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25926 * nss/makedb.c: Rewritten to not use database library.
25927 * nss/Makefile: Update to build new makedb program.
25929 2011-06-14 Andreas Jaeger <aj@suse.de>
25931 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25932 memset declaration.
25934 2011-06-10 Andreas Schwab <schwab@redhat.com>
25936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25939 2011-06-10 Roland McGrath <roland@hack.frob.com>
25941 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25942 * elf/Makefile ($(objpfx)ld.so): Likewise.
25944 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25945 Don't list ld.so twice in dependencies.
25947 * posix/bug-regex31.c: Include <stdlib.h>.
25949 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25951 * nis/nss_compat/compat-spwd.c
25952 (getspent_next_nss_netgr): Remove unused variable.
25953 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25955 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25956 nonmembers" output to use the right array.
25958 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25960 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25962 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25963 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25964 * catgets/gencat.c (read_input_file): Likewise.
25965 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25967 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25968 variable definition inside #if's controlling its use.
25970 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25972 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25974 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25976 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25979 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25981 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25982 * configure: Regenerated.
25984 * Makerules: Revert last change.
25985 * elf/Makefile: Likewise.
25987 2011-06-09 Roland McGrath <roland@hack.frob.com>
25989 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25990 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25991 (reloc-link): Likewise.
25993 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25995 * elf/Makefile: Add rules to build pldd.
25996 * elf/pldd.c: New file.
25997 * elf/pldd-xx.c: New file.
25999 2011-06-07 Ulrich Drepper <drepper@gmail.com>
26001 * version.h: Update for 2.15 development version.
26003 2011-06-07 David S. Miller <davem@davemloft.net>
26005 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26008 elf_machine_lazy_rel): Likewise.
26009 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26010 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26011 elf_machine_lazy_rel): Likewise.
26012 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26013 dl_hwcap via passed in argument.
26014 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26017 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26019 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26021 2011-06-06 Roland McGrath <roland@hack.frob.com>
26024 * manual/fdl-1.1.texi: New file, verbatim from:
26025 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26026 * manual/lgpl-2.1.texi: New file, verbatim from:
26027 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26028 * manual/Makefile (licenses): New variable, list those new file names.
26030 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26032 * manual/fdl.texi: File removed.
26033 * manual/lesser.texi: File removed.
26034 * manual/libc.texinfo (Copying, Documentation License):
26035 Use new @include file names, put @appendix directive before @include.
26037 2011-06-04 Jakub Jelinek <jakub@redhat.com>
26040 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26041 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26042 (mq_open): Add __NTH.
26044 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26047 Assume Intel Core i3/i5/i7 processor if AVX is available.
26049 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26054 2011-05-31 Andreas Schwab <schwab@redhat.com>
26056 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26057 memory. Use alloca_account. Fix memory leak when retrying.
26059 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26061 * version.h (RELEASE): Bump for 2.14 release.
26062 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26064 * config.make.in (RANLIB): Remove entry.
26066 2011-05-30 Ulrich Drepper <drepper@gmail.com>
26068 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26069 (libc.pot): Work around missing support for .ksh extension in xgettext.
26072 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26073 if both request failed.
26074 (send_dg): In case of server errors clear resplen or *resplen2.
26077 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26078 when there are multiple maps.
26079 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26080 (_dl_fini): Remove test here.
26082 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26084 2011-05-29 Ulrich Drepper <drepper@gmail.com>
26087 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26088 bit from old_res_options.
26089 (gaih_inet): Likewise.
26092 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26095 * resolv/res_init.c (res_setoptions): Make the code more compact.
26098 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26102 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26104 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26107 * malloc/malloc.h: Declare malloc hook variables as volatile.
26109 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26113 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26114 raise in the comment.
26115 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26116 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26117 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26119 2011-05-28 Ulrich Drepper <drepper@gmail.com>
26122 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26123 grow the buffers more if it already has to be sufficient.
26124 (build_wcs_upper_buffer): Likewise.
26125 * posix/regexec.c (check_matching): Likewise.
26126 (clean_state_log_if_needed): Likewise.
26127 (extend_buffers): Don't enlarge buffers beyond size of the input
26129 Patches mostly by Emil Wojak <emil@wojak.eu>.
26130 * posix/bug-regex32.c: New file.
26131 * posix/Makefile (tests): Add bug-regex32.
26133 * locale/findlocale.c (_nl_find_locale): Return right away if
26134 _nl_explode_name failed.
26135 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26137 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26139 * debug/xtrace.sh: Unify messages.
26140 * malloc/memusage.sh: Likewise.
26143 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26144 time symbol from vDSO. Substitute with vsyscall if not available.
26145 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26148 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26149 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26150 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26151 Add sendmmsg and internal_sendmmsg.
26152 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26153 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26154 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26156 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26157 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26158 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26160 2011-05-27 Ulrich Drepper <drepper@gmail.com>
26163 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26164 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26166 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26170 * iconvdata/Makefile (tests): Add bug-iconv9.
26171 * iconvdata/bug-iconv9.c: New file.
26173 2011-05-27 Andreas Schwab <schwab@redhat.com>
26176 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26178 2011-05-25 Jakub Jelinek <jakub@redhat.com>
26180 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26181 (struct user_regs_struct): Change intcs field back to cs.
26183 2011-05-25 Ulrich Drepper <drepper@gmail.com>
26185 * po/ja.po: Update from translation team.
26187 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26190 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26191 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26193 2011-05-20 Andreas Schwab <schwab@redhat.com>
26195 * stdlib/longlong.h: Update from GCC.
26197 2011-05-23 Andreas Schwab <schwab@redhat.com>
26199 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26201 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26202 Add parameter name.
26203 (__sysconf): Pass it down.
26205 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26208 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26210 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26211 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26212 add in in __libc_use_alloca calls. Adjust callers.
26213 (glob): Use malloc in some situations.
26215 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26216 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26219 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26221 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26222 and CLOCK_BOOTTIME_ALARM.
26225 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26228 * string/_strerror.c (__strerror_r): Print negative errors as signed
26232 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26233 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26234 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26236 * configure.in: Fix typo in redirection and correct removal of test
26237 files in two cases.
26240 * locale/setlocale.c (new_composite_name): Fix test to check for
26241 identical name of all categories.
26244 * libio/filedoalloc.c (local_isatty): New function.
26245 (_IO_file_doallocate): Use local_isatty.
26246 * stdio-common/perror.c (perror): In case a new stream is used
26247 forward the stream error.
26248 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26251 2011-05-20 Ulrich Drepper <drepper@gmail.com>
26254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26256 * include/alloca.h (extend_alloca_account): Define.
26259 * posix/regex.h: Fix comments with documentation of user-accessible
26260 fields after compilation and describe correct free'ing of pattern
26261 after re_compile_pattern.
26262 Patch by Reuben Thomas <rrt@sc3d.org>.
26264 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26266 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26267 and -mno-altivec to prevent the compiler from using Altivec and/or
26268 VSX instructions when the corresponding registers are not available.
26270 2011-05-19 Andreas Schwab <schwab@redhat.com>
26272 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26274 2011-05-19 Ulrich Drepper <drepper@gmail.com>
26276 * libio/freopen.c (freopen): Use __dup2, not dup2.
26277 * libio/freopen64.c (freopen64): Likewise.
26279 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26282 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26283 * math/Makefile (tests): Add test-powl.
26284 (CFLAGS-test-powl.c): Define.
26285 * math/test-powl.c: New file.
26287 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26289 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26291 2011-05-17 Ulrich Drepper <drepper@gmail.com>
26294 * iconvdata/gb18030.c: Update to GB18020-2005.
26296 2011-05-16 Ulrich Drepper <drepper@gmail.com>
26298 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26299 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26300 Patch by Aharon Robbins <arnold@skeeve.com>.
26303 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26307 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26308 through underflows.
26311 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26312 point to strings before performing equality test for error_one_per_line
26316 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26319 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26320 (struct user_fpregs_struct): Avoid __uint*_t types.
26323 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26324 symbol info. Use it instead of calling _dl_addr locally.
26325 (lock_and_info): New function.
26326 (tr_freehook): Call lock_and_info and pass symbol info as additional
26327 parameter to tr_where.
26328 (tr_mallochook): Likewise.
26329 (tr_reallochook): Likewise.
26330 (tr_memalignhook): Likewise.
26332 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26333 used and couldn't be at all thread-safe.
26335 2011-05-15 Ulrich Drepper <drepper@gmail.com>
26337 * libio/freopen.c (freopen): Don't close old file descriptor
26338 before the new one is opened. Instead dup the new file descriptor
26339 to the old one after the new stream is created.
26340 * libio/freopen64.c (freopen64): Likewise.
26341 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26342 * libio/fileops.c (_IO_new_file_close_it): Handle new
26343 _IO_FLAGS2_NOCLOSE flag.
26344 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26345 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26346 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26347 _IO_FLAGS2_NOCLOSE flag.
26348 * include/unistd.h: Add hidden_proto for dup3.
26349 Define __have_dup3.
26350 * io/dup3.c: Define hidden symbol.
26351 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26354 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26355 when an incomplete long option is used.
26356 * posix/tst-getopt_long1.c: New file.
26357 * posix/Makefile (tests): Add tst-getopt_long1.
26360 * scripts/config.guess: Update from autoconf-2.68.
26361 * scripts/config.sub: Likewise.
26364 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26366 (has_cpuclock): ...this. New function.
26367 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26368 macro here based on has_cpuclock code.
26371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26372 First byte (not low byte) is now always NUL.
26373 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26376 Use non-cancelable interfaces.
26379 * locale/iso-639.def: Add entry for Sorani.
26382 * include/stdlib.h: Move include protection to the right place.
26383 Define abort_msg_s. Declare __abort_msg with it.
26384 * stdlib/abort.c (__abort_msg): Adjust type.
26385 * assert/assert.c (__assert_fail_base): New function. Majority
26386 of code from __assert_fail. Allocate memory for __abort_msg with
26388 (__assert_fail): Now call __assert_fail_base.
26389 * assert/assert-perr.c: Remove bulk of implementation. Use
26390 __assert_fail_base.
26391 * include/assert.hL Declare __assert_fail_base.
26392 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26394 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26396 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26400 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26401 until all modules are registered in the DTV.
26402 * elf/Makefile: Add rules to build and run tst-tls19.
26403 * elf/tst-tls19.c: New file.
26404 * elf/tst-tls19mod1.c: New file.
26405 * elf/tst-tls19mod2.c: New file.
26406 * elf/tst-tls19mod3.c: New file.
26407 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26410 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26414 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26415 two-byte sequence errors.
26416 * iconvdata/Makefile (tests): Add bug-iconv8.
26417 * iconvdata/bug-iconv8.c: New file.
26420 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26423 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26426 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26427 (dummy_getcfa): New function.
26428 (init): Get _Unwind_GetCFA address, use dummy if not found.
26429 (backtrace_helper): In recursion check, also check whether CFA changes.
26430 (__backtrace): Completely initialize arg.
26432 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26433 storing incomplete byte sequence in state object. Avoid testing for
26434 guaranteed too small input if we know there is enough data available.
26436 2011-05-11 Andreas Schwab <schwab@redhat.com>
26438 * Makeconfig (+link-pie): Indent.
26439 * Rules (binaries-pie): Define if $(have-fpie) and
26441 (binaries-shared): Also filter out $(binaries-pie).
26442 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26443 * nscd/Makefile (others-pie): Add nscd.
26444 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26445 ($(objpfx)nscd): Remove command override.
26446 * login/Makefile (others-pie): Add pt_chown.
26447 ($(objpfx)pt_chown): Remove command override.
26448 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26449 remove command overrides.
26451 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26453 * libio/tst_putwc.c: Fix error messages.
26456 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26457 currently writing and seek to current position when not.
26458 * libio/Makefile (tests): Add bug-fclose1.
26459 * libio/bug-fclose1.c: New file.
26461 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26464 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26465 don't set DF_1_NODELETE here.
26466 (do_lookup_x): When entering new entry test for copy relocation
26467 and if necessary set DF_1_NODELETE flag.
26468 * elf/tst-unique4.cc: New file.
26469 * elf/tst-unique4.h: New file.
26470 * elf/tst-unique4lib.cc: New file.
26471 * elf/Makefile: Add rules to build and run tst-unique4.
26472 Patch by Piotr Bury <pbury@goahead.com>.
26474 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26477 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26480 * misc/mntent_r.c (addmntent): Flush the stream after the output
26483 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26484 (is_trusted_path_normalize): Skip initial colon. Append slash
26485 to empty buffer. Duplicate is_trusted_path code but allow
26486 constructed patch to be prefix.
26487 (is_dst): Allow $ORIGIN followed by /.
26488 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26489 Correct testing of result of is_trusted_path_normalize
26490 (decompose_rpath): Fix warning.
26492 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26495 * grp/initgroups.c (internal_getgrouplist): When we found the service
26496 list through the initgroups entry in nsswitch.conf do not always
26497 continue on a successful lookup. Don't always use the
26498 __nss_group_database value if it is set.
26499 * nss/nsswitch.conf (initgroups): Change action for successful db
26500 lookup to continue for compatibility.
26502 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26505 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26507 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26509 * iconvdata/tst-tables.sh: Likewise.
26510 * iconvdata/cp770.c: New file.
26511 * iconvdata/cp771.c: New file.
26512 * iconvdata/cp772.c: New file.
26513 * iconvdata/cp773.c: New file.
26514 * iconvdata/cp774.c: New file.
26515 * iconvdata/testdata/CP770: New file.
26516 * iconvdata/testdata/CP770..UTF8: New file.
26517 * iconvdata/testdata/CP771: New file.
26518 * iconvdata/testdata/CP771..UTF8: New file.
26519 * iconvdata/testdata/CP772: New file.
26520 * iconvdata/testdata/CP772..UTF8: New file.
26521 * iconvdata/testdata/CP773: New file.
26522 * iconvdata/testdata/CP773..UTF8: New file.
26523 * iconvdata/testdata/CP774: New file.
26524 * iconvdata/testdata/CP774..UTF8: New file.
26526 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26528 * iconvdata/gen-8bit-gap.sh: Likewise.
26529 * iconvdata/gen-8bit.sh: Likewise.
26531 * locale/iso-639.def: Add ary entry.
26534 * locale/C-translit.h.in: Add U20A1 transliteration.
26537 * locale/iso-639.def: Add wae entry.
26538 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26541 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26545 * locale/C-translit.h.in: Add entry for U20B9.
26546 Patch by pravin.d.s@gmail.com.
26548 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26551 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26552 ENAMETOOLONG use generic getcwd.
26553 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26554 in rtld. Use *stat64.
26555 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26556 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26557 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26558 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26559 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26560 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26561 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26562 __fstatat64 macros.
26563 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26564 * dirent/rewinddir.c: Add libc_hidden_def.
26565 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26566 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26568 * include/dirent.h (__alloc_dir): Add flags parameter.
26569 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26570 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26572 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26573 from fdopendir if O_CLOEXEC is already set.
26575 2011-03-15 Alan Modra <amodra@gmail.com>
26577 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26578 l_tls_firstbyte_offset non-zero. Save padding offset in
26579 l_tls_firstbyte_offset for later use.
26580 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26581 freeing static tls block.
26583 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26585 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26586 where #ifdef was intended. The intent is to prevent ARG_MAX from
26587 being defined by the kernel headers.
26589 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26592 * resolv/resolv.h: Define RES_NOTLDQUERY.
26593 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26594 no-tld-query and set RES_NOTLDQUERY.
26595 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26596 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26597 modern BIND to search name as TLD unless forbidden.
26599 2011-05-07 Petr Baudis <pasky@suse.cz>
26600 Ulrich Drepper <drepper@gmail.com>
26603 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26604 (is_trusted_path): ...to here.
26605 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26606 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26607 using is_trusted_path_normalize() in setuid scripts.
26609 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26611 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26612 __BEGIN/__END_DECLS.
26614 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26616 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26617 NSS_STATUS_NOTFOUND if no record was found.
26619 2011-05-05 Andreas Schwab <schwab@redhat.com>
26621 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26622 (headers-not-in-tirpc): Remove rpc/netdb.h
26623 * resolv/netdb.h: Revert last change.
26625 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26627 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26628 circular dependency between libgcc.a and libc.a.
26630 2011-05-05 Andreas Schwab <schwab@redhat.com>
26632 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26633 * nis/Makefile: Don't install rpcsvc/*.
26634 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26635 instead of <rpc/types.h>.
26636 (MAXHOSTNAMELEN): Define.
26638 2011-05-03 Andreas Schwab <schwab@redhat.com>
26640 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26642 2011-04-28 Maciej Babinski <mbabinski@google.com>
26645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26646 gethostbyname4_r when IPv6 results are possible.
26648 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26651 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26652 _PC_PIPE_BUF handling.
26654 2011-04-30 Bruno Haible <bruno@clisp.org>
26657 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26658 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26660 * inet/getnameinfo.c (getnameinfo): Likewise.
26662 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26664 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26665 to groups setting in database lookup.
26666 * nss/nsswitch.conf: Add initgroups entry.
26668 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26671 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26673 Patch by Eric Blake <eblake@redhat.com>.
26675 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26677 * sunrpc/Makefile (need-export-routines): Add svc_run.
26678 (routines): Remove svc_run.
26679 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26680 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26681 * sunrpc/svc_run.c (svc_run): Likewise.
26682 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26684 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26686 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26687 problem in reallocation in last patch.
26689 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26691 * sunrpc/Makefile: Move inclusion of Rules.
26693 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26695 * nss/nss_files/files-initgroups.c: New file.
26696 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26697 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26698 _nss_files_initgroups_dyn.
26700 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26702 * elf/elf.h (R_ARM_IRELATIVE): Define.
26704 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26706 * po/ru.po: Update from translation team.
26708 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26710 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26713 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26716 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26717 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26718 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26722 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26724 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26726 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26728 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26730 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26733 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26735 * stdlib/bug-getcontext.c: New file.
26736 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26738 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26740 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26741 instructions into .machine "z9-109".
26742 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26743 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26745 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26747 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26748 between environment variables and auxiliary vector.
26750 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26752 * Makefile: Add rules to build linkobj/libc.so.
26753 * include/libc-symbols.h: Define libc_hidden_nolink.
26754 * include/rpc/auth.h: Mark functions which are to be hidden.
26755 * include/rpc/auth_des.h: Likewise.
26756 * include/rpc/auth_unix.h: Likewise.
26757 * include/rpc/clnt.h: Likewise.
26758 * include/rpc/des_crypt.h: Likewise.
26759 * include/rpc/key_prot.h: Likewise.
26760 * include/rpc/pmap_clnt.h: Likewise.
26761 * include/rpc/pmap_prot.h: Likewise.
26762 * include/rpc/pmap_rmt.h: Likewise.
26763 * include/rpc/rpc_msg.h: Likewise.
26764 * include/rpc/svc.h: Likewise.
26765 * include/rpc/svc_auth.h: Likewise.
26766 * include/rpc/xdr.h: Likewise.
26767 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26768 * nss/Makefile: Likewise.
26769 * sunrpc/Makefile: Don't install headers. Build library with normal
26770 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26771 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26772 for the compat linking library. Remove use of INTDEF/INTUSE.
26773 * sunrpc/auth_none.c: Likewise.
26774 * sunrpc/auth_unix.c: Likewise.
26775 * sunrpc/authdes_prot.c: Likewise.
26776 * sunrpc/authuxprot.c: Likewise.
26777 * sunrpc/clnt_gen.c: Likewise.
26778 * sunrpc/clnt_perr.c: Likewise.
26779 * sunrpc/clnt_raw.c: Likewise.
26780 * sunrpc/clnt_simp.c: Likewise.
26781 * sunrpc/clnt_tcp.c: Likewise.
26782 * sunrpc/clnt_udp.c: Likewise.
26783 * sunrpc/clnt_unix.c: Likewise.
26784 * sunrpc/des_crypt.c: Likewise.
26785 * sunrpc/des_soft.c: Likewise.
26786 * sunrpc/get_myaddr.c: Likewise.
26787 * sunrpc/key_call.c: Likewise.
26788 * sunrpc/key_prot.c: Likewise.
26789 * sunrpc/netname.c: Likewise.
26790 * sunrpc/pm_getmaps.c: Likewise.
26791 * sunrpc/pm_getport.c: Likewise.
26792 * sunrpc/pmap_clnt.c: Likewise.
26793 * sunrpc/pmap_prot.c: Likewise.
26794 * sunrpc/pmap_prot2.c: Likewise.
26795 * sunrpc/pmap_rmt.c: Likewise.
26796 * sunrpc/publickey.c: Likewise.
26797 * sunrpc/rpc_cmsg.c: Likewise.
26798 * sunrpc/rpc_common.c: Likewise.
26799 * sunrpc/rpc_dtable.c: Likewise.
26800 * sunrpc/rpc_prot.c: Likewise.
26801 * sunrpc/rpc_thread.c: Likewise.
26802 * sunrpc/rtime.c: Likewise.
26803 * sunrpc/svc.c: Likewise.
26804 * sunrpc/svc_auth.c: Likewise.
26805 * sunrpc/svc_authux.c: Likewise.
26806 * sunrpc/svc_raw.c: Likewise.
26807 * sunrpc/svc_run.c: Likewise.
26808 * sunrpc/svc_simple.c: Likewise.
26809 * sunrpc/svc_tcp.c: Likewise.
26810 * sunrpc/svc_udp.c: Likewise.
26811 * sunrpc/svc_unix.c: Likewise.
26812 * sunrpc/svcauth_des.c: Likewise.
26813 * sunrpc/xcrypt.c: Likewise.
26814 * sunrpc/xdr.c: Likewise.
26815 * sunrpc/xdr_array.c: Likewise.
26816 * sunrpc/xdr_float.c: Likewise.
26817 * sunrpc/xdr_intXX_t.c: Likewise.
26818 * sunrpc/xdr_mem.c: Likewise.
26819 * sunrpc/xdr_rec.c: Likewise.
26820 * sunrpc/xdr_ref.c: Likewise.
26821 * sunrpc/xdr_sizeof.c: Likewise.
26822 * sunrpc/xdr_stdio.c: Likewise.
26824 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26827 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26828 * sysdeps/ia64/dl-tls.h: Likewise.
26829 * sysdeps/powerpc/dl-tls.h: Likewise.
26830 * sysdeps/s390/dl-tls.h: Likewise.
26831 * sysdeps/sh/dl-tls.h: Likewise.
26832 * sysdeps/sparc/dl-tls.h: Likewise.
26833 * sysdeps/x86_64/dl-tls.h: Likewise.
26834 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26836 2011-03-14 Andreas Schwab <schwab@redhat.com>
26838 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26839 rpath element also skip the following colon.
26840 (expand_dynamic_string_token): Add is_path parameter and pass
26841 down to DL_DST_REQUIRED and _dl_dst_substitute.
26842 (decompose_rpath): Call expand_dynamic_string_token with
26843 non-zero is_path. Ignore empty rpaths.
26844 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26847 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26852 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26855 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26856 Patch by Filipe David Manana <fdmanana@apache.org>.
26858 2011-04-07 Andreas Schwab <schwab@redhat.com>
26860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26861 Maintain aligned stack.
26862 (CHECK_RSP): Remove unused macro.
26864 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26866 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26867 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26869 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26871 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26873 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26875 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26878 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26879 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26880 * sysdeps/x86_64/memmove.c: New file.
26881 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26882 (memcpy): Renamed to ...
26883 (__new_memcpy): This.
26884 (memcpy): Provide GLIBC_2_14 memcpy.
26885 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26886 (memcpy): Provide GLIBC_2_2_5 memcpy.
26888 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26891 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26893 2011-03-30 Andreas Schwab <schwab@redhat.com>
26895 * misc/syncfs.c: New file.
26896 * misc/Makefile (routines): Add syncfs.
26897 * posix/unistd.h: Declare syncfs.
26898 * sysdeps/unix/syscalls.list: Add syncfs.
26900 2011-04-01 Andreas Schwab <schwab@redhat.com>
26902 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26904 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26905 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26909 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26912 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26914 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26915 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26916 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26918 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26922 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26923 sync_file_range.c with -fexceptions.
26924 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26925 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26926 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26927 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26928 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26929 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26930 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26931 sync_file_range as cancellation point
26932 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26933 now a wrapper around __call_sync_file_range with cancellation handling.
26934 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26935 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26936 function name to __call_sync_file_range.
26937 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26938 Add call_sync_file_range.
26940 2011-04-01 Andreas Schwab <schwab@redhat.com>
26942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26945 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26947 * iconv/iconv.h: Fix typo in comment.
26948 * io/fcntl.h: Likewise.
26949 * libio/stdio.h: Likewise.
26950 * posix/spawn.h: Likewise.
26951 * posix/unistd.h: Likewise.
26952 * stdlib/stdlib.h: Likewise.
26953 * time/time.h: Likewise.
26954 * wcsmbs/wchar.h: Likewise.
26956 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26957 open_by_handle): Add.
26958 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26959 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26960 Augment a few comments.
26961 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26965 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26966 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26969 * io/fcntl.h (AT_EMPTY_PATH): Define.
26971 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26973 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26974 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26975 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26977 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26978 * Versions.def: Add GLIBC_2.14.
26979 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26982 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26984 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26986 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26988 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26991 * string/test-strncmp.c (do_page_test): New function.
26992 (check2): Likewise.
26993 (test_main): Call check2.
26994 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26996 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26999 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27000 Handle cache information in CPU leaf 4.
27001 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27003 2011-03-18 Ulrich Drepper <drepper@gmail.com>
27006 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27007 character representation.
27008 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27010 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27012 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27013 END(__isnan) to END(__isnanf) to match function entry point/label
27014 EALIGN(__isnanf,...).
27016 2011-03-10 Jakub Jelinek <jakub@redhat.com>
27018 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27020 2011-03-10 Ulrich Drepper <drepper@gmail.com>
27023 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27024 copy from the symbol referenced in the relocation to initialize the
27026 Patch by Piotr Bury <pbury@goahead.com>.
27027 * elf/Makefile: Add rules to build and tst-unique3.
27028 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27029 * elf/tst-unique3.cc: New file.
27030 * elf/tst-unique3.h: New file.
27031 * elf/tst-unique3lib.cc: New file.
27032 * elf/tst-unique3lib2.cc: New file.
27034 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27036 2011-03-10 Mike Frysinger <vapier@gentoo.org>
27038 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27039 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27042 2011-03-06 Ulrich Drepper <drepper@gmail.com>
27044 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27045 to-be-loaded object along a path to loader is ld.so.
27047 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27048 Ulrich Drepper <drepper@gmail.com>
27050 * sysdeps/x86_64/memset.S: After aligning destination, code
27051 branches to different locations depending on the value of
27052 misalignment, when multiarch is enabled. Fix this.
27054 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27056 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27057 Set _x86_64_preferred_memory_instruction for AMD processsors.
27058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27059 Set bit_Prefer_SSE_for_memop for AMD processors.
27061 2011-03-04 Ulrich Drepper <drepper@gmail.com>
27063 * libio/fmemopen.c (fmemopen): Optimize a bit.
27065 2011-03-03 Andreas Schwab <schwab@redhat.com>
27067 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27069 2011-03-03 Roland McGrath <roland@redhat.com>
27071 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27073 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27075 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27076 __bzero_ultra1 instead of __memset_ultra1.
27078 2011-02-23 Andreas Schwab <schwab@redhat.com>
27079 Ulrich Drepper <drepper@gmail.com>
27082 * include/link.h (struct link_map): Add l_orig_initfini.
27083 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27084 returning unsuccessfully.
27085 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27086 close of a file loaded at startup, restore the original l_initfini
27088 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27089 list, store the pointer.
27090 * elf/Makefile ($(objpfx)noload-mem): New rule.
27091 (noload-ENV): Define.
27092 (tests): Add $(objpfx)noload-mem.
27093 * elf/noload.c: Include <memcheck.h>.
27094 (main): Call mtrace. Close all opened handles.
27096 2011-02-17 Andreas Schwab <schwab@redhat.com>
27099 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27100 dependencies are missing.
27102 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27104 Fix __if_freereq crash: Unlike the generic version which uses free,
27106 * sysdeps/mach/hurd/ifreq.h: New file.
27108 2011-01-27 Petr Baudis <pasky@suse.cz>
27109 Ulrich Drepper <drepper@gmail.com>
27112 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27113 to extend_alloca().
27114 * stdio-common/bug23.c: New file.
27115 * stdio-common/Makefile (tests): Add bug23.
27117 2010-09-28 Andreas Schwab <schwab@redhat.com>
27118 Ulrich Drepper <drepper@gmail.com>
27121 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27122 before performing relro protection. At old place add assertion
27123 to make sure nothing changed.
27125 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27126 Glauber de Oliveira Costa <glommer@gmail.com>
27128 * elf/elf.h: Add new ARM TLS relocs.
27130 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27133 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27135 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27137 * sysdeps/wordsize-64/tst-writev.c: New file.
27139 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27141 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27142 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27143 insns in _dl_start to prevent a TOC reference before relocs are
27146 2011-02-15 Ulrich Drepper <drepper@gmail.com>
27149 * Makeconfig: Remove RANLIB definition.
27150 * Makerules: Don't use RANLIB.
27151 * aclocal.m4: Remove ranlib test.
27152 * configure.in: No need to check for ranlib.
27153 * elf/rtld-Rules: Don't use RANLIB.
27155 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27157 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27159 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27160 inclusion protection macro.
27162 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27163 SIGRTMIN and SIGRTMAX and print information in that case only when
27164 SIGRTMIN is defined.
27166 2011-02-11 Jakub Jelinek <jakub@redhat.com>
27168 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27169 arginfo fn returning -1.
27171 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27172 and thousands string is zero terminated.
27174 2011-02-03 Andreas Schwab <schwab@redhat.com>
27176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27177 sysdeps/unix/sysv/linux/bits/socket.h.
27179 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27181 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27182 (__CPU_COUNT): Remove old macros.
27183 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27184 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27185 (__CPU_ALLOC, __CPU_FREE): Add macros.
27186 (__sched_cpualloc, __sched_cpufree): Add declarations.
27188 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27190 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27191 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27192 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27193 (readdhstai): Return value of addhstaiX call.
27194 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27195 (addgrbyX): Return value returned by cache_addgr.
27196 (readdgrbyname): Return value returned by addgrbyX.
27197 (readdgrbygid): Likewise.
27198 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27199 (addpwbyX): Return value returned by cache_addpw.
27200 (readdpwbyname): Return value returned by addhstbyX.
27201 (readdpwbyuid): Likewise.
27202 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27203 (addservbyX): Return value returned by cache_addserv.
27204 (readdservbyname): Return value returned by addservbyX:
27205 (readdservbyport): Likewise.
27206 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27207 (addhstbyX): Return value returned by cache_addhst.
27208 (readdhstbyname): Return value returned by addhstbyX.
27209 (readdhstbyaddr): Likewise.
27210 (readdhstbynamev6): Likewise.
27211 (readdhstbyaddrv6): Likewise.
27212 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27213 (readdinitgroups): Return value returned by addinitgroupsX.
27214 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27215 (prune_cache): Keep track of timeout value of re-added entries.
27216 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27217 * nscd/nscd.h: Adjust prototypes of readd* functions.
27219 2011-02-04 Roland McGrath <roland@redhat.com>
27221 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27222 (nis_stats): Likewise.
27223 * nis/nis_modify.c (nis_modify): Likewise.
27224 * nis/nis_remove.c (nis_remove): Likewise.
27225 * nis/nis_add.c (nis_add): Likewise.
27227 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27229 * posix/fnmatch_loop.c: Add some consts.
27231 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27233 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27236 * config.make.in (config-cflags-novzeroupper): Define.
27237 * configure.in: Substitute libc_cv_cc_novzeroupper.
27238 * elf/Makefile (AVX-CFLAGS): Define.
27239 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27240 (CFLAGS-tst-auditmod4a.c): Likewise.
27241 (CFLAGS-tst-auditmod4b.c): Likewise.
27242 (CFLAGS-tst-auditmod6b.c): Likewise.
27243 (CFLAGS-tst-auditmod6c.c): Likewise.
27244 (CFLAGS-tst-auditmod7b.c): Likewise.
27245 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27247 2011-02-02 Ulrich Drepper <drepper@gmail.com>
27249 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27250 function to the callback.
27251 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27253 2011-02-02 Andreas Schwab <schwab@redhat.com>
27255 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27258 2011-01-19 Ulrich Drepper <drepper@gmail.com>
27261 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27263 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27265 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27268 * elf/Makefile: Add rules to build and run new test.
27269 * elf/tst-initorder.c: New file.
27270 * elf/tst-initorder.exp: New file.
27271 * elf/tst-initordera1.c: New file.
27272 * elf/tst-initordera2.c: New file.
27273 * elf/tst-initordera3.c: New file.
27274 * elf/tst-initordera4.c: New file.
27275 * elf/tst-initorderb1.c: New file.
27276 * elf/tst-initorderb2.c: New file.
27277 * elf/tst-order-a1.c: New file.
27278 * elf/tst-order-a2.c: New file.
27279 * elf/tst-order-a3.c: New file.
27280 * elf/tst-order-a4.c: New file.
27281 * elf/tst-order-b1.c: New file.
27282 * elf/tst-order-b2.c: New file.
27283 * elf/tst-order-main.c: New file.
27284 New test case by George Gensure <werkt0@gmail.com>.
27286 2010-10-01 Andreas Schwab <schwab@redhat.com>
27288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27289 decoding ACE if AI_CANONIDN.
27291 2011-01-18 Ulrich Drepper <drepper@gmail.com>
27293 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27295 2011-01-17 Ulrich Drepper <drepper@gmail.com>
27297 * version.h (RELEASE): Bump for 2.13 release.
27298 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27300 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27302 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27304 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27305 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27306 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27307 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27308 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27309 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27311 * posix/getconf.c: Update copyright year.
27312 * catgets/gencat.c: Likewise.
27313 * csu/version.c: Likewise.
27314 * debug/catchsegv.sh: Likewise.
27315 * debug/xtrace.sh: Likewise.
27316 * elf/ldconfig.c: Likewise.
27317 * elf/ldd.bash.in: Likewise.
27318 * elf/sprof.c (print_version): Likewise.
27319 * iconv/iconv_prog.c: Likewise.
27320 * iconv/iconvconfig.c: Likewise.
27321 * locale/programs/locale.c: Likewise.
27322 * locale/programs/localedef.c: Likewise.
27323 * malloc/memusage.sh: Likewise.
27324 * malloc/mtrace.pl: Likewise.
27325 * nscd/nscd.c (print_version): Likewise.
27326 * nss/getent.c: Likewise.
27328 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27329 PF_CAIF, and PF_ALG.
27330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27332 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27334 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27335 (modules-names): Use them.
27336 (ifunc-test-modules, ifunc-pie-tests): Define.
27337 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27338 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27339 (test-extras): Likewise.
27340 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27341 $(compile-command.c).
27342 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27343 (all-built-dso): Define.
27344 (check-textrel.out, check-execstack.out): Depend on it.
27346 * configure.in: Don't override --enable-multi-arch.
27348 2011-01-15 Ulrich Drepper <drepper@gmail.com>
27351 * nscd/hstcache.c (tryagain): Define.
27352 (cache_addhst): Return tryagain not notfound for temporary errors.
27353 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27356 2011-01-14 Ulrich Drepper <drepper@gmail.com>
27359 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27360 to make the syscall.
27361 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27364 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27365 and fall back to matching as normal character if the string ends before
27366 the matching ']' is found. This is what POSIX requires.
27367 * posix/testfnm.c: Adjust test result.
27368 * posix/globtest.sh: Adjust test result. Add new test.
27369 * posix/tst-fnmatch.input: Likewise.
27370 * posix/tst-fnmatch2.c: Add new test.
27372 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27374 * elf/Makefile (check-execstack): Revert last change. Depend on
27376 (check-execstack.h): New target.
27377 (generated): Add check-execstack.h.
27378 * elf/check-execstack.c: Include "check-execstack.h".
27379 (main): Revert last change.
27380 (handle_file): Return zero if GNU_STACK is absent and
27381 DEFAULT_STACK_PERMS doesn't include PF_X.
27383 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27385 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27386 in child fails because the descriptor is already closed.
27387 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27388 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27389 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27392 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27396 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27397 temporary buffer used to handle multi lookups locally.
27398 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27400 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27402 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27405 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27407 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27408 alignment for SSE2.
27410 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27413 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27414 characters. When rounding increased number of integer digits recompute
27416 * stdio-common/tst-grouping.c: New file.
27417 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27419 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27421 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27422 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27424 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27426 * bits/select.h: Likewise.
27428 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27430 * po/ja.po: Update from translation team.
27432 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27435 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27436 implementation just like for lxstat, fxstatat, et al.
27438 2010-12-27 Jim Meyering <meyering@redhat.com>
27441 * posix/regexec.c (build_trtable): Return failure indication upon
27442 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27444 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27447 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27448 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27449 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27450 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27453 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27456 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27457 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27459 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27461 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27462 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27463 script has SORT_BY_INIT_PRIORITY.
27464 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27465 NO_CTORS_DTORS_SECTIONS is defined.
27466 * elf/soinit.c: Likewise.
27467 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27468 NO_CTORS_DTORS_SECTIONS is defined.
27469 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27470 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27471 * sysdeps/sh/init-first.c: Likewise.
27472 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27474 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27476 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27477 always use the slow path.
27479 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27481 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27482 similar rule which adds the sysdep directories to the header search in
27483 order to pick up the correct platform stackinfo.h.
27484 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27485 perform test if it is, otherwise return successfully without testing.
27486 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27487 DEFAULT_STACK_PERMS define in stackinfo.h.
27488 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27489 defined in stackinfo.h.
27490 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27491 DEFAULT_STACK_PERMS defined in stackinfo.h.
27492 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27493 * sysdeps/ia64/stackinfo.h: Likewise.
27494 * sysdeps/s390/stackinfo.h: Likewise.
27495 * sysdeps/sh/stackinfo.h: Likewise.
27496 * sysdeps/sparc/stackinfo.h: Likewise.
27497 * sysdeps/x86_64/stackinfo.h: Likewise.
27498 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27499 PF_X for powerpc64. Retain PF_X for powerpc32.
27501 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27503 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27505 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27506 GETDENTS_64BIT_ALIGNED.
27508 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27510 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27512 2010-12-10 Andreas Schwab <schwab@redhat.com>
27514 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27517 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27518 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27520 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27521 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27523 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27526 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27529 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27531 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27533 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27535 * po/it.po: Update from translation team.
27537 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27542 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27544 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27546 2010-11-24 Andreas Schwab <schwab@redhat.com>
27548 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27550 (gaih_getanswer_slice): Likewise.
27552 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27556 2010-05-31 Petr Baudis <pasky@suse.cz>
27559 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27560 silently even in the chroot mode.
27562 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27564 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27565 last patch a bit. Pretty printing
27567 2010-05-31 Petr Baudis <pasky@suse.cz>
27570 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27571 initialization of skip_initgroups_dyn.
27573 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27575 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27576 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27578 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27580 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27582 2010-11-11 Andreas Schwab <schwab@redhat.com>
27584 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27585 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27586 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27587 ($(objpfx)tst-fnmatch-mem): New rule.
27588 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27589 * posix/tst-fnmatch.c (main): Call mtrace.
27591 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27594 Support Intel processor model 6 and model 0x2c.
27596 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27598 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27601 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27604 * string/test-strncasecmp.c (check_result): New function.
27605 (do_one_test): Use it.
27606 (check1): New function.
27607 (test_main): Use it.
27608 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27609 Support strcasecmp and strncasecmp.
27611 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27614 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27615 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27617 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27619 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27623 * sysdeps/x86_64/multiarch/bzero.S: New file.
27624 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27625 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27626 * sysdeps/x86_64/multiarch/memset.S: New file.
27627 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27629 Set bit_Prefer_SSE_for_memop for Intel processors.
27630 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27632 (index_Prefer_SSE_for_memop): Define.
27633 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27635 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27637 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27638 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27640 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27643 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27644 (__x86_64_raw_data_cache_size_half): Likewise.
27645 (__x86_64_raw_shared_cache_size): Likewise.
27646 (__x86_64_raw_shared_cache_size_half): Likewise.
27648 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27649 (__x86_64_raw_data_cache_size_half): Likewise.
27650 (__x86_64_raw_shared_cache_size): Likewise.
27651 (__x86_64_raw_shared_cache_size_half): Likewise.
27652 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27653 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27654 and __x86_64_raw_shared_cache_size_half. Round
27655 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27656 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27657 to multiple of 256 bytes.
27659 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27662 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27663 of inacessible symlinks. Verify result of symlink before returning it.
27664 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27665 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27667 2010-10-28 Erich Ritz <erichritz@gmail.com>
27669 * math/math.h (isinf): Fix typo in comment.
27671 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27673 * po/da.po: Update from translation team.
27675 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27677 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27678 is added to the list.
27680 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27681 Ulrich Drepper <drepper@gmail.com>
27683 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27684 the global list here. Move code to...
27685 (_dl_add_to_namespace_list): ...here. New function.
27686 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27687 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27688 * elf/dl-load.c (lose): Don't remove the element from the list.
27689 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27690 (_dl_map_object): Likewise.
27692 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27695 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27696 into all bytes of SSE register.
27697 Patch by Richard Li <richardpku@gmail.com>.
27699 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27702 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27705 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27707 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27708 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27709 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27710 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27715 2010-10-22 Andreas Schwab <schwab@redhat.com>
27717 * include/dlfcn.h (__RTLD_SECURE): Define.
27718 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27719 mode & __RTLD_SECURE instead.
27720 (open_path): Rename preloaded parameter to secure.
27721 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27722 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27723 * elf/dl-deps.c (openaux): Likewise.
27724 * elf/rtld.c (struct map_args): Remove is_preloaded.
27725 (map_doit): Don't use it.
27726 (dl_main): Likewise.
27727 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27728 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27730 2010-09-09 Andreas Schwab <schwab@redhat.com>
27732 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27733 (sysd-rules-targets): Remove duplicates.
27734 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27735 rtld-%.$o dependency.
27737 2010-10-18 Andreas Schwab <schwab@redhat.com>
27739 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27740 _dl_map_object do it.
27742 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27744 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27745 fast fma builtins, define the macros in the C99 standard.
27746 (FP_FAST_FMAF): Likewise.
27747 (FP_FAST_FMAL): Likewise.
27748 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27750 * bits/mathdef.h: Update copyright year.
27751 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27753 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27755 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27756 builtins, define the macros in the C99 standard.
27757 (FP_FAST_FMAF): Likewise.
27758 (FP_FAST_FMAL): Likewise.
27759 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27761 (FP_FAST_FMAF): Likewise.
27763 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27766 * math/libm-test.inc (fma_test): Some new testcases.
27767 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27768 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27769 y and infinite z. Do multiplication by C already in long double.
27770 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27772 y and infinite z. Do bitwise or of inexact bit into u.d.
27773 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27774 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27775 * sysdeps/i386/fpu/s_fma.S: Removed.
27776 * sysdeps/i386/fpu/s_fmal.S: Removed.
27778 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27781 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27783 computation is not scheduled after fetestexcept. Fix value
27784 of minimum denormal long double.
27786 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27789 * math/libm-test.inc (fma_test): Add some more tests.
27790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27793 2010-10-15 Andreas Schwab <schwab@redhat.com>
27795 * scripts/data/localplt-s390-linux-gnu.data: New file.
27796 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27798 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27801 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27802 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27804 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27806 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27808 if one of x and y is very large and the other is subnormal.
27809 * sysdeps/s390/fpu/s_fmaf.c: New file.
27810 * sysdeps/s390/fpu/s_fma.c: New file.
27811 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27812 * sysdeps/powerpc/fpu/s_fma.S: New file.
27813 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27814 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27815 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27817 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27820 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27822 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27823 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27824 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27825 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27826 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27827 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27828 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27830 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27833 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27834 * posix/bug-regex31.input: Add test case.
27836 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27838 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27839 * posix/bug-regex31.input: New file.
27842 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27843 (parse_sub_exp): Fix last change, use postorder.
27845 * posix/bug-regex31.c: New file.
27846 * posix/Makefile: Add rules to build and run bug-regex31.
27848 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27851 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27854 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27855 to have entries in sys_siglist.
27858 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27861 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27864 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27865 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27866 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27867 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27868 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27869 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27870 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27871 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27872 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27873 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27874 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27875 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27876 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27877 * math/ftestexcept.c (fetestexcept): Likewise.
27878 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27879 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27880 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27881 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27882 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27883 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27884 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27886 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27889 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27892 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27894 * string/bug-strstr1.c: New file.
27895 * string/Makefile: Add rules to build and run bug-strstr1.
27897 2010-10-05 Eric Blake <eblake@redhat.com>
27900 * string/str-two-way.h (two_way_long_needle): Always clear memory
27901 when skipping input due to the shift table.
27903 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27906 * malloc/mcheck.c: Handle large requests.
27909 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27910 for strncmp and strncasecmp.
27911 * string/stratcliff.c: Add tests for strcmp and strncmp.
27912 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27914 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27916 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27919 2010-09-30 Andreas Jaeger <aj@suse.de>
27921 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27922 (CGROUP_SUPER_MAGIC): Define.
27923 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27924 Handle btrfs and cgroup file systems.
27925 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27928 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27930 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27931 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27933 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27936 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27937 trying to locate the ELF header.
27939 2010-09-27 Andreas Schwab <schwab@redhat.com>
27942 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27943 Mask out sign-bit copies when constructing f_fsid.
27945 2010-09-24 Petr Baudis <pasky@suse.cz>
27947 * debug/stack_chk_fail_local.c: Add missing licence exception.
27948 * debug/warning-nop.c: Likewise.
27950 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27952 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27953 implementing getdents64 using getdents syscall, set d_type if
27954 __ASSUME_GETDENTS32_D_TYPE.
27956 2010-09-16 Andreas Schwab <schwab@redhat.com>
27958 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27959 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27961 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27964 * posix/unistd.h: Undo change of feature selection for ftruncate from
27967 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27969 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27972 2010-09-20 Andreas Schwab <schwab@redhat.com>
27974 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27976 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27978 2010-09-14 Andreas Schwab <schwab@redhat.com>
27980 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27981 variables after CHECK_SP call.
27982 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27984 2010-09-13 Andreas Schwab <schwab@redhat.com>
27985 Ulrich Drepper <drepper@redhat.com>
27987 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27988 re-relocationg ld.so.
27989 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27990 _dl_init_paths call.
27991 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27994 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27996 * resolv/res_init.c (__res_vinit): Count the default server we added.
27998 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27999 Ulrich Drepper <drepper@redhat.com>
28002 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28003 (____longjmp_chk): Use %ebx for saving value across system call.
28006 2010-09-06 Andreas Schwab <schwab@redhat.com>
28008 * manual/Makefile: Don't mix pattern rules with normal rules.
28010 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28012 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28014 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28015 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28016 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28017 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28018 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28021 2010-09-04 Ulrich Drepper <drepper@redhat.com>
28024 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28025 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28027 2010-09-02 Ulrich Drepper <drepper@redhat.com>
28029 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28030 * sysdeps/x86_64/addmul_1.S: Likewise.
28031 * sysdeps/x86_64/lshift.S: Likewise.
28032 * sysdeps/x86_64/mul_1.S: Likewise.
28033 * sysdeps/x86_64/rshift.S: Likewise.
28034 * sysdeps/x86_64/sub_n.S: Likewise.
28035 * sysdeps/x86_64/submul_1.S: Likewise.
28037 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28039 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28040 Define __sched_param instead of SCHED_* and sched_param when
28041 <bits/sched.h> is included with __need_schedparam defined.
28042 * bits/sched.h [__need_schedparam]
28043 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28044 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28045 (__defined_schedparam): Define to 1.
28046 (__sched_param): New structure, identical to sched_param.
28047 (__need_schedparam): Undefine.
28049 2010-08-31 Mike Frysinger <vapier@gentoo.org>
28051 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28052 (epoll_create1): Declare.
28054 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28056 2010-08-31 Andreas Schwab <schwab@redhat.com>
28059 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28060 shifting retval into place.
28062 2010-09-01 Ulrich Drepper <drepper@redhat.com>
28064 * nis/rpcsvc/nis.h: Update copyright notice.
28065 * nis/rpcsvc/nis.x: Likewise.
28066 * nis/rpcsvc/nis_callback.h: Likewise.
28067 * nis/rpcsvc/nis_callback.x: Likewise.
28068 * nis/rpcsvc/nis_object.x: Likewise.
28069 * nis/rpcsvc/nis_tags.h: Likewise.
28070 * nis/rpcsvc/yp.h: Likewise.
28071 * nis/rpcsvc/yp.x: Likewise.
28072 * nis/rpcsvc/ypupd.h: Likewise.
28073 * nis/yp_xdr.c: Likewise.
28074 * nis/ypupdate_xdr.c: Likewise.
28076 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28077 mainly the body of pmap_getport. Add parameters to specify timeouts.
28078 (pmap_getport): Use __libc_rpc_getport.
28079 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28080 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28081 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28083 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28088 2010-08-27 Roland McGrath <roland@redhat.com>
28090 * sysdeps/i386/i686/multiarch/Makefile
28091 (CFLAGS-varshift.c): New variable.
28093 2010-08-27 Ulrich Drepper <drepper@redhat.com>
28095 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28096 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28098 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28100 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28102 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28104 * sysdeps/x86_64/strlen.S: Unroll the loop.
28105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28106 strlen-sse2 strlen-sse2-bsf.
28107 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28108 __strlen_no_bsf if bit_Slow_BSF is set.
28109 (__strlen_sse42): Removed.
28110 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28111 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28113 2010-08-25 Roland McGrath <roland@redhat.com>
28115 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28116 * sysdeps/x86_64/multiarch/varshift.c: New file.
28117 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28118 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28119 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28120 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28122 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28125 strlen-sse2 strlen-sse2-bsf.
28126 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28127 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28128 (__strlen_sse2): Removed.
28129 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28132 bit_Slow_BSF for Atom.
28133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28134 (index_Slow_BSF): Define.
28135 (HAS_SLOW_BSF): Define.
28137 2010-08-25 Ulrich Drepper <drepper@redhat.com>
28140 * resolv/res_init.c (__res_vinit): When no server address at all
28141 is given default to loopback.
28143 2010-08-24 Roland McGrath <roland@redhat.com>
28145 * configure.in: Remove config-name.h generation.
28146 * configure: Regenerated.
28147 * config-name.in: File removed.
28148 * scripts/config-uname.sh: New file.
28149 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28150 ($(objdir)config-name.h): New target.
28152 * sunrpc/rpc_parse.h: Avoid nested comment.
28154 2010-08-24 Richard Henderson <rth@redhat.com>
28155 Ulrich Drepper <drepper@redhat.com>
28156 H.J. Lu <hongjiu.lu@intel.com>
28158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28160 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28161 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28162 _mm_alignr_epi8 with _mm_loadu_si128.
28163 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28164 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28165 (__m128i_shift_right): Removed.
28166 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28167 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28168 * sysdeps/x86_64/multiarch/varshift.h: New file.
28169 * sysdeps/x86_64/multiarch/varshift.S: New file.
28171 2010-08-21 Mike Frysinger <vapier@gentoo.org>
28173 * configure.in: Move assembler checks to before sysdep dir checking.
28175 2010-08-20 Petr Baudis <pasky@suse.cz>
28177 * LICENSES: Sync the sunrpc license.
28179 2010-08-19 Ulrich Drepper <drepper@redhat.com>
28181 * sunrpc/auth_des.c: Update copyright notice once again.
28182 * sunrpc/auth_none.c: Likewise.
28183 * sunrpc/auth_unix.c: Likewise.
28184 * sunrpc/authdes_prot.c: Likewise.
28185 * sunrpc/authuxprot.c: Likewise.
28186 * sunrpc/bindrsvprt.c: Likewise.
28187 * sunrpc/clnt_gen.c: Likewise.
28188 * sunrpc/clnt_perr.c: Likewise.
28189 * sunrpc/clnt_raw.c: Likewise.
28190 * sunrpc/clnt_simp.c: Likewise.
28191 * sunrpc/clnt_tcp.c: Likewise.
28192 * sunrpc/clnt_udp.c: Likewise.
28193 * sunrpc/clnt_unix.c: Likewise.
28194 * sunrpc/des_crypt.c: Likewise.
28195 * sunrpc/des_soft.c: Likewise.
28196 * sunrpc/get_myaddr.c: Likewise.
28197 * sunrpc/getrpcport.c: Likewise.
28198 * sunrpc/key_call.c: Likewise.
28199 * sunrpc/key_prot.c: Likewise.
28200 * sunrpc/openchild.c: Likewise.
28201 * sunrpc/pm_getmaps.c: Likewise.
28202 * sunrpc/pm_getport.c: Likewise.
28203 * sunrpc/pmap_clnt.c: Likewise.
28204 * sunrpc/pmap_prot.c: Likewise.
28205 * sunrpc/pmap_prot2.c: Likewise.
28206 * sunrpc/pmap_rmt.c: Likewise.
28207 * sunrpc/rpc/auth.h: Likewise.
28208 * sunrpc/rpc/auth_unix.h: Likewise.
28209 * sunrpc/rpc/clnt.h: Likewise.
28210 * sunrpc/rpc/des_crypt.h: Likewise.
28211 * sunrpc/rpc/key_prot.h: Likewise.
28212 * sunrpc/rpc/netdb.h: Likewise.
28213 * sunrpc/rpc/pmap_clnt.h: Likewise.
28214 * sunrpc/rpc/pmap_prot.h: Likewise.
28215 * sunrpc/rpc/pmap_rmt.h: Likewise.
28216 * sunrpc/rpc/rpc.h: Likewise.
28217 * sunrpc/rpc/rpc_des.h: Likewise.
28218 * sunrpc/rpc/rpc_msg.h: Likewise.
28219 * sunrpc/rpc/svc.h: Likewise.
28220 * sunrpc/rpc/svc_auth.h: Likewise.
28221 * sunrpc/rpc/types.h: Likewise.
28222 * sunrpc/rpc/xdr.h: Likewise.
28223 * sunrpc/rpc_clntout.c: Likewise.
28224 * sunrpc/rpc_cmsg.c: Likewise.
28225 * sunrpc/rpc_common.c: Likewise.
28226 * sunrpc/rpc_cout.c: Likewise.
28227 * sunrpc/rpc_dtable.c: Likewise.
28228 * sunrpc/rpc_hout.c: Likewise.
28229 * sunrpc/rpc_main.c: Likewise.
28230 * sunrpc/rpc_parse.c: Likewise.
28231 * sunrpc/rpc_parse.h: Likewise.
28232 * sunrpc/rpc_prot.c: Likewise.
28233 * sunrpc/rpc_sample.c: Likewise.
28234 * sunrpc/rpc_scan.c: Likewise.
28235 * sunrpc/rpc_scan.h: Likewise.
28236 * sunrpc/rpc_svcout.c: Likewise.
28237 * sunrpc/rpc_tblout.c: Likewise.
28238 * sunrpc/rpc_util.c: Likewise.
28239 * sunrpc/rpc_util.h: Likewise.
28240 * sunrpc/rpcinfo.c: Likewise.
28241 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28242 * sunrpc/rpcsvc/key_prot.x: Likewise.
28243 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28244 * sunrpc/rpcsvc/mount.x: Likewise.
28245 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28246 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28247 * sunrpc/rpcsvc/rex.x: Likewise.
28248 * sunrpc/rpcsvc/rstat.x: Likewise.
28249 * sunrpc/rpcsvc/rusers.x: Likewise.
28250 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28251 * sunrpc/rpcsvc/spray.x: Likewise.
28252 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28253 * sunrpc/rtime.c: Likewise.
28254 * sunrpc/svc.c: Likewise.
28255 * sunrpc/svc_auth.c: Likewise.
28256 * sunrpc/svc_authux.c: Likewise.
28257 * sunrpc/svc_raw.c: Likewise.
28258 * sunrpc/svc_run.c: Likewise.
28259 * sunrpc/svc_simple.c: Likewise.
28260 * sunrpc/svc_tcp.c: Likewise.
28261 * sunrpc/svc_udp.c: Likewise.
28262 * sunrpc/svc_unix.c: Likewise.
28263 * sunrpc/svcauth_des.c: Likewise.
28264 * sunrpc/xcrypt.c: Likewise.
28265 * sunrpc/xdr.c: Likewise.
28266 * sunrpc/xdr_array.c: Likewise.
28267 * sunrpc/xdr_float.c: Likewise.
28268 * sunrpc/xdr_mem.c: Likewise.
28269 * sunrpc/xdr_rec.c: Likewise.
28270 * sunrpc/xdr_ref.c: Likewise.
28271 * sunrpc/xdr_sizeof.c: Likewise.
28272 * sunrpc/xdr_stdio.c: Likewise.
28274 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28277 2010-08-19 Andreas Schwab <schwab@redhat.com>
28279 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28281 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
28283 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28284 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28285 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28286 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28287 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28288 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28289 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28290 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28291 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28292 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28293 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28294 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28295 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28296 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28298 2010-07-26 Anton Blanchard <anton@samba.org>
28300 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28301 * malloc/arena.c (heap_trim): Likewise.
28303 2010-08-16 Ulrich Drepper <drepper@redhat.com>
28305 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28308 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28310 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28312 * sysdeps/i386/elf/Makefile: New file.
28314 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28316 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28317 from fanotify_init.
28318 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28321 2010-08-15 Ulrich Drepper <drepper@redhat.com>
28323 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28325 * sysdeps/multiarch/strcmp.S: Likewise.
28327 2010-08-14 Ulrich Drepper <drepper@redhat.com>
28329 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28330 strncase_l-nonascii.
28331 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28332 Add strncase_l-ssse3.
28333 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28334 * sysdeps/x86_64/strcmp.S: Likewise.
28335 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28336 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28337 * sysdeps/x86_64/strncase.S: New file.
28338 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28339 * sysdeps/x86_64/strncase_l.S: New file.
28340 * string/Makefile (strop-tests): Add strncasecmp.
28341 * string/test-strncasecmp.c: New file.
28343 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28346 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28347 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28349 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28351 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28353 2010-08-12 Ulrich Drepper <drepper@redhat.com>
28355 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28356 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28357 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28359 2010-05-01 Alan Modra <amodra@gmail.com>
28361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28362 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28363 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28364 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28365 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28366 tidying. Don't tail-call __sigjmp_save for static lib.
28367 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28369 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28370 (CALL_MCOUNT): Add eh info, and nop after bl.
28371 (TAIL_CALL_SYSCALL_ERROR): New macro.
28372 (PSEUDO_RET): Use it.
28373 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28374 Correct save location of integer regs and cr.
28375 (_dl_profile_resolve): Correct cr save location. Delete nops
28376 after bl when SHARED. Reduce cfi size a little by better
28377 placement of cfi directives.
28378 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28379 make a stack frame. Instead use parm save area as a temp.
28380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28381 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28383 Don't make a stack frame for parent, use parm save area.
28384 Increase child stack frame to 112 bytes. Don't save unused reg,
28385 and adjust reg usage. Set up cfi on error recovery and
28386 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28388 (__makecontext): Add dummy nop after jump to exit.
28389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28390 Use correct parm save area and cr save, reduce stack frame.
28391 Correct cfi for possible PSEUDO_RET frame setup.
28392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28393 Branch to local label emitted by PSEUDO_RET rather than
28396 2010-08-12 Andreas Schwab <schwab@redhat.com>
28399 * locale/programs/locale.c (print_assignment): New function.
28400 (show_locale_vars): Use it.
28402 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28404 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28406 (struct statfs64): Likewise.
28407 (_STATFS_F_FLAGS): Define.
28408 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28409 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28410 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28411 (ST_VALID): Define locally.
28412 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28413 __statvfs_getflags, use the provided value.
28414 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28415 __ASSUME_STATFS_F_FLAGS.
28417 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28419 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28420 Add sys/fanotify.h.
28421 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28422 fanotify_mask for GLIBC_2.13.
28423 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28424 fanotify_init and fanotify_mark.
28425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28426 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28428 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28430 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28431 prlimit64 for GLIBC_2.13.
28432 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28434 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28437 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28438 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28439 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28442 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28445 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28446 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28448 * nss/Makefile: Add rules to build and run tst-nss-test1.
28449 * shlib-versions: Add entry for libnss_test1.
28450 * nss/nss_test1.c: New file.
28451 * nss/tst-nss-test1.c: New file.
28453 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28454 (__nss_configure_lookup): Set appropriate entry in
28455 __nss_configure_lookup to true.
28456 * nss/nsswitch.h: Define enum with indeces of databases in
28457 databases and __nss_database_custom arrays. Declare
28458 __nss_database_custom.
28459 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28460 to avoid using nscd when custom rules are installed.
28461 * nss/getXXbyYY_r.c: Likewise.
28462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28464 * nss/nss_files/files-parse.c: Whitespace fixes.
28466 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28469 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28470 * posix/fnmatch_loop.c: Likewise.
28472 2010-07-17 Andi Kleen <ak@linux.intel.com>
28474 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28475 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28476 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28477 * Versions.def [GLIBC_2.13]: Add.
28479 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28481 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28482 Also fail if tpwd after pwuid call is NULL.
28484 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28486 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28487 when converting to ms.
28489 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28491 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28492 EOPNOTSUPP errors with ENOTTY.
28493 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28494 EOPNOTSUPP errors with ENOTTY.
28496 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28498 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28499 Add strcasecmp_l-ssse3.
28500 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28502 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28503 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28504 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28506 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28508 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28510 * string/Makefile (strop-tests): Add strcasecmp.
28511 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28512 strcasecmp_l-nonascii.
28513 (gen-as-const-headers): Add locale-defines.sym.
28514 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28515 * sysdeps/x86_64/strcasecmp.S: New file.
28516 * sysdeps/x86_64/strcasecmp_l.S: New file.
28517 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28518 * sysdeps/x86_64/locale-defines.sym: New file.
28519 * string/test-strcasecmp.c: New file.
28521 * string/test-strcasestr.c: Test both ends of the range of characters.
28522 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28524 2010-07-29 Roland McGrath <roland@redhat.com>
28527 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28529 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28531 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28534 2010-07-27 Andreas Schwab <schwab@redhat.com>
28536 * manual/memory.texi (Malloc Tunable Parameters): Document
28539 2010-07-26 Roland McGrath <roland@redhat.com>
28542 * configure.in (-fgnu89-inline check): Set and substitute
28543 gnu89_inline, not libc_cv_gnu89_inline.
28544 * configure: Regenerated.
28545 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28547 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28549 * string/test-strnlen.c: New file.
28550 * string/Makefile (strop-tests): Add strnlen.
28551 * string/tester.c (test_strnlen): Add a few more test cases.
28552 * string/tst-strlen.c: Better error reporting.
28554 * sysdeps/x86_64/strnlen.S: New file.
28556 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28558 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28559 lower-latency instructions.
28561 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28563 * string/test-strcasestr.c: New file.
28564 * string/test-strstr.c: New file.
28565 * string/Makefile (strop-tests): Add strstr and strcasestr.
28566 * string/str-two-way.h: Don't undefine MAX.
28567 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28569 2010-07-21 Andreas Schwab <schwab@redhat.com>
28571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28572 strcasestr-nonascii.
28573 (CFLAGS-strcasestr-nonascii.c): Define.
28574 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28575 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28576 Remove unused attribute.
28578 2010-07-20 Roland McGrath <roland@redhat.com>
28580 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28581 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28582 ld.so.cache was broken. With it, there is no way to disable dsocaps
28583 like LD_HWCAP_MASK can disable hwcaps.
28585 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28587 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28589 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28591 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28592 call in strcasestr.
28593 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28594 __strcasestr_sse42_nonascii.
28595 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28596 strcasestr-nonascii.c.
28597 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28599 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28601 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28602 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28603 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28604 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28606 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28608 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28611 2010-07-06 Andreas Schwab <schwab@redhat.com>
28614 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28617 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28619 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28620 _PC_PIPE_BUF using F_GETPIPE_SZ.
28622 2010-07-05 Roland McGrath <roland@redhat.com>
28624 * manual/arith.texi (Rounding Functions): Fix rint description
28625 implicit in round description.
28627 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28629 * elf/Makefile: Fix linking for a few tests to make recent linker
28632 2010-06-30 Andreas Schwab <schwab@redhat.com>
28634 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28635 $(common-objpfx)libc_nonshared.a.
28637 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28639 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28640 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28641 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28642 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28643 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28644 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28645 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28646 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28661 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28662 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28663 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28664 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28665 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28666 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28667 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28668 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28669 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28670 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28671 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28672 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28688 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28690 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28691 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28692 * string/memmove.c (memmove): Renamed to ...
28693 (MEMMOVE): ...this. Default to memmove.
28694 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28695 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28698 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28699 mempcpy-ssse3-back memmove-ssse3-back.
28700 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28701 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28703 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28704 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28705 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28706 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28707 * sysdeps/x86_64/multiarch/memmove.c: New file.
28708 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28709 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28710 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28711 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28712 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28715 (index_Fast_Copy_Backward): Define.
28716 (HAS_ARCH_FEATURE): Define.
28717 (HAS_FAST_REP_STRING): Define.
28718 (HAS_FAST_COPY_BACKWARD): Define.
28720 2010-06-21 Andreas Schwab <schwab@redhat.com>
28722 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28723 Restore proper fallback handling.
28725 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28728 * posix/group_member.c (__group_member): Correct checking loop.
28730 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28731 OOM in getpwuid_r correctly. Return error number when the caller
28732 should return, otherwise -1.
28733 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28734 call returning > 0 value.
28735 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28737 2010-06-07 Andreas Schwab <schwab@redhat.com>
28739 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28740 libc_nonshared.a from targets in modules-names.
28742 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28744 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28747 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28749 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28750 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28752 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28754 2010-06-02 Andreas Schwab <schwab@redhat.com>
28756 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28758 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28760 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28762 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28766 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28767 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28769 2010-06-14 Roland McGrath <roland@redhat.com>
28771 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28773 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28775 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28776 __REDIRECT followed by __THROW.
28777 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28778 * posix/getopt.h (getopt): Likewise.
28780 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28782 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28783 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28784 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28786 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28787 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28789 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28791 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28793 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28797 Properly check family and model.
28799 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28801 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28803 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28805 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28807 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28809 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28812 2010-05-19 Andreas Schwab <schwab@redhat.com>
28814 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28817 2010-05-21 Andreas Schwab <schwab@redhat.com>
28819 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28820 and internal_recvmmsg.
28821 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28822 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28823 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28824 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28826 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28827 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28828 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28830 2010-05-20 Andreas Schwab <schwab@redhat.com>
28832 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28834 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28836 POWER7 optimizations.
28837 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28838 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28840 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28842 * version.h: Update for 2.13 development version.
28844 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28846 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28847 exceptions. Return 0.
28849 2010-05-07 Roland McGrath <roland@redhat.com>
28851 * elf/ldconfig.c (main): Add a const.
28853 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28855 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28856 (args_options): Add no-idn option.
28857 (ahosts_keys_int): Add idn_flags to ai_flags.
28858 (parse_option): Handle 'i' option to clear idn_flags.
28860 * malloc/malloc.c (_int_free): Possible race in the most recently
28861 added check. Only act on the data if no current modification
28864 See ChangeLog.17 for earlier changes.