1 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3 * math/libm-test.inc (fma_test): Use max_value instead of local
5 (nextafter_test): Likewise.
7 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9 (acos_downward_test_data): New variable.
10 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11 (acos_upward_test_data): New variable.
12 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13 (acosh_test_data): New variable.
14 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15 (asin_test_data): New variable.
16 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17 (asin_tonearest_test_data): New variable.
18 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19 (asin_towardzero_test_data): New variable.
20 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21 (asin_downward_test_data): New variable.
22 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23 (asin_upward_test_data): New variable.
24 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25 (asinh_test_data): New variable.
26 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27 (atan_test_data): New variable.
28 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29 (atanh_test_data): New variable.
30 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31 (cbrt_test_data): New variable.
32 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33 (ceil_test_data): New variable.
34 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35 (cos_test_data): New variable.
36 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37 (cos_tonearest_test_data): New variable.
38 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39 (cos_towardzero_test_data): New variable.
40 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41 (cos_downward_test_data): New variable.
42 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43 (cos_upward_test_data): New variable.
44 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45 (cosh_test_data): New variable.
46 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47 (cosh_tonearest_test_data): New variable.
48 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49 (cosh_towardzero_test_data): New variable.
50 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51 (cosh_downward_test_data): New variable.
52 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53 (cosh_upward_test_data): New variable.
54 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55 (erf_test_data): New variable.
56 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57 (erfc_test_data): New variable.
58 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
59 (exp_test_data): New variable.
60 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61 (exp_tonearest_test_data): New variable.
62 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63 (exp_towardzero_test_data): New variable.
64 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65 (exp_downward_test_data): New variable.
66 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67 (exp_upward_test_data): New variable.
68 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
69 (exp10_test_data): New variable.
70 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
71 (exp2_test_data): New variable.
72 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
73 (expm1_test_data): New variable.
74 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
75 (fabs_test_data): New variable.
76 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
77 (floor_test_data): New variable.
78 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
79 (j0_test_data): New variable.
80 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
81 (j1_test_data): New variable.
82 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
83 (log_test_data): New variable.
84 (log_test): Run tests with RUN_TEST_LOOP_f_f.
85 (log10_test_data): New variable.
86 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
87 (log1p_test_data): New variable.
88 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
89 (log2_test_data): New variable.
90 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
91 (logb_test_data): New variable.
92 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
93 (logb_downward_test_data): New variable.
94 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
95 (nearbyint_test_data): New variable.
96 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
97 (rint_test_data): New variable.
98 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
99 (rint_tonearest_test_data): New variable.
100 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
101 (rint_towardzero_test_data): New variable.
102 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
103 (rint_downward_test_data): New variable.
104 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
105 (rint_upward_test_data): New variable.
106 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
107 (round_test_data): New variable.
108 (round_test): Run tests with RUN_TEST_LOOP_f_f.
109 (sin_test_data): New variable.
110 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
111 (sin_tonearest_test_data): New variable.
112 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
113 (sin_towardzero_test_data): New variable.
114 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
115 (sin_downward_test_data): New variable.
116 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
117 (sin_upward_test_data): New variable.
118 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
119 (sinh_test_data): New variable.
120 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
121 (sinh_tonearest_test_data): New variable.
122 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
123 (sinh_towardzero_test_data): New variable.
124 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
125 (sinh_downward_test_data): New variable.
126 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
127 (sinh_upward_test_data): New variable.
128 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
129 (sqrt_test_data): New variable.
130 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
131 (tan_test_data): New variable.
132 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
133 (tan_tonearest_test_data): New variable.
134 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
135 (tan_towardzero_test_data): New variable.
136 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
137 (tan_downward_test_data): New variable.
138 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
139 (tan_upward_test_data): New variable.
140 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
141 (tanh_test_data): New variable.
142 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
143 (tgamma_test_data): New variable.
144 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
145 (trunc_test_data): New variable.
146 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
147 (y0_test_data): New variable.
148 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
149 (y1_test_data): New variable.
150 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
151 (significand_test_data): New variable.
152 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
154 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
157 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
159 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
161 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
163 2013-05-10 Andreas Jaeger <aj@suse.de>
166 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
167 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
169 2013-05-10 Joseph Myers <joseph@codesourcery.com>
171 * math/gen-libm-test.pl (adjust_arg): New function.
172 (special_functions): Handle generating output in both functions
174 (parse_args): Likewise.
175 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
176 $in_func argument to parse_args.
177 * math/libm-test.inc (struct test_f_f_data): New type.
178 (IF_ROUND_INIT_): New macro.
179 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
180 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
181 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
182 (IF_ROUND_INIT_FE_UPWARD): Likewise.
183 (ROUND_RESTORE_): Likewise.
184 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
185 (ROUND_RESTORE_FE_TONEAREST): Likewise.
186 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
187 (ROUND_RESTORE_FE_UPWARD): Likewise.
188 (RUN_TEST_LOOP_f_f): New macro.
189 (acos_test_data): New variable.
190 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
191 (acos_tonearest_test_data): New variable.
192 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
194 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
196 * benchtests/bench-skeleton.c (startup): Fix coding style.
198 2013-05-10 Joseph Myers <joseph@codesourcery.com>
201 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
202 negative infinity argument.
203 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
204 negative infinity argument.
205 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
206 negative infinity argument.
207 * math/libm-test.inc (tgamma_test): Expect errno to be set for
210 2013-05-10 Florian Weimer <fweimer@redhat.com>
212 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
213 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
214 * iconv/iconv_prog.c (main): Likewise.
215 * locale/programs/charmap-dir.c (charmap_readdir)
216 (fopen_uncompressed): Likewise.
217 * locale/programs/locfile.c (siblings_uncached)
218 (write_locale_data): Use lstat64 instead of lstat.
219 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
222 2013-05-10 Andreas Jaeger <aj@suse.de>
225 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
229 2013-05-09 Carlos O'Donell <carlos@redhat.com>
231 * elf/dl-close.c (_dl_close_worker): Add comments.
233 2013-05-09 Joseph Myers <joseph@codesourcery.com>
236 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
238 (__ieee754_rem_pio2l): Update comments.
241 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
243 (__ieee754_rem_pio2l): Update comments.
245 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
246 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
248 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
251 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
252 (M_PI_34_LOG10El): Likewise.
253 (M_PI2_LOG10El): Likewise.
254 (M_PI4_LOG10El): Likewise.
255 (M_PI_LOG10El): Likewise.
257 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
261 2013-05-08 Joseph Myers <joseph@codesourcery.com>
263 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
264 (MINUS_ZERO_INIT): Likewise.
265 (PLUS_INFTY_INIT): Likewise.
266 (MINUS_INFTY_INIT): Likewise.
267 (QNAN_VALUE_INIT): Likewise.
268 (MAX_VALUE_INIT): Likewise.
269 (MIN_VALUE_INIT): Likewise.
270 (MIN_SUBNORM_VALUE_INIT): Likewise.
271 (plus_zero): Initialize with PLUS_ZERO_INIT.
272 (minus_zero): Initialize with MINUS_ZERO_INIT.
273 (plus_infty): Initialize with PLUS_INFTY_INIT.
274 (minus_infty): Initialize with MINUS_INFTY_INIT.
275 (qnan_value): Initialize with QNAN_VALUE_INIT.
276 (max_value): Initialize with MAX_VALUE_INIT.
277 (min_value): Initialize with MIN_VALUE_INIT.
278 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
280 * math/libm-test.inc (RUN_TEST_if_f): New macro.
281 (jn_test): Use TEST_if_f instead of TEST_ff_f.
282 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
283 (yn_test): Use TEST_if_f instead of TEST_ff_f.
285 * math/libm-test.inc (RUN_TEST_f_f): New macro.
286 (RUN_TEST_2_f): Likewise.
287 (RUN_TEST_ff_f): Likewise.
288 (RUN_TEST_fi_f): Likewise.
289 (RUN_TEST_fl_f): Likewise.
290 (RUN_TEST_fff_f): Likewise.
291 (RUN_TEST_c_f): Likewise.
292 (RUN_TEST_f_f1): Likewise.
293 (RUN_TEST_fF_f1): Likewise.
294 (RUN_TEST_fI_f1): Likewise.
295 (RUN_TEST_ffI_f1): Likewise.
296 (RUN_TEST_c_c): Likewise.
297 (RUN_TEST_cc_c): Likewise.
298 (RUN_TEST_f_i): Likewise.
299 (RUN_TEST_f_i_tg): Likewise.
300 (RUN_TEST_ff_i_tg): Likewise.
301 (RUN_TEST_f_b): Likewise.
302 (RUN_TEST_f_b_tg): Likewise.
303 (RUN_TEST_f_l): Likewise.
304 (RUN_TEST_f_L): Likewise.
305 (RUN_TEST_sincos): Likewise.
306 * math/gen-libm-test.pl (new_test): Take new argument to indicate
307 whether to show exceptions. Do not include ");\n" in return
309 (special_functions): Output call to RUN_TEST_sincos instead of
310 check_float calls. Update calls to new_test.
311 (parse_args): Output call to single RUN_TEST_* macro instead of
312 check_* calls and other assignments. Update calls to new_test.
318 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
319 input to result for tgamma overflow.
320 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
321 (gamma_coeff): New variable.
323 (gamma_positive): New function.
324 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
325 underflow here. Use gamma_positive instead of exp (lgamma) for
327 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
328 (gamma_coeff): New variable.
330 (gammaf_positive): New function.
331 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
332 underflow here. Use gamma_positive instead of exp (lgamma) for
334 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
335 (gamma_coeff): New variable.
337 (gammal_positive): New function.
338 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
339 underflow here. Use gamma_positive instead of exp (lgamma) for
341 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
342 (gamma_coeff): New variable.
344 (gammal_positive): New function.
345 (__ieee754_gammal_r): Handle positive infinity, overflow and
346 underflow here. Handle NaN the same as positive infinity. Remove
347 check x < 0xffffffff for negative integers. Use gamma_positive
348 instead of exp (lgamma) for other arguments.
349 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
350 (gamma_coeff): New variable.
352 (gammal_positive): New function.
353 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
354 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
355 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
356 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
357 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
358 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
359 * sysdeps/generic/math_private.h (__gamma_productf): New
361 (__gamma_product): Likewise.
362 (__gamma_productl): Likewise.
363 * math/Makefile (libm-calls): Add gamma_product.
364 * math/libm-test.inc (tgamma_test): Add more tests.
365 * sysdeps/i386/fpu/libm-test-ulps: Update.
366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
368 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
370 * benchtests/bench-skeleton.c (main): Preheat CPU.
372 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
374 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
376 2013-05-07 Roland McGrath <roland@hack.frob.com>
378 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
379 and _dl_skip_args_internal.
381 2013-05-07 Carlos O'Donell <carlos@redhat.com>
383 * manual/message.texi (Message Translation): Talk about users.
384 Message to key mapping impacts design.
386 2013-05-06 Roland McGrath <roland@hack.frob.com>
388 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
390 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
392 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
393 * sysdeps/wordsize-64/glob64.c: ... here.
395 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
396 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
399 * debug/getlogin_r_chk.c: Moved to ...
400 * login/getlogin_r_chk.c: ... here.
401 * debug/Makefile (routines): Move getlogin_r_chk to ...
402 * login/Makefile (routines): ... here.
403 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
404 * login/Versions (libc: GLIBC_2.4): ... here.
406 * io/poll.c (__poll): Renamed from poll.
408 (poll): Define as weak alias.
410 * debug/ptsname_r_chk.c: Moved to ...
411 * login/ptsname_r_chk.c: ... here.
412 * debug/Makefile (routines): Move ptsname_r_chk to ...
413 * login/Makefile (routines): ... here.
414 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
415 * login/Versions (libc: GLIBC_2.4): ... here.
417 * posix/getlogin.c: Moved to ...
418 * login/getlogin.c: ... here.
419 * posix/getlogin_r.c: Moved to ...
420 * login/getlogin_r.c: ... here.
421 * posix/getlogin_r.c: Moved to ...
422 * login/getlogin_r.c: ... here.
423 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
424 * login/Makefile (routines): ... here.
425 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
426 * login/Versions (libc: GLIBC_2.0): ... here.
428 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
429 (setrlimit): Define as weak alias.
431 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
432 Call __ names for open, ftruncate, and close.
433 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
434 (truncate): Define as weak alias.
436 2013-05-06 Joseph Myers <joseph@codesourcery.com>
438 * math/gen-libm-test.pl (parse_args): Initialize x before each
439 test of frexp, modf and remquo.
441 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
444 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
448 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
450 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
452 2013-05-06 Roland McGrath <roland@hack.frob.com>
454 * elf/dl-writev.h: New file.
455 * elf/dl-misc.c: Include it.
456 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
457 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
459 2013-05-04 Joseph Myers <joseph@codesourcery.com>
461 * math/libm-test.inc (noXFails): Remove variable.
462 (noXPasses): Likewise.
463 (BUILD_COMPLEX_INT): Remove macro.
464 (print_screen): Remove xfail argument.
465 (print_screen_max_error): Likewise.
466 (update_stats): Likewise.
467 (print_max_error): Likewise. Update calls to other affected
469 (print_complex_max_error): Likewise.
470 (test_single_exception): Update calls to print_screen.
471 (test_single_errno): Likewise.
472 (check_float_internal): Remove xfail argument. Update calls to
473 other affected functions.
474 (check_float): Likewise.
475 (check_complex): Likewise.
476 (check_int): Likewise.
477 (check_long): Likewise.
478 (check_bool): Likewise.
479 (check_longlong): Likewise.
480 (main): Don't print noXFails and noXPasses.
481 * math/gen-libm-test.pl (top level): Don't mention expected
482 failure handling in comment.
483 (new_test): Don't handle expected failures.
484 (parse_args): Don't mention expected failure handling in comment.
485 (generate_testfile): Don't handle expected failures.
486 (parse_ulps): Likewise.
487 (print_ulps_file): Likewise.
488 (get_failure): Remove function.
489 (output_test): Don't handle expected failures.
490 * make/README.libm-test: Don't mention expected failure handling.
492 * math/libm-test.inc (plus_zero): Make const. Add initializer.
493 (minus_zero): Likewise.
494 (plus_infty): Likewise.
495 (minus_infty): Likewise.
496 (qnan_value): Likewise.
497 (max_value): Likewise.
498 (min_value): Likewise.
499 (min_subnorm_value): Likewise.
500 (initialize): Do not initialize those variables dynamically.
502 2013-05-03 Roland McGrath <roland@hack.frob.com>
504 * io/open.c (__open_2): Moved to ...
505 * io/open_2.c: ... this new file.
506 * io/open64.c (__open64_2): Moved to ...
507 * io/open64_2.c: ... this new file.
508 * io/openat.c (__openat_2): Moved to ...
509 * io/openat_2.c: ... this new file.
510 * io/openat64.c (__openat64_2): Moved to ...
511 * io/openat64_2.c: ... this new file.
512 * io/Makefile (routines): Add them.
513 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
514 * sysdeps/unix/sysv/linux/open_2.c: File removed.
515 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
516 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
517 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
518 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
519 (__openat64): Add hidden_ver.
520 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
521 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
523 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
524 Separately conditionalize setting of GLRO(dl_sysinfo) so
525 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
526 as well, but the actual setting is only under [NEED_DL_SYSINFO].
528 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
530 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
531 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
533 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
534 * sysdeps/unix/sysv/linux/powerpc/init-first.c
535 (_libc_vdso_platform_setup): Add __vdso_time initialization.
536 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
537 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
539 2013-05-03 Joseph Myers <joseph@codesourcery.com>
541 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
544 * math/libm-test.inc (hypot_test): Do not use
545 IGNORE_ZERO_INF_SIGN.
547 2013-05-03 Andreas Jaeger <aj@suse.de>
549 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
551 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
552 (PF_MAX): Adjust for VSOCK change.
554 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
558 2013-05-02 Carlos O'Donell <carlos@redhat.com>
561 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
562 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
563 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
565 2013-05-02 David S. Miller <davem@davemloft.net>
567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
569 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
571 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
573 2013-05-01 Roland McGrath <roland@hack.frob.com>
575 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
577 2013-05-01 Richard Smith <richard@metafoo.co.uk>
580 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
581 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
582 Use __attribute__ ((__gnu_inline__)).
583 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
584 Don't use __attribute__ ((__gnu_inline__)).
586 2013-05-01 Joseph Myers <joseph@codesourcery.com>
589 * math/s_catan.c (__catan): Handle small real or imaginary part of
590 input specially to avoid spurious underflow.
591 * math/s_catanf.c (__catanf): Likewise.
592 * math/s_catanh.c (__catanh): Likewise.
593 * math/s_catanhf.c (__catanhf): Likewise.
594 * math/s_catanhl.c (__catanhl): Likewise.
595 * math/s_catanl.c (__catanl): Likewise.
596 * math/libm-test.inc (catan_test): Add more tests.
597 (catanh_test): Likewise.
598 * sysdeps/i386/fpu/libm-test-ulps: Update.
599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
601 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
605 2013-04-30 Joseph Myers <joseph@codesourcery.com>
608 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
609 accurately for denominator in atan2.
610 * math/s_catanf.c (__catanf): Likewise.
611 * math/s_catanh.c (__catanh): Likewise.
612 * math/s_catanhf.c (__catanhf): Likewise.
613 * math/s_catanhl.c (__catanhl): Likewise.
614 * math/s_catanl.c (__catanl): Likewise.
615 * math/libm-test.inc (catan_test): Add more tests.
616 (catanh_test): Likewise.
617 * sysdeps/i386/fpu/libm-test-ulps: Update.
618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
620 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
622 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
624 * benchtests/Makefile (bench): Remove slow benchmarks.
625 * benchtests/atan-inputs: Add slow benchmark inputs.
626 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
627 (BENCH_FUNC): Accept variant offset.
629 * benchtests/bench-skeleton.c (main): Run benchmark for each
631 * benchtests/cos-inputs: Add slow benchmark inputs.
632 * benchtests/exp-inputs: Likewise.
633 * benchtests/pow-inputs: Likewise.
634 * benchtests/sin-inputs: Likewise.
635 * benchtests/slowatan-inputs: Remove.
636 * benchtests/slowatan.c: Remove.
637 * benchtests/slowcos-inputs: Remove.
638 * benchtests/slowcos.c: Remove.
639 * benchtests/slowexp-inputs: Remove.
640 * benchtests/slowexp.c: Remove.
641 * benchtests/slowpow-inputs: Remove.
642 * benchtests/slowpow.c: Remove.
643 * benchtests/slowsin-inputs: Remove.
644 * benchtests/slowsin.c: Remove.
645 * benchtests/slowtan-inputs: Remove.
646 * benchtests/slowtan.c: Remove.
647 * benchtests/tan-inputs: Add slow benchmark inputs.
648 * scripts/bench.pl: Parse comments and directives.
650 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
652 ($(objpfx)bench-%.c): Remove *-ITER.
653 * benchtests/bench-modf.c: Remove definition of ITER.
654 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
655 (main): Loop for DURATION seconds instead of fixed number of
657 * scripts/bench.pl: Don't expect iterations in parameters.
659 2013-04-29 Roland McGrath <roland@hack.frob.com>
661 * io/fchdir.c (__fchdir): Renamed from fchdir.
662 (fchdir): Define as weak alias.
664 2013-04-29 Joseph Myers <joseph@codesourcery.com>
666 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
667 (ERRNO_EDOM): Likewise.
668 (ERRNO_ERANGE): Likewise.
669 (noErrnoTests): New variable.
670 (init_max_error): Set errno to 0.
671 (test_single_errno): New function.
672 (test_errno): Likewise.
673 (check_float_internal): Call test_errno. Set errno to 0.
674 (check_complex): Refer to errno tests in comment.
675 (check_int): Call test_errno. Set errno to 0.
676 (check_long): Likewise.
677 (check_bool): Likewise.
678 (check_longlong): Likewise.
679 (cos_test): Use ERRNO_* flags for errno tests instead of
681 (expm1_test): Likewise.
682 (fmod_test): Likewise.
683 (ilogb_test): Likewise.
684 (lgamma_test): Likewise.
685 (pow_test): Likewise.
686 (remainder_test): Likewise.
687 (sin_test): Likewise.
688 (tan_test): Likewise.
690 (initialize): Set errno to 0.
691 (main): Print number of errno tests.
692 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
694 2013-04-29 Andreas Jaeger <aj@suse.de>
697 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
701 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
702 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
706 * stdlib/random.c (__initstate): Return NULL if
710 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
711 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
714 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
718 2013-04-29 Joseph Myers <joseph@codesourcery.com>
720 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
722 (casin_test): Likewise.
723 (casinh_test): Likewise.
725 2013-04-27 Joseph Myers <joseph@codesourcery.com>
728 * math/s_catan.c (__catan): Handle arguments with large real or
729 imaginary part separately without squaring.
730 * math/s_catanf.c (__catanf): Likewise.
731 * math/s_catanh.c (__catanh): Likewise.
732 * math/s_catanhf.c (__catanhf): Likewise.
733 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
735 (__catanhl): Handle arguments with large real or imaginary part
736 separately without squaring.
737 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
739 (__catanl): Handle arguments with large real or imaginary part
740 separately without squaring.
741 * math/libm-test.inc (catan_test): Add more tests.
742 (catanh_test): Likewise.
743 * sysdeps/i386/fpu/libm-test-ulps: Update.
744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
746 2013-04-27 Andreas Jaeger <aj@suse.de>
749 * stdlib/stdlib.h: Update guards for qecvt.
750 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
753 2013-04-27 Allan McRae <allan@archlinux.org>
755 * sysdeps/i386/fpu/libm-test-ulps: Update.
757 2013-04-26 Joseph Myers <joseph@codesourcery.com>
760 * math/s_catan.c: Include <float.h>.
761 (__catan): Ensure underflow exception occurs for underflowed
763 * math/s_catanf.c: Include <float.h>.
764 (__catanf): Ensure underflow exception occurs for underflowed
766 * math/s_catanh.c: Include <float.h>.
767 (__catanh): Ensure underflow exception occurs for underflowed
769 * math/s_catanhf.c: Include <float.h>.
770 (__catanhf): Ensure underflow exception occurs for underflowed
772 * math/s_catanhl.c: Include <float.h>.
773 (__catanhl): Ensure underflow exception occurs for underflowed
775 * math/s_catanl.c: Include <float.h>.
776 (__catanl): Ensure underflow exception occurs for underflowed
778 * math/libm-test.inc (catan_test): Add more tests.
779 (catanh_test): Likewise.
782 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
784 * math/s_ccoshf.c (__ccoshf): Likewise.
785 * math/s_ccoshl.c (__ccoshl): Likewise.
786 * math/s_csin.c (__csin): Likewise.
787 * math/s_csinf.c (__csinf): Likewise.
788 * math/s_csinh.c (__csinh): Likewise.
789 * math/s_csinhf.c (__csinhf): Likewise.
790 * math/s_csinhl.c (__csinhl): Likewise.
791 * math/s_csinl.c (__csinl): Likewise.
792 * math/libm-test.inc (ccos_test): Add more tests.
793 (ccosh_test): Likewise.
794 (csin_test): Likewise.
795 (csinh_test): Likewise.
797 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
799 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
800 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
801 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
802 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
803 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
804 powerpc/power5+/fpu folders.
805 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
808 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
812 2013-04-25 Joseph Myers <joseph@codesourcery.com>
814 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
815 additions to variable.
816 [$(config-machine) = x86_64] (modules-names): Likewise.
817 ($(objpfx)tst-audit3): Remove dependency.
818 ($(objpfx)tst-audit3.out): Likewise.
819 ($(objpfx)tst-audit4): Likewise.
820 ($(objpfx)tst-audit4.out): Likewise.
821 ($(objpfx)tst-audit5): Likewise.
822 ($(objpfx)tst-audit5.out): Likewise.
823 ($(objpfx)tst-audit6): Likewise.
824 ($(objpfx)tst-audit6.out): Likewise.
825 ($(objpfx)tst-audit7): Likewise.
826 ($(objpfx)tst-audit7.out): Likewise.
827 (tst-audit3-ENV): Remove variable.
828 (tst-audit4-ENV): Likewise.
829 (tst-audit5-ENV): Likewise.
830 (tst-audit6-ENV): Likewise.
831 (tst-audit7-ENV): Likewise.
832 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
833 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
834 addition to variable.
835 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
836 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
837 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
838 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
839 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
840 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
841 tst-audit3, tst-audit4 and tst-audit5.
842 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
843 tst-audit6 and tst-audit7.
844 [$(subdir) = elf] (modules-names): Add audit modules for those
846 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
847 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
848 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
849 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
850 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
851 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
852 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
853 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
854 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
855 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
856 [$(subdir) = elf] (tst-audit3-ENV): New variable.
857 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
858 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
859 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
860 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
861 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
863 [$(subdir) = elf && $(config-cflags-avx) = yes]
864 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
865 [$(subdir) = elf && $(config-cflags-avx) = yes]
866 (CFLAGS-tst-auditmod4a.c): Likewise.
867 [$(subdir) = elf && $(config-cflags-avx) = yes]
868 (CFLAGS-tst-auditmod4b.c): Likewise.
869 [$(subdir) = elf && $(config-cflags-avx) = yes]
870 (CFLAGS-tst-auditmod6b.c): Likewise.
871 [$(subdir) = elf && $(config-cflags-avx) = yes]
872 (CFLAGS-tst-auditmod6c.c): Likewise.
873 [$(subdir) = elf && $(config-cflags-avx) = yes]
874 (CFLAGS-tst-auditmod7b.c): Likewise.
875 * elf/tst-audit3.c: Move to ...
876 * sysdeps/x86_64/tst-audit3.c: ... here.
877 * elf/tst-audit4.c: Move to ...
878 * sysdeps/x86_64/tst-audit4.c: ... here.
879 * elf/tst-audit5.c: Move to ...
880 * sysdeps/x86_64/tst-audit5.c: ... here.
881 * elf/tst-audit6.c: Move to ...
882 * sysdeps/x86_64/tst-audit6.c: ... here.
883 * elf/tst-audit7.c: Move to ...
884 * sysdeps/x86_64/tst-audit7.c: ... here.
885 * elf/tst-auditmod3a.c: Move to ...
886 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
887 * elf/tst-auditmod3b.c: Move to ...
888 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
889 * elf/tst-auditmod4a.c: Move to ...
890 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
891 * elf/tst-auditmod4b.c: Move to ...
892 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
893 * elf/tst-auditmod5a.c: Move to ...
894 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
895 * elf/tst-auditmod5b.c: Move to ...
896 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
897 * elf/tst-auditmod6a.c: Move to ...
898 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
899 * elf/tst-auditmod6b.c: Move to ...
900 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
901 * elf/tst-auditmod6c.c: Move to ...
902 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
903 * elf/tst-auditmod7a.c: Move to ...
904 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
905 * elf/tst-auditmod7b.c: Move to ...
906 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
908 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
911 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
912 define unconditionally.
913 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
914 define unconditionally.
915 (INT8_C, INT16_C, etc.): Likewise.
917 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
919 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
920 __ehdr_start with hidden visibility.
922 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
924 2013-04-24 Carlos O'Donell <carlos@redhat.com>
926 * math/libm-test.inc (cos_test): Use accurate hex constants.
927 (sincost_test): Likewise.
929 2013-04-24 Joseph Myers <joseph@codesourcery.com>
931 * math/libm-test.inc (catan_test): Add more tests.
932 (catanh_test): Likewise.
934 * math/s_catanf.c (__catanf): Use suffixed floating-point
936 * math/s_catanhf.c (__catanhf): Likewise.
937 * math/s_catanhl.c (__catanhl): Likewise.
938 * math/s_catanl.c (__catanl): Likewise.
941 * math/s_catan.c (__catan): Calculate imaginary part of result
942 with log1p not log unless computing log of number close to 0.
943 * math/s_catanf.c (__catanf): Likewise.
944 * math/s_catanl.c (__catanl): Likewise.
945 * math/s_catanh.c (__catanh): Calculate real part of result with
946 log1p not log unless computing log of number close to 0.
947 * math/s_catanhf.c (__catanhf): Likewise.
948 * math/s_catanhl.c (__catanhl): Likewise.
949 * math/libm-test.inc (catan_test): Add more tests.
950 (catanh_test): Likewise.
951 * sysdeps/i386/fpu/libm-test-ulps: Update.
952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
954 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
956 * benchtests/Makefile: Mention files in which fast and slow
957 paths of math functions are implemented.
959 2013-04-23 Roland McGrath <roland@hack.frob.com>
961 * sysdeps/posix/timespec_get.c: New file.
963 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
965 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
967 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
969 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
970 powerpc/power5/fpu folders.
971 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
972 * benchtests/Makefile: Add modf testcase.
973 * benchtests/bench-modf.c: New file: Benchmark test for mo
975 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
978 * time/Makefile (tests): Add tst-strptime-whitespace.
979 * time/strptime_l.c (get_number): Use ISSPACE.
980 (__strptime_internal): Likewise.
981 * time/tst-strptime-whitespace.c: New test case.
983 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
985 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
987 (_nss_files_init): Set it here.
989 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
991 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
992 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
995 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
997 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
999 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1001 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1004 2013-04-21 David S. Miller <davem@davemloft.net>
1006 * po/ru.po: Update Russion translation from translation project.
1008 2013-04-17 Adam Conrad <adconrad@0c3.net>
1010 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1013 2013-04-17 Carlos O'Donell <carlos@redhat.com>
1015 * configure.in: Remove i386 configure warning. Remove i386 case.
1016 * configure: Regenerate.
1017 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1018 Add example to error message.
1019 * sysdeps/i386/configure: Regenerate.
1021 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1023 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1025 * benchtests/cos-inputs: New file.
1026 * benchtests/slowcos-inputs: New file.
1027 * benchtests/slowcos.c: New file.
1028 * benchtests/slowtan-inputs: New file.
1029 * benchtests/slowtan.c: New file.
1030 * benchtests/tan-inputs: New file.
1032 2013-04-16 Roland McGrath <roland@hack.frob.com>
1034 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1037 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1039 * benchtests/Makefile: Include cppflags-iterator.mk to add
1040 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1042 * Makefile.in (bench-clean): New target.
1043 * benchtests/Makefile (bench-clean): Likewise.
1045 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1047 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1049 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1051 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1053 2013-04-15 Andreas Schwab <schwab@suse.de>
1055 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1056 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1057 * nscd/pwdcache.c (cache_addpw): Likewise.
1058 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1061 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1063 * benchtests/Makefile (bench): Write all output to
1064 bench-out.tmp together.
1066 2013-04-15 Andreas Schwab <schwab@suse.de>
1068 * nscd/nscd.c (main): Don't fork again after closing files.
1070 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1072 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1074 * benchtests/Rules (bench-deps): Collect dependencies into a
1075 single variable. Add Makefile to dependencies.
1076 ($(objpfx)bench-%.c): Depend on bench-deps.
1078 2013-04-12 Roland McGrath <roland@hack.frob.com>
1079 Xavier Roche <roche+kml2@exalead.com>
1082 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1083 just that it's a file descriptor.
1084 * manual/llio.texi (Synchronizing AIO Operations): Update description
1085 for EBADF error from aio_fsync.
1087 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1089 * Rules (bench): Move target definition...
1090 * benchtests/Makefile: ... here.
1092 2013-04-11 Carlos O'Donell <carlos@redhat.com>
1094 * math/libm-test.inc (cos_test): Fix PI/2 test.
1095 (sincos_test): Likewise.
1096 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1097 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1099 2013-04-11 Andreas Schwab <schwab@suse.de>
1102 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1103 accept exponent character only when digits were seen.
1104 * stdio-common/Makefile (tests): Add bug26.
1105 * stdio-common/bug26.c: New file.
1108 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1111 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1113 * Makeconfig (rtld-prefix): Define built linker prefix.
1114 * Rules (run-bench): Use it.
1115 * math/Makefile (run-regen-ulps): Likewise.
1117 * Rules (bench): Remove eval.
1119 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1120 Roland McGrath <roland@hack.frob.com>
1121 Ondrej Bilka <neleai@seznam.cz>
1124 * time/getdate.c: Include ctype.h and alloca.h.
1125 (__getdate_r): Trim leading and trailing spaces of input.
1126 * time/tst-getdate.c (tests): Add tests with leading and
1129 2013-04-08 Roland McGrath <roland@hack.frob.com>
1132 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1133 when computing value.
1135 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1137 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1138 Use testrun.sh to run libm tests.
1141 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1143 2013-04-06 Marko Myllynen <myllynen@redhat.com>
1146 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1148 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1150 * Makefile.in (regen-ulps): New target.
1151 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1152 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1153 [ifneq (no,$(PERL)] (regen-ulps): New target.
1154 [ifeq (no,$(PERL)] (regen-ulps): New target.
1155 * math/libm-test.inc (ulps_file_name): Define.
1156 (output_dir): New variable.
1157 (options): Add "output-dir" option.
1158 (parse_opt): Handle 'o' case.
1159 (main): If output_dir is non-NULL use it as a prefix
1161 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1163 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1166 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1167 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1168 fail configure if __sync_val_compare_and_swap is not inlined.
1169 * sysdeps/i386/configure: Regenerate.
1170 * configure.in: Build for i686 when configured for i386.
1171 * configure: Regenerate.
1172 * README: Remove i386 reference.
1174 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1176 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1179 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1181 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1182 (lmsnanval): New variables.
1183 (F): Add conversion tests.
1184 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1185 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1187 * stdio-common/tstdiomisc.c (F): Properly collect individual
1191 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1192 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1193 Instead, use input NaN values or generate a qNaN by arithmetic
1194 operation. Also fix bugs to comply with the standard.
1195 * math/libm-test.inc (remainder_test): Add more tests.
1198 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1199 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1200 input NaN values or generate a qNaN by arithmetic operation.
1202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1205 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1208 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1211 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1213 * math/s_cexpf.c (__cexpf): Likewise.
1214 * math/s_cexpl.c (__cexpl): Likewise.
1215 * math/libm-test.inc (cexp_test): Add more tests.
1217 2013-04-03 Andreas Schwab <schwab@suse.de>
1220 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1221 order arrays from heap if bigger than alloca cutoff.
1223 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1225 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1226 (SNAN_TESTS_double): Refer to GCC PR56831.
1227 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1230 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1232 * Rules (bench): Move bench.out after the run is complete.
1234 * Rules (bench): Echo currently running benchmark.
1236 * benchtests/Makefile (bench): Add atan and slowatan.
1237 * benchtests/atan-inputs: New file.
1238 * benchtests/slowatan-inputs: New file.
1239 * benchtests/slowatan.c: New file.
1241 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1246 * sysdeps/unix/sysv/linux/kernel-features.h
1247 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1248 __ASSUME_XFS_RESTRICTED_CHOWN.
1249 * sysdeps/unix/sysv/linux/pathconf.c
1250 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1251 Save and restore errno.
1253 2013-04-02 Joseph Myers <joseph@codesourcery.com>
1256 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1257 arguments using __kernel_casinh.
1258 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1259 arguments using __kernel_casinhf.
1260 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1261 arguments using __kernel_casinhl.
1262 * math/libm-test.inc (cacosh_test): Add more tests.
1263 * sysdeps/i386/fpu/libm-test-ulps: Update.
1264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1266 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1268 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1271 * bench/Makefile (bench): Add sin and slowsin.
1272 * benchtests/sin-inputs: New file.
1273 * benchtests/slowsin-inputs: New file.
1274 * benchtests/slowsin.c: New file.
1276 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1277 (bench): Add slowexp and slowpow.
1278 (exp-ITER): Increase iterations.
1279 (pow-ITER): Likewise.
1280 * benchtests/exp-inputs: Change input.
1281 * benchtests/pow-inputs: Likewise.
1282 * benchtests/slowexp-inputs: New file.
1283 * benchtests/slowexp.c: New file.
1284 * benchtests/slowpow-inputs: New file.
1285 * benchtests/slowpow.c: New file.
1287 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1289 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1291 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1292 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1293 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1294 * benchtests/Makefile: Add rint benchtest.
1295 * benchtests/rint-inputs: Input for rint benchtest.
1297 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1299 * Versions.def (libm): Add GLIBC_2.18.
1300 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1301 hidden libm prototypes.
1302 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1303 * math/Makefile (libm-calls): Add s_issignaling.
1304 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1305 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1306 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1308 * math/math.h [__USE_GNU] (issignaling): New macro.
1309 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1310 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1311 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1312 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1315 * manual/arith.texi (issignaling): New section.
1316 * manual/libm-err-tab.pl (@all_functions): Update comment.
1317 * math/gen-libm-test.pl (parse_args): Apply special handling for
1319 * math/libm-test.inc (print_float, issignaling_test): New
1321 (check_float_internal): Add issignaling checks.
1322 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1324 * sysdeps/powerpc/math-tests.h: New file.
1325 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1327 * math/test-snan.c (TEST_FUNC): Likewise.
1329 2013-03-30 David S. Miller <davem@davemloft.net>
1331 * po/de.po: Update from translation team.
1333 2013-03-30 Joseph Myers <joseph@codesourcery.com>
1336 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1337 imaginary part less than 1.0 and real part less than 0.5
1339 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1340 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1341 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1342 (cacos_test): Add more tests.
1343 (casin_test): Likewise.
1344 (casinh_test): Likewise.
1345 * sysdeps/i386/fpu/libm-test-ulps: Update.
1346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1348 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1350 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1353 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1354 (__pow_mp): Replace ONE and MONE with their values.
1355 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1356 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1357 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1358 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1359 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1360 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1362 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1364 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1365 (__pow_mp): Replace ZERO and MZERO with their values.
1366 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1367 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1368 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1370 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1371 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1374 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1376 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1378 2013-03-28 Roland McGrath <roland@hack.frob.com>
1380 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1381 Declare with __attribute__ ((weak)).
1382 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1383 Call __call_tls_dtors only if it's not NULL.
1385 2013-03-28 Roland McGrath <roland@hack.frob.com>
1387 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1388 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1389 magic __ehdr_start linker symbol if it's defined.
1390 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1391 them up here if it was already done.
1393 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1394 (_dl_aux_init): Use const in cast when setting it.
1395 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1396 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1397 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1399 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1401 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1402 * csu/libc-tls.c: Nor here.
1403 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1405 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1406 (__libc_message): Never call vsyslog.
1408 2013-03-28 Alan Modra <amodra@gmail.com>
1410 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1412 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1415 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1418 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1422 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1425 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1426 Don't add gid passed as argument.
1428 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1430 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1433 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1434 imaginary part between 1.0 and 1.5 and real part less than 0.5
1436 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1437 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1438 * math/libm-test.inc (cacos_test): Add more tests.
1439 (casin_test): Likewise.
1440 (casinh_test): Likewise.
1441 * sysdeps/i386/fpu/libm-test-ulps: Update.
1442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1444 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1446 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1450 (__dbl_mp): Likewise.
1451 (add_magnitudes): Likewise.
1452 (sub_magnitudes): Likewise.
1460 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1462 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1463 (__dubcos): Likewise.
1464 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1465 (__ieee754_acos): Likewise.
1466 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1467 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1469 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1470 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1472 (my_log2): Likewise.
1473 (checkint): Likewise.
1474 * sysdeps/ieee754/dbl-64/e_remainder.c
1475 (__ieee754_remainder): Likewise.
1476 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1477 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1479 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1481 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1482 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1483 MANTISSA_STORE_T to store computations on mantissa. Use
1484 macros for rounding and division.
1486 (__dbl_mp): Likewise.
1487 (add_magnitudes): Likewise.
1488 (sub_magnitudes): Likewise.
1491 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1492 powers of two in terms of TWOPOW macro.
1493 (mp_no): Make type of mantissa as MANTISSA_T.
1494 [!RADIXI]: Define RADIXI.
1495 [!TWO52]: Define TWO52.
1496 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1498 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1500 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1501 llroundl symbol when building for PPC32.
1503 2013-03-24 Mark H Weaver <mhw@netris.org>
1505 * manual/arith.texi (Normalization Functions): Fix prototypes for
1506 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1508 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1511 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1512 high value to check if expl overflow.
1513 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1514 to check for underflow and overflow.
1515 * math/libm-test.inc: Add exp test.
1517 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1520 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1523 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1525 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1528 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1530 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1531 wrap blocks consisting of several statements.
1533 * sysdeps/generic/math-tests.h: New file.
1534 * sysdeps/i386/fpu/math-tests.h: Likewise.
1535 * math/test-snan.c: Include it.
1536 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1538 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1541 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1542 (__ieee754_j0l): Do not improve calculations using cos of twice
1543 input for inputs above LDBL_MAX / 2.0L.
1544 (__ieee754_y0l): Likewise.
1545 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1546 (__ieee754_j1l): Do not improve calculations using cos of twice
1547 input for inputs above LDBL_MAX / 2.0L.
1548 (__ieee754_y1l): Likewise.
1549 * math/libm-test.inc (j0_test): Add another test.
1550 (j1_test): Likewise.
1551 (y0_test): Likewise.
1552 (y1_test): Likewise.
1553 * sysdeps/i386/fpu/libm-test-ulps: Update.
1555 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1557 * Rules ($(objpfx)bench-%.c): Include code from a C source
1560 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1563 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1564 imaginary part 1.0 and real part less than 0.5 specially.
1565 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1566 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1567 * math/libm-test.inc (cacos_test): Add more tests.
1568 (casin_test): Likewise.
1569 (casinh_test): Likewise.
1570 * sysdeps/i386/fpu/libm-test-ulps: Update.
1571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1573 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1575 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1576 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1578 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1580 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1581 * config.make.in (config-cflags-sse4): Remove variable.
1582 (config-cflags-avx): Likewise.
1583 (config-cflags-sse2avx): Likewise.
1584 (config-cflags-novzeroupper): Likewise.
1585 (config-asflags-i686): Likewise.
1586 (have-mfma4): Likewise.
1587 (have-as-vis3): Likewise.
1589 * configure.in (MIG): Do not AC_SUBST.
1590 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1591 (libc_cv_cc_sse4): Do not AC_SUBST.
1592 (libc_cv_cc_avx): Likewise.
1593 (libc_cv_cc_sse2avx): Likewise.
1594 (libc_cv_cc_novzeroupper): Likewise.
1595 (libc_cv_cc_fma4): Likewise.
1596 (libc_cv_as_i686): Likewise.
1597 (libc_cv_sparc_as_vis3): Likewise.
1598 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1600 (config-asflags-i686): Likewise.
1601 (config-cflags-avx): Likewise.
1602 (config-cflags-sse2avx): Likewise.
1603 (have-mfma4): Likewise.
1604 (config-cflags-novzeroupper): Likewise.
1605 * sysdeps/mach/configure.in (MIG): Likewise.
1606 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1607 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1609 (config-cflags-avx): Likewise.
1610 (config-cflags-sse2avx): Likewise.
1611 (have-mfma4): Likewise.
1612 (config-cflags-novzeroupper): Likewise.
1613 * configure: Regenerated.
1614 * sysdeps/i386/configure: Likewise.
1615 * sysdeps/mach/configure: Likewise.
1616 * sysdeps/sparc/configure: Likewise.
1617 * sysdeps/x86_64/configure: Likewise.
1619 2013-03-20 Roland McGrath <roland@hack.frob.com>
1622 * locale/programs/localedef.c (options): Put N_ translation marker
1623 on argument names, not just descriptions.
1625 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1627 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1629 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1632 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1634 2013-03-19 Roland McGrath <roland@hack.frob.com>
1636 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1637 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1638 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1639 [!BEFORE_ABORT] (before_abort): New function.
1640 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1641 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1642 (writev_for_fatal): New function.
1643 (WRITEV_FOR_FATAL): New macro; call that.
1644 (backtrace_and_maps): New function.
1645 (BEFORE_ABORT): New macro; call that.
1646 (struct str_list): Type removed.
1647 (__libc_message, __libc_fatal): Functions removed.
1648 Include <sysdeps/posix/libc_fatal.c> instead.
1650 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1652 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1654 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1657 2013-03-19 Andreas Schwab <schwab@suse.de>
1659 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1660 * sysdeps/gnu/configure: Regenerate.
1662 * configure.in: Substitute libc_cv_rtlddir.
1663 * configure: Regenerate.
1664 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1665 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1666 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1667 * elf/Makefile (install-others, CFLAGS-interp.c)
1668 (ldso_install, common-ldd-rewrite): Likewise.
1669 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1670 $(inst_slibdir)/$(rtld-installed-name).
1671 * scripts/rellns-sh: Add -p option.
1672 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1675 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1677 * manual/nptl.texi: Renamed to ...
1678 * manual/threads.texi: ... this.
1679 * manual/Makefile (chapters): Update.
1681 2013-03-18 Roland McGrath <roland@hack.frob.com>
1684 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1685 on argument names, not just descriptions.
1686 * malloc/memusagestat.c (options): Likewise.
1687 * nss/getent.c (options): Likewise.
1689 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1692 * iconv/iconv_prog.c (options): Put N_ translation marker
1693 on argument names, not just descriptions.
1694 * iconv/iconvconfig.c (options): Likewise.
1696 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1698 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1699 implementation which is faster on all x86_64 architectures.
1700 Tested on AMD, Intel Nehalem, SNB, IVB.
1701 * sysdeps/x86_64/strnlen.S: Likewise.
1703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1704 Remove all multiarch strlen and strnlen versions.
1705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1706 Remove strlen and strnlen related parts.
1708 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1710 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1712 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1713 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1714 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1715 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1716 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1717 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1719 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1721 * manual/memory.texi (Malloc Tunable Parameters):
1722 Sort parameters alphabetically. Add comments for missing entries.
1724 2013-03-17 David S. Miller <davem@davemloft.net>
1726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1728 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1731 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1732 for arguments at most half maximum finite value.
1733 * math/libm-test.inc (j0_test): Add more tests.
1734 (j1_test): Likewise.
1735 (y0_test): Likewise.
1736 (y1_test): Likewise.
1737 * sysdeps/i386/fpu/libm-test-ulps: Update.
1738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1741 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1742 1 / x and functions P and Q for arguments above 0x1p256L.
1743 (__ieee754_y0l): Likewise.
1744 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1745 (__ieee754_y1l): Likewise.
1746 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1747 (j1_test): Likewise.
1748 (y0_test): Likewise.
1749 (y1_test): Likewise.
1751 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1753 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1756 2013-03-15 Roland McGrath <roland@hack.frob.com>
1758 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1759 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1760 zero since it's initialized to EXEC_PAGESIZE.
1762 * sysdeps/unix/sysv/linux/ldsodefs.h
1763 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1764 * sysdeps/generic/ldsodefs.h: ... here.
1766 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1768 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1770 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1772 * math/test-snan.c: Renamed from
1773 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1774 * math/Makefile (tests): Add test-snan.
1775 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1778 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1779 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1781 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1782 __builtin_nan family of functions.
1783 * math/libm-test.inc (initialize): Initialize qnan_value with
1784 __builtin_nan family of functions.
1785 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1787 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1789 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1790 storage class. Initialize qNaN_var and sNaN_var with
1791 __builtin_nan and __builtin_nans families of functions,
1794 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1795 (sqrt_test): Remove duplicate test with qNaN input.
1796 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1797 (round_test, signbit_test, significand_test): Note missing +/-Inf
1798 as well as qNaN tests.
1800 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1801 qNaN_var. Fix a few strings, too.
1802 * math/libm-test.inc (nan_value): Rename to qnan_value.
1803 * math/gen-libm-test.pl (%beautify): Adjust to that.
1804 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1805 * math/test-misc.c (main): Likewise.
1806 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1807 to __qnan_bytes, and __qnan_union, respectively.
1808 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1810 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1811 and lqnanval, respectively.
1812 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1813 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1814 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1815 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1817 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1818 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1821 * math/test-misc.c (main): Fix copy'n'pastos.
1822 * misc/tst-efgcvt.c (special): Likewise.
1824 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1825 Remove declarations.
1827 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1829 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1830 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1831 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1832 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1834 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1836 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1837 macro to return vdso values correctly in IFUNC implementations.
1838 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1839 Optimization by using IFUNC.
1841 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1842 Richard Henderson <rth@redhat.com>
1843 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1845 * Makefile.in (bench): New target.
1846 * NEWS: Mention the benchmark framework.
1847 * Rules (bench): Likewise.
1848 (binaries-bench): Generate binaries for functions to
1850 * benchtests/Makefile: New makefile for benchmark tests.
1851 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1853 * benchtests/exp-inputs: New input file for EXP function.
1854 * benchtests/pow-inputs: New input file for POW function.
1855 * scripts/bench.pl: New script to generate source files for
1858 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1860 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1861 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1862 computations on mantissa. Use macros for rounding and
1865 (__dbl_mp): Likewise.
1866 (add_magnitudes): Likewise.
1867 (sub_magnitudes): Likewise.
1870 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1871 powers of two in terms of TWOPOW macro.
1872 (mp_no): Make type of mantissa as MANTISSA_T.
1873 [!RADIXI]: Define RADIXI.
1874 [!TWO52]: Define TWO52.
1875 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1877 * manual/nptl.texi (cindex): Modify threads to pthreads.
1879 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1881 * sysdeps/x86_64/preconfigure: Regenerated.
1883 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1886 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1888 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1889 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1891 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1892 * math/libm-test.inc (j0_test): Do not allow one spurious
1893 underflow exception.
1894 (y1_test): Likewise.
1896 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1898 * manual/Makefile (chapters): Add nptl.
1899 * manual/debug.texi (Debugging Support): Add link to Threads
1901 * manual/nptl.texi: New file.
1903 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1905 2013-03-14 Petr Baudis <pasky@ucw.cz>
1907 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1908 for non-NULL pointer before the memory validity test. Pointed
1909 out by Holger Brunck <holger.brunck@keymile.com>.
1911 2013-03-13 Andreas Schwab <schwab@suse.de>
1913 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1916 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1918 * timezone/zic.c: Update from tzcode 2013b.
1920 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1922 * manual/install.texi (Configuring and compiling):
1923 Mention i686 and i586.
1924 * INSTALL: Regenerate.
1926 2013-03-12 Roland McGrath <roland@hack.frob.com>
1928 * sysdeps/init_array/elf-init.c: New file.
1930 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1931 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1933 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1934 __gmon_start__ as global, but as static with a .preinit_array pointer.
1935 * sysdeps/init_array/gmon-start.c: New file. Use that.
1936 * sysdeps/init_array/crti.S: New file, empty except for comments.
1937 * sysdeps/init_array/crtn.S: Likewise.
1939 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1941 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1944 Remove Prefer_SSE_for_memop.
1945 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1946 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1947 HAS_PREFER_SSE_FOR_MEMOP.
1948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1951 Remove bzero, memset ifunc support.
1952 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1953 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1954 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1955 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1957 2013-03-11 Andreas Schwab <schwab@suse.de>
1960 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1963 (GLIBC_2.16): Remove pthread_atfork.
1965 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1967 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1968 (ptestcases.h): Likewise.
1970 2013-03-08 Roland McGrath <roland@hack.frob.com>
1972 * Makeconfig ($(common-objpfx)config.status): Depend on
1973 sysdeps/*/preconfigure{,.in} too.
1975 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1977 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1978 (__free_hook): Use void * instead of __malloc_ptr_t.
1979 (__malloc_hook): Likewise.
1980 (__realloc_hook): Likewise.
1981 (__memalign_hook): Likewise.
1982 (__after_morecore_hook): Likewise.
1983 * malloc/arena.c (save_malloc_hook): Likewise.
1984 (save_free_hook): Likewise.
1985 * malloc/hooks.c (malloc_hook_ini): Likewise.
1986 (realloc_hook_ini): Likewise.
1987 (memalign_hook_ini): Likewise.
1988 * malloc/malloc.c (malloc_hook_ini): Likewise.
1989 (realloc_hook_ini): Likewise.
1990 (memalign_hook_ini): Likewise.
1991 (__free_hook): Likewise.
1992 (__malloc_hook): Likewise.
1993 (__realloc_hook): Likewise.
1994 (__memalign_hook): Likewise.
1995 (__libc_malloc): Likewise.
1996 (__libc_free): Likewise.
1997 (__libc_realloc): Likewise.
1998 (__libc_memalign): Likewise.
1999 (__libc_valloc): Likewise.
2000 (__libc_pvalloc): Likewise.
2001 (__libc_calloc): Likewise.
2002 (__posix_memalign): Likewise.
2003 * malloc/morecore.c (__sbrk): Likewise.
2004 (__default_morecore): Likewise.
2006 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2008 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2009 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2012 * malloc/malloc.h (__malloc_size_t): Remove macro.
2013 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2015 (old_memalign_hook): Likewise.
2016 (old_realloc_hook): Likewise.
2017 (struct hdr): Likewise.
2019 (mallochook): Likewise.
2020 (memalignhook): Likewise.
2021 (reallochook): Likewise.
2022 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2023 (tr_old_realloc_hook): Likewise.
2024 (tr_old_memalign_hook): Likewise.
2025 (tr_mallochook): Likewise.
2026 (tr_reallochook): Likewise.
2027 (tr_memalignhook): Likewise.
2029 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2031 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2032 default_ldbl_pack and using as default implementation.
2033 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2035 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2036 redundant definition.
2037 (ldbl_insert_mantissa): Likewise.
2038 (ldbl_canonicalize): Likewise.
2039 (ldbl_nearbyint): Likewise.
2040 (ldbl_pack): Rename to ldbl_pack_ppc.
2041 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2042 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2043 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2045 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2048 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2049 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2050 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2052 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2053 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2054 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2056 2013-03-07 Andreas Jaeger <aj@suse.de>
2058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2061 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2063 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2064 Include mpa.h and declare __MPEXP.
2065 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2066 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2067 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2068 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2069 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2070 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2071 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2073 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2074 (__slowpow): Use long double EXPL and LOGL functions to
2076 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2077 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2078 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2079 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2080 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2081 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2084 intermediate variable to calculate exponent.
2086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2090 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2091 [!NO__SQR]: Define __sqr.
2092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2093 and NO__SQR. Remove all code except __mul and __sqr. Include
2094 sysdeps/ieee754/dbl-64/mpa.c.
2095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2098 * posix/Makefile (tests): Add tst-pathconf.
2099 * posix/tst-pathconf.c: New test case.
2100 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2102 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2104 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
2106 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2108 2013-03-06 Andreas Jaeger <aj@suse.de>
2110 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2111 definition via __MAP_ANONYMOUS.
2113 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2114 it's not part of Linux headers.
2116 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2117 (MAP_HUGE_MASK): Define.
2119 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2121 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2122 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2124 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2125 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2127 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2128 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2130 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2132 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2133 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2134 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2135 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2136 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2137 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2139 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2142 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2143 Handle f2fs and efivarfs.
2145 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2148 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2149 (EFIVARFS_MAGIC): Add.
2150 (F2FS_LINK_MAX): Add.
2152 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2154 * stdio-common/vfprintf.c: Replace __builtin_expect with
2157 2013-03-06 Joseph Myers <joseph@codesourcery.com>
2160 * sysdeps/generic/bp-sym.h: Remove file.
2161 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2162 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2163 <bp-sym.h> and <bp-asm.h>.
2164 (__longjmp): Don't use BP_SYM.
2165 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2167 (memcpy): Don't use BP_SYM.
2168 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2169 <bp-sym.h> and <bp-asm.h>.
2170 (memcpy): Don't use BP_SYM.
2171 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2173 (memcpy): Don't use BP_SYM.
2174 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2176 (memset): Don't use BP_SYM.
2177 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2178 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2179 (__bzero): Don't use BP_SYM.
2180 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2181 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2182 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2183 <bp-sym.h> and <bp-asm.h>.
2184 (memcmp): Don't use BP_SYM. Remove comment about bounded
2186 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2187 <bp-sym.h> and <bp-asm.h>.
2188 (memcpy): Don't use BP_SYM.
2189 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2190 <bp-sym.h> and <bp-asm.h>.
2191 (memset): Don't use BP_SYM.
2192 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2193 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2194 (__bzero): Don't use BP_SYM.
2195 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2196 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2197 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2198 <bp-sym.h> and <bp-asm.h>.
2199 (strncmp): Don't use BP_SYM. Remove comment about bounded
2201 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2202 <bp-sym.h> and <bp-asm.h>.
2203 (memcpy): Don't use BP_SYM.
2204 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2205 <bp-sym.h> and <bp-asm.h>.
2206 (memset): Don't use BP_SYM.
2207 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2208 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2209 (__bzero): Don't use BP_SYM.
2210 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2211 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2212 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2213 <bp-sym.h> and <bp-asm.h>.
2214 (__memchr): Don't use BP_SYM.
2215 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2216 <bp-sym.h> and <bp-asm.h>.
2217 (memcmp): Don't use BP_SYM. Remove comment about bounded
2219 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2220 <bp-sym.h> and <bp-asm.h>.
2221 (memcpy): Don't use BP_SYM.
2222 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2223 <bp-sym.h> and <bp-asm.h>.
2224 (__mempcpy): Don't use BP_SYM.
2225 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2226 <bp-sym.h> and <bp-asm.h>.
2227 (__memrchr): Don't use BP_SYM.
2228 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2229 <bp-sym.h> and <bp-asm.h>.
2230 (memset): Don't use BP_SYM.
2231 (__bzero): Likewise.
2232 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2233 <bp-sym.h> and <bp-asm.h>.
2234 (__rawmemchr): Don't use BP_SYM.
2235 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2236 <bp-sym.h> and <bp-asm.h>.
2237 (__STRCMP): Don't use BP_SYM.
2238 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2239 <bp-sym.h> and <bp-asm.h>.
2240 (strchr): Don't use BP_SYM.
2241 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2242 <bp-sym.h> and <bp-asm.h>.
2243 (__strchrnul): Don't use BP_SYM.
2244 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2245 <bp-sym.h> and <bp-asm.h>.
2246 (strlen): Don't use BP_SYM.
2247 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2248 <bp-sym.h> and <bp-asm.h>.
2249 (strncmp): Don't use BP_SYM. Remove comment about bounded
2251 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2252 <bp-sym.h> and <bp-asm.h>.
2253 (__strnlen): Don't use BP_SYM.
2254 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2255 <bp-sym.h> and <bp-asm.h>.
2256 (__GI__setjmp): Don't use BP_SYM.
2257 (_setjmp): Likewise.
2258 (__sigsetjmp): Likewise.
2259 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2260 (L(start_addresses)): Don't use BP_SYM.
2262 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2264 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2265 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2266 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2267 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2268 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2270 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2271 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2272 about bounded pointers.
2273 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2274 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2275 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2277 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2278 about bounded pointers. Remove GKM FIXME comments.
2279 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2280 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2282 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2283 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2284 Remove GKM FIXME comments.
2285 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2286 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2287 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2289 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2290 about bounded pointers. Remove GKM FIXME comment.
2291 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2293 (strncmp): Don't use BP_SYM. Remove comment about bounded
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2296 <bp-sym.h> and <bp-asm.h>.
2297 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2299 <bp-sym.h> and <bp-asm.h>.
2300 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2303 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2305 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2308 2013-03-05 David S. Miller <davem@davemloft.net>
2310 * po/es.po: Update from translation team.
2312 2013-03-05 Andreas Jaeger <aj@suse.de>
2314 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2315 <bits/mman-linux.h>.
2316 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2318 * sysdeps/unix/sysv/linux/sh/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/x86/bits/mman.h: Move include of
2323 <bits/mman-linux.h> to end of file.
2324 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2326 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2327 <bits/mman-linux.h> to end of file.
2329 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2330 (MCL_CURRENT, MCL_FUTURE): Define here.
2332 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2335 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2337 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2339 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2341 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2342 fourth parameter needed for rt_sigprocmask syscall.
2343 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2344 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2345 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2346 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2347 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2348 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2350 2013-03-04 Joseph Myers <joseph@codesourcery.com>
2353 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2354 comment about bounded pointers.
2355 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2356 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2358 2013-03-04 Andreas Jaeger <aj@suse.de>
2360 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2363 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2364 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2365 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2366 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2367 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2368 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2370 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2373 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2374 __ieee754_sqrl instead of __sqrl.
2376 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2378 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2379 * sysdeps/powerpc/fpu_control.h: ... here.
2380 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2381 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2382 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2383 * sysdeps/powerpc/bits/mathinline.h: ... here.
2385 2013-03-01 Roland McGrath <roland@hack.frob.com>
2387 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2388 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2389 to just [NEED_DL_SYSINFO_DSO].
2390 * elf/dl-support.c: Likewise.
2391 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2392 * elf/rtld.c (dl_main): Likewise.
2393 * elf/setup-vdso.h (setup_vdso): Likewise.
2394 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2395 * sysdeps/unix/sysv/linux/dl-sysdep.c
2396 (_dl_discover_osversion): Likewise.
2398 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2400 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2401 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2403 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2405 * NEWS: Mention libm performance improvements and non-x86 PI
2408 * csu/libc-start.c (__pthread_initialize_minimal): Change
2410 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2412 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2415 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2416 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2417 <bp-sym.h> and <bp-asm.h>.
2418 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2419 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2421 (memcpy): Don't use BP_SYM.
2422 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2424 (__mpn_add_n): Don't use BP_SYM.
2425 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2426 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2428 (__mpn_addmul_1): Don't use BP_SYM.
2429 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2430 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2432 (_setjmp): Don't use BP_SYM.
2433 (__novmx_setjmp): Likewise.
2434 (__GI__setjmp): Likewise.
2435 (__vmx_setjmp): Likewise.
2436 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2438 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2439 (__bzero): Don't use BP_SYM.
2440 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2441 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2442 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2443 <bp-sym.h> and <bp-asm.h>.
2444 (memcpy): Don't use BP_SYM.
2445 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2446 <bp-sym.h> and <bp-asm.h>.
2447 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2448 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2449 <bp-sym.h> and <bp-asm.h>.
2450 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2451 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2453 (__mpn_lshift): Don't use BP_SYM.
2454 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2455 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2457 (memset): Don't use BP_SYM.
2458 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2459 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2460 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2462 (__mpn_mul_1): Don't use BP_SYM.
2463 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2464 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2465 <bp-sym.h> and <bp-asm.h>.
2466 (memcmp): Don't use BP_SYM.
2467 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2468 <bp-sym.h> and <bp-asm.h>.
2469 (memcpy): Don't use BP_SYM.
2470 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2471 <bp-sym.h> and <bp-asm.h>.
2472 (memset): Don't use BP_SYM.
2473 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2474 <bp-sym.h> and <bp-asm.h>.
2475 (strncmp): Don't use BP_SYM.
2476 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2477 <bp-sym.h> and <bp-asm.h>.
2478 (memcpy): Don't use BP_SYM.
2479 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2480 <bp-sym.h> and <bp-asm.h>.
2481 (memset): Don't use BP_SYM.
2482 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2483 <bp-sym.h> and <bp-asm.h>.
2484 (__memchr): Don't use BP_SYM.
2485 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2486 <bp-sym.h> and <bp-asm.h>.
2487 (memcmp): Don't use BP_SYM.
2488 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2489 <bp-sym.h> and <bp-asm.h>.
2490 (memcpy): Don't use BP_SYM.
2491 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2492 <bp-sym.h> and <bp-asm.h>.
2493 (__mempcpy): Don't use BP_SYM.
2494 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2495 <bp-sym.h> and <bp-asm.h>.
2496 (__memrchr): Don't use BP_SYM.
2497 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2498 <bp-sym.h> and <bp-asm.h>.
2499 (memset): Don't use BP_SYM.
2500 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2501 <bp-sym.h> and <bp-asm.h>.
2502 (__rawmemchr): Don't use BP_SYM.
2503 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2504 <bp-sym.h> and <bp-asm.h>.
2505 (__STRCMP): Don't use BP_SYM.
2506 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2507 <bp-sym.h> and <bp-asm.h>.
2508 (strchr): Don't use BP_SYM.
2509 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2510 <bp-sym.h> and <bp-asm.h>.
2511 (__strchrnul): Don't use BP_SYM.
2512 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2513 <bp-sym.h> and <bp-asm.h>.
2514 (strlen): Don't use BP_SYM.
2515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2516 <bp-sym.h> and <bp-asm.h>.
2517 (strncmp): Don't use BP_SYM.
2518 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2519 <bp-sym.h> and <bp-asm.h>.
2520 (__strnlen): Don't use BP_SYM.
2521 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2523 (__mpn_rshift): Don't use BP_SYM.
2524 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2525 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2526 <bp-sym.h> and <bp-asm.h>.
2527 (__sigsetjmp): Don't use BP_SYM.
2528 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2529 (L(start_addresses)): Don't use BP_SYM.
2531 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2533 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2534 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2535 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2536 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2538 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2539 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2540 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2541 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2543 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2545 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2546 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2548 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2550 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2551 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2552 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2554 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2556 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2558 (strncmp): Don't use BP_SYM,
2559 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2561 (__mpn_sub_n): Don't use BP_SYM.
2562 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2563 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2565 (__mpn_submul_1): Don't use BP_SYM.
2566 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2568 <bp-sym.h> and <bp-asm.h>.
2569 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2571 <bp-sym.h> and <bp-asm.h>.
2572 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2575 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2578 Use ZK to minimize writes to Z.
2579 (sub_magnitudes): Simplify code a bit.
2580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2581 Use ZK to minimize writes to Z.
2582 (sub_magnitudes): Simplify code a bit.
2584 2013-02-27 Roland McGrath <roland@hack.frob.com>
2586 * csu/gmon-start.c: Add special exception to license text.
2588 2013-02-27 Richard Henderson <rth@redhat.com>
2590 * scripts/config.guess: Update from config.git.
2591 * scripts/config.sub: Likewise.
2593 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2595 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2597 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2599 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2601 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2603 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2605 2013-02-26 Roland McGrath <roland@hack.frob.com>
2607 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2608 [$(build-shared = yes].
2610 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2612 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2613 (__mul): Reduce iterations for calculating mantissa.
2615 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2617 (__mpranred): Likewise.
2620 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2621 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2623 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2625 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2626 Define __attribute__.
2628 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2630 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2632 * posix/regex_internal.h (__attribute): Remove.
2633 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2634 (re_string_context_at): Likewise.
2635 (bitset_not): Use __attribute__ and mark function as possibly
2637 (bitset_merge): Likewise.
2638 (bitset_mask): Likewise.
2639 (re_string_char_size_at): Likewise.
2640 (re_string_wchar_at): Likewise.
2641 (re_string_elem_size_at): Likewise.
2643 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2645 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2649 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2654 (__dbl_mp): Likewise.
2655 (add_magnitudes): Likewise.
2656 (sub_magnitudes): Likewise.
2660 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2663 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2666 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2670 up changes with default code.
2671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2674 2013-02-24 Allan McRae <allan@archlinux.org>
2676 * manual/socket.texi (The Internet Namespace): Order menu items
2677 to match that in the file.
2679 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2680 node listing of the info page menu.
2682 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2685 * sysdeps/i386/bp-asm.h: Remove file.
2686 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2687 (PARMS): Do not use macros from bp-asm.h.
2691 (__mpn_add_n): Do not use BP_SYM
2692 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2694 (PARMS): Do not use macros from bp-asm.h.
2697 (__mpn_addmul_1): Do not use BP_SYM
2698 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2700 (PARMS): Do not use macros from bp-asm.h.
2702 (_setjmp): Likewise. Do not use BP_SYM.
2703 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2705 (PARMS): Do not use macros from bp-asm.h.
2707 (setjmp): Likewise. Do not use BP_SYM.
2708 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2710 (PARMS): Do not use macros from bp-asm.h.
2711 (__frexp): Do not use BP_SYM.
2713 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2715 (PARMS): Do not use macros from bp-asm.h.
2716 (__frexpf): Do not use BP_SYM.
2718 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2720 (PARMS): Do not use macros from bp-asm.h.
2721 (__frexpl): Do not use BP_SYM.
2723 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2725 (PARMS): Do not use macros from bp-asm.h.
2726 (__remquo): Do not use BP_SYM.
2728 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2730 (PARMS): Do not use macros from bp-asm.h.
2731 (__remquof): Do not use BP_SYM.
2732 (remquof): Likewise.
2733 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2735 (PARMS): Do not use macros from bp-asm.h.
2736 (__remquol): Do not use BP_SYM.
2737 (remquol): Likewise.
2738 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2740 (PARMS): Do not use macros from bp-asm.h.
2743 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2744 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2746 (PARMS): Do not use macros from bp-asm.h.
2747 (strlen): Do not use BP_SYM.
2748 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2750 (PARMS): Do not use macros from bp-asm.h.
2754 (__mpn_add_n): Do not use BP_SYM.
2755 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2757 (PARMS): Do not use macros from bp-asm.h.
2760 (__mpn_addmul_1): Do not use BP_SYM.
2761 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2764 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2766 (PARMS): Do not use macros from bp-asm.h.
2769 (__mpn_lshift): Do not use BP_SYM.
2770 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2772 (PARMS): Do not use macros from bp-asm.h.
2776 (memcpy): Likewise. Do not use BP_SYM.
2777 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2778 libc_hidden_def and weak_alias.
2779 (mempcpy): Do not use BP_SYM in weak_alias.
2780 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2782 (PARMS): Do not use macros from bp-asm.h.
2785 [!BZERO_P] (CHR): Likewise.
2786 (memset): Likewise. Do not use BP_SYM.
2787 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2789 (PARMS): Do not use macros from bp-asm.h.
2792 (__mpn_mul_1): Do not use BP_SYM.
2793 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2795 (PARMS): Do not use macros from bp-asm.h.
2798 (__mpn_rshift): Do not use BP_SYM.
2799 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2801 (PARMS): Do not use macros from bp-asm.h.
2804 (strchr): Likewise. Do not use BP_SYM.
2805 (index): Do not use BP_SYM in weak_alias.
2806 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2808 (PARMS): Do not use macros from bp-asm.h.
2811 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2812 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2814 (PARMS): Do not use macros from bp-asm.h.
2815 (strlen): Do not use BP_SYM.
2816 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2818 (PARMS): Do not use macros from bp-asm.h.
2822 (__mpn_sub_n): Do not use BP_SYM.
2823 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2825 (PARMS): Do not use macros from bp-asm.h.
2828 (__mpn_submul_1): Do not use BP_SYM.
2829 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2831 (PARMS): Do not use macros from bp-asm.h.
2835 (__mpn_add_n): Do not use BP_SYM.
2836 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2839 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2841 (PARMS): Do not use macros from bp-asm.h.
2844 (memcmp): Do not use BP_SYM.
2845 (bcmp): Do not use BP_SYM in weak_alias.
2846 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2848 (PARMS): Do not use macros from bp-asm.h.
2852 (memcpy): Likewise. Do not use BP_SYM.
2853 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2855 (PARMS): Do not use macros from bp-asm.h.
2859 (memmove): Likewise. Do not use BP_SYM.
2860 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2862 (PARMS): Do not use macros from bp-asm.h.
2866 (__mempcpy): Likewise. Do not use BP_SYM.
2867 (mempcpy): Do not use BP_SYM in weak_alias.
2868 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2870 (PARMS): Do not use macros from bp-asm.h.
2873 [!BZERO_P] (CHR): Likewise.
2874 (memset): Likewise. Do not use BP_SYM.
2875 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2877 (PARMS): Do not use macros from bp-asm.h.
2879 (strcmp): Do not use BP_SYM.
2880 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2882 (PARMS): Do not use macros from bp-asm.h.
2885 [USE_AS_STRTOK_R] (SAVE): Likewise.
2886 (FUNCTION): Likewise. Do not use BP_SYM.
2887 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2889 (strtok_r): Likewise.
2890 (__GI___strtok_r): Likewise.
2891 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2892 (PARMS): Do not use macros from bp-asm.h.
2895 (__mpn_lshift): Do not use BP_SYM.
2896 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2897 (PARMS): Do not use macros from bp-asm.h.
2900 (__memchr): Do not use BP_SYM.
2901 (memchr): Do not use BP_SYM in weak_alias.
2902 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2903 (PARMS): Do not use macros from bp-asm.h.
2906 (memcmp): Do not use BP_SYM.
2907 (bcmp): Do not use BP_SYM in weak_alias.
2908 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2909 (PARMS): Do not use macros from bp-asm.h.
2912 (__mpn_mul_1): Do not use BP_SYM.
2913 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2915 (PARMS): Do not use macros from bp-asm.h.
2918 (__rawmemchr): Do not use BP_SYM.
2919 (rawmemchr): Do not use BP_SYM in weak_alias.
2920 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2921 (PARMS): Do not use macros from bp-asm.h.
2924 (__mpn_rshift): Do not use BP_SYM.
2925 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2926 (PARMS): Do not use macros from bp-asm.h.
2928 (__sigsetjmp): Likewise. Do not use BP_SYM.
2929 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2930 (_start): Do not use BP_SYM.
2931 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2932 (PARMS): Do not use macros from bp-asm.h.
2935 (__stpcpy): Likewise. Do not use BP_SYM.
2936 (stpcpy): Do not use BP_SYM in weak_alias.
2937 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2939 (PARMS): Do not use macros from bp-asm.h.
2943 (__stpncpy): Likewise. Do not use BP_SYM.
2944 (stpncpy): Do not use BP_SYM in weak_alias.
2945 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2946 (PARMS): Do not use macros from bp-asm.h.
2949 (strchr): Likewise. Do not use BP_SYM.
2950 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2952 (PARMS): Do not use macros from bp-asm.h.
2955 (__strchrnul): Likewise. Do not use BP_SYM.
2956 (strchrnul): Do not use BP_SYM in weak_alias.
2957 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2959 (PARMS): Do not use macros from bp-asm.h.
2961 (strcspn): Do not use BP_SYM.
2962 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2964 (PARMS): Do not use macros from bp-asm.h.
2967 (strpbrk): Likewise. Do not use BP_SYM.
2968 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2970 (PARMS): Do not use macros from bp-asm.h.
2973 (strrchr): Likewise. Do not use BP_SYM.
2974 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2975 (PARMS): Do not use macros from bp-asm.h.
2977 (strspn): Do not use BP_SYM.
2978 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2979 (PARMS): Do not use macros from bp-asm.h.
2983 (FUNCTION): Likewise. Do not use BP_SYM.
2984 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2986 (strtok_r): Likewise.
2987 (__GI___strtok_r): Likewise.
2988 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2989 (PARMS): Do not use macros from bp-asm.h.
2993 (__mpn_sub_n): Do not use BP_SYM.
2994 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2996 (PARMS): Do not use macros from bp-asm.h.
2999 (__mpn_submul_1): Do not use BP_SYM.
3000 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3002 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3004 (PARMS): Do not use macros from bp-asm.h.
3009 (__clone): Do not use BP_SYM.
3010 (clone): Do not use BP_SYM in weak_alias.
3011 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3013 (PARMS): Do not use macros from bp-asm.h.
3015 (__mmap64): Do not use BP_SYM.
3016 (mmap64): Do not use BP_SYM in weak_alias.
3017 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3018 <bp-sym.h> and <bp-asm.h>.
3019 (PARMS): Do not use macros from bp-asm.h.
3020 (__posix_fadvise64_l64): Do not use BP_SYM.
3021 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3022 (PARMS): Do not use macros from bp-asm.h.
3024 (semtimedop): Do not use BP_SYM.
3025 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3028 2013-02-21 Allan McRae <allan@archlinux.org>
3030 * manual/message.texi (Charset conversion in gettext):
3031 Move @end statement to beginning of line.
3033 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3040 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3045 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3047 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3048 tail-call to the resolved function if pltexit isn't needed.
3050 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3053 or Y being zero as being unlikely.
3054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3057 2013-02-20 Carlos O'Donell <carlos@redhat.com>
3059 * manual/nss.texi (System Databases and Name Service Switch):
3060 Remove frobnicate @pxref.
3062 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3064 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3065 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3067 2013-02-20 Petr Machata <pmachata@redhat.com>
3069 * elf/elf.h (R_ARM_TARGET1): New macro.
3070 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3071 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3072 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3073 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3074 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3075 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3076 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3077 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3078 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3079 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3080 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3081 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3082 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3083 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3084 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3085 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3086 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3087 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3088 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3089 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3090 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3091 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3092 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3093 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3094 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3095 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3096 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3097 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3098 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3099 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3100 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3101 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3102 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3103 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3104 (R_ARM_THM_GOT_BREL12): Likewise.
3105 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3106 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3107 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3108 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3109 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3110 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3111 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3112 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3113 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3115 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3117 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3118 __attribute_used__ to __attribute__ ((unused)).
3120 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3122 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3128 2013-02-19 Joseph Myers <joseph@codesourcery.com>
3131 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3133 (ENTER): Remove both macro definitions.
3135 (CHECK_BOUNDS_LOW): Likewise.
3136 (CHECK_BOUNDS_HIGH): Likewise.
3137 (CHECK_BOUNDS_BOTH): Likewise.
3138 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3139 (RETURN_BOUNDED_POINTER): Likewise.
3140 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3141 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3142 (POP_ERRNO_LOCATION_RETURN): Likewise.
3143 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3144 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3145 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3147 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3148 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3149 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3150 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3151 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3152 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3153 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3154 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3155 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3156 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3157 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3158 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3159 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3160 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3162 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3163 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3165 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3166 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3167 * sysdeps/i386/i586/memset.S (memset): Likewise.
3168 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3169 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3170 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3172 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3173 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3174 Change uses of L(2) to L(out).
3175 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3176 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3177 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3178 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3179 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3181 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3182 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3184 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3185 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3186 (RETURN): Do not use macro LEAVE.
3187 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3188 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3189 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3190 * sysdeps/i386/i686/memset.S (memset): Likewise.
3191 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3192 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3193 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3194 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3196 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3197 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3198 L(1_2) and L(1_3) into L(1).
3199 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3200 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3201 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3202 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3203 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3204 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3205 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3206 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3207 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3209 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3210 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3211 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3212 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3213 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3214 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3215 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3216 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3217 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3218 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3219 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3220 * sysdeps/i386/strspn.S (strspn): Likewise.
3221 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3223 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3224 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3225 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3226 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3228 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3229 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3230 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3232 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3234 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3236 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3239 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3241 * math/atest-exp.c (exp_mpn): Remove ROUND.
3242 * math/atest-exp2.c (exp_mpn): Likewise.
3243 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3245 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3246 * stdlib/tst-tls-atexit-lib.c: Likewise.
3247 * stdlib/tst-tls-atexit.c: Likewise.
3249 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3251 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3252 and __attribute_alloc_size__.
3254 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3256 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3257 __attribute_alloc_size__.
3258 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3259 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3261 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3263 * include/programs/xmalloc.h: New file.
3264 * catgets/gencat.c: Include it.
3265 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3266 * elf/pldd.c: Likewise.
3267 * iconv/iconv_charmap.c: Likewise.
3268 * iconv/iconvconfig.c: Likewise.
3269 * iconv/strtab.c: Likewise.
3270 * locale/programs/locale.c: Likewise.
3271 * locale/programs/localedef.h: Likewise.
3272 * locale/programs/simple-hash.c: Likewise.
3273 * nscd/nscd.h: Likewise.
3274 * nss/makedb.c: Likewise.
3275 * sysdeps/generic/ldconfig.h: Likewise.
3277 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3279 * Versions.def: Add GLIBC_2.18.
3280 * include/link.h (struct link_map): New member l_tls_dtor_count.
3281 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3282 (__call_tls_dtors): Likewise.
3283 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3284 __cxa_thread_atexit_impl.
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3293 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3301 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3302 (tests): Add test case tst-tls-atexit.
3303 (modules-names): Add shared library for tst-tls-atexit.
3304 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3305 (GLIBC_PRIVATE): Add __call_tls_dtors.
3306 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3308 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3309 * stdlib/tst-tls-atexit.c: New test case.
3310 * stdlib/tst-tls-atexit-lib.c: New test case.
3312 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3314 * elf/Versions (ld): Add _dl_find_dso_for_object.
3315 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3316 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3317 (dl_open_worker): Use _dl_find_dso_for_object.
3318 * elf/dl-sym.c (do_sym): Likewise.
3319 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3321 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3323 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3324 Syntactic changes only.
3325 (_dl_runtime_profile): Do a tail-call to the resolved function.
3327 2013-02-17 Joseph Myers <joseph@codesourcery.com>
3330 * sysdeps/x86_64/bp-asm.h: Remove file.
3331 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3332 <bp-sym.h> and <bp-asm.h>.
3333 (__clone): Do not use BP_SYM.
3334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3335 <bp-sym.h> and <bp-asm.h>.
3336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3337 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3339 (_setjmp): Do not use BP_SYM.
3340 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3342 (setjmp): Do not use BP_SYM.
3343 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3345 (mempcpy): Do not use BP_SYM in weak_alias.
3346 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3348 (strchr): Do not use BP_SYM.
3349 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3351 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3352 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3353 (_start): Do not use BP_SYM.
3354 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3356 (strcat): Do not use BP_SYM.
3357 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3359 (STRCMP): Do not use BP_SYM.
3360 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3362 (STRCPY): Do not use BP_SYM.
3363 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3365 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3367 (FUNCTION): Do not use BP_SYM.
3368 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3370 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3372 2013-02-17 Andreas Jaeger <aj@suse.de>
3374 * time/Versions: Sort entries.
3375 * string/Versions: Likewise.
3376 * resolv/Versions: Likewise.
3377 * posix/Versions: Likewise.
3378 * iconv/Versions: Likewise.
3379 * elf/Versions: Likewise.
3380 * wcsmbs/Versions: Likewise.
3382 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3384 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3385 loop termination condition.
3387 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3388 variable to calculate EZ.
3391 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3392 the lower precision input.
3394 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3397 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3398 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3399 (run-via-rtld-prefix): Do not handle %-bp tests.
3400 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3401 (all-object-suffixes): Remove .ob.
3402 (bppfx): Remove variable.
3403 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3404 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3405 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3406 [$(build-bounded) = yes] (libtype.ob): Likewise.
3407 * Makerules (elide-routines.ob): Remove variable.
3408 (do-tests-clean): Do not handle *-bp.out.
3409 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3410 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3411 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3412 (tests): Do not include $(tests-bp.out).
3413 (xtests): Do not include $(xtests-bp.out).
3414 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3415 [$(build-bounded) = yes] ($(addprefix
3416 $(objpfx),$(binaries-bounded))): Remove rule.
3417 ($(objpfx)%-bp.out): Remove rule.
3418 * config.make.in (build-bounded): Remove variable.
3419 * crypt/Makefile [$(build-bounded) = yes]
3420 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3421 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3423 [$(build-bounded) = yes] (install-lib): Likewise.
3424 [$(build-bounded) = yes] (generated): Likewise.
3425 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3427 * intl/Makefile [$(build-bounded) = yes]
3428 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3429 * math/Makefile [$(build-bounded) = yes]
3430 ($(tests:%=$(objpfx)%-bp): Likewise.
3431 * misc/Makefile [$(build-bounded) = yes]
3432 ($(objpfx)tst-tsearch-bp): Likewise.
3433 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3434 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3436 * string/Makefile (o-objects.ob): Remove variable.
3437 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3438 (CFLAGS-.ob): Remove variable.
3439 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3440 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3441 both definitions of variable.
3442 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3443 (ASFLAGS-.ob): Remove variable.
3445 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3448 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3449 Remove __BOUNDED_POINTERS__ from condition.
3450 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3451 * string/bits/string2.h [!__NO_STRING_INLINES &&
3452 !__BOUNDED_POINTERS__]: Likewise.
3453 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3455 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3456 Remove conditional code.
3457 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3458 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3459 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3463 * csu/libc-start.c: Do not include <bp-sym.h>.
3464 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3465 * elf/dl-open.c: Do not include <bp-sym.h>.
3466 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3467 * math/fegetenv.c: Do not include <bp-sym.h>.
3468 (fegetenv): Do not use BP_SYM in versioned symbols.
3469 * nptl/sysdeps/pthread/bits/libc-lockP.h
3470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3473 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3475 (__pthread_mutex_destroy): Likewise.
3476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3477 (__pthread_mutex_lock): Likewise.
3478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3479 (__pthread_mutex_trylock): Likewise.
3480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3481 (__pthread_mutex_unlock): Likewise.
3482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3483 (__pthread_mutexattr_init): Likewise.
3484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3485 (__pthread_mutexattr_destroy): Likewise.
3486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3487 (__pthread_mutexattr_settype): Likewise.
3488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3489 (__pthread_rwlock_init): Likewise.
3490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3491 (__pthread_rwlock_destroy): Likewise.
3492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3493 (__pthread_rwlock_rdlock): Likewise.
3494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3495 (__pthread_rwlock_tryrdlock): Likewise.
3496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3497 (__pthread_rwlock_wrlock): Likewise.
3498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3499 (__pthread_rwlock_trywrlock): Likewise.
3500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3501 (__pthread_rwlock_unlock): Likewise.
3502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3503 (__pthread_key_create): Likewise.
3504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3505 (__pthread_setspecific): Likewise.
3506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3507 (__pthread_getspecific): Likewise.
3508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3511 (_pthread_cleanup_push_defer): Likewise.
3512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3513 (_pthread_cleanup_pop_restore): Likewise.
3514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3515 (pthread_setcancelstate): Likewise.
3516 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3518 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3519 (memchr): Do not use BP_SYM in weak_alias.
3520 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3521 (fegetenv): Do not use BP_SYM in versioned symbols.
3522 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3523 (fesetenv): Do not use BP_SYM in versioned symbols.
3524 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3525 (feupdateenv): Do not use BP_SYM in versioned symbols.
3526 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3527 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3528 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3529 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3530 (open64): Do not use BP_SYM in weak_alias.
3531 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3532 (fegetenv): Do not use BP_SYM in versioned symbols.
3533 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3534 (fesetenv): Do not use BP_SYM in versioned symbols.
3535 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3536 (feupdateenv): Do not use BP_SYM in versioned symbols.
3537 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3538 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3539 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3540 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3541 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3542 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3543 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3545 (__libc_start_main): Do not use BP_SYM.
3547 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3550 redundant return line.
3554 (sub_magnitudes): Likewise.
3560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3564 (sub_magnitudes): Likewise.
3571 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3573 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3574 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3577 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3578 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3580 of __mul for squares.
3581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3585 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3586 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3588 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3591 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3593 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3594 prototype or function definition. Rename ubp_* variables and
3595 parameters. Remove argv definitions conditional on
3596 [__BOUNDED_POINTERS__].
3597 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3598 * elf/dl-runtime.c (_dl_fixup): Likewise.
3599 * include/set-hooks.h (RUN_HOOK): Likewise.
3600 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3602 * string/strcpy.c (strcpy): Do not use __unbounded.
3603 * sysdeps/generic/frame.h (struct layout): Likewise.
3604 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3605 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3606 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3607 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3608 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3609 (__backtrace): Likewise.
3610 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3612 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3613 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3614 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3616 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3617 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3618 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3619 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3620 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3621 Do not use __unbounded.
3622 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3623 Rename __unboundedrlimits parameter to rlimits in prototype.
3624 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3625 Do not use __unbounded.
3626 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3628 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3629 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3630 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3631 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3632 __ptrvalue or __unbounded.
3633 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3634 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3636 (__new_msgctl): Do not use __ptrvalue.
3637 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3639 (__libc_msgrcv): Do not use __ptrvalue.
3640 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3641 startup_info): Do not use __unbounded.
3642 (__libc_start_main): Likewise. Rename ubp_* variables and
3643 parameters. Remove argv definitions conditional on
3644 [__BOUNDED_POINTERS__].
3645 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3647 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3649 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3651 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3653 (__new_shmctl): Do not use __ptrvalue.
3654 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3655 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3657 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3658 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3659 (__libc_sigaction): Likewise.
3660 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3661 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3663 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3665 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3667 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3669 * string/mempcpy.c: Implement by calling memcpy.
3671 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3673 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3678 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3679 values in the mantissa.
3681 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3682 minimize writes to Z.
3683 (sub_magnitudes): Simplify code a bit.
3685 2013-02-12 Roland McGrath <roland@hack.frob.com>
3687 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3688 from the message. The linker prefixes all warnings with that already.
3690 2013-02-12 Andreas Schwab <schwab@suse.de>
3693 * posix/regexec.c (extend_buffers): Add parameter min_len.
3694 (check_matching): Pass minimum needed length.
3695 (clean_state_log_if_needed): Likewise.
3696 (get_subexp): Likewise.
3697 * posix/Makefile (tests): Add bug-regex34.
3698 (bug-regex34-ENV): Define.
3699 * posix/bug-regex34.c: New file.
3702 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3703 elements compare against the byte sequence of it, not its name.
3704 * posix/Makefile (tests): Add bug-regex35.
3705 (bug-regex35-ENV): Define.
3706 * posix/bug-regex35.c: New file.
3708 2013-02-11 Tom de Vries <tom@codesourcery.com>
3710 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3712 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3713 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3714 (CHECK_EOL): Add undef.
3716 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3718 * bits/stdlib-bsearch.h: New file.
3719 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3720 * stdlib/stdlib.h: Likewise.
3722 2013-02-11 Roland McGrath <roland@hack.frob.com>
3724 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3725 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3727 * manual/search.texi (Array Search Function): Add missing const in
3729 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3730 declaration to use rlim_t.
3731 (Basic Scheduling Functions): Remove erroneous const from
3732 sched_getparam prototype. Remove erroneous * from
3733 sched_get_priority_max and sched_get_priority_min prototypes.
3734 (Resource Usage): Fix summary @comment on vtimes to refer to
3735 sys/vtimes.h rather than vtimes.h.
3736 Add missing *s in vtimes prototype.
3737 (Limits on Resources): Fix ulimit prototype to return long int.
3738 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3739 prototypes to use long int rather than double.
3740 (BSD Random): Fix initstate and setstate to use char *, not void *.
3741 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3742 prototype to make second argument 'struct aiocb64 *const[]'.
3743 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3744 (Status of AIO Operations): Remove erroneous const in aio_return and
3745 aio_return64 prototypes.
3746 (Synchronizing I/O): Fix sync prototype to return void.
3747 * manual/startup.texi (Suboptions): Remove an erroneous const in
3748 getsubopt prototype.
3749 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3750 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3751 use size_t rather than int.
3752 (Scanning All Users): Likewise for getpwent_r.
3753 (Setting Groups): Add missing const to setgroups prototype.
3754 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3755 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3756 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3757 'const void *' rather than 'const char *'.
3758 (Host Address Functions): Likewise for inet_ntop.
3759 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3760 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3761 ssize_t for return value.
3762 (Sending Data): Likewise for send, sendto, sendmsg.
3763 (Socket Option Functions): Add a missing const in setsockopt prototype.
3764 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3765 use wchar_t for the argument.
3766 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3767 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3769 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3770 double/float/long double for second argument.
3771 Fix return types of significand, significandf, significandl.
3772 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3773 argument in fchmod prototype.
3774 (File Owner): Use uid_t and gid_t in fchown prototype.
3775 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3776 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3777 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3778 use 'const struct dirent **' as argument types to CMP function pointer
3780 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3781 (File Times): Fix summary magic @comment for struct utimbuf and utime
3782 to refer to utime.h, not time.h.
3783 * manual/string.texi (Argz Functions): Add missing const in
3784 argz_extract and argz_next prototypes.
3785 (Finding Tokens in a String): Likewise for basename.
3786 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3787 (Copying and Concatenation): Fix typo in wmemmove prototype.
3788 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3789 (Signal Stack): Remove erroneous const in sigstack prototype.
3790 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3792 (Simple Calendar Time): Likewise for stime.
3793 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3795 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3796 say sys/sysctl.h instead.
3797 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3798 and vsyslog prototypes.
3800 2013-02-11 Tom de Vries <tom@codesourcery.com>
3802 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3805 2013-02-11 Roland McGrath <roland@hack.frob.com>
3807 * misc/sys/mman.h: Fix typo in mremap comment.
3809 2013-02-08 Roland McGrath <roland@hack.frob.com>
3811 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3812 the '\0' terminator.
3814 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3817 * debug/segfault.c: Don't include <bp-checks.h>.
3818 * sysdeps/generic/bp-checks.h: Remove file.
3819 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3820 (__GETDENTS): Don't use CHECK_N.
3821 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3822 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3823 (__getgroups): Don't use CHECK_N.
3824 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3825 (setgroups): Don't use CHECK_N.
3826 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3827 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3828 (__libc_msgrcv): Don't use CHECK_N.
3829 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3830 (__libc_msgsnd): Don't use CHECK_N.
3831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3833 (__libc_pread): Don't use CHECK_N.
3834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3835 include <bp-checks.h>.
3836 (__libc_pread64): Don't use CHECK_N.
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3838 include <bp-checks.h>.
3839 (__libc_pwrite): Don't use CHECK_N.
3840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3841 include <bp-checks.h>.
3842 (__libc_pwrite64): Don't use CHECK_N.
3843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3845 (__libc_pread): Don't use CHECK_N.
3846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3847 include <bp-checks.h>.
3848 (__libc_pread64): Don't use CHECK_N.
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3850 include <bp-checks.h>.
3851 (__libc_pwrite): Don't use CHECK_N.
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3853 include <bp-checks.h>.
3854 (__libc_pwrite64): Don't use CHECK_N.
3855 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3856 (do_pread): Don't use CHECK_N.
3857 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3858 (do_pread64): Don't use CHECK_N.
3859 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3860 (do_pwrite): Don't use CHECK_N.
3861 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3862 (do_pwrite64): Don't use CHECK_N.
3863 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3864 (__libc_readv): Don't use CHECK_N.
3865 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3866 (semop): Don't use CHECK_N.
3867 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3869 (semtimedop): Don't use CHECK_N.
3870 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3871 (__libc_pread): Don't use CHECK_N.
3872 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3874 (__libc_pread64): Don't use CHECK_N.
3875 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3877 (__libc_pwrite): Don't use CHECK_N.
3878 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3880 (__libc_pwrite64): Don't use CHECK_N.
3881 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3883 (__libc_msgrcv): Don't use CHECK_N.
3884 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3885 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3886 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3887 (__libc_writev): Don't use CHECK_N.
3889 2013-02-08 Roland McGrath <roland@hack.frob.com>
3891 * string/strcpy.c: Removed unused variable.
3893 * Makeconfig (+sysdep-includes): Define with := rather than =.
3894 Use an existing include/ subdir of each sysdeps dir before it.
3896 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3898 * nscd/connection.c (register_traced_file): Comment function.
3899 [HAVE_INOTIFY] (union __inev): Define.
3900 [HAVE_INOTIFY] (inotify_check_files): New function.
3901 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3902 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3904 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3906 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3908 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3909 loaded if not already and that a failure is permanent.
3911 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3914 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3915 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3917 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3920 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3921 (CHECK_1_NULL_OK): Likewise.
3922 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3923 (__fxstat): Do not use CHECK_1.
3924 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3926 (___fxstat64): Do not use CHECK_1.
3927 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3929 (__fxstatat): Do not use CHECK_1.
3930 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3932 (__fxstatat64): Do not use CHECK_1.
3933 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3935 (__fxstat): Do not use CHECK_1.
3936 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3938 (__fxstatat): Do not use CHECK_1.
3939 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3941 (__getresgid): Do not use CHECK_1.
3942 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3944 (__getresuid): Do not use CHECK_1.
3945 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3947 (__lxstat): Do not use CHECK_1.
3948 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3950 (__old_msgctl): Do not use CHECK_1.
3951 (__new_msgctl): Likewise.
3952 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3954 (__new_setrlimit): Do not use CHECK_1.
3955 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3957 (__old_shmctl): Do not use CHECK_1.
3958 (__new_shmctl): Likewise.
3959 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3961 (__xstat): Do not use CHECK_1.
3962 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3963 (__lxstat): Do not use CHECK_1.
3964 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3966 (___lxstat64): Do not use CHECK_1.
3967 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3968 (__old_msgctl): Do not use CHECK_1.
3969 (__new_msgctl): Likewise.
3970 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3972 (__gettimeofday): Do not use CHECK_1.
3973 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3974 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3975 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3977 (__gettimeofday): Do not use CHECK_1.
3978 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3979 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3980 (__new_shmctl): Do not use CHECK_1.
3981 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3983 (do_sigtimedwait): Do not use CHECK_1.
3984 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3986 (do_sigwaitinfo): Do not use CHECK_1.
3987 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3989 (msgctl): Do not use CHECK_1.
3990 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3992 (shmctl): Do not use CHECK_1.
3993 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3994 (ustat): Do not use CHECK_1.
3995 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3997 (__fxstat): Do not use CHECK_1.
3998 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4000 (__fxstatat): Do not use CHECK_1.
4001 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4003 (__lxstat): Do not use CHECK_1.
4004 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4006 (__xstat): Do not use CHECK_1.
4007 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4008 (__xstat): Do not use CHECK_1.
4009 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4010 (___xstat64): Do not use CHECK_1.
4013 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4015 (CHECK_BOUNDS_HIGH): Likewise.
4016 * string/strcpy.c: Do not include <bp-checks.h>.
4017 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4019 2013-02-07 Roland McGrath <roland@hack.frob.com>
4021 * nscd/nscd-client.h (__nscd_drop_map_ref):
4022 Add __attribute__ ((unused)).
4023 * nis/nss-nisplus.h (niserr2nss): Likewise.
4025 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4026 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4028 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4029 Remove inline keyword.
4030 * include/rounding-mode.h (round_away): Likewise.
4031 * libio/wfileops.c (adjust_wide_data): Likewise.
4032 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4033 (__m128i_strloadu_tolower): Likewise.
4034 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4035 (__m128i_strloadu_tolower): Likewise.
4036 * time/mktime.c (ydhms_diff): Likewise.
4037 * locale/elem-hash.h (elem_hash): Likewise.
4038 * locale/setlocale.c (setdata): Likewise.
4039 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4040 (re_string_wchar_at): Likewise.
4041 (bitset_not, bitset_merge, bitset_mask): Likewise.
4042 [!(__GNUC__ > 3)] (inline): Remove macro.
4043 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4044 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4045 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4046 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4047 * string/memcmp.c (memcmp_bytes): Likewise.
4048 * locale/programs/locarchive.c (compute_hashval): Likewise.
4049 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4050 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4051 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4052 * nss/getent.c (print_rpc, print_protocols): Likewise.
4053 (print_passwd, print_group, print_aliases): Likewise.
4054 * nis/nss-nisplus.h (niserr2nss): Likewise.
4055 * nscd/connections.c (restart_p): Likewise.
4056 Change return type to bool.
4058 2013-02-05 Roland McGrath <roland@hack.frob.com>
4060 * Makeconfig (all-Depend-files): Add existing
4061 $(sorted-subdirs:=/Depend) files.
4062 (all-subdirs): Remove nss.
4063 * sysdeps/unix/inet/Subdirs: Add it here instead.
4064 * hesiod/Depend: New file.
4066 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4067 instead of calling alloca.
4069 * io/lseek.c (__lseek): Rename to __libc_lseek.
4070 Define __lseek as an alias.
4072 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4074 2013-02-04 Carlos O'Donell <carlos@redhat.com>
4076 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4077 else clause and remove check for non-standard endianness.
4079 2013-02-04 David S. Miller <davem@davemloft.net>
4081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4083 2013-02-04 Joseph Myers <joseph@codesourcery.com>
4086 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4087 (__ubp_memchr): Remove prototype.
4088 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4089 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4090 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4091 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4092 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4094 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4095 (__ubp_memchr): Likewise.
4096 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4097 (__ubp_memchr): Likewise.
4098 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4099 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4100 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4101 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4103 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4104 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4105 (__getcwd): Do not use CHECK_STRING.
4106 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4108 (__real_chown): Do not use CHECK_STRING.
4109 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4111 (fchownat): Do not use CHECK_STRING.
4112 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4114 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4116 (__lchown): Do not use CHECK_STRING.
4117 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4118 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4119 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4120 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4122 include <bp-checks.h>.
4123 (truncate64): Do not use CHECK_STRING.
4124 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4126 (__real_chown): Do not use CHECK_STRING.
4127 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4129 (__lchown): Do not use CHECK_STRING.
4130 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4132 (__chown): Do not use CHECK_STRING.
4133 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4135 (truncate64): Do not use CHECK_STRING.
4136 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4138 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4139 (__xmknod): Do not use CHECK_STRING.
4140 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4142 (__xmknodat): Do not use CHECK_STRING.
4143 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4144 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4146 2013-02-04 Andreas Schwab <schwab@suse.de>
4149 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4150 * include/netdb.h: Likewise for h_errno.
4151 * elf/tst-stackguard1.c: Include <tls.h>.
4153 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4155 * elf/link.h (struct link_map): Extend the l_addr comment.
4156 * include/link.h (struct link_map): Likewise.
4158 2013-02-01 Joseph Myers <joseph@codesourcery.com>
4161 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4162 (BOUNDED_1): Remove macro.
4163 * debug/backtrace.c: Don't include <bp-checks.h>.
4164 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4165 (__backtrace): Likewise.
4166 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4168 (__backtrace): Don't use BOUNDED_1.
4169 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4171 (__backtrace): Don't use BOUNDED_1.
4172 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4173 (__backtrace): Don't use BOUNDED_1.
4174 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4175 (shmat): Don't use BOUNDED_N.
4177 2013-01-31 Joseph Myers <joseph@codesourcery.com>
4180 * sysdeps/generic/bp-start.h: Remove file.
4181 * csu/libc-start.c: Don't include <bp-start.h>.
4182 (LIBC_START_MAIN): Set up __environ directly instead of using
4183 INIT_ARGV_and_ENVIRON.
4184 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4188 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4190 (CHECK_FCNTL): Likewise.
4191 (CHECK_N_PAGES): Likewise.
4194 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4196 (CHECK_SIGSET_NULL_OK): Likewise.
4197 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4199 (sigpending): Don't use CHECK_SIGSET.
4200 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4202 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4203 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4205 (do_sigsuspend): Don't use CHECK_SIGSET.
4206 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4208 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4209 (do_sigwait): Don't use CHECK_SIGSET.
4210 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4212 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4213 include <bp-checks.h>.
4214 (sigpending): Don't use CHECK_SIGSET.
4215 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4216 include <bp-checks.h>.
4217 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4218 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4220 (sigpending): Don't use CHECK_SIGSET.
4221 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4223 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4226 * sysdeps/generic/bp-semctl.h: Remove file.
4227 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4228 <bp-checks.h> and <bp-semctl.h>.
4229 (__old_semctl): Don't use CHECK_SEMCTL.
4230 (__new_semctl): Likewise.
4231 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4233 (__old_semctl): Don't use CHECK_SEMCTL.
4234 (__new_semctl): Likewise.
4235 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4236 <bp-checks.h> and <bp-semctl.h>.
4237 (__old_semctl): Don't use CHECK_SEMCTL.
4238 (__new_semctl): Likewise.
4239 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4240 <bp-checks.h> and <bp-semctl.h>.
4241 (semctl): Don't use CHECK_SEMCTL.
4244 * Makerules (elide-bp-thunks): Remove variable.
4245 (elide-routines.oS): Don't use $(elide-bp-thunks).
4246 (elide-routines.os): Likewise.
4247 (elide-routines.o): Likewise.
4248 (elide-routines.op): Likewise.
4249 (elide-routines.og): Likewise.
4250 (objects): Don't use $(bp-thunks).
4251 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4253 (common-generated): Do not add s-proto-bp.d.
4254 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4257 Do not generate makefile rules for bounded-pointer thunks.
4258 * sysdeps/generic/bp-thunks.h: Remove file.
4259 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4260 * sysdeps/unix/s-proto-bp.S: Likewise.
4263 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4264 parts of result separately when argument is not close to line from
4265 -i to i and one part of argument is small.
4266 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4267 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4268 * math/libm-test.inc (cacos_test): Add more tests.
4269 (casin_test): Likewise.
4270 (casinh_test): Likewise.
4271 * sysdeps/i386/fpu/libm-test-ulps: Update.
4272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4274 2013-01-31 David S. Miller <davem@davemloft.net>
4276 * po/de.po: Update from translation team.
4278 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4280 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4282 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4284 * configure.in (_AC_PROG_CC_C89): New definition.
4285 * configure: Regenerate.
4287 * configure.in (AC_PROG_CPP): New definition.
4288 * configure: Regenerate.
4290 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4292 * debug/tst-backtrace.h: New file.
4293 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4294 (ret): Remove variable.
4296 (FAIL): Remove macro.
4297 (NO_INLINE): Likewise.
4298 (fn1): Use match function instead of strstr.
4299 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4300 (ret): Remove variable.
4302 (FAIL): Remove macro.
4303 (NO_INLINE): Likewise.
4304 (fn): Use match function instead of strstr.
4305 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4306 (ret): Remove variable.
4308 (FAIL): Remove macro.
4309 (NO_INLINE): Likewise.
4310 (handle_signal): Use match function instead of strstr.
4311 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4312 (ret): Remove variable.
4314 (FAIL): Remove macro.
4315 (NO_INLINE): Likewise.
4316 (handle_signal): Use match function instead of strstr.
4318 2013-01-23 Roland McGrath <roland@hack.frob.com>
4320 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4322 2013-01-23 David S. Miller <davem@davemloft.net>
4324 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4325 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4326 argument of CAS if possible.
4327 * sysdeps/sparc/sparc64/bits/atomic.h
4328 (__arch_compare_and_exchange_val_32_acq): Likewise.
4329 (__arch_compare_and_exchange_val_64_acq): Likewise.
4331 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4333 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4334 * sysdeps/posix/ulimit.c: ... this.
4336 * sysdeps/unix/bsd/ulimit.c: Remove file.
4338 2013-01-23 Adam Conrad <adconrad@0c3.net>
4340 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4341 (LDFLAGS-tst-array5): Likewise.
4343 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4346 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4347 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4348 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4349 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4351 2013-01-21 David S. Miller <davem@davemloft.net>
4353 * sysdeps/sparc/backtrace.c: New file.
4354 * sysdeps/sparc/sparc32/backtrace.h: New file.
4355 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4356 * sysdeps/sparc/sparc64/backtrace.h: New file.
4357 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4358 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4361 2013-01-21 Andreas Schwab <schwab@suse.de>
4364 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4367 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4373 2013-01-18 Joseph Myers <joseph@codesourcery.com>
4374 Mark Mitchell <mark@codesourcery.com>
4375 Tom de Vries <tom@codesourcery.com>
4376 Paul Pluzhnikov <ppluzhnikov@google.com>
4378 * debug/tst-backtrace2.c: New file.
4379 * debug/tst-backtrace3.c: Likewise.
4380 * debug/tst-backtrace4.c: Likewise.
4381 * debug/tst-backtrace5.c: Likewise.
4382 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4383 (CFLAGS-tst-backtrace3.c): Likewise.
4384 (CFLAGS-tst-backtrace4.c): Likewise.
4385 (CFLAGS-tst-backtrace5.c): Likewise.
4386 (LDFLAGS-tst-backtrace2): Likewise.
4387 (LDFLAGS-tst-backtrace3): Likewise.
4388 (LDFLAGS-tst-backtrace4): Likewise.
4389 (LDFLAGS-tst-backtrace5): Likewise.
4390 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4391 tst-backtrace4 and tst-backtrace5.
4393 2013-01-18 Anton Blanchard <anton@samba.org>
4394 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4396 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4397 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4398 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4399 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4401 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4402 "+r" and remove output regs list as redundant. Add explicit inline
4403 asm to specify register of return val to work around compiler codegen
4404 bug. Remove (int) cast on return value. Add return type parameter to
4405 use in macro so that this macro does not truncate return value for
4407 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4408 pass to INTERNAL_VSYSCALL_NCS.
4409 (INLINE_VSYSCALL): Add 'long int' as return type to
4410 INTERNAL_VSYSCALL_NCS macro invocation.
4411 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4412 INTERNAL_VSYSCALL_NCS macro invocation.
4413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4415 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4418 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4419 Fix application of SIMD FP exception mask.
4421 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4422 mp_no from a power of two.
4423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4424 __mpexp_twomm1. Use __pow_mp.
4426 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4429 2013-01-17 David S. Miller <davem@davemloft.net>
4431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4433 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4436 * include/complex.h: Condition contents on [!_COMPLEX_H].
4437 (__kernel_casinhf): New prototype.
4438 (__kernel_casinh): Likewise.
4439 (__kernel_casinhl): Likewise.
4440 * math/Makefile (libm_calls): Add k_casinh.
4441 * math/k_casinh.c: New file.
4442 * math/k_casinhf.c: Likewise.
4443 * math/k_casinhl.c: Likewise.
4444 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4445 finite nonzero arguments.
4446 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4447 finite nonzero arguments.
4448 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4449 finite nonzero arguments.
4450 * math/s_casinh.c: Do not include <float.h>.
4451 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4452 * math/s_casinhf.c: Do not include <float.h>.
4453 (__casinhf): Move code for finite nonzero arguments to
4455 * math/s_casinhl.c: Do not include <float.h>.
4456 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4458 (__casinhl): Move code for finite nonzero arguments to
4460 * math/libm-test.inc (cacos_test): Add more tests.
4461 * sysdeps/i386/fpu/libm-test-ulps: Update.
4462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4464 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4466 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4467 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4468 [!HAVE_MREMAP]: Remove [defined linux] case.
4469 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4471 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4473 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4475 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4477 * elf/elf.h (R_386_SIZE32): New relocation.
4478 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4480 (elf_machine_rela): Likewise.
4481 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4482 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4484 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4486 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4487 (FP_FAST_FMA): Do not define.
4488 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4489 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4490 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4491 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4492 !_SOFT_FLOAT]: Likewise.
4493 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4494 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4496 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4497 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4498 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4499 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4500 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4501 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4504 2013-01-16 Andreas Schwab <schwab@suse.de>
4507 * include/stdlib.h (__mktemp): Add declaration.
4508 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4509 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4511 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4513 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4515 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4516 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4517 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4519 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4520 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4522 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4524 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4525 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4526 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4528 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4529 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4531 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4533 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4535 2013-01-15 David S. Miller <davem@davemloft.net>
4537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4538 trunc{,f} to libm-sysdep_routes.
4539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4549 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4550 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4551 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4552 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4553 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4554 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4557 nearbyint{,f} to libm-sysdep_routes.
4558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4569 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4571 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4572 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4574 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4575 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4576 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4578 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4579 libc_feholdexcept and libc_fesetenv.
4581 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4583 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4585 2013-01-14 David S. Miller <davem@davemloft.net>
4587 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4588 (SPARC_ASM_VIS2_IFUNC): Likewise.
4589 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4591 use of 'siam' instruction.
4592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4625 routines to libm-sysdep_routines.
4626 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4629 fdim/fdimf to libm-sysdep_routines.
4630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4638 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4639 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4640 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4641 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4643 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4645 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4648 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4653 local variable MPTWO.
4654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4657 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4659 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4662 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4664 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4666 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4668 * manual/pattern.texi (glob_t): Document gl_flags.
4669 (glob64_t): Likewise.
4671 2013-01-11 David S. Miller <davem@davemloft.net>
4673 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4674 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4675 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4676 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4677 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4678 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4679 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4680 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4681 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4682 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4683 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4684 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4685 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4687 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4688 sparc V9 rather than using V8 code.
4689 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4690 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4692 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4694 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4697 2013-01-11 Roland McGrath <roland@hack.frob.com>
4699 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4700 not in the main loop.
4701 * configure: Regenerated.
4703 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4705 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4706 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4708 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4709 [!__GLIBC_HAVE_LONG_LONG] case.
4710 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4711 condition to just #else.
4712 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4713 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4714 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4715 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4717 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4718 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4719 #elif condition to just #else.
4720 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4721 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4722 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4723 #elif condition to just #else.
4725 2013-01-11 Steve Ellcey <sellcey@mips.com>
4727 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4728 (EF_MIPS_ARCH_64): Fix value.
4729 (EF_MIPS_ARCH_32R2): New.
4730 (EF_MIPS_ARCH_64R2): New.
4732 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4734 * Makeconfig (+link-pie-before-libc): New.
4735 (+link-pie-after-libc): Likewise.
4736 (+link-pie-tests): Likewise.
4737 (+link-pie): Rewritten.
4738 (link-before-libc): Remove $(config-LDFLAGS).
4739 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4740 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4741 (config-LDFLAGS): Renamed to ...
4742 (rtld-LDFLAGS): This.
4743 (rtld-tests-LDFLAGS): New macro.
4744 (link-libc-rpath-link): Likewise.
4745 (link-libc-tests-rpath-link): Likewise.
4746 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4747 (link-libc): Prepand $(link-libc-rpath-link).
4748 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4749 (test-program-prefix): New macro.
4750 (test-via-rtld-prefix): Likewise.
4751 (test-program-cmd): Likewise.
4752 (host-test-program-cmd): Likewise.
4753 * Makefile ($(common-objpfx)testrun.sh): Replace
4754 $(run-program-prefix) with $(test-program-prefix).
4755 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4757 ($(common-objpfx)shlib.lds): Likewise.
4758 (build-module-helper): Likewise.
4759 ($(common-objpfx)format.lds): Likewise.
4760 * Rules (binaries-pie-tests): New.
4761 (binaries-pie-notests): Likewise.
4762 (binaries-pie): Rewritten.
4763 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4764 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4765 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4766 (make-test-out): Replace $(host-built-program-cmd) with
4767 $(host-test-program-cmd).
4768 * config.make.in (build-hardcoded-path-in-tests): New variable.
4769 * configure.in (--enable-hardcoded-path-in-tests): New configure
4771 (hardcoded_path_in_tests): New AC_SUBST.
4772 * configure: Regenerated.
4773 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4774 $(built-program-cmd) with $(test-program-cmd).
4775 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4776 (test_program_cmd): This.
4777 * elf/Makefile ($(objpfx)order.out): Run test with
4778 $(test-program-prefix).
4779 ($(objpfx)order2.out): Likewise.
4780 ($(objpfx)tst-initorder.out): Likewise.
4781 ($(objpfx)tst-initorder2.out): Likewise.
4782 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4783 $(test-program-cmd).
4784 ($(objpfx)tst-array1-static.out): Likewise.
4785 ($(objpfx)tst-array2.out): Likewise.
4786 ($(objpfx)tst-array3.out): Likewise.
4787 ($(objpfx)tst-array4.out): Likewise.
4788 ($(objpfx)tst-array5.out): Likewise.
4789 ($(objpfx)tst-array5-static.out): Likewise.
4790 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4791 $(test-program-cmd).
4792 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4793 $(run-program-prefix) with $(test-program-prefix).
4794 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4795 (test_program_prefix): This.
4796 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4797 $(run-program-prefix) with $(test-program-prefix).
4798 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4799 (test_program_prefix): This.
4800 * iconvdata/tst-tables.sh: Likewise.
4801 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4802 $(run-program-prefix) with $(test-program-prefix).
4803 ($(objpfx)tst-translit.out): Likewise.
4804 ($(objpfx)tst-gettext2.out): Likewise.
4805 ($(objpfx)tst-gettext4.out): Likewise.
4806 ($(objpfx)tst-gettext6.out): Likewise.
4807 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4808 (test_program_prefix): This.
4809 * intl/tst-gettext2.sh: Likewise.
4810 * intl/tst-gettext4.sh Likewise.
4811 * intl/tst-gettext6.sh: Likewise.
4812 * intl/tst-translit.sh: Likewise.
4813 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4814 with $(test-program-cmd).
4815 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4816 $(run-program-prefix) with $(test-program-prefix).
4817 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4818 (test_program_prefix): This.
4819 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4820 $(run-program-prefix) with $(test-program-prefix).
4821 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4822 (test_program_prefix): This.
4823 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4824 * posix/Makefile ($(objpfx)globtest.out): Replace
4825 $(run-via-rtld-prefix) and $(test-wrapper) with
4826 $(test-program-prefix) and $(test-via-rtld-prefix).
4827 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4828 $(test-program-prefix).
4829 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4830 $(host-test-program-cmd).
4831 (tst-spawn-ARGS): Likewise.
4832 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4833 $(test-program-prefix).
4834 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4835 (test_via_rtld_prefix): This.
4836 (test_wrapper): Renamed to ...
4837 (test_program_prefix): This.
4838 (run_program_prefix): Replaced by test_program_prefix.
4839 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4840 (test_program_prefix): This.
4841 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4842 with $(host-test-program-cmd).
4843 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4844 $(run-program-prefix) with $(test-program-prefix).
4845 ($(objpfx)tst-printf.out): Likewise.
4846 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4847 $(test-program-cmd).
4848 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4849 (test_program_prefix): This.
4850 * stdio-common/tst-unbputc.sh: Likewise.
4851 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4852 $(run-program-prefix) with $(test-program-prefix).
4853 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4854 (test_program_prefix): This.
4855 * string/Makefile ($(objpfx)tst-svc.out): Replace
4856 $(built-program-cmd) with $(test-program-cmd).
4858 2013-01-11 Andreas Jaeger <aj@suse.de>
4861 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4862 value. Sync with Linux 3.7.
4864 2013-01-10 David S. Miller <davem@davemloft.net>
4866 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4867 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4868 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4870 2013-01-10 Roland McGrath <roland@hack.frob.com>
4872 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4874 * configure: Regenerated.
4876 2013-01-10 David S. Miller <davem@davemloft.net>
4878 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4879 sparc V9 rather than using V8 code.
4880 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4881 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4883 2013-01-10 Roland McGrath <roland@hack.frob.com>
4885 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4886 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4887 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4888 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4889 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4890 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4891 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4892 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4893 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4894 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4895 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4896 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4897 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4898 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4899 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4900 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4901 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4902 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4903 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4904 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4905 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4906 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4907 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4908 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4909 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4910 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4911 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4913 2013-01-10 David S. Miller <davem@davemloft.net>
4915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4917 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4919 * posix/Makefile (tests-static): New variable.
4920 (tests): Add $(tests-static).
4921 (tst-exec-static-ARGS): New variable.
4922 (tst-spawn-static-ARGS): Likewise.
4923 * posix/tst-exec-static.c: New file.
4924 * posix/tst-spawn-static.c: Likewise.
4925 * posix/tst-exec.c: Support run directly.
4926 * posix/tst-spawn.c: Likewise.
4928 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4930 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4932 * math/bits/mathcalls.h (llrint): Likewise.
4933 (llround): Likewise.
4934 * stdlib/stdlib.h (struct drand48_data): Likewise.
4935 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4936 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4937 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4939 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4941 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4942 (elf_greg_t): Likewise.
4943 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4944 (__jmp_buf): Likewise.
4945 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4947 (llrint): Likewise, for all definitions.
4948 (llrintl): Likewise.
4950 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4951 Remove [__GNUC__] condition.
4952 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4953 condition to just [__USE_ISOC99].
4954 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4956 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4959 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4960 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4962 (_POSIX_V6_ILP32_OFF32): Likewise.
4963 (_XBS5_ILP32_OFF32): Likewise.
4964 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4965 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4967 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4969 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4972 doubles __mpexp_twomm1. Adjust usage.
4973 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4976 2013-01-10 Andreas Schwab <schwab@suse.de>
4979 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4980 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4982 2013-01-09 David S. Miller <davem@davemloft.net>
4985 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4986 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4987 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4988 TCP_FASTOPEN): Define.
4989 (tcp_repair_opt): New structure.
4990 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4992 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4993 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4994 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4995 (tcp_cookie_transactions): New structure.
4997 2013-01-09 Anton Blanchard <anton@samba.org>
4999 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5000 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5001 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5002 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5004 2013-01-09 Joseph Myers <joseph@codesourcery.com>
5006 * include/features.h (__USE_ANSI): Remove.
5008 2013-01-09 Roland McGrath <roland@hack.frob.com>
5010 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5012 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5014 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5016 * sysdeps/s390/fpu/libm-test-ulps: Update.
5018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5020 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5025 (__mp_dbl): Likewise.
5026 (__dbl_mp): Likewise.
5027 (add_magnitudes): Likewise.
5028 (sub_magnitudes): Likewise.
5034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5039 (__mp_dbl): Likewise.
5040 (__dbl_mp): Likewise.
5041 (add_magnitudes): Likewise.
5042 (sub_magnitudes): Likewise.
5048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5053 (__mp_dbl): Likewise.
5054 (__dbl_mp): Likewise.
5055 (add_magnitudes): Likewise.
5056 (sub_magnitudes): Likewise.
5063 2013-01-08 Joseph Myers <joseph@codesourcery.com>
5065 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5066 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5067 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5068 2 && __USE_EXTERN_INLINES]: Likewise.
5070 2013-01-08 Andreas Jaeger <aj@suse.de>
5073 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5075 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5076 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5078 2013-01-07 Anton Blanchard <anton@samba.org>
5080 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5081 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5082 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5083 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5084 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5085 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5086 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5087 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5089 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5090 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5091 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5092 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5093 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5094 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5095 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5096 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5097 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5098 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5099 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5100 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5101 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5102 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5103 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5104 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5105 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5106 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5107 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5109 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5110 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5112 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5113 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5114 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5115 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5116 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5117 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5118 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5119 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5120 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5121 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5122 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5124 2013-01-07 Joseph Myers <joseph@codesourcery.com>
5126 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5127 (__MALLOC_PMT): Likewise.
5128 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5129 [__GNUC__], only on [_LIBC].
5130 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5131 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5132 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5133 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5134 forward declaration.
5135 (realloc_hook_ini): Likewise.
5136 (memalign_hook_ini): Likewise.
5137 (__libc_memalign): Do not use __MALLOC_PMT in variable
5139 (__libc_valloc): Likewise.
5140 (__libc_pvalloc): Likewise.
5141 (__libc_calloc): Likewise.
5142 (__posix_memalign): Likewise.
5145 * math/s_casinh.c: Include <float.h>.
5146 (__casinh): Do not do computation with squaring and square root
5147 for large arguments.
5148 * math/s_casinhf.c: Include <float.h>.
5149 (__casinhf): Do not do computation with squaring and square root
5150 for large arguments.
5151 * math/s_casinhl.c: Include <float.h>.
5152 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5153 (__casinhl): Do not do computation with squaring and square root
5154 for large arguments.
5155 * math/libm-test.inc (casin_test): Add more tests.
5156 (casinh_test): Likewise.
5157 * sysdeps/i386/fpu/libm-test-ulps: Update.
5158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5160 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5162 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5163 (__x86_64_raw_data_cache_size): Likewise.
5164 (__x86_64_data_cache_size_half): Likewise.
5165 (__x86_64_raw_data_cache_size_half): Likewise.
5166 (__x86_64_shared_cache_size): Likewise.
5167 (__x86_64_raw_shared_cache_size): Likewise.
5168 (__x86_64_shared_cache_size_half): Likewise.
5169 (__x86_64_raw_shared_cache_size_half): Likewise.
5170 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5172 (__x86_data_cache_size): This.
5173 (__x86_64_raw_data_cache_size): Renamed to ...
5174 (__x86_raw_data_cache_size): This.
5175 (__x86_64_data_cache_size_half): Renamed to ...
5176 (__x86_data_cache_size_half): This.
5177 (__x86_64_raw_data_cache_size_half): Renamed to ...
5178 (__x86_raw_data_cache_size_half): This.
5179 (__x86_64_shared_cache_size): Renamed to ...
5180 (__x86_shared_cache_size): This.
5181 (__x86_64_raw_shared_cache_size): Renamed to ...
5182 (__x86_raw_shared_cache_size): This.
5183 (__x86_64_shared_cache_size_half): Renamed to ...
5184 (__x86_shared_cache_size_half): This.
5185 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5186 (__x86_raw_shared_cache_size_half): This.
5187 * sysdeps/x86_64/memcpy.S: Updated.
5188 * sysdeps/x86_64/memset.S: Likewise.
5189 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5190 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5191 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5193 2013-01-04 David S. Miller <davem@davemloft.net>
5195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5197 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5199 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5200 1 to avoid redefinition warning.
5201 (__USE_GNU): Don't define.
5202 (init_signaling_nan): Protoize.
5204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5206 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5208 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5210 (__cpymn): Likewise.
5211 (norm): Remove commented code.
5213 (__mp_dbl): Likewise.
5215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5216 (__cpymn): Likewise.
5217 (norm): Remove commented code.
5219 (__mp_dbl): Likewise.
5222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5223 mp_no value for 1.0 and 2.0.
5224 (norm): Use RADIXI instead of radixi.d.
5226 (__mul): Use 0.0 instead of zero.d.
5227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5228 mp_no value for 1.0 and 2.0.
5229 (norm): Use RADIXI instead of radixi.d.
5231 (__mul): Use 0.0 instead of zero.d.
5233 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5236 * math/s_casinh.c (__casinh): Reduce finite argument to first
5237 quadrant then set signs of results at the end.
5238 * math/s_casinhf.c (__casinhf): Likewise.
5239 * math/s_casinhl.c (__casinhl): Likewise.
5240 * math/libm-test.inc (casin_test): Add more tests.
5241 (casinh_test): Likewise.
5242 * sysdeps/i386/fpu/libm-test-ulps: Update.
5243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5245 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5247 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5249 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5251 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5254 (__mp_dbl): Likewise.
5257 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5258 and adjust the header comment.
5260 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5261 variable name from declaration.
5263 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5266 Initialize COMMON_CPUID_INDEX_7 element.
5267 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5268 (CPUID_RTM): Likewise.
5269 (HAS_RTM): Likewise.
5270 (COMMON_CPUID_INDEX_7): New enum.
5272 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5275 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5276 size is zero, record memory as freed.
5278 2013-01-03 Andreas Jaeger <aj@suse.de>
5280 * po/ia.po: Add new Interlingua translation.
5282 2012-01-03 Allan McRae <allan@archlinux.org>
5284 * locale/programs/localedef.c: Fix description of '--posix' flag.
5286 2013-01-02 Joseph Myers <joseph@codesourcery.com>
5288 * NEWS: Update dates in second copyright notice.
5289 * README: Update copyright dates in example.
5290 * manual/libc.texinfo: Update copyright dates.
5291 * scripts/test-installation.pl: Update copyright date in --version
5294 * hurd/ctty-input.c: Fix copyright notice formatting.
5295 * hurd/ctty-output.c: Likewise.
5296 * hurd/dtable.c: Likewise.
5297 * hurd/hurd-raise.c: Likewise.
5298 * hurd/hurdprio.c: Likewise.
5299 * hurd/msgportdemux.c: Likewise.
5300 * misc/sys/file.h: Likewise.
5301 * misc/sys/ioctl.h: Likewise.
5302 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5303 * sysdeps/mach/hurd/chdir.c: Likewise.
5304 * sysdeps/mach/hurd/fchdir.c: Likewise.
5305 * sysdeps/mach/hurd/rename.c: Likewise.
5306 * sysdeps/mach/hurd/rmdir.c: Likewise.
5307 * sysdeps/mach/hurd/seekdir.c: Likewise.
5308 * sysdeps/mach/hurd/setsid.c: Likewise.
5309 * sysdeps/posix/wait3.c: Likewise.
5311 * All files with FSF copyright notices: Update copyright dates
5312 using scripts/update-copyrights.
5313 * intl/plural.c: Regenerated.
5314 * locale/programs/charmap-kw.h: Likewise.
5315 * locale/programs/locfile-kw.h: Likewise.
5317 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5319 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5322 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5323 calculation loop and add branch prediction.
5325 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5326 check access beyond bounds of m1np.
5328 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5330 (__inv): Remove local variable MPTWO to use the global
5332 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5333 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5336 MP3HALFS static const.
5338 2013-01-01 David S. Miller <davem@davemloft.net>
5340 * po/ca.po: Update from translation team.
5342 2013-01-01 Joseph Myers <joseph@codesourcery.com>
5344 * scripts/update-copyrights: New file.
5345 * Makeconfig: Reformat copyright notice.
5346 * ctype/ctype.h: Likewise.
5347 * debug/swprintf_chk.c: Likewise.
5348 * elf/dl-cache.c: Likewise.
5349 * elf/dl-debug.c: Likewise.
5350 * elf/dl-object.c: Likewise.
5351 * grp/initgroups.c: Likewise.
5352 * hurd/Makefile: Likewise.
5353 * hurd/hurd/signal.h: Likewise.
5354 * hurd/hurdfault.c: Likewise.
5355 * hurd/hurdioctl.c: Likewise.
5356 * hurd/hurdlookup.c: Likewise.
5357 * hurd/intr-msg.c: Likewise.
5358 * iconv/gconv_open.c: Likewise.
5359 * libio/swprintf.c: Likewise.
5360 * locale/lc-ctype.c: Likewise.
5361 * locale/nl_langinfo.c: Likewise.
5362 * mach/Machrules: Likewise.
5363 * mach/Makefile: Likewise.
5364 * malloc/obstack.h: Likewise.
5365 * manual/Makefile: Likewise.
5366 * manual/tsort.awk: Likewise.
5367 * misc/bits/stab.def: Likewise.
5368 * nis/nis_print_group_entry.c: Likewise.
5369 * nis/nis_table.c: Likewise.
5370 * nis/nss_compat/compat-pwd.c: Likewise.
5371 * nis/nss_compat/compat-spwd.c: Likewise.
5372 * po/Makefile: Likewise.
5373 * posix/fnmatch.c: Likewise.
5374 * posix/regex.h: Likewise.
5375 * resolv/Makefile: Likewise.
5376 * resolv/nss_dns/dns-network.c: Likewise.
5377 * resolv/res_hconf.c: Likewise.
5378 * scripts/gen-sorted.awk: Likewise.
5379 * soft-fp/soft-fp.h: Likewise.
5380 * stdio-common/printf.h: Likewise.
5381 * stdlib/monetary.h: Likewise.
5382 * stdlib/random.c: Likewise.
5383 * stdlib/random_r.c: Likewise.
5384 * sysdeps/generic/Makefile: Likewise.
5385 * sysdeps/gnu/Makefile: Likewise.
5386 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5399 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5400 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5402 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5407 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5414 * sysdeps/mach/hurd/errnos.awk: Likewise.
5415 * sysdeps/mach/hurd/fork.c: Likewise.
5416 * sysdeps/mach/hurd/getcwd.c: Likewise.
5417 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5418 * sysdeps/mach/hurd/mmap.c: Likewise.
5419 * sysdeps/mach/hurd/utimes.c: Likewise.
5420 * sysdeps/mach/hurd/xmknod.c: Likewise.
5421 * sysdeps/posix/profil.c: Likewise.
5422 * sysdeps/posix/readdir_r.c: Likewise.
5423 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5424 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5425 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5426 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5428 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5429 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5430 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5432 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5433 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5434 * sysdeps/pthread/lio_listio.c: Likewise.
5435 * sysdeps/sparc/dl-procinfo.h: Likewise.
5436 * sysdeps/unix/i386/sysdep.S: Likewise.
5437 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5438 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5439 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5440 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5442 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5443 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5444 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5445 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5446 * sysdeps/wordsize-32/divdi3.c: Likewise.
5447 * time/sys/time.h: Likewise.
5448 * wcsmbs/Makefile: Likewise.
5450 2013-01-01 David S. Miller <davem@davemloft.net>
5452 * po/fr.po: Update from translation team.
5454 * catgets/gencat.c: Update copyright year.
5455 * csu/version.c: Likewise.
5456 * debug/catchsegv.sh: Likewise.
5457 * debug/pcprofiledump.c: Likewise.
5458 * debug/xtrace.sh: Likewise.
5459 * elf/ldconfig.c: Likewise.
5460 * elf/ldd.bash.in: Likewise.
5461 * elf/pldd.c: Likewise.
5462 * elf/sotruss.ksh: Likewise.
5463 * elf/sprof.c: Likewise.
5464 * iconv/iconv_prog.c: Likewise.
5465 * iconv/iconvconfig.c: Likewise.
5466 * locale/programs/locale.c: Likewise.
5467 * locale/programs/localedef.c: Likewise.
5468 * login/programs/pt_chown.c: Likewise.
5469 * malloc/memusage.sh: Likewise.
5470 * malloc/memusagestat.c: Likewise.
5471 * malloc/mtrace.pl: Likewise.
5472 * nscd/nscd.c: Likewise.
5473 * nss/getent.c: Likewise.
5474 * nss/makedb.c: Likewise.
5475 * posix/getconf.c: Likewise.
5477 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5479 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5482 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5484 * math/bits/mathcalls.h (modf): Use __nonnull.
5486 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5488 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5489 (split): Use macro CN instead of the bare value.
5490 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5493 instead of the bare value.
5496 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5500 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5502 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5504 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5505 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5506 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5507 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5509 2012-12-28 Andreas Jaeger <aj@suse.de>
5511 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5512 values are from Linux 3.7.
5514 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5515 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5517 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5519 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5522 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5524 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5525 variables with preprocessor constants.
5526 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5527 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5528 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5530 2012-12-27 Bruno Haible <bruno@clisp.org>
5533 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5536 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5538 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5539 and use variable directly.
5540 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5542 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5544 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5545 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5547 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5549 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5550 include directive. Remove local variable MPONE.
5551 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5552 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5553 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5555 2012-12-25 David S. Miller <davem@davemloft.net>
5557 * version.h (RELEASE): Set to "development".
5558 (VERSION): Set to "2.17.90".
5559 * NEWS: Add 2.18 section.
5561 2012-12-21 David S. Miller <davem@davemloft.net>
5563 * po/hr.po: Update from translation team.
5565 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5567 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5569 2012-12-19 Steve Ellcey <sellcey@mips.com>
5571 * NEWS: Mention new memcpy for MIPS.
5573 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5575 * manual/contrib.texi (Contributors): Spelling correction.
5577 2012-12-15 David S. Miller <davem@davemloft.net>
5579 * po/ru.po: Update from translation team.
5581 2012-12-13 David S. Miller <davem@davemloft.net>
5583 * NEWS: Mention IFUNC testsuite enhancements.
5585 * po/pl.po: Update from translation team.
5586 * po/bg.po: Likewise.
5588 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5589 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5591 2012-12-11 David S. Miller <davem@davemloft.net>
5593 * po/sv.po: Update from translation team.
5595 * po/vi.po: Update from translation team.
5597 * po/cs.po: Update from translation team.
5599 * po/de.po: Update from translation team.
5600 * po/eo.po: Likewise.
5601 * po/nl.po: Likewise.
5603 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5606 * manual/argp.texi (Argp Helper Functions): Move node to follow
5610 * manual/conf.texi (Limits on File System Capacity): Mention if
5611 terminating null is included in the max size.
5613 2012-12-10 Andreas Jaeger <aj@suse.de>
5615 * po/cs.po: Update from translation team.
5617 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5619 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5620 void pointer and cast to uintptr_t.
5621 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5623 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5624 * sysdeps/s390/s390-64/memset.S: Likewise.
5626 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5629 * menual/message.texi (Message Translation): Fix typos.
5630 (Helper programs for gettext): Likewise.
5632 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5635 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5638 2012-12-07 David S. Miller <davem@davemloft.net>
5640 * po/libc.pot: Update.
5642 2012-12-07 Richard Henderson <rth@redhat.com>
5645 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5646 normal/normal case to before the switch.
5647 (_FP_DIV): Likewise.
5649 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5650 Mike Frysinger <vapier@gentoo.org>
5652 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5653 check for __NR_fadvise64_64.
5655 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5657 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5658 0, not just to plain "0" as a statement.
5659 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5662 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5664 * NEWS: Use sourceware.org in Bugzilla URL.
5666 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5669 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5671 * stdio-common/tst-put-error.c (do_test): Add newline to the
5672 padded test to ensure flush.
5674 2012-12-05 Jeff Law <law@redhat.com>
5676 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5678 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5680 * README: Don't refer to ports add-on as distributed separately.
5681 Mention AArch64 in list of systems supported in the ports add-on.
5683 * LICENSES: Add more non-FSF copyright and license notices.
5685 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5688 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5690 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5691 10000 as width of padded output.
5693 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5695 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5697 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5698 variable LX with __attribute__ ((unused)).
5699 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5701 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5703 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5704 with __attribute__ ((unused)).
5706 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5708 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5710 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5712 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5713 (CFLAGS-nldbl-acos.c): New variable.
5714 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5715 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5716 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5717 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5718 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5719 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5720 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5721 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5722 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5723 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5724 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5725 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5726 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5727 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5728 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5729 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5730 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5731 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5732 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5733 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5734 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5735 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5736 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5737 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5738 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5739 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5740 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5741 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5742 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5743 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5744 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5745 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5746 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5747 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5748 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5749 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5750 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5751 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5752 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5753 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5754 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5755 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5756 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5757 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5758 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5759 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5760 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5761 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5762 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5763 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5764 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5765 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5766 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5767 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5768 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5769 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5770 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5771 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5772 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5773 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5774 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5775 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5776 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5777 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5778 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5779 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5780 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5781 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5782 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5783 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5784 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5785 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5786 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5787 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5788 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5789 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5790 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5791 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5792 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5793 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5794 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5795 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5796 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5797 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5798 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5799 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5800 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5801 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5802 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5803 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5804 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5805 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5806 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5807 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5808 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5809 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5810 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5813 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5817 whole low double instead of just low 47 bits when splitting values
5820 2012-12-03 Allan McRae <allan@archlinux.org>
5822 * manual/stdio.texi (Predefined Printf Handlers): Remove
5823 @hsep and @vsep usage.
5825 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5827 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5828 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5830 2012-12-03 Jeff Law <law@redhat.com>
5832 * time/sys/time.h (settimeofday): Do not mark TV argument
5835 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5837 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5838 when currently writing and seek to current position when not.
5839 * libio/Makefile (tests): Remove bug-fclose1.
5840 * libio/bug-fclose1.c: Delete.
5842 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5844 * manual/arith.texi (feenableexcept): Fix typo.
5845 (fedisableexcept): Likewise.
5847 2012-11-30 Roland McGrath <roland@hack.frob.com>
5849 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5850 second, differently-typed declaration, rather than a cast.
5852 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5854 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5855 * include/rpc/svc.h: ... here.
5857 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5860 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5861 depending n and resplen2 to catch cases where answer
5864 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5866 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5867 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5869 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5871 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5873 2012-11-29 Roland McGrath <roland@hack.frob.com>
5875 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5877 2012-11-28 Jeff Law <law@redhat.com>
5880 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5881 dataset_temporary. Track alloca usage into alloca_used.
5882 If dataset is large allocate and release it via malloc/free.
5884 2012-06-04 Florian Weimer <fweimer@redhat.com>
5887 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5889 2012-11-28 David S. Miller <davem@davemloft.net>
5891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5893 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5896 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5897 of pi/2 rounded to nearest to 64 bits.
5898 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5900 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5903 2012-11-28 Jeff Law <law@redhat.com>
5904 Martin Osvald <mosvald@redhat.com>
5907 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5908 * sunrpc/svc.c: Include time.h.
5909 (__svc_accept_failed): New function.
5910 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5911 any reason other than EINTR, call __svc_accept_failed.
5912 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5913 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5915 2012-11-28 Andreas Schwab <schwab@suse.de>
5917 * scripts/abilist.awk: Also handle indirect functions in .opd
5920 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5923 * sysdeps/x86/fpu/powl_helper.c: New file.
5924 * sysdeps/x86/fpu/Makefile: Likewise.
5925 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5927 (__ieee754_powl): Use __powl_helper for finite arguments except
5928 integer exponents below 8.
5929 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5931 (__ieee754_powl): Use __powl_helper for finite arguments except
5932 integer exponents below 8.
5933 * math/libm-test.inc (pow_test): Add more tests and enable some
5934 previously disabled tests.
5935 * sysdeps/i386/fpu/libm-test-ulps: Update.
5936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5938 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5939 Carlos O'Donell <carlos_odonell@mentor.com>
5941 * nss/makedb.c (is_prime): Assert that input is odd and greater
5942 than 4. Note that fact in a comment too.
5943 (next_prime): Add 4 to input.
5945 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5948 * libio/Makefile (tests): Add test case tst-fwrite-error.
5949 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5950 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5951 * libio/tst-fwrite-error.c: New test case.
5953 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5955 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5956 before casting to void *.
5957 * include/libc-internal.h (__pointer_type): New macro.
5958 (__integer_if_pointer_type_sub): Likewise.
5959 (__integer_if_pointer_type): Likewise.
5960 (cast_to_integer): Likewise.
5961 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5962 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5963 before casting to atomic64_t.
5964 (atomic_exchange_acq): Likewise.
5965 (__arch_exchange_and_add_body): Likewise.
5966 (__arch_add_body): Likewise.
5967 (atomic_add_negative): Likewise.
5968 (atomic_add_zero): Likewise.
5970 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5972 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5973 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5974 (add_fdes): Likewise.
5975 (linear_search_fdes): Likewise.
5976 (binary_search_unencoded_fdes): Likewise.
5978 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5980 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5982 2012-11-24 Adam Conrad <adconrad@0c3.net>
5984 * configure.in: Autodetect C++ header directories.
5985 * configure: Regenerated.
5987 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5989 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5991 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5995 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5997 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5998 LDBL_MANT_DIG == 106]: Disable some tests.
5999 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6001 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6005 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6006 input for small inputs. Return +/- pi/2 for large inputs.
6007 * math/libm-test.inc (atan_test): Add more tests.
6009 * sysdeps/generic/unwind-dw2-fde-glibc.c
6010 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6011 __attribute__ ((unused)).
6014 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6015 x * y if x and y are nonzero and z is zero.
6018 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6019 nonzero exponents with absolute value below 0x1p-117 to +/-
6023 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6024 up arguments below 2**-450, not just those below 2**-500.
6025 * math/libm-test.inc (hypot_test): Add another test.
6028 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6029 Return a+b for ratio over 2**120, not 2**60.
6030 * math/libm-test.inc (hypot_test): Add another test.
6032 * math/libm-test.inc (clog_test): Use
6033 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6034 (clog10_test): Likewise.
6037 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6039 2012-11-22 Andreas Schwab <schwab@suse.de>
6041 * sysdeps/i386/fpu/libm-test-ulps: Update.
6043 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6045 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6046 printf output with newline.
6048 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6051 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6052 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6053 -z nodlopen, -z initfirst and -z execstack support.
6054 * configure: Regenerated.
6056 * elf/elf.h (DF_1_NODIRECT): New macro.
6057 (DF_1_IGNMULDEF): Likewise.
6058 (DF_1_NOKSYMS): Likewise.
6059 (DF_1_NOHDR): Likewise.
6060 (DF_1_EDITED): Likewise.
6061 (DF_1_NORELOC): Likewise.
6062 (DF_1_SYMINTPOSE): Likewise.
6063 (DF_1_GLOBAUDIT): Likewise.
6064 (DF_1_SINGLETON): Likewise.
6065 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6066 DT_1_SUPPORTED_MASK bits.
6067 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6069 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6071 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6073 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6075 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6078 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6079 (sendmmsg): Move declarations...
6080 * socket/sys/socket.h: ... here.
6081 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6082 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6084 * socket/recvmmsg.c: ... this new file.
6085 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6086 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6087 definition of __sendmmsg hidden.
6088 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6089 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6090 Move ENOSYS stub into and include it from...
6091 * socket/sendmmsg.c: ... this new file.
6092 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6093 (sysdep_routines): Move recvmmsg and sendmmsg...
6094 * socket/Makefile (routines): ... here.
6095 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6096 (GLIBC_PRIVATE): Add __sendmmsg.
6097 * include/sys/socket.h (__sendmmsg): Add declarations.
6098 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6101 2012-11-20 Joseph Myers <joseph@codesourcery.com>
6103 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6104 variable I1 with __attribute__ ((unused)).
6105 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6107 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6109 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6110 DUMMY variables with __attribute__ ((unused)).
6112 * bits/byteswap.h: Include <bits/types.h>.
6113 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6115 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6117 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6118 string_t. Do not manually set errno.
6119 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6120 length with __strnlen. Make sure to both set errno and return it on
6123 2012-11-19 David S. Miller <davem@davemloft.net>
6125 With help from Joseph Myers.
6126 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6127 very large arguments properly.
6128 * math/libm-test.inc (atan_test): New tests.
6129 (atan2_test): New tests.
6130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6133 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6136 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6139 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6140 [POSIX] (EADDRNOTAVAIL): Likewise.
6141 [POSIX] (EAFNOSUPPORT): Likewise.
6142 [POSIX] (EALREADY): Likewise.
6143 [POSIX] (ECONNABORTED): Likewise.
6144 [POSIX] (ECONNREFUSED): Likewise.
6145 [POSIX] (ECONNRESET): Likewise.
6146 [POSIX] (EDESTADDRREQ): Likewise.
6147 [POSIX] (EDQUOT): Likewise.
6148 [POSIX] (EHOSTUNREACH): Likewise.
6149 [POSIX] (EIDRM): Likewise.
6150 [POSIX] (EISCONN): Likewise.
6151 [POSIX] (ELOOP): Likewise.
6152 [POSIX] (EMULTIHOP): Likewise.
6153 [POSIX] (ENETDOWN): Likewise.
6154 [POSIX] (ENETUNREACH): Likewise.
6155 [POSIX] (ENOBUFS): Likewise.
6156 [POSIX] (ENODATA): Likewise.
6157 [POSIX] (ENOLINK): Likewise.
6158 [POSIX] (ENOMSG): Likewise.
6159 [POSIX] (ENOPROTOOPT): Likewise.
6160 [POSIX] (ENOSR): Likewise.
6161 [POSIX] (ENOSTR): Likewise.
6162 [POSIX] (ENOTCONN): Likewise.
6163 [POSIX] (ENOTSOCK): Likewise.
6164 [POSIX] (EOPNOTSUPP): Likewise.
6165 [POSIX] (EOVERFLOW): Likewise.
6166 [POSIX] (EPROTO): Likewise.
6167 [POSIX] (EPROTONOSUPPORT): Likewise.
6168 [POSIX] (EPROTOTYPE): Likewise.
6169 [POSIX] (ESTALE): Likewise.
6170 [POSIX] (ETIME): Likewise.
6171 [POSIX] (ETXTBSY): Likewise.
6172 [POSIX] (EWOULDBLOCK): Likewise.
6173 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6174 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6175 [POSIX] (SEEK_CUR): Likewise.
6176 [POSIX] (SEEK_END): Likewise.
6177 [POSIX || UNIX98] (mode_t): Do not require.
6178 [POSIX] (off_t): Likewise.
6179 [POSIX] (pid_t): Likewise.
6180 [POSIX] (sys/stat.h): Do not allow header.
6181 [POSIX] (unistd.h): Likewise.
6182 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6183 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6184 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6185 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6187 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6188 sigevent): Specify elements.
6189 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6191 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6192 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6194 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6195 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6196 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6197 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6198 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6199 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6200 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6201 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6202 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6203 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6204 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6205 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6206 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6207 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6209 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6211 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6213 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6215 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6216 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6217 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6218 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6219 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6220 Specify lower bound on value.
6221 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6222 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6223 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6224 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6225 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6226 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6227 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6228 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6230 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6232 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6233 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6234 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6235 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6236 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6237 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6238 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6239 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6240 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6241 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6242 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6243 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6244 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6245 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6246 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6247 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6249 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6251 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6252 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6253 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6254 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6255 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6256 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6258 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6259 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6260 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6261 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6262 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6263 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6264 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6266 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6267 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6268 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6269 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6270 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6271 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6272 specify as optional.
6273 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6274 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6275 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6276 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6277 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6278 [XPG3] (NL_LANGMAX): Likewise.
6279 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6280 [POSIX || XPG3] (NL_NMAX): Likewise.
6281 [POSIX || XPG3] (NL_SETMAX): Likewise.
6282 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6283 [XPG3] (NZERO): Likewise.
6284 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6285 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6286 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6287 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6288 (REG_ERANGE): Expect.
6289 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6291 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6292 Use (void) in prototype.
6293 [POSIX] (*_t): Allow.
6294 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6295 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6296 (WRDE_BADVAL): Expect.
6298 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6300 [XPG3 || XPG4] (O_RSYNC): Likewise.
6301 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6303 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6304 [XPG3 || XPG4] (sigqueue): Likewise.
6305 [XPG3 || XPG4] (sigtimedwait): Likewise.
6306 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6307 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6308 [XPG3 || XPG4] (vsnprintf): Likewise.
6309 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6311 [XPG3 || XPG4] (blksize_t): Likewise.
6312 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6314 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6315 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6316 [XPG3 || XPG4] (struct itimerspec): Likewise.
6317 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6318 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6319 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6320 [XPG3 || XPG4] (clockid_t): Likewise.
6321 [XPG3 || XPG4] (timer_t): Likewise.
6322 [XPG3 || XPG4] (clock_getres): Likewise.
6323 [XPG3 || XPG4] (clock_gettime): Likewise.
6324 [XPG3 || XPG4] (clock_settime): Likewise.
6325 [XPG3 || XPG4] (nanosleep): Likewise.
6326 [XPG3 || XPG4] (timer_create): Likewise.
6327 [XPG3 || XPG4] (timer_delete): Likewise.
6328 [XPG3 || XPG4] (timer_gettime): Likewise.
6329 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6330 [XPG3 || XPG4] (timer_settime): Likewise.
6331 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6332 [XPG3 || XPG4] (getlogin_r): Likewise.
6333 [XPG3 || XPG4] (pread): Likewise.
6334 [XPG3 || XPG4] (pthread_atfork): Likewise.
6335 [XPG3 || XPG4] (pwrite): Likewise.
6338 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6341 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6343 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6344 finalizing MALLSTREAM.
6346 * sysdeps/mach/hurd/syncfs.c: New file.
6348 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6351 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6352 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6353 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6354 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6355 (_nss_dns_gethostbyname4_r): Likewise.
6356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6357 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6359 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6362 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6364 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6366 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6367 * elf/cache.c (print_entry): Print ",AArch64" for
6370 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6371 * elf/cache.c (print_entry): Print ",hard-float" for
6374 2012-11-18 David S. Miller <davem@davemloft.net>
6376 With help from Joseph Myers.
6377 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6379 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6381 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6382 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6384 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6385 * math/libm-test.inc (y0_test): New tests.
6386 (y1_test): New tests.
6387 * sysdeps/i386/fpu/libm-test-ulps: Update.
6388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6391 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6393 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6395 * configure: Regenerated.
6397 2012-11-17 David S. Miller <davem@davemloft.net>
6400 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6401 nonzero exponents with absolute value below 0x1p-128 to +/-
6404 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6406 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6408 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6410 * posix/getconf-speclist.c: New file.
6411 * posix/posix-envs.def: Likewise.
6412 * posix/confstr.c (START_ENV_GROUP): New macro.
6413 (END_ENV_GROUP): Likewise.
6414 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6415 (KNOWN_PRESENT_ENV_STRING): Likewise.
6416 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6417 (UNKNOWN_ENVIRONMENT): Likewise.
6418 (confstr): Include posix-envs.def instead of handling
6419 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6420 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6421 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6422 (END_ENV_GROUP): Likewise.
6423 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6424 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6425 (UNKNOWN_ENVIRONMENT): Likewise.
6426 (__sysconf): Include posix-envs.def instead of handling associated
6427 cases directly here.
6428 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6429 preprocessing getconf-speclist.c rather than running getconf or
6430 generating empty file.
6432 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6434 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6436 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6439 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6441 2012-11-16 David S. Miller <davem@davemloft.net>
6443 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6444 smaller than LDBL_EPSILON/2.0L, just return xm1.
6446 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6448 * elf/tst-array1.c (init): Set constructor priority to 1000.
6449 (fini): Set destructor priority to 1000.
6450 * elf/tst-array2dep.c: Likewise.
6452 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6455 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6456 (_IO_new_file_xsputn): Also return EOF if none of the input
6457 data was written when overflow failed.
6458 * libio/iopadn.c (_IO_padn): Likewise.
6459 * libio/iowpadn.c (_IO_wpadn): Likewise.
6460 * stdio-common/tst-put-error.c: Add copyright notice.
6461 (do_test): Add case for printing padded string.
6462 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6463 _IO_padn returned error.
6464 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6465 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6468 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6470 * libio/libioP.h: Add comment note that the references to C++
6471 bits are now obsolete.
6473 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6475 * math/libm-test.inc (check_complex): Use asprintf.
6477 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6479 * debug/pcprofiledump.c (print_version): Update copyright year.
6480 * malloc/memusagestat.c (print_version): Likewise.
6482 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6485 * elf/Makefile (tests): Add tst-audit8.
6486 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6487 ($(objpfx)tst-audit8.out): New target.
6488 (tst-audit8-ENV): New variable.
6489 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6490 audit if l_reloc_result is NULL.
6491 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6492 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6493 * elf/tst-audit8.c: New file.
6495 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6497 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6498 * misc/Makefile (CFLAGS-select.c): Define.
6499 * posix/Makefile (CFLAGS-pause.c): Define.
6501 2012-11-13 David S. Miller <davem@davemloft.net>
6503 * crypt/Makefile: Move test targets after toplevel Rules
6504 inclusion. Grab any necessary sysdep routines when linking.
6505 * crypt/md5.c (md5_process_block): Remove define, we will always
6506 name it __md5_process_block.
6507 (md5_finish_ctx): Update md5_process_block call.
6508 (md5_stream): Likewise.
6509 (md5_process_bytes): Likewise.
6510 (md5_process_block): Rename to __md5_process_block and move to ...
6511 * crypt/md5-block.c: ... here.
6512 * crypt/sha256.c (sha256_process_block): Move to ...
6513 * crypt/sha256-block.c: ... here.
6514 * crypt/sha512.c (sha512_process_block): Move to ...
6515 * crypt/sha512-block.c: ... here.
6516 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6518 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6519 * sysdeps/sparc/sparc64/multiarch/Makefile
6520 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6522 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6523 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6525 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6526 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6527 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6528 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6529 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6530 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6531 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6532 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6533 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6535 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6536 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6538 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6540 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6542 * timezone/tzselect.ksh: Update from tzcode git revision
6543 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6544 * timezone/zdump.c: Likewise.
6545 * timezone/zic.c: Likewise.
6546 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6547 in TZVERSION setting, not $(PKGVERSION).
6548 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6549 REPORT_BUGS_TO settings.
6552 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6555 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6557 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6558 detection to immediately after _FP_ROUND().
6559 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6562 2012-11-11 David S. Miller <davem@davemloft.net>
6564 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6566 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6567 __close rather than their public counterparts.
6569 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6571 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6573 [UNIX98] (sem_timedwait): Do not expect.
6574 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6575 [XPG4 || UNIX98] (sockatmark): Do not expect.
6576 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6577 (clock_getcpuclockid): Do not expect.
6578 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6579 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6581 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6582 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6583 [UNIX98] (vwscanf): Likewise.
6584 [UNIX98] (vswscanf): Likewise.
6586 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6588 * timezone/version.h: Remove file.
6589 * timezone/README: Do not refer to version.h.
6590 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6592 ($(objpfx)zdump.o): Likewise.
6593 ($(objpfx)version.h): New target.
6595 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6597 * timezone/README: Don't mention modification to tzselect.ksh.
6598 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6599 work on unmodified tzselect.ksh. Substitute version numbers in
6602 * Makefile (format-me): Remove.
6603 (INSTALL): Adjust indentation. Use commands directly instead of
6606 * aclocal.m4 (ACX_PKGVERSION): New macro.
6607 (ACX_BUGURL): Likewise.
6608 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6609 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6610 (REPORT_BUGS_TO): Likewise.
6611 * configure: Regenerated.
6612 * config.h.in (PKGVERSION): New macro.
6613 (REPORT_BUGS_TO): Likewise.
6614 * config.make.in (PKGVERSION): New variable.
6615 (PKGVERSION_TEXI): Likewise.
6616 (REPORT_BUGS_TO): Likewise.
6617 (REPORT_BUGS_TEXI): Likewise.
6618 * Makefile (format-me): Use -I$(common-objpfx)manual.
6619 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6620 ($(common-objpfx)manual/%): New target.
6621 (manual/%): Remove target.
6622 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6623 (print_version): Use PKGVERSION.
6624 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6625 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6627 ($(objpfx)xtrace): Likewise.
6628 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6629 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6630 (print_version): Use PKGVERSION.
6631 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6632 (do_version): Use PKGVERSION.
6633 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6635 (common-ldd-rewrite): Likewise.
6636 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6637 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6638 (print_version): Use PKGVERSION.
6639 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6640 * elf/pldd.c (argp_program_bug_address): Remove variable.
6641 (more_help): New function.
6642 (argp): Use more_help.
6643 (print_version): Use PKGVERSION.
6644 * elf/sln.c (main): Use PKGVERSION.
6645 (usage): Use REPORT_BUGS_TO.
6646 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6647 (top level): Use PKGVERSION.
6648 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6649 (print_version): Use PKGVERSION.
6650 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6651 (print_version): Use PKGVERSION.
6652 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6653 (print_version): Use PKGVERSION.
6654 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6655 (print_version): Use PKGVERSION.
6656 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6657 (print_version): Use PKGVERSION.
6658 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6659 (print_version): Use PKGVERSION.
6660 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6662 ($(objpfx)memusage): Likewise.
6663 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6664 (do_version): Use PKGVERSION.
6665 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6666 (print_version): Use PKGVERSION.
6667 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6668 ($PKGVERSION): New variable.
6669 ($REPORT_BUGS_TO): Likewise.
6670 (usage): Use $REPORT_BUGS_TO.
6671 (top level): Use $PKGVERSION.
6672 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6673 ($(objpfx)pkgvers.texi): New rule.
6674 ($(objpfx)stamp-pkgvers): Likewise.
6675 * manual/install.texi: Include pkgvers.texi.
6676 (--with-pkgversion): Document new configure option.
6677 (--with-bugurl): Likewise.
6678 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6679 than necessarily for this particular distribution. Use
6680 REPORT_BUGS_TO for where to report bugs.
6681 * INSTALL: Regenerated.
6682 * manual/libc.texinfo: Include pkgvers.texi.
6683 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6684 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6685 (print_version): Use PKGVERSION.
6686 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6687 (print_version): Use PKGVERSION.
6688 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6689 (print_version): Use PKGVERSION.
6690 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6691 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6693 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6694 (print_version): Use PKGVERSION.
6695 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6696 (print_version): Use PKGVERSION.
6697 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6700 * timezone/checktab.awk: Update from tzcode 2012i.
6701 * timezone/ialloc.c: Likewise.
6702 * timezone/private.h: Likewise.
6703 * timezone/scheck.c: Likewise.
6704 * timezone/tzfile.h: Likewise.
6705 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6706 (TZVERSION): Hardcode tzcode version number.
6707 * timezone/zdump.c: Update from tzcode 2012i.
6708 * timezone/zic.c: Likewise.
6709 * timezone/version.h: New file.
6710 * timezone/README: Describe version.h. Update upstream location.
6713 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6714 (mktemp): Enable declaration.
6715 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6716 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6717 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6732 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6733 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6734 for copies of such integer values.
6735 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6736 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6738 2012-11-09 Andreas Jaeger <aj@suse.de>
6740 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6741 definitions and declarations that are provided by
6742 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6744 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6746 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6747 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6748 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6751 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6753 * elf/elf.h: Update comment before AArch64 relocations.
6755 2012-11-07 David S. Miller <davem@davemloft.net>
6757 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6758 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6759 (__start_context): Declare.
6760 (__makecontext_ret): Delete.
6761 (__makecontext): Hook up __start_context instead of
6763 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6764 (sysdep_routines): Add __start_context when in stdlib.
6766 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6768 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6769 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6770 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6772 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6773 (READELF): New variable. Use it instead of hardcoded "readelf".
6775 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6777 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6778 * sysdeps/x86/Makefile: Here.
6779 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6780 * sysdeps/x86/tst-xmmymm.sh: This.
6782 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6784 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6786 [UNIX98] (pthread_barrier_t): Do not expect.
6787 [UNIX98] (pthread_barrierattr_t): Likewise.
6788 [UNIX98] (pthread_spinlock_t): Likewise.
6789 [UNIX98] (pthread_barrier_destroy): Likewise.
6790 [UNIX98] (pthread_barrier_init): Likewise.
6791 [UNIX98] (pthread_barrier_wait): Likewise.
6792 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6793 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6794 [UNIX98] (pthread_barrierattr_init): Likewise.
6795 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6796 [UNIX98] (pthread_getcpuclockid): Likewise.
6797 [UNIX98] (pthread_mutex_timedlock): Likewise.
6798 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6799 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6800 [UNIX98] (pthread_sigmask): Likewise.
6801 [UNIX98] (pthread_spin_destroy): Likewise.
6802 [UNIX98] (pthread_spin_init): Likewise.
6803 [UNIX98] (pthread_spin_lock): Likewise.
6804 [UNIX98] (pthread_spin_trylock): Likewise.
6805 [UNIX98] (pthread_spin_unlock): Likewise.
6806 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6808 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6809 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6810 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6811 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6812 [XPG3 || XPG4] (pthread_key_t): Likewise.
6813 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6814 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6815 [XPG3 || XPG4] (pthread_once_t): Likewise.
6816 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6817 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6818 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6819 [XPG3 || XPG4] (pthread_t): Likewise.
6821 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6823 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6825 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6826 Change function return type to int.
6828 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6829 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6830 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6831 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6832 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6833 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6834 [!POSIX] (posix_madvise): Likewise.
6835 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6837 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6838 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6840 (posix_mem_offset): Likewise.
6841 (posix_typed_mem_get_info): Likewise.
6842 (posix_typed_mem_open): Likewise.
6844 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6845 Change condition to [XOPEN2K8].
6847 * conform/conformtest.pl: Preprocess allow-header data with -x c
6848 instead of from stdin.
6849 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6850 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6851 [C99-based standards] (cerfc): Likewise.
6852 [C99-based standards] (cexp2): Likewise.
6853 [C99-based standards] (cexpm1): Likewise.
6854 [C99-based standards] (clog10): Likewise.
6855 [C99-based standards] (clog1p): Likewise.
6856 [C99-based standards] (clog2): Likewise.
6857 [C99-based standards] (clgamma): Likewise.
6858 [C99-based standards] (ctgamma): Likewise.
6859 [C99-based standards] (cerff): Likewise.
6860 [C99-based standards] (cerfcf): Likewise.
6861 [C99-based standards] (cexp2f): Likewise.
6862 [C99-based standards] (cexpm1f): Likewise.
6863 [C99-based standards] (clog10f): Likewise.
6864 [C99-based standards] (clog1pf): Likewise.
6865 [C99-based standards] (clog2f): Likewise.
6866 [C99-based standards] (clgammaf): Likewise.
6867 [C99-based standards] (ctgammaf): Likewise.
6868 [C99-based standards] (cerfl): Likewise.
6869 [C99-based standards] (cerfcl): Likewise.
6870 [C99-based standards] (cexp2l): Likewise.
6871 [C99-based standards] (cexpm1l): Likewise.
6872 [C99-based standards] (clog10l): Likewise.
6873 [C99-based standards] (clog1pl): Likewise.
6874 [C99-based standards] (clog2l): Likewise.
6875 [C99-based standards] (clgammal): Likewise.
6876 [C99-based standards] (ctgammal): Likewise.
6877 * conform/data/inttypes.h-data [C99-based standards]: Include
6878 stdint.h-data. Remove all expectations for stdint.h contents.
6879 [C99-based standards] (PRI*): Do not allow.
6880 [C99-based standards] (SCN*): Likewise.
6881 [C99-based standards] (*_t): Likewise.
6882 [C99-based-standards] (PRId8): Expect macro.
6883 [C99-based-standards] (PRIi8): Likewise.
6884 [C99-based-standards] (PRIo8): Likewise.
6885 [C99-based-standards] (PRIu8): Likewise.
6886 [C99-based-standards] (PRIx8): Likewise.
6887 [C99-based-standards] (PRIX8): Likewise.
6888 [C99-based-standards] (SCNd8): Likewise.
6889 [C99-based-standards] (SCNi8): Likewise.
6890 [C99-based-standards] (SCNo8): Likewise.
6891 [C99-based-standards] (SCNu8): Likewise.
6892 [C99-based-standards] (SCNx8): Likewise.
6893 [C99-based-standards] (PRIdLEAST8): Likewise.
6894 [C99-based-standards] (PRIiLEAST8): Likewise.
6895 [C99-based-standards] (PRIoLEAST8): Likewise.
6896 [C99-based-standards] (PRIuLEAST8): Likewise.
6897 [C99-based-standards] (PRIxLEAST8): Likewise.
6898 [C99-based-standards] (PRIXLEAST8): Likewise.
6899 [C99-based-standards] (SCNdLEAST8): Likewise.
6900 [C99-based-standards] (SCNiLEAST8): Likewise.
6901 [C99-based-standards] (SCNoLEAST8): Likewise.
6902 [C99-based-standards] (SCNuLEAST8): Likewise.
6903 [C99-based-standards] (SCNxLEAST8): Likewise.
6904 [C99-based-standards] (PRIdFAST8): Likewise.
6905 [C99-based-standards] (PRIiFAST8): Likewise.
6906 [C99-based-standards] (PRIoFAST8): Likewise.
6907 [C99-based-standards] (PRIuFAST8): Likewise.
6908 [C99-based-standards] (PRIxFAST8): Likewise.
6909 [C99-based-standards] (PRIXFAST8): Likewise.
6910 [C99-based-standards] (SCNdFAST8): Likewise.
6911 [C99-based-standards] (SCNiFAST8): Likewise.
6912 [C99-based-standards] (SCNoFAST8): Likewise.
6913 [C99-based-standards] (SCNuFAST8): Likewise.
6914 [C99-based-standards] (SCNxFAST8): Likewise.
6915 [C99-based-standards] (PRId16): Likewise.
6916 [C99-based-standards] (PRIi16): Likewise.
6917 [C99-based-standards] (PRIo16): Likewise.
6918 [C99-based-standards] (PRIu16): Likewise.
6919 [C99-based-standards] (PRIx16): Likewise.
6920 [C99-based-standards] (PRIX16): Likewise.
6921 [C99-based-standards] (SCNd16): Likewise.
6922 [C99-based-standards] (SCNi16): Likewise.
6923 [C99-based-standards] (SCNo16): Likewise.
6924 [C99-based-standards] (SCNu16): Likewise.
6925 [C99-based-standards] (SCNx16): Likewise.
6926 [C99-based-standards] (PRIdLEAST16): Likewise.
6927 [C99-based-standards] (PRIiLEAST16): Likewise.
6928 [C99-based-standards] (PRIoLEAST16): Likewise.
6929 [C99-based-standards] (PRIuLEAST16): Likewise.
6930 [C99-based-standards] (PRIxLEAST16): Likewise.
6931 [C99-based-standards] (PRIXLEAST16): Likewise.
6932 [C99-based-standards] (SCNdLEAST16): Likewise.
6933 [C99-based-standards] (SCNiLEAST16): Likewise.
6934 [C99-based-standards] (SCNoLEAST16): Likewise.
6935 [C99-based-standards] (SCNuLEAST16): Likewise.
6936 [C99-based-standards] (SCNxLEAST16): Likewise.
6937 [C99-based-standards] (PRIdFAST16): Likewise.
6938 [C99-based-standards] (PRIiFAST16): Likewise.
6939 [C99-based-standards] (PRIoFAST16): Likewise.
6940 [C99-based-standards] (PRIuFAST16): Likewise.
6941 [C99-based-standards] (PRIxFAST16): Likewise.
6942 [C99-based-standards] (PRIXFAST16): Likewise.
6943 [C99-based-standards] (SCNdFAST16): Likewise.
6944 [C99-based-standards] (SCNiFAST16): Likewise.
6945 [C99-based-standards] (SCNoFAST16): Likewise.
6946 [C99-based-standards] (SCNuFAST16): Likewise.
6947 [C99-based-standards] (SCNxFAST16): Likewise.
6948 [C99-based-standards] (PRId32): Likewise.
6949 [C99-based-standards] (PRIi32): Likewise.
6950 [C99-based-standards] (PRIo32): Likewise.
6951 [C99-based-standards] (PRIu32): Likewise.
6952 [C99-based-standards] (PRIx32): Likewise.
6953 [C99-based-standards] (PRIX32): Likewise.
6954 [C99-based-standards] (SCNd32): Likewise.
6955 [C99-based-standards] (SCNi32): Likewise.
6956 [C99-based-standards] (SCNo32): Likewise.
6957 [C99-based-standards] (SCNu32): Likewise.
6958 [C99-based-standards] (SCNx32): Likewise.
6959 [C99-based-standards] (PRIdLEAST32): Likewise.
6960 [C99-based-standards] (PRIiLEAST32): Likewise.
6961 [C99-based-standards] (PRIoLEAST32): Likewise.
6962 [C99-based-standards] (PRIuLEAST32): Likewise.
6963 [C99-based-standards] (PRIxLEAST32): Likewise.
6964 [C99-based-standards] (PRIXLEAST32): Likewise.
6965 [C99-based-standards] (SCNdLEAST32): Likewise.
6966 [C99-based-standards] (SCNiLEAST32): Likewise.
6967 [C99-based-standards] (SCNoLEAST32): Likewise.
6968 [C99-based-standards] (SCNuLEAST32): Likewise.
6969 [C99-based-standards] (SCNxLEAST32): Likewise.
6970 [C99-based-standards] (PRIdFAST32): Likewise.
6971 [C99-based-standards] (PRIiFAST32): Likewise.
6972 [C99-based-standards] (PRIoFAST32): Likewise.
6973 [C99-based-standards] (PRIuFAST32): Likewise.
6974 [C99-based-standards] (PRIxFAST32): Likewise.
6975 [C99-based-standards] (PRIXFAST32): Likewise.
6976 [C99-based-standards] (SCNdFAST32): Likewise.
6977 [C99-based-standards] (SCNiFAST32): Likewise.
6978 [C99-based-standards] (SCNoFAST32): Likewise.
6979 [C99-based-standards] (SCNuFAST32): Likewise.
6980 [C99-based-standards] (SCNxFAST32): Likewise.
6981 [C99-based-standards] (PRId64): Likewise.
6982 [C99-based-standards] (PRIi64): Likewise.
6983 [C99-based-standards] (PRIo64): Likewise.
6984 [C99-based-standards] (PRIu64): Likewise.
6985 [C99-based-standards] (PRIx64): Likewise.
6986 [C99-based-standards] (PRIX64): Likewise.
6987 [C99-based-standards] (SCNd64): Likewise.
6988 [C99-based-standards] (SCNi64): Likewise.
6989 [C99-based-standards] (SCNo64): Likewise.
6990 [C99-based-standards] (SCNu64): Likewise.
6991 [C99-based-standards] (SCNx64): Likewise.
6992 [C99-based-standards] (PRIdLEAST64): Likewise.
6993 [C99-based-standards] (PRIiLEAST64): Likewise.
6994 [C99-based-standards] (PRIoLEAST64): Likewise.
6995 [C99-based-standards] (PRIuLEAST64): Likewise.
6996 [C99-based-standards] (PRIxLEAST64): Likewise.
6997 [C99-based-standards] (PRIXLEAST64): Likewise.
6998 [C99-based-standards] (SCNdLEAST64): Likewise.
6999 [C99-based-standards] (SCNiLEAST64): Likewise.
7000 [C99-based-standards] (SCNoLEAST64): Likewise.
7001 [C99-based-standards] (SCNuLEAST64): Likewise.
7002 [C99-based-standards] (SCNxLEAST64): Likewise.
7003 [C99-based-standards] (PRIdFAST64): Likewise.
7004 [C99-based-standards] (PRIiFAST64): Likewise.
7005 [C99-based-standards] (PRIoFAST64): Likewise.
7006 [C99-based-standards] (PRIuFAST64): Likewise.
7007 [C99-based-standards] (PRIxFAST64): Likewise.
7008 [C99-based-standards] (PRIXFAST64): Likewise.
7009 [C99-based-standards] (SCNdFAST64): Likewise.
7010 [C99-based-standards] (SCNiFAST64): Likewise.
7011 [C99-based-standards] (SCNoFAST64): Likewise.
7012 [C99-based-standards] (SCNuFAST64): Likewise.
7013 [C99-based-standards] (SCNxFAST64): Likewise.
7014 [C99-based-standards] (PRIdMAX): Likewise.
7015 [C99-based-standards] (PRIiMAX): Likewise.
7016 [C99-based-standards] (PRIoMAX): Likewise.
7017 [C99-based-standards] (PRIuMAX): Likewise.
7018 [C99-based-standards] (PRIxMAX): Likewise.
7019 [C99-based-standards] (PRIXMAX): Likewise.
7020 [C99-based-standards] (SCNdMAX): Likewise.
7021 [C99-based-standards] (SCNiMAX): Likewise.
7022 [C99-based-standards] (SCNoMAX): Likewise.
7023 [C99-based-standards] (SCNuMAX): Likewise.
7024 [C99-based-standards] (SCNxMAX): Likewise.
7025 [C99-based-standards] (PRIdPTR): Likewise.
7026 [C99-based-standards] (PRIiPTR): Likewise.
7027 [C99-based-standards] (PRIoPTR): Likewise.
7028 [C99-based-standards] (PRIuPTR): Likewise.
7029 [C99-based-standards] (PRIxPTR): Likewise.
7030 [C99-based-standards] (PRIXPTR): Likewise.
7031 [C99-based-standards] (SCNdPTR): Likewise.
7032 [C99-based-standards] (SCNiPTR): Likewise.
7033 [C99-based-standards] (SCNoPTR): Likewise.
7034 [C99-based-standards] (SCNuPTR): Likewise.
7035 [C99-based-standards] (SCNxPTR): Likewise.
7036 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7038 * conform/data/stdint.h-data: Update comments to clarify
7040 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7042 [C99-based standards] (INT8_MAX): Likewise.
7043 [C99-based standards] (INT16_MIN): Likewise.
7044 [C99-based standards] (INT16_MAX): Likewise.
7045 [C99-based standards] (INT32_MIN): Likewise.
7046 [C99-based standards] (INT32_MAX): Likewise.
7047 [C99-based standards] (INT64_MIN): Likewise.
7048 [C99-based standards] (INT64_MAX): Likewise.
7049 [C99-based standards] (UINT8_MAX): Likewise.
7050 [C99-based standards] (UINT16_MAX): Likewise.
7051 [C99-based standards] (UINT32_MAX): Likewise.
7052 [C99-based standards] (UINT64_MAX): Likewise.
7053 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7054 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7055 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7056 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7057 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7058 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7059 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7060 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7061 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7062 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7063 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7064 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7065 [C99-based standards] (INT_FAST8_MIN): Likewise.
7066 [C99-based standards] (INT_FAST8_MAX): Likewise.
7067 [C99-based standards] (INT_FAST16_MIN): Likewise.
7068 [C99-based standards] (INT_FAST16_MAX): Likewise.
7069 [C99-based standards] (INT_FAST32_MIN): Likewise.
7070 [C99-based standards] (INT_FAST32_MAX): Likewise.
7071 [C99-based standards] (INT_FAST64_MIN): Likewise.
7072 [C99-based standards] (INT_FAST64_MAX): Likewise.
7073 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7074 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7075 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7076 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7077 [C99-based standards] (INTPTR_MIN): Likewise.
7078 [C99-based standards] (INTPTR_MAX): Likewise.
7079 [C99-based standards] (UINTPTR_MAX): Likewise.
7080 [C99-based standards] (INTMAX_MIN): Likewise.
7081 [C99-based standards] (INTMAX_MAX): Likewise.
7082 [C99-based standards] (UINTMAX_MAX): Likewise.
7083 [C99-based standards] (PTRDIFF_MIN): Likewise.
7084 [C99-based standards] (PTRDIFF_MAX): Likewise.
7085 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7086 [C99-based standards] (SIZE_MAX): Likewise.
7087 [C99-based standards] (WCHAR_MAX): Likewise.
7088 [C99-based standards] (WINT_MAX): Likewise.
7089 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7090 constraint on value.
7091 [C99-based standards] (WCHAR_MIN): Likewise.
7092 [C99-based standards] (WINT_MIN): Likewise.
7093 [C99-based standards] (*_t): Allow.
7094 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7095 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7096 Include math.h-data and complex.h-data. Remove all expectations
7097 of math.h and complex.h contents.
7098 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7100 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7101 (struct tm): Expect tag.
7102 [C99-based-standards] (wcstof): Expect function.
7103 [C99-based-standards] (wcstold): Likewise.
7104 [C99-based-standards] (wcstoll): Likewise.
7105 [C99-based-standards] (wcstoull): Likewise.
7106 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7107 macro-int-constant. Specify type.
7108 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7109 constraint on value.
7110 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7112 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7114 [ISO C standards]: Do not allow headers.
7115 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7116 wcs[abcdefghijklmnopqrstuvwxyz]*.
7117 [ISO C standards] (*_t): Do not allow.
7118 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7120 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7121 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7123 [ISO C standards]: Do not allow headers.
7124 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7125 is[abcdefghijklmnopqrstuvwxyz]*.
7126 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7127 to[abcdefghijklmnopqrstuvwxyz]*.
7128 [ISO C standards] (*_t): Do not allow.
7129 * conform/data/stdalign.h-data: New file.
7130 * conform/data/stdbool.h-data: Likewise.
7131 * conform/data/stdnoreturn.h-data: Likewise.
7133 2012-11-07 Roland McGrath <roland@hack.frob.com>
7136 * manual/filesys.texi (Directory Entries): Typo fix.
7137 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7139 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7141 * elf/elf.h (EM_AARCH64): New macro.
7142 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7143 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7144 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7145 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7146 (R_AARCH64_TLSDESC): Likewise.
7147 (NT_ARM_TLS): Likewise.
7148 (NT_ARM_HW_BREAK): Likewise.
7149 (NT_ARM_HW_WATCH): Likewise.
7151 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7154 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7155 (__ieee754_powl): Saturate nonzero exponents with absolute value
7156 below 0x1p-79 to +/- 0x1p-79.
7157 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7158 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7159 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7160 nonzero exponents with absolute value below 0x1p-32 to +/-
7162 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7163 (__ieee754_powl): Saturate nonzero exponents with absolute value
7164 below 0x1p-79 to +/- 0x1p-79.
7165 * math/libm-test.inc (pow_test): Add more tests.
7167 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7169 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7170 _dl_s390_cap_flags with kernel. Increase string length.
7171 (_dl_s390_platforms): Add z196 and zEC12.
7173 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7175 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7176 Change XOPEN21K to XOPEN2K.
7178 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7180 * string/memmove.c: Use memcpy when possible.
7182 2012-11-06 Andreas Jaeger <aj@suse.de>
7184 * po/eo.po: Update from translation team.
7186 2012-11-06 Joseph Myers <joseph@codesourcery.com>
7189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7190 exponent and small x and y exponents, scale x or y up. Increase
7191 by 2 the exponent used in scaling up.
7192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7193 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7194 * math/libm-test.inc (fma_test): Add more tests.
7195 (fma_test_towardzero): Likewise.
7196 (fma_test_downward): Likewise.
7197 (fma_test_upward): Likewise.
7199 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7202 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7206 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7207 namespace for names of struct fields.
7208 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7210 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7211 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7213 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7216 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7218 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7220 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7224 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7227 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7231 definitely overflow as x * y not x * y + z.
7232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7233 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7234 * math/libm-test.inc (fma_test): Add more tests.
7235 (fma_test_towardzero): Likewise.
7236 (fma_test_downward): Likewise.
7237 (fma_test_upward): Likewise.
7239 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7243 * include/stub-tag.h: Remove file.
7244 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7246 * manual/maint.texi (Porting): Don't reference it.
7247 * Makerules ($(objpfx)stubs): Likewise.
7248 * dirent/closedir.c: Don't include <stub-tag.h>.
7249 * dirent/dirfd.c: Likewise.
7250 * dirent/fdopendir.c: Likewise.
7251 * dirent/getdents.c: Likewise.
7252 * dirent/getdents64.c: Likewise.
7253 * dirent/opendir.c: Likewise.
7254 * dirent/readdir.c: Likewise.
7255 * dirent/readdir64.c: Likewise.
7256 * dirent/readdir64_r.c: Likewise.
7257 * dirent/readdir_r.c: Likewise.
7258 * dirent/rewinddir.c: Likewise.
7259 * dirent/seekdir.c: Likewise.
7260 * dirent/telldir.c: Likewise.
7261 * gmon/profil.c: Likewise.
7262 * grp/setgroups.c: Likewise.
7263 * inet/if_index.c: Likewise.
7264 * io/access.c: Likewise.
7265 * io/chdir.c: Likewise.
7266 * io/chmod.c: Likewise.
7267 * io/chown.c: Likewise.
7268 * io/close.c: Likewise.
7269 * io/dup.c: Likewise.
7270 * io/dup2.c: Likewise.
7271 * io/dup3.c: Likewise.
7272 * io/euidaccess.c: Likewise.
7273 * io/faccessat.c: Likewise.
7274 * io/fchdir.c: Likewise.
7275 * io/fchmod.c: Likewise.
7276 * io/fchmodat.c: Likewise.
7277 * io/fchown.c: Likewise.
7278 * io/fchownat.c: Likewise.
7279 * io/fcntl.c: Likewise.
7280 * io/flock.c: Likewise.
7281 * io/fstatfs.c: Likewise.
7282 * io/fstatfs64.c: Likewise.
7283 * io/fstatvfs.c: Likewise.
7284 * io/fstatvfs64.c: Likewise.
7285 * io/futimens.c: Likewise.
7286 * io/fxstat.c: Likewise.
7287 * io/fxstat64.c: Likewise.
7288 * io/fxstatat.c: Likewise.
7289 * io/fxstatat64.c: Likewise.
7290 * io/getcwd.c: Likewise.
7291 * io/isatty.c: Likewise.
7292 * io/lchmod.c: Likewise.
7293 * io/lchown.c: Likewise.
7294 * io/link.c: Likewise.
7295 * io/linkat.c: Likewise.
7296 * io/lseek.c: Likewise.
7297 * io/lseek64.c: Likewise.
7298 * io/lxstat64.c: Likewise.
7299 * io/mkdir.c: Likewise.
7300 * io/mkdirat.c: Likewise.
7301 * io/mkfifo.c: Likewise.
7302 * io/mkfifoat.c: Likewise.
7303 * io/open.c: Likewise.
7304 * io/open64.c: Likewise.
7305 * io/openat.c: Likewise.
7306 * io/openat64.c: Likewise.
7307 * io/pipe.c: Likewise.
7308 * io/pipe2.c: Likewise.
7309 * io/poll.c: Likewise.
7310 * io/posix_fadvise.c: Likewise.
7311 * io/posix_fadvise64.c: Likewise.
7312 * io/posix_fallocate.c: Likewise.
7313 * io/posix_fallocate64.c: Likewise.
7314 * io/read.c: Likewise.
7315 * io/readlink.c: Likewise.
7316 * io/readlinkat.c: Likewise.
7317 * io/rmdir.c: Likewise.
7318 * io/sendfile.c: Likewise.
7319 * io/sendfile64.c: Likewise.
7320 * io/statfs.c: Likewise.
7321 * io/statfs64.c: Likewise.
7322 * io/statvfs.c: Likewise.
7323 * io/statvfs64.c: Likewise.
7324 * io/symlink.c: Likewise.
7325 * io/symlinkat.c: Likewise.
7326 * io/ttyname.c: Likewise.
7327 * io/ttyname_r.c: Likewise.
7328 * io/umask.c: Likewise.
7329 * io/unlink.c: Likewise.
7330 * io/unlinkat.c: Likewise.
7331 * io/utime.c: Likewise.
7332 * io/utimensat.c: Likewise.
7333 * io/write.c: Likewise.
7334 * io/xmknod.c: Likewise.
7335 * io/xmknodat.c: Likewise.
7336 * io/xstat.c: Likewise.
7337 * io/xstat64.c: Likewise.
7338 * login/getpt.c: Likewise.
7339 * login/grantpt.c: Likewise.
7340 * login/unlockpt.c: Likewise.
7341 * math/e_acoshl.c: Likewise.
7342 * math/e_acosl.c: Likewise.
7343 * math/e_asinl.c: Likewise.
7344 * math/e_atan2l.c: Likewise.
7345 * math/e_atanhl.c: Likewise.
7346 * math/e_coshl.c: Likewise.
7347 * math/e_expl.c: Likewise.
7348 * math/e_fmodl.c: Likewise.
7349 * math/e_gammal_r.c: Likewise.
7350 * math/e_hypotl.c: Likewise.
7351 * math/e_j0l.c: Likewise.
7352 * math/e_j1l.c: Likewise.
7353 * math/e_jnl.c: Likewise.
7354 * math/e_lgammal_r.c: Likewise.
7355 * math/e_log10l.c: Likewise.
7356 * math/e_log2l.c: Likewise.
7357 * math/e_logl.c: Likewise.
7358 * math/e_powl.c: Likewise.
7359 * math/e_rem_pio2l.c: Likewise.
7360 * math/e_sinhl.c: Likewise.
7361 * math/e_sqrtl.c: Likewise.
7362 * math/fclrexcpt.c: Likewise.
7363 * math/fedisblxcpt.c: Likewise.
7364 * math/feenablxcpt.c: Likewise.
7365 * math/fegetenv.c: Likewise.
7366 * math/fegetexcept.c: Likewise.
7367 * math/fegetround.c: Likewise.
7368 * math/feholdexcpt.c: Likewise.
7369 * math/fesetenv.c: Likewise.
7370 * math/fesetround.c: Likewise.
7371 * math/feupdateenv.c: Likewise.
7372 * math/fgetexcptflg.c: Likewise.
7373 * math/fraiseexcpt.c: Likewise.
7374 * math/fsetexcptflg.c: Likewise.
7375 * math/ftestexcept.c: Likewise.
7376 * math/k_cosl.c: Likewise.
7377 * math/k_rem_pio2l.c: Likewise.
7378 * math/k_sinl.c: Likewise.
7379 * math/k_tanl.c: Likewise.
7380 * math/s_asinhl.c: Likewise.
7381 * math/s_atanl.c: Likewise.
7382 * math/s_cbrtl.c: Likewise.
7383 * math/s_erfl.c: Likewise.
7384 * math/s_expm1l.c: Likewise.
7385 * math/s_log1pl.c: Likewise.
7386 * math/s_tanhl.c: Likewise.
7387 * misc/acct.c: Likewise.
7388 * misc/brk.c: Likewise.
7389 * misc/chflags.c: Likewise.
7390 * misc/chroot.c: Likewise.
7391 * misc/fchflags.c: Likewise.
7392 * misc/fgetxattr.c: Likewise.
7393 * misc/flistxattr.c: Likewise.
7394 * misc/fremovexattr.c: Likewise.
7395 * misc/fsetxattr.c: Likewise.
7396 * misc/fsync.c: Likewise.
7397 * misc/ftruncate.c: Likewise.
7398 * misc/futimes.c: Likewise.
7399 * misc/futimesat.c: Likewise.
7400 * misc/getdomain.c: Likewise.
7401 * misc/getdtsz.c: Likewise.
7402 * misc/gethostid.c: Likewise.
7403 * misc/gethostname.c: Likewise.
7404 * misc/getloadavg.c: Likewise.
7405 * misc/getpagesize.c: Likewise.
7406 * misc/getsysstats.c: Likewise.
7407 * misc/getxattr.c: Likewise.
7408 * misc/gtty.c: Likewise.
7409 * misc/ioctl.c: Likewise.
7410 * misc/lgetxattr.c: Likewise.
7411 * misc/listxattr.c: Likewise.
7412 * misc/llistxattr.c: Likewise.
7413 * misc/lremovexattr.c: Likewise.
7414 * misc/lsetxattr.c: Likewise.
7415 * misc/lutimes.c: Likewise.
7416 * misc/madvise.c: Likewise.
7417 * misc/mincore.c: Likewise.
7418 * misc/mlock.c: Likewise.
7419 * misc/mlockall.c: Likewise.
7420 * misc/mmap.c: Likewise.
7421 * misc/mprotect.c: Likewise.
7422 * misc/msync.c: Likewise.
7423 * misc/munlock.c: Likewise.
7424 * misc/munlockall.c: Likewise.
7425 * misc/munmap.c: Likewise.
7426 * misc/preadv.c: Likewise.
7427 * misc/preadv64.c: Likewise.
7428 * misc/ptrace.c: Likewise.
7429 * misc/pwritev.c: Likewise.
7430 * misc/pwritev64.c: Likewise.
7431 * misc/readv.c: Likewise.
7432 * misc/reboot.c: Likewise.
7433 * misc/remap_file_pages.c: Likewise.
7434 * misc/removexattr.c: Likewise.
7435 * misc/revoke.c: Likewise.
7436 * misc/select.c: Likewise.
7437 * misc/setdomain.c: Likewise.
7438 * misc/setegid.c: Likewise.
7439 * misc/seteuid.c: Likewise.
7440 * misc/sethostid.c: Likewise.
7441 * misc/sethostname.c: Likewise.
7442 * misc/setregid.c: Likewise.
7443 * misc/setreuid.c: Likewise.
7444 * misc/setxattr.c: Likewise.
7445 * misc/sstk.c: Likewise.
7446 * misc/stty.c: Likewise.
7447 * misc/swapoff.c: Likewise.
7448 * misc/swapon.c: Likewise.
7449 * misc/sync.c: Likewise.
7450 * misc/syncfs.c: Likewise.
7451 * misc/syscall.c: Likewise.
7452 * misc/truncate.c: Likewise.
7453 * misc/ualarm.c: Likewise.
7454 * misc/usleep.c: Likewise.
7455 * misc/ustat.c: Likewise.
7456 * misc/utimes.c: Likewise.
7457 * misc/vhangup.c: Likewise.
7458 * misc/writev.c: Likewise.
7459 * posix/_exit.c: Likewise.
7460 * posix/alarm.c: Likewise.
7461 * posix/execve.c: Likewise.
7462 * posix/fexecve.c: Likewise.
7463 * posix/fork.c: Likewise.
7464 * posix/fpathconf.c: Likewise.
7465 * posix/getaddrinfo.c: Likewise.
7466 * posix/getegid.c: Likewise.
7467 * posix/geteuid.c: Likewise.
7468 * posix/getgid.c: Likewise.
7469 * posix/getgroups.c: Likewise.
7470 * posix/getlogin.c: Likewise.
7471 * posix/getlogin_r.c: Likewise.
7472 * posix/getpgid.c: Likewise.
7473 * posix/getpid.c: Likewise.
7474 * posix/getppid.c: Likewise.
7475 * posix/getresgid.c: Likewise.
7476 * posix/getresuid.c: Likewise.
7477 * posix/getsid.c: Likewise.
7478 * posix/getuid.c: Likewise.
7479 * posix/glob64.c: Likewise.
7480 * posix/nanosleep.c: Likewise.
7481 * posix/pathconf.c: Likewise.
7482 * posix/pause.c: Likewise.
7483 * posix/posix_madvise.c: Likewise.
7484 * posix/pread.c: Likewise.
7485 * posix/pread64.c: Likewise.
7486 * posix/pwrite.c: Likewise.
7487 * posix/pwrite64.c: Likewise.
7488 * posix/sched_getaffinity.c: Likewise.
7489 * posix/sched_getp.c: Likewise.
7490 * posix/sched_gets.c: Likewise.
7491 * posix/sched_primax.c: Likewise.
7492 * posix/sched_primin.c: Likewise.
7493 * posix/sched_rr_gi.c: Likewise.
7494 * posix/sched_setaffinity.c: Likewise.
7495 * posix/sched_setp.c: Likewise.
7496 * posix/sched_sets.c: Likewise.
7497 * posix/sched_yield.c: Likewise.
7498 * posix/setgid.c: Likewise.
7499 * posix/setlogin.c: Likewise.
7500 * posix/setpgid.c: Likewise.
7501 * posix/setresgid.c: Likewise.
7502 * posix/setresuid.c: Likewise.
7503 * posix/setsid.c: Likewise.
7504 * posix/setuid.c: Likewise.
7505 * posix/sleep.c: Likewise.
7506 * posix/spawni.c: Likewise.
7507 * posix/sysconf.c: Likewise.
7508 * posix/times.c: Likewise.
7509 * posix/wait.c: Likewise.
7510 * posix/wait3.c: Likewise.
7511 * posix/wait4.c: Likewise.
7512 * posix/waitpid.c: Likewise.
7513 * resolv/gai_sigqueue.c: Likewise.
7514 * resource/getpriority.c: Likewise.
7515 * resource/getrlimit.c: Likewise.
7516 * resource/getrusage.c: Likewise.
7517 * resource/nice.c: Likewise.
7518 * resource/setpriority.c: Likewise.
7519 * resource/setrlimit.c: Likewise.
7520 * resource/ulimit.c: Likewise.
7521 * rt/aio_cancel.c: Likewise.
7522 * rt/aio_fsync.c: Likewise.
7523 * rt/aio_read.c: Likewise.
7524 * rt/aio_sigqueue.c: Likewise.
7525 * rt/aio_suspend.c: Likewise.
7526 * rt/aio_write.c: Likewise.
7527 * rt/clock_getres.c: Likewise.
7528 * rt/clock_gettime.c: Likewise.
7529 * rt/clock_nanosleep.c: Likewise.
7530 * rt/clock_settime.c: Likewise.
7531 * rt/lio_listio.c: Likewise.
7532 * rt/mq_close.c: Likewise.
7533 * rt/mq_getattr.c: Likewise.
7534 * rt/mq_notify.c: Likewise.
7535 * rt/mq_open.c: Likewise.
7536 * rt/mq_receive.c: Likewise.
7537 * rt/mq_send.c: Likewise.
7538 * rt/mq_setattr.c: Likewise.
7539 * rt/mq_timedreceive.c: Likewise.
7540 * rt/mq_timedsend.c: Likewise.
7541 * rt/mq_unlink.c: Likewise.
7542 * rt/shm_open.c: Likewise.
7543 * rt/shm_unlink.c: Likewise.
7544 * rt/timer_create.c: Likewise.
7545 * rt/timer_delete.c: Likewise.
7546 * rt/timer_getoverr.c: Likewise.
7547 * rt/timer_gettime.c: Likewise.
7548 * rt/timer_settime.c: Likewise.
7549 * setjmp/__longjmp.c: Likewise.
7550 * setjmp/setjmp.c: Likewise.
7551 * signal/kill.c: Likewise.
7552 * signal/killpg.c: Likewise.
7553 * signal/raise.c: Likewise.
7554 * signal/sigaction.c: Likewise.
7555 * signal/sigaltstack.c: Likewise.
7556 * signal/sigblock.c: Likewise.
7557 * signal/sigignore.c: Likewise.
7558 * signal/sigintr.c: Likewise.
7559 * signal/signal.c: Likewise.
7560 * signal/sigpause.c: Likewise.
7561 * signal/sigpending.c: Likewise.
7562 * signal/sigqueue.c: Likewise.
7563 * signal/sigreturn.c: Likewise.
7564 * signal/sigset.c: Likewise.
7565 * signal/sigsetmask.c: Likewise.
7566 * signal/sigstack.c: Likewise.
7567 * signal/sigsuspend.c: Likewise.
7568 * signal/sigtimedwait.c: Likewise.
7569 * signal/sigvec.c: Likewise.
7570 * signal/sigwait.c: Likewise.
7571 * signal/sigwaitinfo.c: Likewise.
7572 * signal/sysv_signal.c: Likewise.
7573 * socket/accept.c: Likewise.
7574 * socket/accept4.c: Likewise.
7575 * socket/bind.c: Likewise.
7576 * socket/connect.c: Likewise.
7577 * socket/getpeername.c: Likewise.
7578 * socket/getsockname.c: Likewise.
7579 * socket/getsockopt.c: Likewise.
7580 * socket/isfdtype.c: Likewise.
7581 * socket/listen.c: Likewise.
7582 * socket/recv.c: Likewise.
7583 * socket/recvfrom.c: Likewise.
7584 * socket/recvmsg.c: Likewise.
7585 * socket/send.c: Likewise.
7586 * socket/sendmsg.c: Likewise.
7587 * socket/sendto.c: Likewise.
7588 * socket/setsockopt.c: Likewise.
7589 * socket/shutdown.c: Likewise.
7590 * socket/sockatmark.c: Likewise.
7591 * socket/socket.c: Likewise.
7592 * socket/socketpair.c: Likewise.
7593 * stdio-common/ctermid.c: Likewise.
7594 * stdio-common/cuserid.c: Likewise.
7595 * stdio-common/remove.c: Likewise.
7596 * stdio-common/rename.c: Likewise.
7597 * stdio-common/renameat.c: Likewise.
7598 * stdio-common/tempname.c: Likewise.
7599 * stdlib/getcontext.c: Likewise.
7600 * stdlib/makecontext.c: Likewise.
7601 * stdlib/setcontext.c: Likewise.
7602 * stdlib/swapcontext.c: Likewise.
7603 * stdlib/system.c: Likewise.
7604 * streams/fattach.c: Likewise.
7605 * streams/fdetach.c: Likewise.
7606 * streams/getmsg.c: Likewise.
7607 * streams/getpmsg.c: Likewise.
7608 * streams/putmsg.c: Likewise.
7609 * streams/putpmsg.c: Likewise.
7610 * sysdeps/unix/bsd/getpt.c: Likewise.
7611 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7612 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7613 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7616 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7617 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7618 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7619 * sysvipc/msgctl.c: Likewise.
7620 * sysvipc/msgget.c: Likewise.
7621 * sysvipc/msgrcv.c: Likewise.
7622 * sysvipc/msgsnd.c: Likewise.
7623 * sysvipc/semctl.c: Likewise.
7624 * sysvipc/semget.c: Likewise.
7625 * sysvipc/semop.c: Likewise.
7626 * sysvipc/semtimedop.c: Likewise.
7627 * sysvipc/shmat.c: Likewise.
7628 * sysvipc/shmctl.c: Likewise.
7629 * sysvipc/shmdt.c: Likewise.
7630 * sysvipc/shmget.c: Likewise.
7631 * termios/tcdrain.c: Likewise.
7632 * termios/tcflow.c: Likewise.
7633 * termios/tcflush.c: Likewise.
7634 * termios/tcgetattr.c: Likewise.
7635 * termios/tcgetpgrp.c: Likewise.
7636 * termios/tcsendbrk.c: Likewise.
7637 * termios/tcsetattr.c: Likewise.
7638 * termios/tcsetpgrp.c: Likewise.
7639 * time/adjtime.c: Likewise.
7640 * time/clock.c: Likewise.
7641 * time/getitimer.c: Likewise.
7642 * time/gettimeofday.c: Likewise.
7643 * time/setitimer.c: Likewise.
7644 * time/settimeofday.c: Likewise.
7645 * time/stime.c: Likewise.
7646 * time/time.c: Likewise.
7648 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7650 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7653 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7655 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7657 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7661 FE_TONEAREST before applying Dekker multiplication and Knuth
7662 addition. Clear inexact exceptions and check for exact zero
7664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7665 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7666 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7667 * math/libm-test.inc (fma_test): Add more tests.
7668 (fma_test_towardzero): Likewise.
7669 (fma_test_downward): Likewise.
7670 (fma_test_upward): Likewise.
7671 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7673 (libc_fesetround): New macro.
7674 (libc_fesetroundf): Likewise.
7675 (libc_fesetroundl): Likewise.
7676 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7678 (libc_fesetround_387): Likewise.
7679 (libc_fesetroundf): New macro.
7680 (libc_fesetround): Likewise.
7681 (libc_fesetroundl): Likewise.
7682 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7684 (libc_fesetroundf): New macro.
7685 (libc_fesetround): Likewise.
7686 (libc_fesetroundl): Likewise.
7687 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7688 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7689 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7691 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7692 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7694 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7695 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7697 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7701 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7702 integer constant usable in #if and use that to give value to enum
7704 (FE_DIVBYZERO): Likewise.
7705 (FE_UNDERFLOW): Likewise.
7706 (FE_OVERFLOW): Likewise.
7707 (FE_INVALID): Likewise.
7708 (FE_INVALID_SNAN): Likewise.
7709 (FE_INVALID_ISI): Likewise.
7710 (FE_INVALID_IDI): Likewise.
7711 (FE_INVALID_ZDZ): Likewise.
7712 (FE_INVALID_IMZ): Likewise.
7713 (FE_INVALID_COMPARE): Likewise.
7714 (FE_INVALID_SOFTWARE): Likewise.
7715 (FE_INVALID_SQRT): Likewise.
7716 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7717 (FE_TONEAREST): Likewise.
7718 (FE_TOWARDZERO): Likewise.
7719 (FE_UPWARD): Likewise.
7720 (FE_DOWNWARD): Likewise.
7721 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7722 (FE_DIVBYZERO): Likewise.
7723 (FE_OVERFLOW): Likewise.
7724 (FE_UNDERFLOW): Likewise.
7725 (FE_INEXACT): Likewise.
7726 (FE_TONEAREST): Likewise.
7727 (FE_DOWNWARD): Likewise.
7728 (FE_UPWARD): Likewise.
7729 (FE_TOWARDZERO): Likewise.
7730 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7731 (FE_UNDERFLOW): Likewise.
7732 (FE_OVERFLOW): Likewise.
7733 (FE_DIVBYZERO): Likewise.
7734 (FE_INVALID): Likewise.
7735 (FE_TONEAREST): Likewise.
7736 (FE_TOWARDZERO): Likewise.
7737 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7738 (FE_OVERFLOW): Likewise.
7739 (FE_UNDERFLOW): Likewise.
7740 (FE_DIVBYZERO): Likewise.
7741 (FE_INEXACT): Likewise.
7742 (FE_TONEAREST): Likewise.
7743 (FE_TOWARDZERO): Likewise.
7744 (FE_UPWARD): Likewise.
7745 (FE_DOWNWARD): Likewise.
7746 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7747 (FE_DIVBYZERO): Likewise.
7748 (FE_OVERFLOW): Likewise.
7749 (FE_UNDERFLOW): Likewise.
7750 (FE_INEXACT): Likewise.
7751 (FE_TONEAREST): Likewise.
7752 (FE_DOWNWARD): Likewise.
7753 (FE_UPWARD): Likewise.
7754 (FE_TOWARDZERO): Likewise.
7756 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7758 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7760 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7762 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7763 commands. Quote $PWD.
7764 (blacklist_exports): Don't use remove_newlines. Replace "declare
7766 (remove_newlines): Remove.
7768 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7770 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7771 * stdlib/stdlib.h (atof): Moved to ...
7772 * include/bits/stdlib-float.h: Here. New file.
7773 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7774 * stdlib/bits/stdlib-float.h: New file.
7775 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7777 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7780 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7782 * conform/conformtest.pl (@headers): Add fenv.h.
7783 * conform/data/fenv.h-data: New file.
7784 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7785 include of <math/fenv.h>.
7787 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7788 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7789 && !UNIX98]. Enables tests for XOPEN2K8.
7790 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7791 POSIX2008]: Likewise.
7793 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7794 (struct rusage): Do not expect type or its members.
7797 * math/math.h (FP_NAN): Define macro to integer constant usable in
7798 #if and use that to give value to enum constant.
7799 (FP_INFINITE): Likewise.
7800 (FP_ZERO): Likewise.
7801 (FP_SUBNORMAL): Likewise.
7802 (FP_NORMAL): Likewise.
7804 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7806 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7807 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7810 2012-11-02 Roland McGrath <roland@hack.frob.com>
7812 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7813 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7814 autoconf-time if not.
7815 * configure.in: Remove AC_PREREQ.
7817 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7819 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7820 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7821 of the internal implementation.
7823 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7825 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7826 except include of <misc/sys/syslog.h>.
7828 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7831 function returns with a NULL context exit with zero.
7833 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7835 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7837 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7839 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7840 (run_program_cmd): This.
7841 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7842 (tst_langinfo): New variable. Use it.
7844 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7846 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7847 floating point opcodes.
7849 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7851 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7854 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7856 * sysdeps/mach/hurd/powerpc: Remove directory.
7857 * sysdeps/mach/powerpc: Likewise.
7859 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7861 * scripts/check-local-headers.sh: Ignore c++ headers.
7863 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7865 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7866 __libc_cleanup_region_start argument.
7868 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7873 x * y using scaling, not as x * y + z.
7874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7875 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7876 * math/libm-test.inc (fma_test): Add more tests.
7877 (fma_test_towardzero): Likewise.
7878 (fma_test_downward): Likewise.
7879 (fma_test_upward): Likewise.
7881 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7883 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7885 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7887 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7890 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7892 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7894 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7901 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7904 Fix the order of the list for glibc 2.17.
7905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7908 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7912 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7915 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7916 for low part of x being zero before using __atanl (y).
7917 * math/libm-test.inc (atan2_test): Add another test.
7919 * manual/install.texi (Configuring and compiling): Document
7920 general use of test-wrapper and test-wrapper-env.
7921 * INSTALL: Regenerated.
7923 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7924 (__fma): 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-128/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 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7932 (__fmal): Do not extract and scale down low bits on after-rounding
7933 systems when result rounded to normal precision would have normal
7935 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7937 (fma_test): Add more tests.
7938 (fma_test_towardzero): Likewise.
7939 (fma_test_downward): Likewise.
7940 (fma_test_upward): Likewise.
7942 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7944 * sysdeps/i386/tininess.h: Renamed to ...
7945 * sysdeps/x86/tininess.h: This.
7946 * sysdeps/x86_64/tininess.h: Removed.
7948 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7950 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7951 input. Use $(build-program-cmd).
7952 ($(objpfx)tst-array1-static.out): Likewise.
7953 ($(objpfx)tst-array2.out): Likewise.
7954 ($(objpfx)tst-array3.out): Likewise.
7955 ($(objpfx)tst-array4.out): Likewise.
7956 ($(objpfx)tst-array5.out): Likewise.
7957 ($(objpfx)tst-array5-static.out): Likewise.
7959 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7961 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7964 * nss/nsswitch.h (nss_interface_function): Provide new
7965 macro for use with NSS functions.
7966 * grp/initgroups.c: Use new macro.
7967 * nss/getXXbyYY.c: Likewise.
7968 * nss/getXXbyYY_r.c: Likewise.
7969 * nss/getXXent.c: Likewise.
7970 * nss/getXXent_r.c: Likewise.
7971 * sysdeps/posix/getaddrinfo.c: Likewise.
7973 2012-10-30 Andreas Jaeger <aj@suse.de>
7975 * po/ru.po: Update Russion translation from translation project.
7977 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7982 result and shift together with sticky bit instead of replicating
7983 round-to-nearest rounding.
7984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7985 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7986 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7987 missing underflow exceptions.
7988 (fma_test_towardzero): Add more tests.
7989 (fma_test_downward): Likewise.
7990 (fma_test_upward): Likewise.
7993 * sysdeps/generic/tininess.h: New file.
7994 * sysdeps/i386/tininess.h: Likewise.
7995 * sysdeps/sh/tininess.h: Likewise.
7996 * sysdeps/x86_64/tininess.h: Likewise.
7997 * stdlib/tst-strtod-underflow.c: Likewise.
7998 * stdlib/tst-tininess.c: Likewise.
7999 * stdlib/strtod_l.c: Include <tininess.h>.
8000 (round_and_return): Do not set errno for exact underflow cases.
8001 Force an underflow exception when setting errno for underflow.
8002 Determine underflow based on rounding to normal precision if
8003 TININESS_AFTER_ROUNDING.
8004 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8005 ERANGE for exact underflow cases.
8006 * stdlib/Makefile (tests): Add tst-tininess and
8007 tst-strtod-underflow.
8008 ($(objpfx)tst-tininess): Use $(link-libm).
8009 ($(objpfx)tst-strtod-underflow): Likewise.
8011 2012-10-30 Andreas Jaeger <aj@suse.de>
8014 * elf/Makefile (tests): Remove conditional for have-initfini-array
8015 since this is now always required and the variable does not exist
8017 (tests-static): Likewise.
8018 (modules-names): Likewise.
8020 * po/eo.po: Add Esperanto translation from translation project.
8022 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8023 merged with constructor/destructor.
8024 (init_array): Likewise.
8025 * elf/tst-array2dep.c (fini_array): Likewise.
8026 (init_array): Likewise.
8028 2012-10-29 Mike Frysinger <vapier@gentoo.org>
8030 * manual/message.texi: Delete @cartouche tags.
8032 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8034 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8036 * sysdeps/mach/hurd/fsync.c: Likewise.
8038 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8039 [_POSIX_REALTIME_SIGNALS]: Change condition to
8040 [_POSIX_REALTIME_SIGNALS > 0].
8042 2012-10-27 Andreas Jaeger <aj@suse.de>
8044 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8045 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8047 [__WORDSIZE != 64]: Likewise.
8049 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8051 * iconvdata/tst-table.sh: Remove ${SHELL}.
8052 * iconvdata/tst-tables.sh: Likewise.
8054 2012-10-25 David S. Miller <davem@davemloft.net>
8056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8057 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8060 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8062 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8063 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8064 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8067 2012-10-25 Roland McGrath <roland@hack.frob.com>
8069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8070 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8073 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8074 Jim Blandy <jimb@codesourcery.com>
8076 * scripts/cross-test-ssh.sh: New file.
8077 * manual/install.texi (Configuring and compiling): Document use of
8079 * INSTALL: Regenerated.
8081 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8083 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8086 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8088 * Makeconfig (run-program-prefix): Fix comment.
8090 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8091 Jim Blandy <jimb@codesourcery.com>
8093 * Makeconfig (test-wrapper): New variable,
8094 (test-wrapper-env): Likewise.
8095 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8096 (run-built-tests): Define to yes.
8097 (run-program-prefix): Use $(test-wrapper).
8098 (built-program-cmd): Likewise.
8099 * Rules (make-test-out): Use $(test-wrapper-env) and
8100 $(host-built-program-cmd).
8101 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8102 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8104 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8105 $(test-wrapper-env) to tst-rtld-load-self.sh.
8106 ($(objpfx)order2.out): Use $(test-wrapper).
8107 ($(objpfx)tst-initorder.out): Likewise.
8108 ($(objpfx)tst-initorder2.out): Likewise.
8109 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8110 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8111 (test_wrapper_env): New variable. Use it to run ld.so.
8112 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8113 Use it to run ld.so.
8114 (test_wrapper_env): Likewise.
8115 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8116 $(test-wrapper) to run-iconv-test.sh.
8117 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8118 (ICONV): Use $test_wrapper.
8119 * posix/Makefile ($(objpfx)globtest.out): Pass
8120 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8121 globtest.sh, not $(run-program-prefix).
8122 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8123 (test_wrapper): Likewise.
8124 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8125 set together with run_via_rtld_prefix.
8126 (run_program_prefix): Define in terms of test_wrapper and
8127 run_via_rtld_prefix.
8129 2012-10-24 Roland McGrath <roland@hack.frob.com>
8131 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8132 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8136 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8137 Declare __clock_getres, __clock_gettime, __clock_settime,
8138 __clock_nanosleep, and __clock_getcpuclockid.
8139 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8140 Remove librt_hidden_def (clock_gettime).
8141 * sysdeps/unix/clock_gettime.c: Likewise.
8142 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8143 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8144 * rt/clock_getres.c: Define __clock_getres as an alias.
8145 * sysdeps/posix/clock_getres.c: Likewise.
8146 * rt/clock_settime.c: Define __clock_settime as an alias.
8147 * sysdeps/unix/clock_settime.c: Likewise.
8148 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8149 * sysdeps/unix/clock_nanosleep.c: Likewise.
8150 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8151 * rt/clock-compat.c: New file.
8152 * rt/Makefile (librt-routines): Add clock-compat and move
8153 $(clock-routines) to ...
8154 (routines): ... here, new variable.
8155 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8156 Don't add get_clockfreq here.
8157 * rt/Versions (libc: GLIBC_2.17): New version set.
8158 Add clock_* symbols here.
8159 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8160 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8161 (GLIBC_2.17): Add clock_* symbols.
8162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8164 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8173 * NEWS: Mention the move.
8175 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8176 Use __open, __read, __close rather than their public counterparts.
8177 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8178 (__get_clockfreq_via_cpuinfo): Likewise.
8179 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8180 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8182 * config.h.in (HAVE_IFUNC): New #undef.
8183 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8185 * configure: Regenerated.
8187 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8189 * configure.in: Move READELF check to start of file.
8190 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8191 libc_cv_asm_gnu_indirect_function in the process.
8192 * configure: Regenerated.
8194 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8196 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8197 send the output to /dev/null.
8198 (libc_cv_cc_with_libunwind): Likewise.
8199 (libc_cv_as_noexecstack): Likewise.
8200 * configure: Regenerate.
8202 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8204 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8206 * posix/globtest.sh (TMPDIR): Do not set.
8207 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8208 (testout): Likewise.
8210 2012-10-24 Andreas Jaeger <aj@suse.de>
8212 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8213 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8214 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8215 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8216 posix_fadvise64, posix_fallocate64.
8218 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8219 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8220 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8222 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8224 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8227 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8228 <bits/fcntl-linux.h>.
8229 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8232 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8233 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8234 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8235 [__WORDSIZE != 64]: Likewise.
8237 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8239 * Makeconfig (run-built-tests): New variable.
8240 * Rules [$(cross-compiling) = yes]: Change condition to
8241 [$(run-built-tests) = no].
8242 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8243 to [$(run-built-tests) = yes].
8244 * elf/Makefile [$(cross-compiling) = no]: Likewise
8245 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8246 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8247 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8248 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8249 * io/Makefile [$(cross-compiling) = no]: Likewise.
8250 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8251 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8252 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8253 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8254 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8255 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8256 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8257 * string/Makefile [$(cross-compiling) = no]: Likewise.
8259 * posix/Makefile ($(objpfx)globtest.out): Pass
8260 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8261 $(rtld-installed-name).
8262 * posix/globtest.sh (elf_objpfx): Remove variable.
8263 (rtld_installed_name): Likewise.
8264 (library_path): Likewise.
8265 (run_program_prefix): New variable. Use for running globtest
8268 2012-10-23 Jim Blandy <jimb@codesourcery.com>
8269 Joseph Myers <joseph@codesourcery.com>
8271 * Makeconfig (host-built-program-cmd): New variable.
8272 * elf/Makefile (tst-stackguard1-ARGS): Use
8273 $(host-built-program-cmd).
8274 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8275 (tst-spawn-ARGS): Likewise.
8276 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8278 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8279 Jim Blandy <jimb@codesourcery.com>
8281 * Makeconfig (run-via-rtld-prefix): New variable.
8282 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8283 (built-program-cmd): Likewise.
8285 2012-10-22 Andreas Jaeger <aj@suse.de>
8287 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8288 __O_RSYNC if it exists, otherwise to O_SYNC.
8290 2012-10-22 Jim Blandy <jimb@codesourcery.com>
8291 Joseph Myers <joseph@codesourcery.com>
8293 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8295 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8297 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8300 2012-10-22 Andreas Jaeger <aj@suse.de>
8302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8309 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8310 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8317 2012-10-21 Jim Blandy <jimb@codesourcery.com>
8318 Joseph Myers <joseph@codesourcery.com>
8320 * config.make.in (NM): New variable.
8322 2012-10-21 Andreas Jaeger <aj@suse.de>
8324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8325 definitions and declarations that are provided by
8326 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8328 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8331 * elf/Makefile (tests-static): Add tst-leaks1-static.
8332 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8333 ($(objpfx)tst-leaks1-static): New rule.
8334 ($(objpfx)tst-leaks1-static-mem): Likewise.
8335 (tst-leaks1-static-ENV): New macro.
8336 * elf/dl-open.c (dl_open_worker): Check the main application
8337 only if SHARED is defined.
8338 * elf/tst-leaks1-static.c: New file.
8340 2012-10-20 Andreas Jaeger <aj@suse.de>
8342 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8343 generic values for Linux.
8344 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8345 and declarations that are provided by <bits/fcntl-linux.h> and
8346 include <bits/fcntl-linux.h>.
8347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8348 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8350 2012-10-20 Roland McGrath <roland@hack.frob.com>
8352 * io/fcntl.h: Move include of <bits/types.h> to the top and
8353 include it unconditionally.
8355 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8357 * wcsmbs/Makefile (tests-ifunc): New variable.
8358 (tests): Add $(tests-ifunc).
8359 * wcsmbs/test-wcschr-ifunc.c: New file.
8360 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8361 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8362 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8363 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8364 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8366 * string/Makefile (tests-ifunc): New variable.
8367 (tests): Add $(tests-ifunc).
8368 * string/test-memccpy.c (TEST_NAME): New macro.
8369 * string/test-memchr.c (TEST_NAME): Likewise.
8370 * string/test-memcmp.c (TEST_NAME): Likewise.
8371 * string/test-memcpy.c (TEST_NAME): Likewise.
8372 * string/test-memmem.c (TEST_NAME): Likewise.
8373 * string/test-memmove.c (TEST_NAME): Likewise.
8374 * string/test-memset.c (TEST_NAME): Likewise.
8375 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8376 * string/test-stpcpy.c (TEST_NAME): Likewise.
8377 * string/test-stpncpy.c (TEST_NAME): Likewise.
8378 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8379 * string/test-strcasestr.c (TEST_NAME): Likewise.
8380 * string/test-strcat.c (TEST_NAME): Likewise.
8381 * string/test-strchr.c (TEST_NAME): Likewise.
8382 * string/test-strcmp.c(TEST_NAME): Likewise.
8383 * string/test-strcpy.c (TEST_NAME): Likewise.
8384 * string/test-strcspn.c (TEST_NAME): Likewise.
8385 * string/test-strlen.c (TEST_NAME): Likewise.
8386 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8387 * string/test-strncmp.c (TEST_NAME): Likewise.
8388 * string/test-strncpy.c (TEST_NAME): Likewise.
8389 * string/test-strnlen.c (TEST_NAME): Likewise.
8390 * string/test-strpbrk.c (TEST_NAME): Likewise.
8391 * string/test-strrchr.c (TEST_NAME): Likewise.
8392 * string/test-strspn.c (TEST_NAME): Likewise.
8393 * string/test-strstr.c (TEST_NAME): Likewise.
8394 * string/test-bcopy-ifunc.c: New file.
8395 * string/test-bzero-ifunc.c: Likewise.
8396 * string/test-memccpy-ifunc.c: Likewise.
8397 * string/test-memchr-ifunc.c: Likewise.
8398 * string/test-memcmp-ifunc.c: Likewise.
8399 * string/test-memcpy-ifunc.c: Likewise.
8400 * string/test-memmem-ifunc.c: Likewise.
8401 * string/test-memmove-ifunc.c: Likewise.
8402 * string/test-mempcpy-ifunc.c: Likewise.
8403 * string/test-memset-ifunc.c: Likewise.
8404 * string/test-rawmemchr-ifunc.c: Likewise.
8405 * string/test-stpcpy-ifunc.c: Likewise.
8406 * string/test-stpncpy-ifunc.c: Likewise.
8407 * string/test-strcasecmp-ifunc.c: Likewise.
8408 * string/test-strcasestr-ifunc.c: Likewise.
8409 * string/test-strcat-ifunc.c: Likewise.
8410 * string/test-strchr-ifunc.c: Likewise.
8411 * string/test-strchrnul-ifunc.c: Likewise.
8412 * string/test-strcmp-ifunc.c: Likewise.
8413 * string/test-strcpy-ifunc.c: Likewise.
8414 * string/test-strcspn-ifunc.c: Likewise.
8415 * string/test-strlen-ifunc.c: Likewise.
8416 * string/test-strncasecmp-ifunc.c: Likewise.
8417 * string/test-strncat-ifunc.c: Likewise.
8418 * string/test-strncmp-ifunc.c: Likewise.
8419 * string/test-strncpy-ifunc.c: Likewise.
8420 * string/test-strnlen-ifunc.c: Likewise.
8421 * string/test-strpbrk-ifunc.c: Likewise.
8422 * string/test-strrchr-ifunc.c: Likewise.
8423 * string/test-strspn-ifunc.c: Likewise.
8424 * string/test-strstr-ifunc.c: Likewise.
8426 * debug/Makefile (tests-ifunc): New variable.
8427 (tests): Add $(tests-ifunc).
8428 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8429 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8430 * debug/test-stpcpy_chk-ifunc.c: New file.
8431 * debug/test-strcpy_chk-ifunc.c: Likewise.
8433 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8436 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8437 header is not read in.
8439 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8441 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8442 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8443 directly. Pass built executable to script as
8444 $(built-program-cmd).
8445 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8446 $testprogram without using LD_LIBRARY_PATH and $ldso.
8448 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8449 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8450 $(rtld-installed-name).
8451 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8452 (rtld_installed_name): Likewise.
8453 (library_path): Likewise.
8454 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8455 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8456 $(run-program-prefix) to tst-tables.sh.
8457 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8458 it to run tst-table-from and tst-table-to.
8459 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8460 Pass it to tst-table.sh.
8461 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8462 $(run-program-prefix) to tst-gettext.sh.
8463 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8465 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8467 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8469 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8470 to run tst-gettext2.
8471 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8472 to run tst-translit.
8473 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8474 $(run-program-prefix) to tst-mtrace.sh.
8475 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8477 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8478 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8479 $(rtld-installed-name).
8480 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8481 (rtld_installed_name): Likewise.
8482 (run_program_prefix): New variable. Use it to run wordexp-test.
8484 * Makeconfig (ARCH): Remove all definitions.
8485 (machine): Likewise.
8486 [ARCH]: Remove conditional code.
8487 [!objdir]: Give error.
8488 [!objdir] (objpfx): Remove.
8489 [!objdir] (common-objpfx): Likewise.
8490 [!objdir] (common-objdir): Likewise.
8491 * configure.in (config_makefile): Remove. Hardcode Makefile in
8492 AC_CONFIG_FILES call.
8493 * configure: Regenerated.
8496 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8498 (testout): Likewise.
8500 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8501 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8502 $(rtld-installed-name).
8503 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8504 (rtld_installed_name): Likwise.
8505 (runit): Remove function.
8506 (run_getconf): New variable, Use it for running getconf binary.
8508 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8511 * string/test-memmem.c (check_result): New function.
8512 (do_one_test): Use it.
8513 (check1): New function.
8514 (test_main): Use it.
8516 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8518 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8520 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8522 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8523 (_G_LSEEK64): Likewise.
8524 (_G_MMAP64): Likewise.
8525 (_G_FSTAT64): Likewise.
8526 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8527 (_G_LSEEK64): Likewise.
8528 (_G_MMAP64): Likewise.
8529 (_G_FSTAT64): Likewise.
8530 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8531 unconditional. Call __mmap64 directly.
8532 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8533 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8535 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8536 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8538 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8539 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8541 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8542 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8544 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8545 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8547 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8548 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8549 __fxstat64 directly.
8550 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8551 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8553 (freopen64) [!_G_OPEN64]: Remove conditional code.
8554 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8556 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8557 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8559 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8560 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8562 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8563 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8565 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8566 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8568 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8569 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8571 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8572 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8574 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8576 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8579 * manual/memory.texi (Malloc Tunable Parameters): Add note
8580 about free list pointers overwriting some perturb bytes.
8581 Wording suggested by Roland McGrath.
8583 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8585 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8586 (lgamma_test): Likewise.
8587 (tgamma_test): Likewise.
8589 2012-10-16 Florian Weimer <fweimer@redhat.com>
8592 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8593 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8595 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8597 * NEWS: Mention BZ #14716.
8598 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8599 when removing AVAILABLE1_USES_J macro.
8601 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8603 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8604 (__bswap_64): __uint64_t for unsigned 64-bit int.
8606 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8608 * include/string.h (memmem): Declare libc hidden alias.
8609 * string/memmem.c (memmem): Define libc hidden alias.
8610 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8611 __read, __close instead of open, read, close.
8613 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8616 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8618 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8619 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8620 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8622 (__rawmemchr_sse2): Likewise.
8623 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8624 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8625 (__strchr_sse2): Likewise.
8626 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8627 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8628 (__strcasecmp_sse2): Likewise.
8629 (__strncasecmp_sse2): Likewise.
8630 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8631 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8632 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8633 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8634 (__strrchr_sse2): Likewise.
8635 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8637 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8638 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8639 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8640 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8641 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8642 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8643 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8644 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8645 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8646 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8647 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8648 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8649 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8650 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8651 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8652 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8653 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8654 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8655 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8656 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8657 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8658 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8659 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8660 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8661 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8662 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8663 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8664 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8665 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8666 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8668 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8670 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8671 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8672 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8673 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8675 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8677 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8678 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8679 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8680 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8682 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8683 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8684 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8685 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8686 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8687 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8688 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8689 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8690 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8691 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8692 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8693 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8694 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8695 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8696 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8697 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8698 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8699 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8700 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8701 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8702 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8703 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8704 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8705 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8706 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8707 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8708 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8709 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8710 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8711 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8712 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8713 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8714 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8715 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8716 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8717 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8718 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8719 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8720 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8721 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8722 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8724 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8725 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8726 * include/ifunc-impl-list.h: New file.
8727 * misc/ifunc-impl-list.c: Likewise.
8728 * misc/Makefile (routines): Add ifunc-impl-list.
8729 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8730 * string/test-string.h: Include <ifunc-impl-list.h>.
8731 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8732 impl_array): New variables.
8733 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8735 (test_init): Call __libc_ifunc_impl_list to initialize
8736 func_list if TEST_IFUNC and TEST_NAME are defined.
8738 * string/Makefile (strop-tests): Add bcopy and bzero.
8739 * string/test-bcopy.c: New file.
8740 * string/test-bzero.c: Likewise.
8741 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8743 * string/test-memset.c: Support bzero test if TEST_BZERO is
8745 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8747 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8749 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8752 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8754 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8755 * configure: Regenerated.
8757 * Makeconfig (+link-static-before-libc): Don't include
8758 $(link-static-libc).
8760 * libio/libio.h (_IO_pos_t): Remove.
8762 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8764 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8767 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8769 * crypt/crypt-entry.c: Include fips-private.h.
8770 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8771 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8772 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8773 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8775 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8777 * crypt/crypt-private.h: Include stdbool.h.
8778 (_ufc_setup_salt_r): Return bool.
8779 * crypt/crypt-entry.c: Include errno.h.
8780 (__crypt_r): Return NULL with EINVAL for bad salt.
8781 * crypt/crypt_util.c (bad_for_salt): New.
8782 (_ufc_setup_salt_r): Check that salt is long enough and within
8783 the specified alphabet.
8784 * crypt/badsalttest.c: New file.
8785 * crypt/Makefile (tests): Add it.
8786 ($(objpfx)badsalttest): New.
8788 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8790 * NEWS: Add entry for BZ #14602.
8792 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8794 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8796 * math/libm-test.inc: Update comment listing what functions and
8798 (isgreater_test): New function.
8799 (isgreaterequal_test): Likewise.
8800 (isless_test): Likewise.
8801 (islessequal_test): Likewise.
8802 (islessgreater_test): Likewise.
8803 (isunordered_test): Likewise.
8804 (main): Call the new functions.
8806 2012-10-09 Roland McGrath <roland@hack.frob.com>
8808 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8809 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8810 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8811 * sysdeps/i386/configure: Regenerated.
8812 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8813 * sysdeps/mach/configure: Regenerated.
8814 * sysdeps/mach/hurd/configure: Regenerated.
8815 * sysdeps/powerpc/configure: Regenerated.
8816 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8817 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8818 * sysdeps/s390/s390-32/configure: Regenerated.
8819 * sysdeps/s390/s390-64/configure: Regenerated.
8820 * sysdeps/sh/configure: Regenerated.
8821 * sysdeps/sparc/configure: Regenerated.
8822 * sysdeps/unix/sysv/linux/configure: Regenerated.
8823 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8824 * sysdeps/x86_64/configure: Regenerated.
8826 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8827 defined. Don't check if MAP is NULL.
8829 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8831 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8832 (_G_stat64): Likewise.
8833 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8834 (_G_stat64): Likewise.
8835 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8836 instead of struct _G_stat64.
8837 * libio/fileops.c (mmap_remap_check): Likewise.
8838 (decide_maybe_mmap): Likewise.
8839 (_IO_new_file_seekoff): Likewise.
8840 (_IO_file_stat): Likewise.
8841 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8843 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8844 instead of struct _G_stat64.
8845 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8847 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8850 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8852 (CHECK_EOL): New macro.
8853 (two_way_short_needle): Check beginning of haystack for EOL. Use
8855 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8856 Replace with CHECK_EOL.
8857 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8858 Replace with CHECK_EOL.
8860 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8862 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8864 * math/libm-test.inc: Update comment listing what functions and
8866 (finite_test): New function.
8867 (isinf_test): Likewise.
8868 (isnan_test): Likewise.
8869 (fpclassify_test): Test subnormal input.
8870 (isfinite_test): Likewise.
8871 (isnormal_test): Likewise.
8872 (main): Call the new functions.
8874 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8877 * Makerules (%.dynsym): Force C locale when running
8878 $(OBJDUMP) --dynamic-syms.
8880 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8882 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8885 2012-10-06 David S. Miller <davem@davemloft.net>
8887 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8888 upper 32-bits of the length value in %o2 since we use branch-on-register
8889 tests which consider the entire 64-bit register.
8891 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8893 * string/test-strstr.c (check2): Add a test for page boundary.
8895 2012-10-05 David S. Miller <davem@davemloft.net>
8897 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8898 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8900 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8902 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8903 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8904 and bzero when HWCAP_SPARC_CRYPTO is present.
8906 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8909 * string/test-strstr.c (check2): New function.
8910 (test_main): Call check2.
8912 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8914 * string/bug-strcasestr1.c (do_test): Moved to ...
8915 * string/test-strcasestr.c (check1): Here. New function.
8916 (do_one_test): Break out result checking code into ...
8917 (check_result): This. New function.
8918 (do_one_test): Call check_result.
8919 (test_main): Call check1.
8920 * string/bug-strchr1.c (do_test): Moved to ...
8921 * string/test-strchr.c (check1): Here. New function.
8922 (do_one_test): Break out result checking code into ...
8923 (check_result): This. New function.
8924 (do_one_test): Call check_result.
8925 (test_main): Call check1.
8926 * string/bug-strstr1.c (main): Moved to ...
8927 * string/test-strstr.c (check1): Here. New function.
8928 (do_one_test): Break out result checking code into ...
8929 (check_result): This. New function.
8930 (do_one_test): Call check_result.
8931 (test_main): Call check1.
8932 * string/bug-strcasestr1.c: Removed.
8933 * string/bug-strchr1.c: Likewise.
8934 * string/bug-strstr1.c: Likewise.
8936 * elf/Makefile (dl-routines): Add hwcaps.
8937 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8938 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8939 (_dl_important_hwcaps): Moved to ...
8940 * elf/dl-hwcaps.c: Here. New file.
8941 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8944 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8945 if IS_IN_rtld isn't defined.
8947 * elf/dl-support.c (_dl_sysinfo_map): New.
8948 Include "get-dynamic-info.h" and "setup-vdso.h".
8949 (_dl_non_dynamic_init): Call setup_vdso.
8950 * elf/dynamic-link.h: Don't include <assert.h>.
8951 (elf_get_dynamic_info): Moved to ...
8952 * elf/get-dynamic-info.h: Here. New file.
8953 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8954 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8955 * elf/setup-vdso.h: Here. New file.
8956 * elf/rtld.c: Include "setup-vdso.h".
8957 (dl_main): Call setup_vdso.
8959 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8961 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8962 creal in comment listing functions tested. List finite, isinf,
8963 isnan, isless, islessequal, isgreater, isgreaterequal,
8964 islessgreater, isunordered, lgamma_r and pow10 as functions and
8965 macros not tested. Mention which functions not tested are aliases
8966 for other functions. Fix typo. Note that signs of NaNs are not
8969 * scripts/config.guess: Update from config.git.
8970 * scripts/config.sub: Likewise.
8972 2012-10-04 Roland McGrath <roland@hack.frob.com>
8974 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8975 * misc/madvise.c (madvise): Renamed to __madvise.
8976 Make madvise a weak alias.
8977 * include/sys/mman.h: Declare __madvise.
8978 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8979 * sysdeps/unix/syscalls.list
8980 (madvise): Make __madvise the strong name, and madvise a weak alias.
8981 * sysdeps/unix/sysv/linux/syscalls.list
8982 (madvise, mmap): Remove redundant entries.
8983 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8984 * malloc/malloc.c (mtrim): Likewise.
8985 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8987 2012-10-03 Roland McGrath <roland@hack.frob.com>
8989 * sysdeps/mach/hurd/dl-cache.c: File removed.
8990 * config.h.in (USE_LDCONFIG): New #undef.
8991 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8992 * configure: Regenerated.
8993 * elf/Makefile (dl-routines): Add dl-cache only under
8994 [$(use-ldconfig) = yes].
8995 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8996 cache on [USE_LDCONFIG].
8997 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8999 * elf/rtld.c (dl_main): Likewise.
9001 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9003 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9004 _SC_LEVEL4_CACHE_LINESIZE.
9006 2012-10-03 Roland McGrath <roland@hack.frob.com>
9008 * sysdeps/unix/bsd/confstr.h: File removed.
9010 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
9012 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9015 2012-10-02 Roland McGrath <roland@hack.frob.com>
9017 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9018 Make 'mapoff' field ElfW(Off) rather than off_t.
9020 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9022 * nscd/Makefile: Remove nscd-cflags and all its users.
9023 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9024 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9027 * malloc.c (malloc_printerr): Clarify error message.
9029 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9033 Set bit_FMA_Usable if FMA is supported.
9034 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9036 (bit_FMA4_Usable): Updated.
9037 (index_FMA_Usable): New macro.
9038 (CPUID_FMA): Likewise
9039 (HAS_FMA): Defined with bit_FMA_Usable.
9041 2012-10-01 Roland McGrath <roland@hack.frob.com>
9043 * bits/types.h (__swblk_t): Type removed.
9044 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9045 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9047 (__SWBLK_T_TYPE): Likewise.
9048 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9049 (__SWBLK_T_TYPE): Likewise.
9050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9051 (__SWBLK_T_TYPE): Likewise.
9052 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9053 (__SWBLK_T_TYPE): Likewise.
9055 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
9056 Honza Horak <hhorak@redhat.com>
9058 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9059 (xdr_mapname): Use YPMAXMAP as maxsize.
9060 (xdr_peername): Use YPMAXPEER as maxsize.
9061 (xdr_keydat): Use YPAXRECORD as maxsize.
9062 (xdr_valdat): Use YPMAXRECORD as maxsize.
9064 2012-10-01 Roland McGrath <roland@hack.frob.com>
9066 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9068 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9069 * csu/init-first.c: ... here.
9070 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9071 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9072 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9073 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9074 * sysdeps/i386/init-first.c: File removed.
9075 * sysdeps/sh/init-first.c: File removed.
9077 2012-10-01 Joseph Myers <joseph@codesourcery.com>
9080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9081 if x * y might underflow to zero and z is zero.
9082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9084 * math/libm-test.inc (min_subnorm_value): New variable.
9085 (fma_test): Add more tests.
9086 (fma_test_towardzero): Likewise.
9087 (fma_test_downward): Likewise
9088 (fma_test_upward): Likewise.
9089 (initialize): Set min_subnorm_value.
9091 2012-09-29 Joseph Myers <joseph@codesourcery.com>
9094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9096 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9097 mode for addition resulting in exact zero.
9098 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9099 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9101 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9102 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9103 * math/libm-test.inc (fma_test): Add more tests.
9104 (fma_test_towardzero): New function.
9105 (fma_test_downward): Likewise.
9106 (fma_test_upward): Likewise.
9107 (main): Call the new functions.
9109 2012-09-28 David S. Miller <davem@davemloft.net>
9111 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9113 2012-09-28 Roland McGrath <roland@hack.frob.com>
9115 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9118 * sysdeps/gnu/_G_config.h: Moved to ...
9119 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9120 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9121 * sysdeps/generic/_G_config.h: ... here.
9123 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9125 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9127 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9128 Conditionalize target on [libnss_test1.so-version].
9130 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9132 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9133 (elfobjdir): Move out of conditionals.
9135 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9136 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9137 (__nss_lookup_function): Conditionalize label remove_from_tree on
9138 [!DO_STATIC_NSS || SHARED], matching its only use.
9140 2012-09-28 David S. Miller <davem@davemloft.net>
9142 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9143 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9145 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9147 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9149 when HWCAP_SPARC_CRYPTO is present.
9151 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9153 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9155 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9158 * stdio-common/vfprintf.c (process_string_arg): Revert
9161 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9163 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9165 * stdio-common/tst-sprintf.c: Include <locale.h>
9166 (main): Test sprintf's handling of incomplete multibyte
9169 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9171 * elf/dl-runtime.c (VERSYMIDX): Removed.
9172 * elf/dl-version.c (VERSYMIDX): Likewise.
9173 * elf/do-rel.h (VERSYMIDX): Likewise.
9175 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9176 * elf/rtld.c (VALIDX): Likewise.
9177 (ADDRIDX): Likewise.
9178 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9179 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9180 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9181 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9183 (ADDRIDX): Likewise.
9185 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9187 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9189 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9192 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9194 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9195 addresses are in the same scope as 192.0.2/24.
9196 * posix/gai.conf: Document new scope table defaults.
9198 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9201 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9202 for ftell. Compute offsets from write pointers instead.
9203 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9205 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9208 * libio/Makefile (tests): New test case tst-fseek.
9209 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9210 combination works in wide mode.
9211 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9212 state when the external buffer state changes.
9214 2012-09-27 David S. Miller <davem@davemloft.net>
9217 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9218 pass reloc->r_addend in as the 'high' argument to
9219 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9223 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9225 * rt/tst-aio2.c: Include <pthread.h>.
9226 * rt/tst-aio3.c: Likewise.
9228 2012-09-27 Steve Ellcey <sellcey@mips.com>
9230 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9232 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9234 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9235 contents on [SHARED].
9237 2012-09-26 Marek Polacek <polacek@redhat.com>
9241 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9242 for C++ and GCC <4.3 as well as for non GCC compilers.
9244 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9248 2012-09-25 Roland McGrath <roland@hack.frob.com>
9250 * Makefile.in (all, install): Declare with .PHONY.
9251 Reported by Michael Hope <michael.hope@linaro.org>.
9253 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9255 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9256 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9258 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9260 (sydep_routines): Add the new and the internal functions.
9261 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9262 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9264 (GLIBC_2.17): Add the new function.
9265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9266 (GLIBC_2.17): Likewise.
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9268 (GLIBC_2.17): Likewise.
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9270 (GLIBC_2.17): Likewise.
9271 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9273 2012-09-25 Alan Modra <amodra@gmail.com>
9275 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9276 Add release barrier before setting once_control to say
9277 initialisation is done. Add hints on lwarx. Use macro in
9279 (clear_once_control): Add release barrier.
9281 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9284 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9286 * math/s_clog10.c (__clog10): Likewise.
9287 * math/s_clog10f.c (__clog10f): Likewise.
9288 * math/s_clog10l.c (__clog10l): Likewise.
9289 * math/s_clogf.c (__clogf): Likewise.
9290 * math/s_clogl.c (__clogl): Likewise.
9291 * math/Makefile (libm-calls): Add x2y2m1.
9292 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9293 (__x2y2m1): Likewise.
9294 (__x2y2m1l): Likewise.
9295 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9296 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9299 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9300 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9301 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9302 * sysdeps/i386/fpu/libm-test-ulps: Update.
9303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9306 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9307 int as type of variable DEPTH.
9308 (glob): Use size_t instead of int as type of variables NEWCOUNT
9311 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9313 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9315 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9316 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9317 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9318 macros for using routine as __sincosf_ia32.
9319 Use macro for function declaration and weak_alias.
9320 * sysdeps/i386/fpu/libm-test-ulps: Update.
9322 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9325 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9327 * math/s_cexpf.c (__cexpf): Likewise.
9328 * math/s_csinf.c (__csinf): Likewise.
9329 * math/s_csinhf.c (__csinhf): Likewise.
9330 * math/s_ctanf.c (__ctanf): Likewise.
9331 * math/s_ctanhf.c (__ctanhf): Likewise.
9332 * math/s_ccosh.c (__ccoshf): Likewise.
9333 * math/s_cexp.c (__cexpl): Likewise.
9334 * math/s_csin.c (__csin): Likewise.
9335 * math/s_csinh.c (__csinh): Likewise.
9336 * math/s_ctan.c (__ctan): Likewise.
9337 * math/s_ctanh.c (ctanh): Likewise.
9338 * math/s_ccoshl.c (__ccoshl): Likewise.
9339 * math/s_cexpl.c (__cexpl): Likewise.
9340 * math/s_csinl.c (__csinl): Likewise.
9341 * math/s_csinhl.c (__csinhl): Likewise.
9342 * math/s_ctanl.c (__ctanl): Likewise.
9343 * math/s_ctanhl.c (__ctanhl): Likewise.
9345 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9347 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9348 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9349 (_IO_off_t): Define to __off_t, not _G_off_t.
9350 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9351 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9352 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9353 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9354 type of __dummy and __dummy2 fields.
9355 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9356 (_G_ssize_t): Likewise.
9357 (_G_off_t): Likewise.
9358 (_G_pid_t): Likewise.
9359 (_G_uid_t): Likewise.
9360 (_G_wchar_t): Likewise.
9361 (_G_wint_t): Likewise.
9362 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9363 (_G_ssize_t): Likewise.
9364 (_G_off_t): Likewise.
9365 (_G_pid_t): Likewise.
9366 (_G_uid_t): Likewise.
9367 (_G_wchar_t): Likewise.
9368 (_G_wint_t): Likewise.
9369 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9370 (_G_ssize_t): Likewise.
9371 (_G_off_t): Likewise.
9372 (_G_pid_t): Likewise.
9373 (_G_uid_t): Likewise.
9374 (_G_wchar_t): Likewise.
9375 (_G_wint_t): Likewise.
9377 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9379 * malloc/arena.c: Include malloc-sysdep.h.
9380 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9381 is sufficient to shrink the heap or an unmap is needed.
9382 * sysdeps/generic/malloc-sysdep.h: New file. Define
9383 new function check_may_shrink_heap.
9384 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9385 new function check_may_shrink_heap.
9387 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9389 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9392 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9394 * catgets/test-gencat.sh: Add "set -e".
9395 * elf/tst-pathopt.sh: Likewise.
9396 * grp/tst_fgetgrent.sh: Likewise.
9397 * iconvdata/run-iconv-test.sh: Likewise.
9398 * intl/tst-gettext.sh: Likewise.
9399 * intl/tst-gettext2.sh: Likewise.
9400 * intl/tst-gettext4.sh: Likewise.
9401 * intl/tst-gettext6.sh: Likewise.
9402 * intl/tst-translit.sh: Likewise.
9403 * io/ftwtest-sh: Likewise.
9404 * libio/test-freopen.sh: Likewise.
9405 * malloc/tst-mtrace.sh: Likewise.
9406 * posix/globtest.sh: Likewise.
9407 * posix/tst-getconf.sh: Likewise.
9408 * posix/wordexp-tst.sh: Likewise.
9409 * stdio-common/tst-printf.sh: Likewise.
9410 * stdio-common/tst-unbputc.sh: Likewise.
9411 * stdlib/tst-fmtmsg.sh: Likewise.
9412 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9413 * catgets/Makefile: Do not specify -e option when running
9414 testsuite shell scripts.
9415 * elf/Makefile: Likewise.
9416 * grp/Makefile: Likewise.
9417 * iconvdata/Makefile: Likewise.
9418 * intl/Makefile: Likewise.
9419 * io/Makefile: Likewise.
9420 * libio/Makefile: Likewise.
9421 * malloc/Makefile: Likewise.
9422 * posix/Makefile: Likewise.
9423 * stdio-common/Makefile: Likewise.
9424 * stdlib/Makefile: Likewise.
9425 * sysdeps/x86_64/Makefile: Likewise.
9427 * io/ftwtest-sh: Add copyright header.
9428 * posix/globtest.sh: Likewise.
9429 * posix/tst-getconf.sh: Likewise.
9430 * posix/wordexp-tst.sh: Likewise.
9431 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9433 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9436 * Makeconfig (+link): Defined as $(+link-static) if
9437 $(build-shared) isn't yes.
9438 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9440 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9442 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9445 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9446 new chunk size with MALLOC_ALIGN_MASK.
9448 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9451 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9453 (__printf_fphex): Determine rounding using get_rounding_mode and
9455 * stdio-common/tst-printf-round.c (struct hex_test): New
9457 (hex_tests): New variable.
9458 (test_hex_in_one_mode): New function.
9459 (do_test): Also run tests for hex float output.
9461 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9463 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9464 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9465 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9466 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9467 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9468 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9469 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9470 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9472 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9474 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9475 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9476 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9477 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9479 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9482 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9484 * elf/tst-rtld-load-self.sh: New test.
9485 * elf/Makefile: Run it.
9487 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9489 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9490 (tst-writev-ENV): Remove.
9491 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9493 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9495 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9497 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9499 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9501 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9503 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9504 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9505 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9508 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9511 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9512 * config.make.in (have-cpp-asm-debuginfo): Removed.
9513 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9514 * configure: Regenerated.
9516 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9519 * stdio-common/printf_fp.c: Include <stdbool.h> and
9521 (___printf_fp): Determine rounding using get_rounding_mode and
9523 * stdio-common/tst-printf-round.c: New file.
9524 * stdio-common/Makefile (tests): Add tst-printf-round.
9525 (link-libm): New variable.
9526 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9528 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9531 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9532 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9534 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9537 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9539 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9540 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9541 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9542 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9544 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9547 * include/rounding-mode.h: New file.
9548 * sysdeps/generic/get-rounding-mode.h: Likewise.
9549 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9550 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9551 (MAX_VALUE): New macro.
9552 (MIN_VALUE): Likewise.
9553 (overflow_value): New function.
9554 (underflow_value): Likewise.
9555 (round_and_return): Use overflow_value and underflow_value to
9556 determine return values in overflow and underflow cases. Use
9557 round_away to determine rounding depending on rounding mode.
9558 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9559 determine return values in overflow and underflow cases.
9560 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9561 (struct test_results): New structure.
9562 (struct test): Use struct test_results to store expected results
9563 for all rounding modes.
9564 (TEST): Include expected results for all rounding modes.
9565 (test_in_one_mode): New function.
9566 (do_test): Use test_in_one_mode to compute and check results.
9567 Check results for all rounding modes.
9568 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9571 2012-12-09 Allan McRae <allan@archlinux.org>
9573 * sysdeps/i386/fpu/libm-test-ulps: Update
9575 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9577 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9578 (_G_int32_t): Likewise.
9579 (_G_uint16_t): Likewise.
9580 (_G_uint32_t): Likewise.
9581 (_G_HAVE_BOOL): Likewise.
9582 (_G_HAVE_ATEXIT): Likewise.
9583 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9584 (_G_HAVE_IO_FILE_OPEN): Likewise.
9585 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9586 (_G_int32_t): Likewise.
9587 (_G_uint16_t): Likewise.
9588 (_G_uint32_t): Likewise.
9589 (_G_HAVE_BOOL): Likewise.
9590 (_G_HAVE_ATEXIT): Likewise.
9591 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9592 (_G_HAVE_IO_FILE_OPEN): Likewise.
9593 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9594 (_G_int32_t): Likewise.
9595 (_G_uint16_t): Likewise.
9596 (_G_uint32_t): Likewise.
9597 (_G_HAVE_BOOL): Likewise.
9598 (_G_HAVE_ATEXIT): Likewise.
9599 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9600 (_G_HAVE_IO_FILE_OPEN): Likewise.
9602 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9604 * csu/libc-tls.c: Update copyright years.
9606 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9608 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9609 [!_G_USING_THUNKS]: Remove conditional code.
9610 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9611 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9613 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9614 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9615 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9616 (_G_VTABLE_LABEL_PREFIX): Likewise.
9617 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9618 * sysdeps/gnu/_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.
9622 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9623 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9624 (_G_VTABLE_LABEL_PREFIX): Likewise.
9625 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9627 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9629 * libio/Makefile: Include ../Makeconfig before tests.
9630 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9631 only if $(build-shared) is yes.
9633 * iconv/gconv_db.c: Update copyright years.
9635 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9637 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9638 unwind info if defined PIC. Fix special cases description.
9639 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9641 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9643 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9645 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9647 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9649 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9652 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9653 (LDLIBS-tst-chk4): This.
9654 (LDFLAGS-tst-chk5): Renamed to ...
9655 (LDLIBS-tst-chk5): This.
9656 (LDFLAGS-tst-chk6): Renamed to ...
9657 (LDLIBS-tst-chk6): This.
9658 (LDFLAGS-tst-lfschk4): Renamed to ...
9659 (LDLIBS-tst-lfschk4): This.
9660 (LDFLAGS-tst-lfschk5): Renamed to ...
9661 (LDLIBS-tst-lfschk5): This.
9662 (LDFLAGS-tst-lfschk6): Renamed to ...
9663 (LDLIBS-tst-lfschk6): This.
9665 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9666 on $(common-objpfx)soversions.mk.
9668 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9671 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9674 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9676 * malloc/arena.c (arena_get_retry): New function that gets
9677 another arena for the caller to try its request on.
9678 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9679 current arena cannot fulfill the request.
9680 (__libc_memalign): Likewise.
9681 (__libc_memalign): Likewise.
9682 (__libc_pvalloc): Likewise.
9683 (__libc_calloc): Likewise.
9685 2012-09-05 John Tobey <john.tobey@gmail.com>
9688 * manual/arith.texi (Operations on Complex): Fix description
9691 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9694 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9698 * manual/memory.texi (Memory): Make order of menu items match
9701 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9703 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9704 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9705 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9707 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9709 * csu/libc-tls.c (static_dtv): Renamed to ...
9710 (_dl_static_dtv): This. Make it global.
9711 (_dl_initial_dtv): Removed.
9712 (__libc_setup_tls): Updated.
9713 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9714 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9717 2012-09-06 Petr Machata <pmachata@redhat.com>
9719 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9720 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9721 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9722 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9724 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9727 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9728 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9731 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9734 * Makeconfig (link-static-before-libc): Replace $(+prector)
9736 (link-static-after-libc): Replace $(+postctor) with
9738 (link-bounded): Replace $(+prector)/$(+postctor) with
9739 $(+prectorT)/$(+postctorT).
9740 (+prectorT): New macro.
9741 (+postctorT): Likewise.
9743 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9745 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9746 (round_str): Handle values above the maximum for IBM long double
9748 * stdlib/tst-strtod-round.c (tests): Regenerated.
9750 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9752 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9754 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9755 zarch_nohighgprs around the zarch optimized routines.
9756 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9757 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9758 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9761 2012-09-05 David S. Miller <davem@davemloft.net>
9763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9765 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9766 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9767 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9768 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9771 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9773 * malloc/arena.c: Fold copyright years.
9774 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9776 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9778 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9780 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9782 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9784 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9786 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9787 change internal state upon failure.
9789 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9791 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9792 * malloc/memusage.c (mmap): Likewise.
9793 (mmap64, mremap): Likewise. Adjust name in comment.
9795 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9797 * libio/fileops.c: Fix typos in comments.
9798 * libio/oldfileops.c: Likewise.
9799 * libio/wfileops.c: Likewise.
9801 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9804 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9805 (tst-malloc-usable-ENV): Set environment for test case.
9806 * malloc/hooks.c (malloc_check_get_size): New function to get
9808 * malloc/malloc.c (musable): Use malloc_check_get_size.
9809 * malloc/tst-malloc-usable.c: New test case.
9811 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9813 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9815 2012-09-05 Allan McRae <allan@archlinux.org>
9818 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9819 determine header location.
9820 * configure: Regenerated.
9822 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9824 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9826 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9827 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9831 2012-09-04 David S. Miller <davem@davemloft.net>
9833 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9834 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9835 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9837 2012-09-04 Florian Weimer <fweimer@redhat.com>
9839 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9842 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9844 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9847 * libio/iogetdelim.c: Include <limits.h>.
9848 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9849 + len + 1 would overflow.
9851 2012-09-03 Andreas Jaeger <aj@suse.de>
9853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9854 * sysdeps/i386/fpu/libm-test-ulps: Update.
9856 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9858 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9859 Add s_sinf-sse2, s_conf-sse2.
9861 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9862 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9863 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9864 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9866 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9867 for using routine as __sinf_ia32.
9868 Use macro for function declaration and weak_alias.
9869 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9870 for using routine as __cosf_ia32.
9871 Use macro for function declaration and weak_alias.
9873 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9874 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9876 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9877 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9880 * math/libm-test.inc (cos_test): Add more test cases.
9881 (sin_test): Likewise.
9882 (sincos_test): Likewise.
9884 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9886 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9887 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9889 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9891 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9894 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9895 first element of the GOT.
9896 (elf_machine_load_address): Return the difference between
9897 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9899 2012-09-01 Allan McRae <allan@archlinux.org>
9902 * configure.in (AWK): Require gawk version 3.0 or later.
9903 * configure: Regenerated.
9905 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9907 * sysdeps/unix/sysv/linux/kernel-features.h
9908 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9909 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9910 [__NR_clock_getres]: Make code unconditional.
9911 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9912 (clock_getcpuclockid): Remove code left unreachable by removal of
9914 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9916 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9917 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9918 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9919 Make code unconditional.
9920 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9921 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9922 * sysdeps/unix/sysv/linux/clock_settime.c
9923 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9925 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9926 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9928 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9931 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9932 scripts/test-installation.pl.
9934 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9935 and $ld_so_version if it is set.
9937 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9940 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9941 failure if reading from procfs failed.
9942 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9944 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9946 * sysdeps/unix/sysv/linux/kernel-features.h
9947 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9948 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9949 Remove conditional code.
9950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9951 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9952 Remove conditional code.
9953 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9954 * sysdeps/unix/sysv/linux/i386/fxstat.c
9955 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9957 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9958 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9960 * sysdeps/unix/sysv/linux/i386/lxstat.c
9961 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9963 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9964 Remove conditional code.
9965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9966 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9967 Remove conditional code.
9968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9969 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9970 <kernel-features.h>.
9971 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9973 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9974 Remove conditional code.
9975 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9976 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9979 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9982 * NEWS: Add fixed bug number.
9984 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9987 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9988 underflowing exponent in case of negative sign.
9989 * stdlib/tst-strtod-round-data: Add more tests.
9990 * stdlib/tst-strtod-round.c (tests): Regenerated.
9993 * stdlib/strtod_l.c (NDIG): Remove.
9994 (HEXNDIG): Likewise.
9995 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9996 smallest representable value.
9997 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9998 lie within an exact representation of 1/2 ulp of the result.
9999 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10001 (TENS_P9_IDX): Define unconditionally.
10002 (TENS_P9_SIZE): Likewise.
10003 (TENS_P10_IDX): Likewise.
10004 (TENS_P10_SIZE): Likewise.
10005 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10006 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10007 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10008 entries for 10^2^13 and 10^2^14.
10009 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10010 (TENS_P13_IDX): Define.
10011 (TENS_P13_SIZE): Likewise.
10012 (TENS_P14_IDX): Likewise.
10013 (TENS_P14_SIZE): Likewise.
10014 (_fpioconst_pow10): Change array size to
10015 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10017 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10018 1024]: Add entries for 10^2^13 and 10^2^14.
10019 [LAST_POW10 > _LAST_POW10]: Remove #error.
10020 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10021 (_fpioconst_pow10): Change array size to
10022 FPIOCONST_POW10_ARRAY_SIZE.
10023 * stdlib/gen-fpioconst.c: New file.
10024 * stdlib/gen-tst-strtod-round.c: Likewise.
10025 * stdlib/tst-strtod-round-data: Likewise.
10026 * stdlib/tst-strtod-round.c: Likewise.
10027 * stdlib/Makefile (tests): Add tst-strtod-round.
10030 * stdlib/strtod_l.c: Include <stdint.h>.
10031 (NDEBUG): Do not define.
10032 (round_and_return): Change EXPONENT parameter to type intmax_t.
10033 Rearrange calculations to avoid internal overflow possibilities.
10034 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10035 Rearrange calculations to avoid internal overflow possibilities.
10036 Assert that number fits inside MPNSIZE limbs.
10037 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10038 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10039 calculations and add assertions to avoid internal overflow
10040 possibilities. Add casts to avoid signed/unsigned operations.
10041 * stdlib/tst-strtod-overflow.c: New file.
10042 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10044 2012-08-25 Marek Polacek <polacek@redhat.com>
10046 * time/time.h: Fix some typos in comments.
10048 2012-08-23 Roland McGrath <roland@hack.frob.com>
10050 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10051 * posix/tst-rfc3484-2.c: Likewise.
10052 * posix/tst-rfc3484-3.c: Likewise.
10054 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10056 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10057 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10059 2012-08-23 Joseph Myers <joseph@codesourcery.com>
10061 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10062 #include of fxstatat64.c.
10064 2012-08-22 Roland McGrath <roland@hack.frob.com>
10066 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10067 * shadow/getspent_r.c: Likewise.
10068 * shadow/getspnam.c: Likewise.
10069 * shadow/getspnam_r.c: Likewise.
10070 * gshadow/getsgent.c: Likewise.
10071 * gshadow/getsgent_r.c: Likewise.
10072 * gshadow/getsgnam.c: Likewise.
10073 * gshadow/getsgnam_r.c: Likewise.
10074 * inet/getnetbyad.c: Likewise.
10075 * inet/getnetbyad_r.c: Likewise.
10076 * inet/getnetbynm.c: Likewise.
10077 * inet/getnetbynm_r.c: Likewise.
10078 * inet/getnetent.c: Likewise.
10079 * inet/getnetent_r.c: Likewise.
10080 * inet/getproto.c: Likewise.
10081 * inet/getproto_r.c: Likewise.
10082 * inet/getprtent.c: Likewise.
10083 * inet/getprtent_r.c: Likewise.
10084 * inet/getprtname.c: Likewise.
10085 * inet/getprtname_r.c: Likewise.
10086 * inet/getrpcbyname.c: Likewise.
10087 * inet/getrpcbyname_r.c: Likewise.
10088 * inet/getrpcbynumber.c: Likewise.
10089 * inet/getrpcbynumber_r.c: Likewise.
10090 * inet/getrpcent.c: Likewise.
10091 * inet/getrpcent_r.c: Likewise.
10092 * inet/getaliasent.c: Likewise.
10093 * inet/getaliasent_r.c: Likewise.
10094 * inet/getaliasname.c: Likewise.
10095 * inet/getaliasname_r.c: Likewise.
10096 * nscd/getgrgid_r.c: Likewise.
10097 * nscd/getgrnam_r.c: Likewise.
10098 * nscd/gethstbyad_r.c: Likewise.
10099 * nscd/gethstbynm3_r.c: Likewise.
10100 * nscd/getpwnam_r.c: Likewise.
10101 * nscd/getpwuid_r.c: Likewise.
10102 * nscd/getsrvbynm_r.c: Likewise.
10103 * nscd/getsrvbypt_r.c: Likewise.
10104 * nscd/gai.c: Likewise.
10106 * configure.in (build_nscd): New substituted variable, set
10107 by --disable-build-nscd and defaults to $use_nscd.
10108 * configure: Regenerated.
10109 * config.make.in (build-nscd): New substituted variable.
10110 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10111 Change conditional to require [$(build-nscd) = yes] as well.
10112 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10115 * configure.in (use_nscd): New substituted variable, set by
10116 --disable-nscd. If enabled, define USE_NSCD.
10117 * configure: Regenerated.
10118 * config.h.in: Add USE_NSCD.
10119 * config.make.in (use-nscd): New substituted variable.
10120 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10121 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10122 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10123 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10124 (CFLAGS-getgrnam_r.c): Likewise.
10125 (CFLAGS-initgroups.c): Likewise.
10126 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10127 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10129 * inet/getnetgrent_r.c
10130 (nscd_setnetgrent): New function, broken out of ...
10131 (setnetgrent): ... here. Call it.
10132 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10133 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10134 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10135 * nscd/Makefile (routines, aux): Move definitions after include of
10136 Makeconfig. Conditionalize on [$(use-nscd) != no].
10137 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10138 Conditionalize on [USE_NSCD].
10139 (is_nscd, nscd_init_cb): Likewise.
10140 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10141 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10142 * nss/nss_db/db-init.c: Likewise.
10143 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10145 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10146 (make_request): Use it.
10147 (cache_valid_p): New function.
10148 (__check_pf): Use it.
10149 * NEWS: Add item for --disable-nscd.
10151 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10153 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10154 to support sed >= 4.2.1-20-ga9bf076.
10155 * configure: Regenerated.
10157 2012-08-22 Roland McGrath <roland@hack.frob.com>
10159 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10160 Conditionalize whole body on [IREL].
10162 2012-08-22 Jeff Law <law@redhat.com>
10165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10166 if the family is PF_UNSPEC.
10168 2012-08-22 Mike Frysinger <vapier@gentoo.org>
10170 * Makerules (lib-version): Rename from V.
10171 (install-lib-nosubdir): Change V to lib-version.
10173 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10176 * powerpc32/power6/wcschr.c: New file.
10177 * powerpc32/power6/wcscpy.c: New file.
10178 * powerpc32/power6/wcsrchr.c: New file.
10179 * powerpc64/power6/wcschr.c: New file.
10180 * powerpc64/power6/wcscpy.c: New file.
10181 * powerpc64/power6/wcsrchr.c: New file.
10183 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10185 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10186 (two_way_short_needle): Use it.
10187 * string/strstr.c (AVAILABLE1_USES_J): Define.
10188 * string/strcasestr.c: Likewise.
10190 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10192 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10195 * NEWS: Add an entry.
10196 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10197 define their defaults.
10198 (two_way_short_needle): Detect end-of-string on-the-fly.
10199 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10200 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10201 * string/bug-strcasestr1.c: New test.
10202 * string/Makefile: Run it.
10204 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10207 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10208 the first character.
10210 2012-08-21 Roland McGrath <roland@hack.frob.com>
10212 * csu/elf-init.c (__libc_csu_irel): Function removed.
10213 * csu/libc-start.c (apply_irel): New function.
10214 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10216 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10218 * sysdeps/unix/sysv/linux/kernel-features.h
10219 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10220 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10221 <kernel-features.h>.
10222 [__NR_fadvise64_64]: Make code unconditional.
10223 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10224 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10225 !__NR_fadvise64_64)]: Likewise.
10226 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10227 !__NR_fadvise64_64))]: Likewise.
10228 [__NR_fadvise64]: Make code unconditional.
10229 [!__NR_fadvise64]: Remove conditional code.
10230 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10231 <kernel-features.h>.
10232 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10234 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10237 not include <kernel-features.h>.
10238 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10240 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10242 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10243 include <kernel-features.h>.
10244 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10246 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10249 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10252 slight instruction rearrangements per scrollpipe analysis.
10253 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10255 2012-08-20 Roland McGrath <roland@hack.frob.com>
10257 * manual/syslog.texi (syslog; vsyslog, closelog):
10258 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10259 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10261 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10262 DSOCAPS to match condition on defining it.
10264 2012-08-20 Joseph Myers <joseph@codesourcery.com>
10266 * sysdeps/unix/sysv/linux/kernel-features.h
10267 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10269 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10270 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10272 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10273 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10275 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10276 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10278 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10279 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10281 * sysdeps/unix/sysv/linux/kernel-features.h
10282 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10283 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10285 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10286 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10287 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10288 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10289 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10290 Make code unconditional.
10291 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10292 (__mmap64) [!__NR_mmap2]: Likewise.
10293 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10294 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10295 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10296 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10297 [__NR_mmap2]: Make code unconditional.
10298 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10299 (__mmap64) [!__NR_mmap2]: Likewise.
10301 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10303 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10305 2012-08-18 Andreas Jaeger <aj@suse.de>
10307 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10309 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10311 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10312 * include/unistd.h (__have_sock_cloexec): Likewise.
10313 (__have_pipe2): Likewise.
10314 (__have_dup3): Likewise.
10316 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10319 * include/unistd.h (__have_pipe2): Change define into an extern int.
10320 (__have_dup3): Likewise.
10321 * socket/have_sock_cloexec.c: Include fcntl.h.
10322 (__have_pipe2): New variable.
10323 (__have_dup3): Likewise.
10325 2012-08-17 Mike Frysinger <vapier@gentoo.org>
10327 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10329 2012-08-17 Marek Polacek <polacek@redhat.com>
10331 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10332 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10334 2012-08-17 Roland McGrath <roland@hack.frob.com>
10336 * configure.in: Add AC_SUBST for sysheaders.
10337 * configure: Regenerated.
10338 * config.make.in (sysheaders): New substituted variable.
10340 * sysdeps/unix/mkfifo.c: Moved ...
10341 * sysdeps/posix/mkfifo.c: ... here.
10342 * sysdeps/unix/mkfifoat.c: Moved ...
10343 * sysdeps/posix/mkfifoat.c: ... here.
10345 * sysdeps/unix/utime.c: Moved ...
10346 * sysdeps/posix/utime.c: ... here.
10348 * sysdeps/unix/time.c: Moved ...
10349 * sysdeps/posix/time.c: ... here.
10350 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10351 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10353 * sysdeps/unix/nice.c: Moved ...
10354 * sysdeps/posix/nice.c: ... here.
10356 * sysdeps/unix/alarm.c: Moved ...
10357 * sysdeps/posix/alarm.c: ... here.
10359 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10361 2012-08-17 Jeff Law <law@redhat.com>
10363 * intl/Makefile (codeset_mo): New variable.
10364 ($(codeset_mo)): New target.
10365 (tst-codeset.out): Depend on that. Remove explicit rule.
10366 (tst-gettext3.out, tst-gettext5.out): Likewise.
10367 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10368 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10369 * intl/tst-codeset.sh: Remove.
10370 * intl/tst-gettext3.sh: Likewise.
10371 * intl/tst-gettext5.sh: Likewise.
10373 2012-08-17 Roland McGrath <roland@hack.frob.com>
10375 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10376 * sysdeps/unix/syscalls.list: ... here.
10378 * sysdeps/posix/getaddrinfo.c
10379 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10380 (gaiconf_init, gaiconf_reload): Use them.
10381 [!_STATBUF_ST_NSEC]
10382 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10383 Define using time_t rather than struct timespec.
10385 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10386 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10388 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10390 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10391 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10394 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10395 __libc_cleanup_push argument.
10397 * bits/param.h: New file.
10398 * misc/sys/param.h: New file.
10399 * include/sys/param.h: New file.
10400 * misc/Makefile (headers): Add bits/param.h.
10401 * sysdeps/generic/sys/param.h: File removed.
10402 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10403 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10404 * sysdeps/mach/hurd/bits/param.h: New file.
10405 * sysdeps/mach/hurd/sys/param.h: File removed.
10407 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10410 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10412 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10413 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10416 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10417 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10418 rather than -D_IO_MTSAFE_IO conditionally.
10419 * stdio-common/Makefile (CPPFLAGS): Likewise.
10420 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10421 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10422 Use $(libio-mtsafe).
10423 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10424 of -D_IO_MTSAFE_IO.
10425 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10426 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10427 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10428 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10429 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10430 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10431 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10432 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10433 (CFLAGS-fread_u_chk.c): Likewise.
10434 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10435 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10436 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10437 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10438 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10439 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10440 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10441 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10442 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10444 * libio/Makefile: Test [$(libc-reentrant) = yes]
10445 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10448 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10449 * sysdeps/pthread/configure: File removed.
10450 * sysdeps/pthread/Makeconfig: New file.
10451 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10452 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10454 2012-08-16 Gary Benson <gbenson@redhat.com>
10456 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10457 unmapping the first object in a namespace.
10459 2012-08-16 Roland McGrath <roland@hack.frob.com>
10461 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10462 (__internal_setnetgrent): ... this. Add internal_function to
10463 definition. Add libc_hidden_def.
10464 (setnetgrent): Update caller.
10465 (internal_endnetgrent): Renamed to ...
10466 (__internal_endnetgrent): ... this. Add internal_function to
10467 definition. Add libc_hidden_def.
10468 (endnetgrent): Update caller.
10469 (internal_getnetgrent_r): Renamed to ...
10470 (__internal_getnetgrent_r): ... this. Add internal_function to
10471 definition. Add libc_hidden_def.
10472 (__getnetgrent_r): Update caller.
10473 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10475 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10477 * stdlib/longlong.h: Update from GCC.
10479 2012-08-16 Roland McGrath <roland@hack.frob.com>
10481 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10482 on _QL, which is set by umul_ppmm but never used.
10483 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10484 variables, which are set by GMP macros but never used.
10485 * stdio-common/_itowa.c (_itowa): Likewise.
10486 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10487 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10489 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10491 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10492 struct La_sh_regs is not constant.
10493 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10494 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10495 and struct La_sparc64_regs are not constant.
10497 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10499 * sysdeps/unix/sysv/linux/kernel-features.h
10500 (__ASSUME_POSIX_TIMERS): Remove.
10501 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10502 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10503 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10504 Make code unconditional.
10505 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10506 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10507 Make code unconditional.
10508 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10509 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10510 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10511 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10512 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10513 Make code unconditional.
10514 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10515 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10516 (__libc_missing_posix_timers): Remove.
10518 2012-08-15 Roland McGrath <roland@hack.frob.com>
10520 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10521 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10523 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10525 * elf/dl-sym.c: Include <stdlib.h>.
10527 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10528 constants, which avoids warnings in 32-bit builds.
10530 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10531 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10533 * misc/lseek.c: File moved to ...
10534 * io/lseek.c: ... here.
10536 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10538 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10539 shifting LEN more than 31 bits at once.
10541 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10544 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10545 segmentation fault for a case of two empty input strings.
10546 * string/test-strncasecmp.c (check1): Renamed to...
10547 (bz12205): ...this.
10548 (bz14195): Add new testcase for two empty input strings and N > 0.
10549 (test_main): Call new testcase, adapt for renamed function.
10551 2012-08-15 Andreas Jaeger <aj@suse.de>
10554 * crypt/md5test2.c: New test, based on test supplied by Serge
10555 Belyshev <belyshev@depni.sinp.msu.ru>.
10556 * crypt/Makefile (xtests): Add md5test-giant..
10557 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10559 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10562 * crypt/md5.c (md5_process_block): Don't assume the buffer
10563 length is less than 2**32.
10564 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10565 length is less than 2**64.
10567 2012-08-15 Roland McGrath <roland@hack.frob.com>
10569 * string/str-two-way.h: Include <sys/param.h>.
10570 (MAX): Macro removed.
10572 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10573 Move #define and #undef of memmove to just before and after
10574 including <string.h>.
10576 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10577 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10578 and after including <string.h>. Move declarations of
10579 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10580 to before #include "string/memmove.c".
10582 * include/dirent.h: Declare __getdirentries.
10584 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10585 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10587 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10589 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10590 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10591 * sysdeps/i386/configure: Regenerated.
10592 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10593 STABS_CURRENT_FILE, and STABS_FUN.
10594 (END): Remove call to STABS_FUN_END.
10595 (STABS_CURRENT_FILE1): Delete.
10596 (STABS_CURRENT_FILE): Likewise.
10597 (STABS_FUN): Likewise.
10598 (STABS_FUN_END): Likewise.
10599 (STABS_FUN2): Likewise.
10600 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10601 * sysdeps/x86_64/configure: Regenerated.
10603 2012-08-14 Roland McGrath <roland@hack.frob.com>
10605 * elf/dl-open.c: Include <atomic.h>.
10606 * elf/dl-lookup.c: Likewise.
10608 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10610 * sysdeps/unix/sysv/linux/kernel-features.h
10611 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10612 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10614 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10616 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10617 condition on __ASSUME_CLONE_THREAD_FLAGS.
10619 2012-08-14 Andreas Jaeger <aj@suse.de>
10621 * sysdeps/i386/fpu/libm-test-ulps: Update.
10623 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10625 * include/atomic.h (atomic_exchange_and_add): Split into ...
10626 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10629 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10633 2012-08-13 Jeff Law <law@redhat.com>
10635 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10636 null byte in the output string.
10638 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10640 * sysdeps/unix/sysv/linux/kernel-features.h
10641 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10642 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10643 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10644 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10645 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10646 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10647 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10649 2012-08-09 Jeff Law <law@redhat.com>
10652 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10653 When avoid_arena is set, don't retry in the that arena. Pick the
10654 next one, whatever it might be.
10655 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10656 (arena_lock): Pass in new parameter to arena_get2.
10657 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10659 (__libc_malloc): Unify retrying after main arena failure with
10660 __libc_memalign version.
10661 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10663 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10666 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10667 to __redirect_strstr.
10668 (__strstr_sse42): Use typeof __redirect_strstr.
10669 (__strstr_ia32): Likewise.
10670 (__libc_strstr): New prototype.
10671 (strstr): Renamed to ...
10672 (__libc_strstr): This.
10673 (strstr): New strong alias of __libc_strstr.
10674 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10675 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10678 (__libc_time): New prototype.
10679 (time_ifunc): Replace time with __libc_time.
10680 (time): New strong alias and hidden definition of __libc_time.
10681 (__GI_time): Remove strong alias.
10682 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10683 Include <stddef.h>.
10684 (memmove): Redefined to __redirect_memmove.
10685 (__memmove_sse2): Use typeof __redirect_memmove.
10686 (__memmove_ssse3): Likewise.
10687 (__memmove_ssse3_back): Likewise.
10688 (__libc_memmove): New prototype.
10689 (memmove): Renamed to ...
10690 (__libc_memmove): This.
10691 (memmove): New strong alias of __libc_memmove.
10693 2012-08-08 Mark Salter <msalter@redhat.com>
10696 (R_MN10300_TLS_GD): Define.
10697 (R_MN10300_TLS_LD): Likewise.
10698 (R_MN10300_TLS_LDO): Likewise.
10699 (R_MN10300_TLS_GOTIE): Likewise.
10700 (R_MN10300_TLS_IE): Likewise.
10701 (R_MN10300_TLS_LE): Likewise.
10702 (R_MN10300_TLS_DTPMOD): Likewise.
10703 (R_MN10300_TLS_DTPOFF): Likewise.
10704 (R_MN10300_TLS_TPOFF): Likewise.
10705 (R_MN10300_SYM_DIFF): Likewise.
10706 (R_MN10300_ALIGN): Likewise.
10707 (R_MN10300_NUM): Update.
10709 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10711 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10714 2012-08-08 Roland McGrath <roland@hack.frob.com>
10716 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10718 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10719 sysdeps/unix -> sysdeps/posix move.
10720 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10722 2012-08-07 Allan McRae <allan@archlinux.org>
10725 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10726 (SUNOS_CPP): Likewise.
10727 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10729 (open_input): Call CPP using execvp.
10731 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10733 * sysdeps/unix/sysv/linux/kernel-features.h
10734 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10735 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10736 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10737 (__ASSUME_WAITID_SYSCALL): Likewise.
10738 * sysdeps/unix/sysv/linux/dl-execstack.c
10739 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10740 code unconditional.
10741 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10743 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10744 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10745 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10747 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10749 [__ASSUME_WAITID_SYSCALL]: Likewise.
10750 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10752 2012-08-07 Roland McGrath <roland@hack.frob.com>
10754 * sysdeps/unix/closedir.c: Renamed to ...
10755 * sysdeps/posix/closedir.c: ... here.
10756 * sysdeps/unix/dirfd.c: Renamed to ...
10757 * sysdeps/posix/dirfd.c: ... here.
10758 * sysdeps/unix/dirstream.h: Renamed to ...
10759 * sysdeps/posix/dirstream.h: ... here.
10760 * sysdeps/unix/fdopendir.c: Renamed to ...
10761 * sysdeps/posix/fdopendir.c: ... here.
10762 * sysdeps/unix/opendir.c: Renamed to ...
10763 * sysdeps/posix/opendir.c: ... here.
10764 * sysdeps/unix/readdir.c: Renamed to ...
10765 * sysdeps/posix/readdir.c: ... here.
10766 * sysdeps/unix/readdir_r.c: Renamed to ...
10767 * sysdeps/posix/readdir_r.c: ... here.
10768 * sysdeps/unix/rewinddir.c: Renamed to ...
10769 * sysdeps/posix/rewinddir.c: ... here.
10770 * sysdeps/unix/seekdir.c: Renamed to ...
10771 * sysdeps/posix/seekdir.c: ... here.
10772 * sysdeps/unix/telldir.c: Renamed to ...
10773 * sysdeps/posix/telldir.c: ... here.
10774 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10775 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10776 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10777 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10779 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10780 * bits/fcntl.h: ... here.
10782 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10784 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10785 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10786 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10787 (struct flock): Move l_start, l_len to the beginning.
10788 Use __pid_t for l_pid.
10789 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10790 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10791 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10792 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10793 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10794 [__USE_LARGEFILE64] (struct flock64): New type.
10795 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10797 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10798 * bits/dirent.h: ... here.
10800 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10801 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10803 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10806 Change from 2.6.0 to 2.6.16.
10807 * sysdeps/unix/sysv/linux/configure: Regenerated.
10808 * sysdeps/unix/sysv/linux/kernel-features.h
10809 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10810 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10812 (__ASSUME_UTIMES): Likewise.
10813 (__ASSUME_CLONE_STOPPED): Remove.
10814 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10815 architectures, not kernel version.
10816 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10817 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10818 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10819 (__ASSUME_WAITID_SYSCALL): Likewise.
10820 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10821 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10822 * README: State 2.6.16 as minimum Linux kernel version. Do not
10823 refer to older versions.
10825 2012-08-06 Roland McGrath <roland@hack.frob.com>
10827 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10828 Define alphasort64 as an alias.
10829 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10830 Define versionsort64 as an alias.
10831 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10832 Define scandir64 as an alias.
10833 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10834 Define scandirat64 as an alias.
10835 * dirent/alphasort64.c (alphasort64):
10836 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10837 * dirent/versionsort64.c: Likewise.
10838 * dirent/scandir64.c: Likewise.
10839 * dirent/scandirat64.c: Likewise.
10840 * sysdeps/wordsize-64/alphasort.c: File removed.
10841 * sysdeps/wordsize-64/alphasort64.c: File removed.
10842 * sysdeps/wordsize-64/scandir.c: File removed.
10843 * sysdeps/wordsize-64/scandir64.c: File removed.
10844 * sysdeps/wordsize-64/scandirat.c: File removed.
10845 * sysdeps/wordsize-64/scandirat64.c: File removed.
10846 * sysdeps/wordsize-64/versionsort.c: File removed.
10847 * sysdeps/wordsize-64/versionsort64.c: File removed.
10848 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10849 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10850 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10851 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10852 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10853 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10854 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10855 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10857 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10859 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10861 [defined __arch64__ || defined __sparcv9]
10862 (__INO_T_MATCHES_INO64_T): New macro.
10863 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10864 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10865 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10866 * sysdeps/unix/sysv/linux/bits/dirent.h
10867 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10868 (_DIRENT_MATCHES_DIRENT64): New macro.
10870 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10871 Define lockf64 as an alias.
10872 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10873 Define fseeko64 as an alias.
10874 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10875 Define ftello64 as an alias.
10876 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10877 Define _IO_fgetpos64 and fgetpos64 as aliases.
10878 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10879 Define _IO_fsetpos64 and fsetpos64 as aliases.
10880 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10881 Conditionalize body on this.
10882 * libio/fseeko64.c: Likewise.
10883 * libio/ftello64.c: Likewise.
10884 * libio/iofgetpos64.c: Likewise.
10885 * libio/iofsetpos64.c: Likewise.
10886 * sysdeps/wordsize-64/lockf.c: File removed.
10887 * sysdeps/wordsize-64/lockf64.c: File removed.
10888 * sysdeps/wordsize-64/fseeko.c: File removed.
10889 * sysdeps/wordsize-64/fseeko64.c: File removed.
10890 * sysdeps/wordsize-64/ftello.c: File removed.
10891 * sysdeps/wordsize-64/ftello64.c: File removed.
10892 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10893 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10894 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10895 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10896 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10897 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10898 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10899 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10900 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10901 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10902 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10903 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10904 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10905 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10907 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10908 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10909 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10910 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10911 [defined __arch64__ || defined __sparcv9]
10912 (__OFF_T_MATCHES_OFF64_T): New macro.
10913 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10914 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10915 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10916 (__OFF_T_MATCHES_OFF64_T): New macro.
10918 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10920 * stdlib/secure-getenv.c (__secure_getenv): Replace
10921 GLIBC_2_16 with GLIBC_2_17.
10923 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10925 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10926 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10928 2012-08-03 David S. Miller <davem@davemloft.net>
10930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10932 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10934 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10936 (__ASSUME_CORRECT_SI_PID): Likewise.
10937 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10938 (__ASSUME_TMPFS_NAME): Likewise.
10939 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10940 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10941 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10942 (HAVE_AUX_SECURE): Make definition unconditional.
10943 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10944 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10946 2012-08-03 Roland McGrath <roland@hack.frob.com>
10948 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10949 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10950 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10951 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10952 __eloop_threshold instead of SYMLOOP_MAX.
10954 * sysdeps/generic/eloop-threshold.h: New file.
10955 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10957 * elf/chroot_canon.c (chroot_canon): Likewise.
10959 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10963 Change to 2.6.0 everywhere.
10964 * sysdeps/unix/sysv/linux/configure: Regenerated.
10965 * sysdeps/unix/sysv/linux/kernel-features.h
10966 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10967 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10969 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10970 (__ASSUME_FUTEX_REQUEUE): Remove.
10971 (__ASSUME_STATFS64): Define unconditionally.
10972 (__ASSUME_AT_SECURE): Likewise.
10973 (__ASSUME_CORRECT_SI_PID): Likewise.
10974 (__ASSUME_TGKILL): Define without depending on kernel version for
10976 (__ASSUME_UTIMES): Likewise.
10977 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10979 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10980 (__ASSUME_TMPFS_NAME): Likewise.
10981 * README: Update reference to Linux kernel versions.
10983 2012-08-02 Marek Polacek <polacek@redhat.com>
10986 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10987 libc_cv_asm_type_prefix with %.
10988 * configure: Regenerated.
10989 * include/libc-symbols.h: Remove comment about
10990 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10991 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10992 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10993 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10994 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10995 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10996 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10997 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10998 * elf/tst-unique2mod1.c: Likewise.
10999 * elf/tst-unique1mod2.c: Likewise.
11000 * elf/tst-unique1mod1.c: Likewise.
11001 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11002 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11003 Replace ASM_TYPE_DIRECTIVE with .type.
11004 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11005 * sysdeps/i386/sysdep.h: Likewise.
11006 * sysdeps/x86_64/sysdep.h: Likewise.
11007 * sysdeps/sh/sysdep.h: Likewise.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11009 Do not define ASM_TYPE_DIRECTIVE.
11010 * sysdeps/powerpc/sysdep.h: Likewise.
11011 * sysdeps/powerpc/powerpc32/sysdep.h:
11012 Replace ASM_TYPE_DIRECTIVE with .type.
11013 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11014 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11015 * sysdeps/i386/fpu/e_powf.S: Likewise.
11016 * sysdeps/i386/fpu/e_expl.S: Likewise.
11017 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11018 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11019 * sysdeps/i386/fpu/e_pow.S: Likewise.
11020 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11021 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11022 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11023 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11024 * sysdeps/i386/fpu/e_log2.S: Likewise.
11025 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11026 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11027 * sysdeps/i386/fpu/e_powl.S: Likewise.
11028 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11029 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11030 * sysdeps/i386/fpu/e_logl.S: Likewise.
11031 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11032 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11033 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11034 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11035 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11036 * sysdeps/i386/fpu/e_log.S: Likewise.
11037 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11038 * sysdeps/i386/fpu/e_logf.S: Likewise.
11039 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11040 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11041 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11042 * sysdeps/i386/fpu/e_log10.S: Likewise.
11043 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11044 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11045 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11046 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11047 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11048 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11049 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11050 * sysdeps/i386/i686/strtok.S: Likewise.
11051 * sysdeps/i386/i386-mcount.S: Likewise.
11052 * sysdeps/i386/strtok.S: Likewise.
11053 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11054 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11055 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11056 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11057 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11058 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11059 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11060 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11061 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11062 * sysdeps/x86_64/_mcount.S: Likewise.
11063 * sysdeps/x86_64/strtok.S: Likewise.
11064 * sysdeps/sh/_mcount.S: Likewise.
11066 2012-08-01 Roland McGrath <roland@hack.frob.com>
11068 * libio/iofopen.c: Include <fcntl.h>.
11069 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11070 (_IO_fopen64, fopen64): Define as aliases.
11071 * libio/iofopen64.c: Include <fcntl.h>.
11072 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11073 Conditionalize body on this.
11074 * sysdeps/wordsize-64/iofopen.c: File removed.
11075 * sysdeps/wordsize-64/iofopen64.c: File removed.
11077 2012-08-01 Marek Polacek <polacek@redhat.com>
11079 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11080 Use dlfcn directly instead of a variable.
11081 (binfmt-subdir): Do not define.
11084 2012-08-01 Joseph Myers <joseph@codesourcery.com>
11086 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11087 Remove all definitions.
11088 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11089 <kernel-features.h>.
11090 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11091 (miss_F_GETOWN_EX): Remove all definitions.
11092 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11094 [!__ASSUME_FCNTL64]: Remove conditional code.
11095 [__ASSUME_FCNTL64]: Make code unconditional.
11096 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11097 <kernel-features.h>.
11098 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11099 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11100 (lockf64) [__NR_fcntl64]: Make code unconditional.
11101 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11103 * sysdeps/unix/sysv/linux/kernel-features.h
11104 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11105 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11106 Make code unconditional.
11107 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11108 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11110 [__NR_vfork]: Make code unconditional.
11111 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11112 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11114 [__NR_vfork]: Make code unconditional.
11115 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11116 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11118 2012-08-01 Roland McGrath <roland@hack.frob.com>
11120 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11121 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11123 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11124 Define mkstemp64 as an alias.
11125 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11126 Define mkstemps64 as an alias.
11127 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11128 Define mkostemp64 as an alias.
11129 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11130 Define mkostemps64 as an alias.
11131 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11132 Conditionalize body on this.
11133 * misc/mkostemp64.c: Likewise.
11134 * misc/mkostemps64.c: Likewise.
11135 * misc/mkstemps64.c: Likewise.
11136 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11137 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11138 * sysdeps/wordsize-64/mkostemp.c: File removed.
11139 * sysdeps/wordsize-64/mkstemp.c: File removed.
11140 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11141 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11142 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11143 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11146 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11147 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11148 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11149 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11151 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11152 compat_symbol macros from <shlib-compat.h> rather than the underlying
11153 default_symbol_version and symbol_version macros, so that DEFAULT
11154 lines in shlib-versions are respected.
11155 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11157 2012-08-01 Florian Weimer <fweimer@redhat.com>
11159 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11160 Declare with warn_unused_result.
11161 (setgid, setregid, setegid, setresgid): Likewise.
11162 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11164 * WUR-REPORT: Remove set*id functions.
11166 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11168 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11170 2012-07-31 Roland McGrath <roland@hack.frob.com>
11173 * include/sys/socket.h (__libc_accept, __libc_accept4):
11174 Add attribute_hidden.
11175 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11177 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11179 * inet/getnetgrent_r.c (setup): Likewise.
11181 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11183 2012-07-31 David S. Miller <davem@davemloft.net>
11185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11187 2012-07-31 Joseph Myers <joseph@codesourcery.com>
11190 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11191 value between 1.0 and 2.0 and smaller part has absolute value less
11193 * math/s_clog10.c (__clog10): Likewise.
11194 * math/s_clog10f.c (__clog10f): Likewise.
11195 * math/s_clog10l.c (__clog10l): Likewise.
11196 * math/s_clogf.c (__clogf): Likewise.
11197 * math/s_clogl.c (__clogl): Likewise.
11198 * math/libm-test.inc (clog_test): Add more tests.
11199 (clog10_test): Likewise.
11200 * sysdeps/i386/fpu/libm-test-ulps: Update.
11201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11203 2012-07-31 Florian Weimer <fweimer@redhat.com>
11205 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11206 Exit with zero in case no suitable GID is found, and write a
11207 message to standard error.
11209 2012-07-30 Roland McGrath <roland@hack.frob.com>
11211 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11213 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11214 (MAXPATHLEN): Removed.
11215 (NOGROUP, NODEV): New macros.
11216 (setbit, clrbit, isset, isclr): New macros.
11217 (howmany, roundup, powerof2): New macros.
11218 (DEV_BSIZE): New macro.
11220 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11221 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11223 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11224 definition on [!__NO_LONG_DOUBLE_MATH].
11226 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11227 PTR_MANGLE and PTR_DEMANGLE.
11229 * socket/accept4.c (accept4): Rename to __libc_accept4.
11230 Define accept4 as a weak alias.
11232 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11233 on [_DIRENT_HAVE_D_TYPE].
11234 * io/ftw.c (ftw_dir): Likewise.
11236 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11238 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11240 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11241 Use the BSD numbers rather than the arbitrary ones we had.
11242 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11243 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11244 (SIGXCPU, SIGXFSZ): New macros.
11247 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11248 initializer on [_LIBC_REENTRANT].
11250 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11251 definitions inside [_POSIX_MAPPED_FILES].
11253 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11255 * dirent/opendir.c: Include <fcntl.h>.
11257 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11258 (__libc_getspecific): Likewise.
11259 (__libc_key_create): Likewise.
11261 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11262 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11263 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11264 (tmpfile64): Define as alias.
11265 * sysdeps/wordsize-64/tmpfile.c: File removed.
11266 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11267 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11268 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11270 * stdio-common/vfscanf.c: Include <stdbool.h>.
11271 * nss/makedb.c: Likewise.
11272 * stdio-common/_i18n_number.h: Likewise.
11273 * argp/argp-help.c: Likewise.
11274 * posix/wordexp.c: Likewise.
11275 * sysdeps/posix/spawni.c: Likewise.
11276 * nss/nss_files/files-initgroups.c: Likewise.
11277 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11278 * nss/nss_files/files-initgroups.c: Likewise.
11279 * nss/nss_db/db-netgrp.c: Likewise.
11280 * nss/nss_db/db-initgroups.c: Likewise.
11281 * io/fchmodat.c: Include <sys/stat.h>.
11283 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11284 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11286 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11289 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11290 Add multiple inclusion protection.
11292 2012-07-27 David S. Miller <davem@davemloft.net>
11294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11296 2012-07-27 Gary Benson <gbenson@redhat.com>
11299 * elf/rtld.c: Include <stap-probe.h>.
11300 (dl_main): Added static probes "init_start" and "init_complete".
11301 * elf/dl-load.c: Include <stap-probe.h>.
11302 (lose): Take new parameter "nsid".
11303 Added static probe "map_failed".
11304 (_dl_map_object_from_fd): Pass namespace id to lose.
11305 Added static probe "map_start".
11306 (open_verify): Pass namespace id to lose.
11307 * elf/dl-open.c: Include <stap-probe.h>.
11308 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11309 and "reloc_complete".
11310 * elf/dl-close.c: Include <stap-probe.h>.
11311 (_dl_close_worker): Added static probes "unmap_start" and
11313 * elf/rtld-debugger-interface.txt: New file documenting the above.
11315 2012-07-26 Roland McGrath <roland@hack.frob.com>
11317 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11318 rather than a string variable.
11319 * sunrpc/rpc_main.c (h_output): Likewise.
11320 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11322 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11324 * inet/check_native.c: New file.
11326 2012-07-26 Joseph Myers <joseph@codesourcery.com>
11329 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11330 if larger part has absolute value 1.0.
11331 * math/s_clog10.c (__clog10): Likewise.
11332 * math/s_clog10f.c (__clog10f): Likewise.
11333 * math/s_clog10l.c (__clog10l): Likewise.
11334 * math/s_clogf.c (__clogf): Likewise.
11335 * math/s_clogl.c (__clogl): Likewise.
11336 * math/libm-test.inc (clog_test): Add more tests.
11337 (clog10_test): Likewise.
11338 * sysdeps/i386/fpu/libm-test-ulps: Update.
11339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11341 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11342 (pltexit): Likewise.
11343 (La_regs): Likewise.
11344 (La_retval): Likewise.
11345 (int_retval): Likewise.
11346 Update #error for removed macros to refer only to definitions in
11348 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11350 (pltexit): Likewise.
11351 (La_regs): Likewise.
11352 (La_retval): Likewise.
11353 (int_retval): Likewise.
11354 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11356 (pltexit): Likewise.
11357 (La_regs): Likewise.
11358 (La_retval): Likewise.
11359 (int_retval): Likewise.
11360 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11362 (pltexit): Likewise.
11363 (La_regs): Likewise.
11364 (La_retval): Likewise.
11365 (int_retval): Likewise.
11366 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11368 (pltexit): Likewise.
11369 (La_regs): Likewise.
11370 (La_retval): Likewise.
11371 (int_retval): Likewise.
11372 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11374 (pltexit): Likewise.
11375 (La_regs): Likewise.
11376 (La_retval): Likewise.
11377 (int_retval): Likewise.
11378 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11380 (pltexit): Likewise.
11381 (La_regs): Likewise.
11382 (La_retval): Likewise.
11383 (int_retval): Likewise.
11384 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11385 macro definitions in tst-audit.h.
11386 * sysdeps/i386/tst-audit.h: New file.
11387 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11388 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11389 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11390 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11391 * sysdeps/sh/tst-audit.h: Likewise.
11392 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11393 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11394 * sysdeps/x86_64/tst-audit.h: Likewise.
11396 2012-07-26 Andreas Jaeger <aj@suse.de>
11398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11401 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11402 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11403 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11405 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11406 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11407 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11409 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11412 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11414 (si_call_addr, si_syscall, si_arch): Define new macro.
11415 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11417 (si_call_addr, si_syscall, si_arch): Define new marcro.
11418 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11420 (si_call_addr, si_syscall, si_arch): Define new macro.
11421 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11423 (si_call_addr, si_syscall, si_arch): Define new macro.
11425 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11428 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11429 Change to 2.4.21 where previously 2.4.1.
11430 * sysdeps/unix/sysv/linux/configure: Regenerated.
11431 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11432 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11433 Linux kernel version.
11434 (__ASSUME_STD_AUXV): Remove.
11435 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11437 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11438 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11439 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11440 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11441 (__ASSUME_NETLINK_SUPPORT): Likewise.
11442 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11443 (__no_netlink_support): Remove conditional definition.
11444 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11446 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11447 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11448 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11449 (if_nameindex_ioctl): Remove.
11450 (if_nameindex_netlink): Do not handle __no_netlink_support.
11451 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11453 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11454 Remove conditional code.
11455 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11457 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11459 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11460 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11461 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11463 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11464 [!__ASSUME_STD_AUXV]: Remove conditional code.
11465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11466 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11467 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11469 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11470 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11472 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11474 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11475 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11477 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11479 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11482 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11485 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11486 code unconditional.
11487 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11489 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11491 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11494 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11496 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11499 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11500 code unconditional.
11501 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11503 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11505 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11508 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11509 code unconditional.
11510 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11512 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11514 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11517 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11519 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11520 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11521 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11522 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11523 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11524 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11525 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11526 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11527 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11528 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11529 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11530 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11531 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11532 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11533 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11534 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11535 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11536 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11537 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11539 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11540 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11541 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11543 2012-07-25 Florian Weimer <fweimer@redhat.com>
11545 * Versions.def: Add GLIBC_2.17.
11546 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11547 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11548 Introduce __libc_secure_getenv.
11549 * stdlib/Versions (2.17): Add secure_getenv
11550 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11551 * stdlib/secure-getenv.c: Rename __secure_getenv to
11552 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11553 symbol __secure_getenv for GLIBC_2.0.
11554 * stdlib/tst-secure-getenv.c: New.
11555 * stdlib/Makefile (tests): Add testcase.
11556 * manual/startup.texi (Environment Access): Document
11558 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11559 __libc_secure_getenv.
11560 * inet/ruserpass.c (ruserpass): Likewise.
11561 * malloc/mtrace.c (mtrace): Likewise.
11562 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11563 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11564 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11565 * sysdeps/posix/tempname.c: Likewise. Evaluate
11566 HAVE_SECURE_GETENV.
11567 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11568 __secure_getenv to __libc_secure_getenv.
11569 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11576 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11582 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11584 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11585 (struct La_i86_retval): Likewise.
11586 (struct La_x86_64_regs): Likewise.
11587 (struct La_x86_64_retval): Likewise.
11588 (struct La_x32_regs): Likewise.
11589 (struct La_x32_retval): Likewise.
11590 (struct La_ppc32_regs): Likewise.
11591 (struct La_ppc32_retval): Likewise.
11592 (struct La_ppc64_regs): Likewise.
11593 (struct La_ppc64_retval): Likewise.
11594 (struct La_sh_regs): Likewise.
11595 (struct La_sh_retval): Likewise.
11596 (struct La_s390_32_regs): Likewise.
11597 (struct La_s390_32_retval): Likewise.
11598 (struct La_s390_64_regs): Likewise.
11599 (struct La_s390_64_retval): Likewise.
11600 (struct La_sparc32_regs): Likewise.
11601 (struct La_sparc32_retval): Likewise.
11602 (struct La_sparc64_regs): Likewise.
11603 (struct La_sparc64_retval): Likewise.
11604 (struct audit_ifaces): Remove architecture-specific pltenter and
11606 * sysdeps/i386/ldsodefs.h: New file.
11607 * sysdeps/powerpc/ldsodefs.h: Likewise.
11608 * sysdeps/s390/ldsodefs.h: Likewise.
11609 * sysdeps/sh/ldsodefs.h: Likewise.
11610 * sysdeps/sparc/ldsodefs.h: Likewise.
11611 * sysdeps/x86_64/ldsodefs.h: Likewise.
11613 2012-07-25 Marek Polacek <polacek@redhat.com>
11616 * math/libm-test.inc (yn_test): Add another test.
11617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11618 to ERANGE when the result is +-Inf.
11619 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11620 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11621 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11622 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11624 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11626 * conform/data/time.h-data (NULL): Use macro-constant. Require
11628 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11630 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11632 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11634 * configure.in <sysdeps resolving>: Correct printing
11636 * configure: Regenerate.
11638 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11640 * math/w_ilogb.c: Include <limits.h>.
11641 * math/w_ilogbl.c: Likewise.
11643 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11645 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11646 va_copy. Document allowing for unavailable va_copy only as
11647 pre-C99 compatibility.
11648 * manual/string.texi (Copying and Concatenation): Use va_copy
11649 instead of __va_copy in concat example.
11651 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11653 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11654 (__sendto): Use create_address_port. Initialize APORT and deallocate
11657 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11658 with O_NOLINK passed to __file_name_lookup.
11660 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11661 with O_NOLINK passed to __file_name_lookup.
11663 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11664 negative N or less than NGIDS.
11666 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11667 type to string_t. Set ERANGE as errno and return it if NAME is not big
11668 enough. Use memcpy instead of strncpy.
11670 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11672 * elf/Makefile (check-data): Remove.
11673 (localplt.data): New vpath directive.
11674 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11675 instead of $(check-data).
11676 * scripts/data/localplt-generic.data: Move to ...
11677 * sysdeps/generic/localplt.data: ... here.
11678 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11679 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11680 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11683 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11686 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11689 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11692 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11695 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11699 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11701 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11702 PPC32 and PPC64 files.
11703 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11704 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11706 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11708 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11709 __makecontext_ret to ...
11710 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11711 ... here and call exit if uc_link is NULL. New file.
11712 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11713 __makecontext_ret.S.
11714 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11715 __makecontext_ret to ...
11716 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11717 ... here and call exit if uc_link is NULL. New file.
11718 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11719 __makecontext_ret.S.
11721 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11723 * elf/elf.h (R_390_IRELATIVE): New definition.
11724 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11725 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11726 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11727 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11728 (elf_machine_lazy_rel): Likewise.
11729 * sysdeps/s390/dl-irel.h: New file.
11730 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11731 * sysdeps/s390/s390-64/memset.S: New asm code.
11732 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11733 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11734 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11735 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11736 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11737 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11738 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11739 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11740 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11741 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11742 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11743 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11744 * sysdeps/s390/s390-32/memset.S: New asm code.
11745 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11747 2012-07-17 Marek Polacek <polacek@redhat.com>
11750 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11751 * sysdeps/s390/s390-64/configure.in: Likewise.
11752 * sysdeps/sparc/configure.in: Likewise.
11753 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11754 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11755 * sysdeps/i386/configure.in: Likewise.
11756 * sysdeps/x86_64/configure.in: Likewise.
11757 * sysdeps/sh/configure.in: Likewise.
11758 * sysdeps/s390/s390-32/configure: Regenerated.
11759 * sysdeps/s390/s390-64/configure: Likewise.
11760 * sysdeps/x86_64/configure: Likewise.
11761 * sysdeps/sh/configure: Likewise.
11762 * sysdeps/powerpc/powerpc64/configure: Likewise.
11763 * sysdeps/powerpc/powerpc32/configure: Likewise.
11764 * sysdeps/sparc/configure: Likwise.
11765 * sysdeps/i386/configure: Likewise.
11767 * elf/dl-open.c: Comment fixes.
11769 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11771 * Makefile [CXX] (check-data): Remove.
11772 [CXX] (c++-types.data): New vpath directive.
11773 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11774 vpath. Do not allow for C++ type data being missing.
11775 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11776 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11777 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11778 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11779 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11780 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11781 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11784 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11787 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11790 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11793 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11796 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11799 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11802 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11805 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11806 definitions to architecture-specific files.
11807 (TLS_IE): Likewise.
11808 (TLS_LD): Likewise.
11809 (TLS_GD): Likewise.
11810 * sysdeps/i386/tls-macros.h: New file.
11811 * sysdeps/powerpc/tls-macros.h: Likewise.
11812 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11813 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11814 * sysdeps/sh/tls-macros.h: Likewise.
11815 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11816 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11817 * sysdeps/x86_64/tls-macros.h: Likewise.
11819 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11821 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11822 zero value for regular exit case.
11824 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11825 (__start_context): Preserve zero value for regular exit case.
11827 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11828 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11830 * manual/setjmp.texi (setcontext): Clarify normal process
11831 termination when uc_link is the null pointer.
11832 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11835 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11837 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11838 preprocessor. Test for each exception mask separately.
11840 2012-07-16 Andreas Jaeger <aj@suse.de>
11842 * po/ru.po: Update from translation team.
11844 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11846 * conform/data/string.h-data (NULL): Use macro-constant. Require
11848 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11849 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11850 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11851 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11852 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11854 2012-07-13 Andreas Jaeger <aj@suse.de>
11856 * po/fr.po: Update from translation team.
11858 2012-07-12 Marek Polacek <polacek@redhat.com>
11861 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11862 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11865 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11868 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11869 Change to 2.4.1 where previously 2.4.0.
11870 * sysdeps/unix/sysv/linux/configure: Regenerated.
11871 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11872 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11874 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11875 (__ASSUME_AT_CLKTCK): Remove.
11876 (__ASSUME_AT_PAGESIZE): Likewise.
11877 (__ASSUME_AT_XID): Likewise.
11878 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11879 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11880 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11882 (HAVE_AUX_PAGESIZE): Likewise.
11883 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11884 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11885 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11887 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11891 the temporary buffer used to invoke __gethostbyname2_r,
11892 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11893 host_data / struct gaih_addrtuple.
11894 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11895 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11896 header file nss/nsswitch.h.
11897 * nss/nsswitch.h (global scope): Add definition of implementation
11898 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11899 resolv/nss_dns/dns-host.c).
11901 2012-07-11 Andreas Jaeger <aj@suse.de>
11903 * po/fr.po: Update from translation team.
11905 * po/sv.po: Update from translation team
11906 * po/fr.po: Another update from translation team.
11908 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11910 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11911 for subnormals or multiply small sinh result by itself.
11912 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11915 2012-07-11 David S. Miller <davem@davemloft.net>
11917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11919 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11922 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11923 (INTERNAL_MARK): Shift it here.
11925 2012-07-10 Marek Polacek <polacek@redhat.com>
11928 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11929 libc_cv_asm_global_directive with .globl.
11930 * configure: Regenerated.
11931 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11933 * sysdeps/i386/configure: Regenerated.
11934 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11936 * sysdeps/x86_64/configure: Regenerated.
11937 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11938 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11939 * elf/tst-unique2mod2.c: Likewise.
11940 * elf/tst-unique2mod1.c: Likewise.
11941 * elf/tst-unique1mod2.c: Likewise.
11942 * elf/tst-unique1mod1.c: Likewise.
11943 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11944 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11945 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11946 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11947 * sysdeps/mach/sysdep.h: Likewise.
11948 * sysdeps/i386/sysdep.h: Likewise.
11949 * sysdeps/i386/i386-mcount.S: Likewise.
11950 * sysdeps/x86_64/_mcount.S: Likewise.
11951 * sysdeps/x86_64/sysdep.h: Likewise.
11952 * sysdeps/sh/_mcount.S: Likewise.
11953 * sysdeps/sh/sysdep.h: Likewise.
11954 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11955 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11956 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11957 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11958 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11959 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11960 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11961 * locale/localeinfo.h: Likewise.
11962 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11963 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11965 2012-07-09 Roland McGrath <roland@hack.frob.com>
11968 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11970 * manual/message.texi (The Uniforum approach): Likewise.
11971 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11972 (glibc iconv Implementation): Likewise.
11974 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11977 * math/s_clog.c (__clog): Avoid scaling a value down where that
11978 could result in underflow.
11979 * math/s_clog10.c (__clog10): Likewise.
11980 * math/s_clog10f.c (__clog10f): Likewise.
11981 * math/s_clog10l.c (__clog10l): Likewise.
11982 * math/s_clogf.c (__clogf): Likewise.
11983 * math/s_clogl.c (__clogl): Likewise.
11984 * math/libm-test.inc (clog_test): Add more tests.
11985 (clog10_test): Likewise.
11986 * sysdeps/i386/fpu/libm-test-ulps: Update.
11987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11989 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11992 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11993 by 7 not 8 to examine high bit of fractional part.
11996 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11997 for call to __mcount_internal.
11998 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11999 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12000 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12002 2012-07-06 Joseph Myers <joseph@codesourcery.com>
12005 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12006 approximation for values within 0x1p-13f of an odd multiple of
12008 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12009 exception. Add more tests.
12010 * sysdeps/i386/fpu/libm-test-ulps: Update.
12013 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12014 inputs and return -1 for them. Do not check for +Inf in case not
12015 reachable for +Inf.
12016 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12017 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12018 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12019 and return -1 for them. Do not check for +Inf in case not
12020 reachable for +Inf.
12021 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12023 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12024 and return -1 for them. Do not check for +Inf in case not
12025 reachable for +Inf.
12026 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12027 spurious underflow.
12028 * sysdeps/i386/fpu/libm-test-ulps: Update.
12029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12031 2012-07-06 Mike Frysinger <vapier@gentoo.org>
12033 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12035 2012-07-05 Joseph Myers <joseph@codesourcery.com>
12039 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12040 could result in spurious underflow. Scale down values above
12041 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12042 * math/s_csqrtf.c (__csqrtf): Likewise.
12043 * math/s_csqrtl.c (__csqrtl): Likewise.
12044 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12045 spurious underflow.
12046 * sysdeps/i386/fpu/libm-test-ulps: Update.
12047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12049 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12051 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12053 * catgets/xopen-msg.awk: New file.
12054 * catgets/xopen-msg.sed: Removed.
12056 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12058 * intl/po2test.awk: New file.
12059 * intl/po2test.sed: Removed.
12061 2012-07-04 Joseph Myers <joseph@codesourcery.com>
12064 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12065 or multiply small sinh result by itself.
12066 * math/s_ctanf.c (__ctanf): Likewise.
12067 * math/s_ctanh.c (__ctanh): Likewise.
12068 * math/s_ctanhf.c (__ctanhf): Likewise.
12069 * math/s_ctanhl.c (__ctanhl): Likewise.
12070 * math/s_ctanl.c (__ctanl): Likewise.
12071 * math/libm-test.inc (ctan_test_tonearest): New function.
12072 (ctan_test_towardzero): Likewise.
12073 (ctan_test_downward): Likewise.
12074 (ctan_test_upward): Likewise.
12075 (ctanh_test_tonearest): Likewise.
12076 (ctanh_test_towardzero): Likewise.
12077 (ctanh_test_downward): Likewise.
12078 (ctanh_test_upward): Likewise.
12079 (main): Call these new functions.
12080 * sysdeps/i386/fpu/libm-test-ulps: Update.
12081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12083 2012-07-03 Mike Frysinger <vapier@gentoo.org>
12085 * .gitignore: Delete /ports entry.
12087 2012-07-03 Andreas Jaeger <aj@suse.de>
12089 * po/bg.po: Update from translation team.
12090 * po/cs.po: Likewise.
12091 * po/de.po: Likewise.
12092 * po/hr.po: Likewise.
12093 * po/nl.pl: Likewise.
12094 * po/pl.po: Likewise.
12095 * po/vi.po: Likewise.
12097 2012-07-03 Joseph Myers <joseph@codesourcery.com>
12099 * Makeconfig [!+link] (+link-before-libc): New variable.
12100 [!+link] (+link-after-libc): Likewise.
12101 [!+link] (+link-tests): Likewise.
12102 [!+link] (+link): Define in terms of $(+link-before-libc) and
12103 $(+link-after-libc).
12104 [!+link-static] (+link-static-before-libc): New variable.
12105 [!+link-static] (+link-static-after-libc): Likewise.
12106 [!+link-static] (+link-static-tests): Likewise.
12107 [!+link-static] (+link-static): Define in terms of
12108 $(+link-static-before-libc) and $(+link-static-after-libc).
12109 [build-shared] (link-libc-before-gnulib): New variable.
12110 [build-shared] (link-libc-tests): Likewise.
12111 [build-shared] (link-libc): Define in terms of
12112 $(link-libc-before-gnulib).
12113 [!build-shared] (link-libc-tests): New variable.
12114 (link-libc-static-tests): New variable.
12115 [!gnulib] (gnulib-arch): New variable.
12116 [!gnulib] (gnulib-tests): Likewise.
12117 [!gnulib] (static-gnulib-arch): Likewise.
12118 [!gnulib] (static-gnulib-tests): Likewise.
12119 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12120 Define with "=" instead of ":=".
12121 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12122 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12123 * Rules (binaries-all-notests): New variable.
12124 (binaries-all-tests): Likewise.
12125 (binaries-static-notests): Likewise.
12126 (binaries-static-tests): Likewise.
12127 (binaries-all): Define using $(binaries-all-notests) and
12128 $(binaries-all-tests).
12129 (binaries-static): Define using $(binaries-static-notests) and
12130 $(binaries-static-tests).
12131 (binaries-shared-tests): New variable.
12132 (binaries-shared-notests): Likewise.
12133 (binaries-shared): Remove variable.
12134 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12135 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12136 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12137 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12138 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12139 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12140 * elf/Makefile (sln-modules): New variable.
12141 (extra-objs): Add $(sln-modules:=.o).
12142 (ldconfig-modules): Add static-stubs.
12143 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12144 * elf/static-stubs.c: New file.
12147 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12148 by 7 not 8 to examine high bit of fractional part. Use volatile
12149 variables when splitting into final array of floats if
12150 __FLT_EVAL_METHOD__ != 0.
12151 * math/libm-test.inc (cos_test): Add another test.
12152 (sin_test): Likewise.
12153 * sysdeps/i386/fpu/libm-test-ulps: Update.
12156 * math/libm-test.inc (cosh_test): Add more tests.
12158 * version.h (RELEASE): Set to "development".
12159 (VERSION): Set to "2.16.90".
12161 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12163 * NEWS: Update copyright. Remove last-updated date.
12164 Mention math library bug fixes and timezone data changes.
12165 * README: Mention GNU/Hurd, x32, and HPPA support status.
12167 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12169 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12171 2012-06-27 Andreas Jaeger <aj@suse.de>
12173 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12175 2012-06-25 Andreas Jaeger <aj@suse.de>
12177 * sysdeps/s390/fpu/libm-test-ulps: Update.
12179 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12180 Thomas Schwinge <thomas@codesourcery.com>
12182 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12183 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12184 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12187 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12189 * sysdeps/mach/start.c: Remove file.
12190 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12191 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12192 * sysdeps/sh/init-first.c: Likewise.
12194 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12195 registers for frame unwinding purposes, add CFI directives.
12196 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12197 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12198 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12201 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12202 __fortify_fail returning.
12203 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12205 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12206 sysdeps/sh/____longjmp_chk.S.
12207 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12208 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12209 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12210 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12212 * sysdeps/sh/abort-instr.h: New file.
12213 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12214 process in case exit returns.
12216 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12217 initialize the GOT register before use.
12219 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12220 calculation of ARGC > 4.
12222 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12223 meaningful names to some local labels.
12225 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12226 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12228 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12229 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12230 (__arch_compare_and_exchange_val_16_acq): Likewise.
12231 (__arch_compare_and_exchange_val_32_acq): Likewise.
12232 (atomic_exchange_and_add): Fix gUSA sequence.
12233 (atomic_add): Likewise.
12234 (atomic_add_negative): Likewise.
12235 (atomic_add_zero): Likewise.
12236 (atomic_bit_test_set): Likewise.
12238 2012-06-22 Andreas Schwab <schwab@redhat.com>
12241 * include/link.h (struct link_map): Add l_free_initfini.
12242 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12244 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12245 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12246 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12249 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12251 * configure.in: Use AC_LANG_SOURCE.
12252 * configure: Regenerate.
12254 2012-06-22 Roland McGrath <roland@hack.frob.com>
12256 * configure.in (libc_cv_localstatedir): New substituted variable.
12257 * configure: Regenerated.
12258 * config.make.in (localstatedir): New variable, substituted from
12259 libc_cv_localstatedir.
12260 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12261 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12262 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12263 * sysdeps/gnu/configure: Regenerated.
12265 2012-06-21 Jeff Law <law@redhat.com>
12268 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12269 free. Simplify list management for _LIBC case.
12271 2012-06-21 Joseph Myers <joseph@codesourcery.com>
12274 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12275 Clear sign bit of 64-bit integer value before comparing against
12278 * sysdeps/mach/configure: Regenerated.
12280 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12283 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12285 2012-06-21 Jeff Law <law@redhat.com>
12288 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12289 uint16_t for elements in the "seen" array to avoid char overflows.
12290 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12291 * elf/dl-open.c (dl_open_worker): Likewise.
12293 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12295 * scripts/list-sources.sh: Scan PORTS for translations.
12296 * po/libc.pot: Regenerated.
12298 2012-06-21 Andreas Jaeger <aj@suse.de>
12301 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12303 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12304 * bits/byteswap-16.h (__bswap_16): Likewise.
12305 * bits/byteswap.h (__bswap_constant_16): Likewise.
12307 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12310 * sysdeps/i386/fpu_control.h: Removed.
12311 * sysdeps/x86_64/fpu_control.h: Moved to ...
12312 * sysdeps/x86/fpu_control.h: Here.
12314 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12315 (_FPU_SETCW): Likewise.
12317 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12320 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12321 * sysdeps/x86/fpu/bits/mathinline.h: This.
12322 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12326 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12327 functions if __x86_64__ is defined.
12329 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12331 * string/endian.h: Add !__ASSEMBLER__ condition for including
12332 conversion interfaces.
12334 2012-06-15 Joseph Myers <joseph@codesourcery.com>
12337 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12338 of ABS(x) in calculating zero to negative powers other than odd
12340 * math/libm-test.inc (pow_test): Add more tests.
12342 2012-06-15 Andreas Jaeger <aj@suse.de>
12344 * manual/contrib.texi (Contributors): Update entry of Liubov
12345 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12348 2012-06-15 Cyril Hrubis <metan@ucw.cz>
12350 * string/string.h: Add __wur to GNU version of strerror_r.
12352 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12355 * string/Makefile (tests): Add tst-strtok_r.
12356 * string/tst-strtok_r.c: New file.
12357 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12358 RAX_LP/RDX_LP on SAVE_PTR.
12360 2012-06-14 Roland McGrath <roland@hack.frob.com>
12362 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12364 2012-06-14 Joseph Myers <joseph@codesourcery.com>
12366 * libm_test.inc (csqrt_test): Allow more spurious underflow
12368 (j0_test): Likewise.
12369 (j1_test): Likewise.
12370 (y0_test): Likewise.
12371 (y1_test): Likewise.
12373 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12375 * po/Makefile (libc.pot): Use UTF-8 charset.
12377 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12380 Suppress sign-conversion warning from FD_SET.
12381 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12382 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12383 not unsigned long int.
12384 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12386 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12390 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12391 __extern_always_inline instead of __extern_inline.
12392 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12393 (__signbit): Likewise.
12394 (__signbitl): Support C++ namespace.
12395 (lrintf): New inline function.
12397 (llrintf): Likewise.
12398 (llrint): Likewise.
12408 (floorf): Likewise.
12409 (nearbyint): Likewise.
12410 (nearbyintf): Likewise.
12412 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12414 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12415 non-default versions.
12417 2012-06-11 Roland McGrath <roland@hack.frob.com>
12420 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12422 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12424 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12425 (FE_UPWARD, FE_DOWNWARD): Don't define.
12426 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12427 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12429 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12431 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12432 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12434 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12436 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12437 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12438 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12439 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12441 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12444 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12445 * sysdeps/i386/fpu/Implies: New file.
12446 * sysdeps/x86_64/fpu/Implies: Likewise.
12447 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12448 * sysdeps/x86/fpu/bits/fenv.h: This.
12450 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12453 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12456 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12457 character 0xffff that matches the last element of the
12460 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12465 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12467 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12468 values higher than 25.6283.
12470 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12472 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12473 subnormal exponent extraction and add some __builtin_expect.
12474 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12475 Fix for subnormal mantissa calculation.
12477 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12479 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12480 cpu2 is -1 and errno is not ENOSYS.
12482 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12485 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12486 * sysdeps/x86/bits/string.h: This.
12487 * sysdeps/x86_64/bits/string.h: Removed.
12489 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12490 if not compiling for x86-64, but compiling for >= i486.
12492 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12493 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12495 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12496 New macro from Linux kernel 3.4.0.
12497 (FP_XSTATE_MAGIC2): Likewise.
12498 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12499 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12500 (struct _fpx_sw_bytes): New struct.
12501 (struct _xsave_hdr): Likewise.
12502 (struct _ymmh_state): Likewise.
12503 (struct _xstate): Likewise.
12505 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12506 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12507 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12508 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12509 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12510 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12512 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12513 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12514 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12515 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12516 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12517 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12519 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12522 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12523 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12524 (sysdep_headers): Include sys/platform/ppc.h.
12525 * sysdeps/powerpc/test-gettimebase.c: Test for
12526 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12527 * manual/Makefile (appendices): Include platform.texi.
12528 * manual/contrib.texi (Contributors): Update @node pointers.
12529 * manual/maint.texi (Maintenance): Likewise.
12530 (Platform): New node.
12531 * manual/platform.texi: New file. Document the new features.
12533 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12534 Jakub Jelinek <jakub@redhat.com>
12537 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12538 where __builtin_expect is unavailable.
12540 2012-06-03 David S. Miller <davem@davemloft.net>
12542 * stdlib/longlong.h: Updated from GCC.
12544 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12547 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12548 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12551 (GLIBC_2.16): Likewise.
12553 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12555 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12557 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12560 (default-abi): New variable.
12561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12562 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12564 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12566 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12568 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12571 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12572 definition. Document in comment.
12574 2012-06-01 David S. Miller <davem@davemloft.net>
12576 * stdlib/longlong.h: Updated from GCC.
12578 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12581 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12582 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12583 sys/debugreg.h sys/io.h here.
12584 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12585 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12587 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12588 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12589 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12590 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12591 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12592 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12594 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12595 Define only if __x86_64__ is defined.
12597 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12600 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12601 Use int64_t for variable i.
12602 * math/libm-test.inc (fmod_test): Add more tests.
12604 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12605 z computation is not scheduled after fetestexcept.
12606 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12607 Use math_force_eval instead of asm to ensure calculation scheduled
12608 before exception test.
12609 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12610 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12612 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12615 computation is not scheduled after fetestexcept.
12617 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12620 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12621 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12623 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12625 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12626 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12628 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12631 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12633 (__WCHAR_MIN): Support __WORDSIZE == 64.
12634 (__WCHAR_MAX): Likewise.
12636 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12637 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12640 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12641 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12644 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12645 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12647 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12648 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12650 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12651 Defined to 1 if __x86_64__ isn't defined.
12652 (_STAT_VER_LINUX_OLD): New.
12653 (st_atime): Remove duplicate.
12654 (st_mtime): Likewise.
12655 (st_ctime): Likewise.
12657 2012-05-31 David S. Miller <davem@davemloft.net>
12659 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12662 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12664 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12668 * elf/dl-reloc.c: Include <_itoa.h>.
12669 (_dl_reloc_bad_type): Remove use of INTUSE.
12670 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12671 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12672 * stdio-common/psiginfo.c (psiginfo): Likewise.
12673 * stdio-common/psignal.c (psignal): Likewise.
12674 * string/strsignal.c (strsignal): Likewise.
12675 * include/signal.h (_sys_siglist): Declare hidden proto.
12676 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12677 INTVARDEF with libc_hidden_data_def.
12678 * stdio-common/itoa-udigits.c: Likewise.
12679 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12680 (_itoa_lower_digits_internal): Remove declaration.
12681 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12682 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12683 (_sys_sigabbrev_internal): Remove aliases.
12684 (_sys_siglist): Define hidden alias.
12686 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12691 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12694 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12695 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12697 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12698 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12699 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12700 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12701 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12702 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12704 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12705 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12706 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12708 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12716 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12717 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12718 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12720 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12721 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12722 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12723 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12724 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12725 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12727 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12728 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12730 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12731 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12733 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12735 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12737 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12738 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12740 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12742 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12743 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12744 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12746 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12748 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12750 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12752 * math/math.h (M_El): Use two more decimal places.
12753 (M_LOG2El): Likewise.
12754 (M_LOG10El): Likewise.
12755 (M_LN2l): Likewise.
12756 (M_LN10l): Likewise.
12758 (M_PI_2l): Likewise.
12759 (M_PI_4l): Likewise.
12760 (M_1_PIl): Likewise.
12761 (M_2_PIl): Likewise.
12762 (M_2_SQRTPIl): Likewise.
12763 (M_SQRT2l): Likewise.
12764 (M_SQRT1_2l): Likewise.
12766 2012-05-31 David S. Miller <davem@davemloft.net>
12768 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12769 values between float registers.
12770 * sysdeps/sparc/sparc64/memset.S: Likewise.
12771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12773 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12775 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12776 -D_FORTIFY_SOURCE=1.
12777 (CPPFLAGS-tst-longjmp_chk.c): Define.
12778 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12779 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12780 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12781 CFLAGS-tst-wchar-h.c.
12783 2012-05-31 Marek Polacek <polacek@redhat.com>
12786 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12787 __endmntent_internal): Remove declaration.
12788 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12789 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12790 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12792 2012-05-30 David S. Miller <davem@davemloft.net>
12794 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12795 (___Q_simulate_exceptions): Use real FP ops rather than writing
12797 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12800 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12803 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12804 * sysdeps/x86/bits/xtitypes.h: This.
12806 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12807 * sysdeps/x86/bits/wordsize.h: This.
12809 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12810 * sysdeps/x86/bits/huge_vall.h: This.
12812 * sysdeps/i386/bits/select.h: Removed.
12813 * sysdeps/x86_64/bits/select.h: Renamed to ...
12814 * sysdeps/x86/bits/select.h: This.
12816 * sysdeps/i386/bits/setjmp.h: Removed.
12817 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12818 * sysdeps/x86/bits/setjmp.h: This.
12820 * sysdeps/i386/bits/mathdef.h: Removed.
12821 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12822 * sysdeps/x86/bits/mathdef.h: This.
12824 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12827 * include/sys/socket.h (__connect_internal)
12828 (__libc_sa_len_internal): Remove declaration.
12829 (__connect, __libc_sa_len): Declare hidden_proto.
12830 (SA_LEN): Remove use of INTUSE.
12831 * socket/connect.c: Add libc_hidden_def.
12832 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12833 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12834 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12836 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12837 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12838 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12839 of adding _internal alias.
12841 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12844 * sysdeps/i386/bits/link.h: Removed.
12845 * sysdeps/i386/bits/linkmap.h: Likewise.
12846 * sysdeps/x86_64/bits/link.h: Renamed to ...
12847 * sysdeps/x86/bits/link.h: This.
12848 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12849 * sysdeps/x86/bits/linkmap.h: This.
12851 * sysdeps/i386/bits/endian.h: Removed.
12852 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12853 * sysdeps/x86/bits/endian.h: This.
12855 * sysdeps/i386/bits/byteswap.h: Removed.
12856 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12857 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12858 * sysdeps/x86/bits/byteswap.h: This.
12859 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12860 * sysdeps/x86/bits/byteswap-16.h: This.
12861 * sysdeps/i386/Implies: Add x86.
12862 * sysdeps/x86_64/Implies: Likewise.
12864 2012-05-30 David S. Miller <davem@davemloft.net>
12866 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12867 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12868 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12869 (FP_TRAPPING_EXCEPTIONS): Define.
12870 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12871 (FP_TRAPPING_EXCEPTIONS): Define.
12872 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12873 subnormals only when inexact has been signalled or underflow
12874 exceptions are enabled.
12875 (_FP_PACK_CANONICAL): Likewise.
12877 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12880 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12881 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12883 2012-05-30 Richard Henderson <rth@twiddle.net>
12885 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12886 with #ifndef NOT_IN_libc.
12888 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12889 marked to avoid plt entry.
12891 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12894 * Makeconfig (default-abi): New macro.
12895 (abi-includes): Likewise.
12896 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12897 $(abi-$(default-abi)-lib-soname) for soname if defined.
12898 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12900 * Makefile (installed-stubs): Likewise.
12901 * include/stubs-biarch.h: Removed.
12902 * scripts/lib-names.awk: Only handle one library at a time.
12903 * scripts/soversions.awk: Remove WORDSIZE support.
12904 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12906 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12908 (syscall-list-default-condition): Likewise.
12909 (syscall-list-default-condition): Likewise.
12910 (syscall-list-includes): Likewise.
12911 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12912 syscall-list-* with abi-*. Handle undefined abi-variants.
12913 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12914 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12915 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12916 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12917 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12918 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12920 (syscall-list-32-options): Likewise.
12921 (syscall-list-32-condition): Likewise.
12922 (syscall-list-64-options): Likewise.
12923 (syscall-list-64-condition): Likewise.
12924 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12926 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12929 (abi-64-ld-soname): New macro.
12930 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12931 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12934 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12935 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12937 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12939 * sysdeps/unix/sysv/linux/kernel-features.h
12940 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12941 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12942 include <kernel-features.h>.
12943 [!__NR_ftruncate64]: Remove conditional code.
12944 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12945 [__NR_ftruncate64]: Make code unconditional.
12946 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12947 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12948 include <kernel-features.h>.
12949 [!__NR_ftruncate64]: Remove conditional code.
12950 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12951 [__NR_ftruncate64]: Make code unconditional.
12952 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12954 include <kernel-features.h>.
12955 [!__NR_ftruncate64]: Remove conditional code.
12956 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12957 [__NR_ftruncate64]: Make code unconditional.
12958 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12960 include <kernel-features.h>.
12961 [!__NR_ftruncate64]: Remove conditional code.
12962 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12963 [__NR_ftruncate64]: Make code unconditional.
12964 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12966 * configure.in (libc_cv_fpie): Weaken to a compile test using
12967 LIBC_TRY_CC_OPTION.
12968 * configure: Regenerated.
12970 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12985 2012-05-27 David S. Miller <davem@davemloft.net>
12987 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12989 (__Q_simulate_exceptions): Return void. Change to simulate
12990 exceptions by writing into the %fsr.
12991 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12992 (__Qp_handle_exceptions): Likewise.
12994 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12995 __Qp_handle_exceptions.
12996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12997 __Qp_handle_exceptions.
12998 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12999 as unused and give dummy FP_RND_NEAREST initializer.
13000 (FP_INHIBIT_RESULTS): Define.
13001 (___Q_simulate_exceptions): Update declaration.
13002 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13004 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13005 as unused and give dummy FP_RND_NEAREST initializer.
13006 (__Qp_handle_exceptions): Update declaration.
13007 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13010 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13012 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13013 the temporary FPU control word.
13014 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13015 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13016 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13017 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13018 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13019 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13020 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13021 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13022 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13023 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13024 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13026 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13028 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13031 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13033 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13034 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13035 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13036 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13038 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13039 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13042 2012-05-27 Ulrich Drepper <drepper@gmail.com>
13044 * po/h.po: Update from translation team.
13046 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13048 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13050 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13051 handling of denormals.
13052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13053 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13054 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13055 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13056 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13061 2012-05-26 Marek Polacek <polacek@redhat.com>
13064 * math/libm-test.inc (fma_test): Don't always expect underflow
13067 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13070 * elf/tst-execstack.c: Include stackinfo.h.
13071 (do_test): Adjust test case to ensure that pthread_getattr_np
13072 behaviour remains the same after marking stack executable.
13074 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13076 * sysdeps/unix/sysv/linux/kernel-features.h
13077 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13078 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13080 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13081 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13082 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13084 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13085 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13087 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13089 * configure.in: Define the default includes to being none.
13090 * configure: Regenerated.
13092 2012-05-25 Roland McGrath <roland@hack.frob.com>
13094 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13095 * sysdeps/x86_64/setjmp.S: Likewise.
13096 * sysdeps/i386/bsd-setjmp.S: Likewise.
13097 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13098 * sysdeps/i386/setjmp.S: Likewise.
13099 * sysdeps/i386/__longjmp.S: Likewise.
13100 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13101 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13103 * include/stap-probe.h: New file.
13104 * configure.in: Handle --enable-systemtap.
13105 * configure: Regenerated.
13106 * config.h.in (USE_STAP_PROBE): New #undef.
13107 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13108 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13109 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13111 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13114 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13115 to 2.4.0 where earlier.
13116 * sysdeps/unix/sysv/linux/configure: Regenerated.
13117 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
13122 <kernel-features.h>.
13123 [__ASSUME_32BITUIDS]: Make code unconditional.
13124 [!__ASSUME_32BITUIDS]: Remove conditional code.
13125 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13126 [__ASSUME_32BITUIDS]: Make code unconditional.
13127 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13128 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.c: Do not include
13165 <kernel-features.h>.
13166 [__ASSUME_32BITUIDS]: Make code unconditional.
13167 [!__ASSUME_32BITUIDS]: Remove conditional code.
13168 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13169 <kernel-features.h>.
13170 [__NR_setresgid] (__setresgid): Do not declare.
13171 [__ASSUME_32BITUIDS]: Make code unconditional.
13172 [!__ASSUME_32BITUIDS]: Remove conditional code.
13173 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13174 <kernel-features.h>.
13175 [__NR_setresuid] (__setresuid): Do not declare.
13176 [__ASSUME_32BITUIDS]: Make code unconditional.
13177 [!__ASSUME_32BITUIDS]: Remove conditional code.
13178 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/i386/shmctl.c: Do not include
13215 <kernel-features.h>.
13216 [__ASSUME_32BITUIDS]: Make code unconditional.
13217 [!__ASSUME_32BITUIDS]: Remove conditional code.
13218 * sysdeps/unix/sysv/linux/kernel-features.h
13219 (__ASSUME_SETRESUID_SYSCALL): Remove.
13220 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13221 (__ASSUME_32BITUIDS): Likewise.
13222 (__ASSUME_LDT_WORKS): Likewise.
13223 (__ASSUME_O_DIRECTORY): Likewise.
13224 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13225 architecture but not kernel version.
13226 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13227 (__ASSUME_MMAP2_SYSCALL): Likewise.
13228 (__ASSUME_STAT64_SYSCALL): Likewise.
13229 (__ASSUME_IPC64): Likewise.
13230 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13231 <kernel-features.h>.
13232 [__ASSUME_32BITUIDS]: Make code unconditional.
13233 [!__ASSUME_32BITUIDS]: Remove conditional code.
13234 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13235 <kernel-features.h>.
13236 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13237 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13238 132096]: Remove conditional code.
13239 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13240 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
13245 <kernel-features.h>.
13246 [__ASSUME_32BITUIDS]: Make code unconditional.
13247 [!__ASSUME_32BITUIDS]: Remove conditional code.
13248 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13249 <kernel-features.h>.
13250 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13252 (__setresgid): Do not declare.
13253 [__ASSUME_32BITUIDS]: Make code unconditional.
13254 [!__ASSUME_32BITUIDS]: Remove conditional code.
13255 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13256 <kernel-features.h>.
13257 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13259 (__setresuid): Do not declare.
13260 [__ASSUME_32BITUIDS]: Make code unconditional.
13261 [!__ASSUME_32BITUIDS]: Remove conditional code.
13262 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13263 <kernel-features.h>.
13264 [__ASSUME_32BITUIDS]: Make code unconditional.
13265 [!__ASSUME_32BITUIDS]: Remove conditional code.
13266 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13267 <kernel-features.h>.
13268 [__ASSUME_32BITUIDS]: Make code unconditional.
13269 [!__ASSUME_32BITUIDS]: Remove conditional code.
13271 2012-05-25 Richard Henderson <rth@twiddle.net>
13273 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13274 dl_hwcap to ifunc resolver.
13275 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13277 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13278 dl_hwcap to ifunc resolver.
13279 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13281 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13284 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13285 for |x| <= 2**-26, not 2**-57.
13286 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13289 2012-05-24 Jeff Law <law@redhat.com>
13291 * stdio-common/Makefile (tests): Add bug25.
13292 * stdio-common/bug25.c: New test.
13294 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13297 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13298 multiple of MALLOC_ALIGNMENT in size.
13299 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13301 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13303 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13305 (FILENAME_MAX): Use macro-int-constant.
13306 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13307 (_IOFBF): Use macro-int-constant.
13308 (_IOLBF): Likewise.
13309 (_IONBF): Likewise.
13310 (SEEK_CUR): Likewise.
13311 (SEEK_END): Likewise.
13312 (SEEK_SET): Likewise.
13313 (TMP_MAX): Likewise.
13314 (EOF): Use macro-int-constant. Require < 0.
13315 (NULL): Use macro-constant. Require == 0.
13316 (stdin): Require type to be FILE *.
13317 (stdout): Likewise.
13318 (stderr): Likewise.
13319 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13320 macro-int-constant.
13321 (EXIT_SUCCESS): Likewise.
13322 (NULL): Use macro-constant. Require == 0.
13323 (RAND_MAX): Use macro-int-constant.
13324 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13325 [C99-based standards] (strtof): Require function.
13326 [C99-based standards] (strtold): Likewise.
13327 [C99-based standards] (strtoll): Likewise.
13328 [C99-based standards] (strtoull): Likewise.
13329 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13330 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13331 [ISO || ISO99 || ISO11] (math.h): Likewise.
13332 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13333 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13334 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13336 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13339 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13340 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13341 * intl/dgettext.c (DCGETTEXT): Likewise.
13342 * intl/gettext.c (DCGETTEXT): Likewise.
13343 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13344 * posix/regex_internal.h (gettext): Likewise.
13345 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13346 Remove declaration.
13347 * include/argz.h (__argz_count_internal)
13348 (__argz_stringify_internal): Remove declaration.
13349 (__argz_count, __argz_stringify): Declare hidden proto.
13350 * intl/dcgettext.c: Remove use of INTDEF.
13351 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13352 * string/argz-stringify.c: Likewise.
13353 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13354 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13355 Declare hidden proto.
13356 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13357 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13358 Declare hidden proto.
13359 * include/stdio.h (__asprintf_internal): Don't declare.
13360 (__asprintf): Don't define as macro. Declare hidden proto.
13361 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13362 (__fsetlocking): Declare hidden proto.
13363 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13364 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13366 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13367 (_IO_setlinebuf): Remove use of INTUSE.
13368 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13369 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13370 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13371 Remove declaration.
13372 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13373 (_IO_do_flush): Remove use of INTUSE.
13374 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13375 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13376 (_IO_adjust_column, _IO_least_wmarker)
13377 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13378 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13379 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13380 (_IO_default_doallocate, _IO_wdefault_doallocate)
13381 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13382 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13383 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13384 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13385 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13386 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13387 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13388 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13389 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13390 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13391 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13392 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13393 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13395 (_IO_flush_all_internal, _IO_adjust_column_internal)
13396 (_IO_default_uflow_internal, _IO_default_finish_internal)
13397 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13398 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13399 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13400 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13401 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13402 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13403 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13404 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13405 (_IO_file_close_internal, _IO_file_close_it_internal)
13406 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13407 (_IO_file_init_internal, _IO_file_attach_internal)
13408 (_IO_file_fopen_internal, _IO_file_read_internal)
13409 (_IO_file_sync_internal, _IO_file_seek_internal)
13410 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13411 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13412 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13413 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13414 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13415 (_IO_list_all_internal, _IO_link_in_internal)
13416 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13417 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13418 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13419 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13420 (_IO_do_write_internal, _IO_padn_internal)
13421 (_IO_getline_info_internal, _IO_getline_internal)
13422 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13423 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13424 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13425 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13426 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13427 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13428 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13429 with libc_hidden_ver, remove use of INTUSE.
13430 * libio/genops.c: Likewise.
13431 * libio/freopen.c: Likewise.
13432 * libio/freopen64.c: Likewise.
13433 * libio/iofclose.c: Likewise.
13434 * libio/iofdopen.c: Likewise.
13435 * libio/iofflush.c: Likewise.
13436 * libio/iofflush_u.c: Likewise.
13437 * libio/iofgets.c: Likewise.
13438 * libio/iofgets_u.c: Likewise.
13439 * libio/iofopen.c: Likewise.
13440 * libio/iofopncook.c: Likewise.
13441 * libio/iofread.c: Likewise.
13442 * libio/iofread_u.c: Likewise.
13443 * libio/ioftell.c: Likewise.
13444 * libio/iofwrite.c: Likewise.
13445 * libio/iogetline.c: Likewise.
13446 * libio/iogets.c: Likewise.
13447 * libio/iogetwline.c: Likewise.
13448 * libio/iopadn.c: Likewise.
13449 * libio/iopopen.c: Likewise.
13450 * libio/ioseekoff.c: Likewise.
13451 * libio/ioseekpos.c: Likewise.
13452 * libio/iosetbuffer.c: Likewise.
13453 * libio/iosetvbuf.c: Likewise.
13454 * libio/ioungetc.c: Likewise.
13455 * libio/ioungetwc.c: Likewise.
13456 * libio/iovdprintf.c: Likewise.
13457 * libio/iovsprintf.c: Likewise.
13458 * libio/iovsscanf.c: Likewise.
13459 * libio/memstream.c: Likewise.
13460 * libio/obprintf.c: Likewise.
13461 * libio/oldfileops.c: Likewise.
13462 * libio/oldiofclose.c: Likewise.
13463 * libio/oldiofdopen.c: Likewise.
13464 * libio/oldiofopen.c: Likewise.
13465 * libio/oldiopopen.c: Likewise.
13466 * libio/oldstdfiles.c: Likewise.
13467 * libio/putc.c: Likewise.
13468 * libio/setbuf.c: Likewise.
13469 * libio/setlinebuf.c: Likewise.
13470 * libio/stdfiles.c: Likewise.
13471 * libio/strops.c: Likewise.
13472 * libio/vasprintf.c: Likewise.
13473 * libio/vscanf.c: Likewise.
13474 * libio/vsnprintf.c: Likewise.
13475 * libio/vswprintf.c: Likewise.
13476 * libio/wfiledoalloc.c: Likewise.
13477 * libio/wfileops.c: Likewise.
13478 * libio/wgenops.c: Likewise.
13479 * libio/wmemstream.c: Likewise.
13480 * libio/wstrops.c: Likewise.
13481 * libio/__fpurge.c: Likewise.
13482 * libio/__fsetlocking.c: Likewise.
13483 * assert/assert.c: Likewise.
13484 * debug/fgets_chk.c: Likewise.
13485 * debug/fgets_u_chk.c: Likewise.
13486 * debug/fread_chk.c: Likewise.
13487 * debug/fread_u_chk.c: Likewise.
13488 * debug/gets_chk.c: Likewise.
13489 * debug/obprintf_chk.c: Likewise.
13490 * debug/vasprintf_chk.c: Likewise.
13491 * debug/vdprintf_chk.c: Likewise.
13492 * debug/vsnprintf_chk.c: Likewise.
13493 * debug/vsprintf_chk.c: Likewise.
13494 * malloc/mtrace.c: Likewise.
13495 * misc/error.c: Likewise.
13496 * misc/syslog.c: Likewise.
13497 * stdio-common/asprintf.c: Likewise.
13498 * stdio-common/fxprintf.c: Likewise.
13499 * stdio-common/getw.c: Likewise.
13500 * stdio-common/isoc99_fscanf.c: Likewise.
13501 * stdio-common/isoc99_scanf.c: Likewise.
13502 * stdio-common/isoc99_vfscanf.c: Likewise.
13503 * stdio-common/isoc99_vscanf.c: Likewise.
13504 * stdio-common/isoc99_vsscanf.c: Likewise.
13505 * stdio-common/printf-prs.c: Likewise.
13506 * stdio-common/printf_fp.c: Likewise.
13507 * stdio-common/printf_fphex.c: Likewise.
13508 * stdio-common/printf_size.c: Likewise.
13509 * stdio-common/putw.c: Likewise.
13510 * stdio-common/scanf.c: Likewise.
13511 * stdio-common/sprintf.c: Likewise.
13512 * stdio-common/tmpfile.c: Likewise.
13513 * stdio-common/vfprintf.c: Likewise.
13514 * stdio-common/vfscanf.c: Likewise.
13515 * stdlib/strfmon_l.c: Likewise.
13516 * sunrpc/openchild.c: Likewise.
13517 * sunrpc/xdr_stdio.c: Likewise.
13518 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13519 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13521 2012-05-24 Roland McGrath <roland@hack.frob.com>
13523 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13525 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13526 in the third column, to generate for the shared library an IFUNC
13527 that uses _dl_vdso_vsym.
13528 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13529 * Makeconfig (object-suffixes-noshared): New variable.
13531 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13532 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13533 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13534 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13537 * include/sys/time.h (__gettimeofday): Remove macro.
13538 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13539 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13541 (__gettimeofday): Add libc_hidden_def.
13542 (gettimeofday): Add libc_hidden_weak.
13543 * sysdeps/mach/gettimeofday.c: Likewise.
13544 * sysdeps/posix/gettimeofday.c: Likewise.
13545 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13546 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13548 (__gettimeofday_internal): Remove strong_alias.
13549 (__gettimeofday): Add libc_hidden_def.
13550 (gettimeofday): Add libc_hidden_weak.
13551 * sysdeps/unix/syscalls.list (gettimeofday):
13552 Remove __gettimeofday_internal alias.
13554 2012-05-24 Daniel Jacobowitz <drow@false.org>
13555 H.J. Lu <hongjiu.lu@intel.com>
13558 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13559 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13560 (largebin_index_32_big): New.
13561 (largebin_index): Use it for 16-byte alignment.
13562 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13563 correction with front_misalign.
13565 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13593 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13594 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13596 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13600 * math/libm-test.inc (exp_test): Add test from bug 14036.
13601 (pow_test): Add test from bug 10846.
13603 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13605 (special_function): Do not include flags in test name.
13606 (parse_args): Likewise.
13607 * sysdeps/i386/fpu/libm-test-ulps: Update.
13608 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13609 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13610 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13613 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13615 * math/libm-test.inc ("Philosophy"): Update comment about
13617 (UNDERFLOW_EXCEPTION): New macro.
13618 (UNDERFLOW_EXCEPTION_OK): Likewise.
13619 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13620 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13621 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13622 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13623 (INVALID_EXCEPTION_OK): Update value.
13624 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13625 (OVERFLOW_EXCEPTION_OK): Likewise.
13626 (IGNORE_ZERO_INF_SIGN): Likewise.
13627 (test_exceptions): Handle underflow exceptions.
13628 (acos_test): Update for underflow exception expectations.
13629 (cexp_test): Likewise.
13630 (clog_test): Likewise.
13631 (clog10_test): Likewise.
13632 (csqrt_test): Likewise.
13633 (ctan_test): Likewise.
13634 (ctanh_test): Likewise.
13635 (exp_test): Likewise.
13636 (exp10_test): Likewise.
13637 (exp2_test): Likewise.
13638 (expm1_test): Likewise.
13639 (fma_test): Likewise.
13640 (j0_test): Likewise.
13641 (jn_test): Likewise.
13642 (nexttoward_test): Likewise.
13643 (pow_test): Likewise.
13644 (scalbn_test): Likewise.
13645 (scalbln_test): Likewise.
13646 (tan_test): Likewise.
13647 (y1_test): Likewise.
13648 * sysdeps/i386/fpu/libm-test-ulps: Update.
13649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13651 2012-05-23 David S. Miller <davem@davemloft.net>
13653 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13654 (__libc_sigaction): Remove unused local variables.
13656 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13658 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13660 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13662 mktime: avoid signed integer overflow
13663 * time/mktime.c (__mktime_internal): Do not mishandle the case
13664 where diff == INT_MIN.
13666 mktime: simplify computation of average
13667 * time/mktime.c (ranged_convert): Use new time_t_avg function
13668 instead of rolling our own (probably-slower) code.
13670 mktime: do not assume signed right shift propagates sign bit
13671 * time/mktime.c (isdst_differ): New static function.
13672 (__mktime_internal): No need to normalize tm_isdst now.
13673 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13676 mktime: merge another wrapv change from gnulib
13677 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13678 from some compilers.
13680 mktime: remove incorrect attempt at unusual arithmetics
13681 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13682 The code didn't really work on such machines anyway.
13683 (TYPE_MINIMUM): Assume two's complement.
13684 (twos_complement_arithmetic): Verify that long_int and time_t
13685 are two's complement (or unsigned, in the latter case).
13687 mktime: check signed shifts on long_int and time_t, too
13688 * time/mktime.c (SHR): Check that shifts work as desired
13689 on the types long_int and time_t too, as SHR is used on
13692 mktime: do not assume 'long' is wide enough
13693 * time/mktime.c (verify): Move decl up.
13694 (long_int): New type.
13695 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13696 to remove assumption in the code that 'long' is wide enough to
13697 store year values. This assumption is not true on x32 and on
13698 some non-glibc platforms.
13700 mktime: merge wrapv change from gnulib
13701 * time/mktime.c (WRAPV): New macro.
13702 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13703 (guess_time_tm, __mktime_internal): Do not assume that signed
13704 integer overflow wraps around; modern compilers generate code
13705 where this assumption is no longer valid.
13707 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13709 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13710 Replace "jmp L(pseudo_end)" with "ret".
13711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13714 2012-05-23 Andreas Jaeger <aj@suse.de>
13716 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13717 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13719 2012-05-23 Andreas Jaeger <aj@suse.de>
13720 Maximilian Attems <max@stro.at>
13722 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13725 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13727 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13728 code so that pseudo_end is just ret and the stack pointer is
13729 correct also for static library in error case.
13731 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13733 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13734 move to syscalls.list.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13740 * manual/install.texi (Running make install): Do not mention Linux
13741 kernel version for which pt_chown is not needed.
13742 (Linux): Do not mention problems with nscd with 2.0 kernels.
13743 * INSTALL: Regenerated.
13745 2012-05-23 Andreas Jaeger <aj@suse.de>
13747 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13748 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13750 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13751 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13752 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13754 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13755 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13756 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13757 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13758 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13759 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13760 * sysdeps/unix/sysv/linux/bits/in.h
13761 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13763 2012-05-22 Roland McGrath <roland@hack.frob.com>
13765 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13766 (PREPARE_VERSION): Just use assert instead, it will be elided
13767 under [NDEBUG] anyway.
13769 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13771 * sysdeps/unix/sysv/linux/Makefile: Include
13772 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13773 (sysdep_routines): Remove sysctl.
13774 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13775 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13776 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13777 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13778 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13780 2012-05-22 Andreas Jaeger <aj@suse.de>
13782 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13783 that pseudo_end is just ret and the stack pointer is correct also
13784 for static library in error case.
13786 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13789 * nss/nsswitch.c (defconfig_entries): New variable.
13790 (__nss_database_lookup): Don't leak defconfig entries.
13791 (nss_parse_service_list): Don't leak on error paths.
13792 (free_database_entries): New function.
13793 (free_defconfig): New function.
13794 (free_mem): Move common code to free_database_entries.
13796 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13798 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13800 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13802 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13803 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13806 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13807 (INTERNAL_SYSCALL_TYPES): Likewise.
13808 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13809 (LOAD_REGS_TYPES_[1-6]): Likewise.
13810 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13811 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13813 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13815 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13816 copysignl for GLIBC_2_0.
13817 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13818 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13819 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13820 logbl for GLIBC_2_0.
13821 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13822 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13824 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13826 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13827 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13829 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13832 * time/mktime.c: Update copyright years.
13834 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13836 mktime: merge comment-quoting-style change from gnulib
13837 * time/mktime.c: Quote 'like this' in comments.
13838 The GNU coding standards suggest that we no longer quote `like this',
13839 as "`" and "'" are typically rendered asymmetrically nowadays.
13840 The typical gnulib style is to quote 'like this' when quoting
13841 code, and "like this" when quoting English.
13843 * time/mktime.c (compile-command): Add "-I.".
13845 mktime: merge mktime-internal.h change from gnulib
13846 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13848 mktime: merge time_r change from gnulib
13849 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13851 mktime: merge DEBUG change from gnulib
13852 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13853 case system <time.h> has a #define.
13855 mktime: merge <sys/types.h> change from gnulib
13856 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13857 since <time.t> is now guaranteed to define time_t.
13859 mktime: merge HAVE_CONFIG_H change from gnulib
13860 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13862 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13867 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13869 (struct rusage): Use anonymous union to pad each field to
13872 2012-05-21 David S. Miller <davem@davemloft.net>
13874 * Makefules (o-iterator): Remove .s cases.
13875 (compile-command.s): Delete.
13876 (COMPILE.s): Delete.
13877 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13879 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13881 * configure.in (libc_cv_predef_stack_protector): Only consider
13882 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13883 * configure: Regenerated.
13885 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13888 New macro. Use R*LP on int and pointer.
13889 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13890 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13891 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13892 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13894 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13895 [__WORDSIZE_TIME64_COMPAT32] instead of
13896 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13897 (struct utmp): Likewise.
13898 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13899 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13901 (__WORDSIZE_TIME64_COMPAT32): This.
13902 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13903 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13904 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13905 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13906 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13907 (__WORDSIZE_TIME64_COMPAT32): New macro.
13909 2012-05-21 Andreas Jaeger <aj@suse.de>
13911 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13912 only if [SHARED]. Add prototype for __wcschr_ia32.
13914 2012-05-21 Roland McGrath <roland@hack.frob.com>
13916 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13917 of %rbp unmolested in the jmp_buf while mangling the low bits.
13918 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13919 unmolested high bits of %rbp while demangling the low bits.
13920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13922 2012-05-21 Andreas Jaeger <aj@suse.de>
13924 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13925 * sunrpc/svc_simple.c: Use it for registerrpc.
13926 * sunrpc/xcrypt.c: Use it for passwd2des.
13928 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13930 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13932 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13933 Don't define if [__SYSCALL_WORDSIZE != 32].
13934 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13937 2012-05-21 Bruno Haible <bruno@clisp.org>
13938 Andreas Jaeger <aj@suse.de>
13940 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13941 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13942 inptr and inend for must_buffer_ch.
13943 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13944 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13945 * stdio-common/Makefile (tests): Remove bug15.
13946 (bug15-ENV): Remove macro.
13947 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13950 2012-05-19 Andreas Jaeger <aj@suse.de>
13951 Roland McGrath <roland@hack.frob.com>
13953 * manual/contrib.texi: Completely rewritten. It contains now an
13954 alphabetical list of contributors and their contributions.
13956 2012-05-21 Richard Henderson <rth@twiddle.net>
13958 * misc/getauxval.c (__getauxval): Use unsigned long int.
13959 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13960 (getauxval): Use unsigned long int.
13962 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13964 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13966 2012-05-21 Roland McGrath <roland@hack.frob.com>
13968 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13969 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13970 __alignof__ (long double).
13972 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13976 2012-05-20 Richard Henderson <rth@twiddle.net>
13978 * misc/getauxval.c: New file.
13979 * misc/sys/auxv.h: New file.
13980 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13981 (routines): Add getauxval.
13982 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13983 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13984 * elf/dl-sysdep.c (_dl_auxv): Remove.
13985 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13986 * elf/dl-support.c (_dl_auxv): New variable.
13987 (_dl_aux_init): Initialize it.
13988 * manual/startup.texi (Auxiliary Vector): New node.
13989 * sysdeps/generic/bits/hwcap.h: New file.
13990 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13991 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13992 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13993 * sysdeps/sparc/sysdep.h: ... here. Include it.
13994 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13995 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14007 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14011 2012-05-19 David S. Miller <davem@davemloft.net>
14013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14015 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14018 * math/s_ccosh.c: Include <float.h>
14019 (__ccosh): Avoid internal overflow calculating sinh and cosh
14020 values before multiplying by sin and cos values.
14021 * math/s_ccoshf.c: Likewise.
14022 * math/s_ccoshl.c: Likewise.
14023 * math/s_csin.c: Likewise.
14024 * math/s_csinf.c: Likewise.
14025 * math/s_csinl.c: Likewise.
14026 * math/s_csinh.c: Likewise.
14027 * math/s_csinhf.c: Likewise.
14028 * math/s_csinhl.c: Likewise.
14029 * math/libm-test.inc (ccos_test): Add more tests.
14030 (ccosh_test): Likewise.
14031 (csin_test): Likewise.
14032 (csinh_test): Likewise.
14033 * sysdeps/i386/fpu/libm-test-ulps: Update.
14034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14036 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14038 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14039 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14041 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14043 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14045 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14046 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14047 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14048 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14049 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14050 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14051 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14052 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14053 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14054 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14055 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14056 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14057 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14058 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14059 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14060 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14061 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14062 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14063 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14064 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14065 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14066 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14067 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14068 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14069 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14070 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14071 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14072 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14073 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14074 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14075 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14077 2012-05-18 Andreas Jaeger <aj@suse.de>
14079 * csu/.gitignore: Delete.
14081 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14083 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14084 (timex): Use __syscall_slong_t.
14086 2012-05-18 Andreas Jaeger <aj@suse.de>
14087 Carlos O'Donell <carlos_odonell@mentor.com>
14089 * manual/install.texi (Configuring and compiling): Update
14090 description about files modified in the source directory.
14091 * INSTALL: Regenerated.
14093 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14095 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14096 value. Use "or" to set return value to -1.
14097 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14098 negate return value.
14100 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14102 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14103 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14104 failure if the compiler has Graphite support disabled.
14105 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14107 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14108 CFLAGS-memmove.c): Likewise.
14109 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14112 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14114 * sysdeps/x86_64/x32/_itoa.h: New file.
14116 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14117 getdents system call only if kernel and user dirents have the
14118 same d_ino and d_off.
14120 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14121 LLONG_MAX != LONG_MAX.
14122 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14123 (_fitoa_word): Likewise.
14125 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14127 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14128 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14129 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14131 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14132 include <bits/wordsize.h>. Check __x86_64__ instead of
14134 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14135 if __x86_64__ is defined. Use anonymous union on fpstate.
14137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14140 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14142 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14143 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14144 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14145 Refer to _rtld_local_ro instead of _rtld_global_ro.
14146 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14148 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14150 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14152 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14153 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14154 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14156 * sysdeps/powerpc/powerpc32/dl-machine.c
14157 (__elf_machine_runtime_setup) [PROF]: Don't reference
14160 2012-05-18 Andreas Jaeger <aj@suse.de>
14162 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14163 function only available for GCCs before 3.4 since GCC 3.4
14164 introduced a builtin.
14166 (llrintf): Likewise.
14167 (llrint): Likewise.
14174 (nearbyint): Likewise.
14175 (nearbyintf): Likewise.
14179 (floorf): Likewise.
14181 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14183 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14184 on both fields and cast pointer to __syscall_ulong_t.
14186 * bits/types.h (__fsword_t): New type.
14187 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14188 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14190 (__FSWORD_T_TYPE): Likewise.
14191 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14192 (__FSWORD_T_TYPE): Likewise.
14193 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14194 (__FSWORD_T_TYPE): Likewise.
14195 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14196 (__FSWORD_T_TYPE): Likewise.
14197 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14198 __SWORD_TYPE with __fsword_t.
14199 (statfs64): Likewise.
14201 2012-05-17 David S. Miller <davem@davemloft.net>
14203 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14205 2012-05-17 Andreas Jaeger <aj@suse.de>
14207 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14210 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14212 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14214 2012-05-17 Andreas Jaeger <aj@suse.de>
14216 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14219 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14221 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14223 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14225 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14226 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14228 2012-05-17 Andreas Jaeger <aj@suse.de>
14229 Carlos O'Donell <carlos_odonell@mentor.com>
14232 * sysdeps/x86_64/multiarch/init-arch.h
14233 (bit_YMM_Usable): Rename to...
14234 (bit_AVX_Usable): ... this.
14235 (bit_FMA4_Usable): New macro.
14236 (bit_XMM_state): New macro.
14237 (bit_YMM_state): New macro.
14238 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14239 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14240 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14241 (CPUID_OSXSAVE): New macro.
14242 (CPUID_AVX): New macro.
14243 (CPUID_FMA4): New macro.
14244 (index_YMM_Usable): Rename to...
14245 (index_AVX_Usable): ... this.
14246 (HAS_AVX): Use HAS_ARCH_FEATURE.
14247 (HAS_FMA4): Likewise.
14248 (HAS_YMM_USABLE): Remove.
14249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14250 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14252 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14253 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14254 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14255 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14256 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14258 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14260 * math/libm-test.c: Support platforms without multiple rounding modes.
14261 * math/bug-nextafter.c: Support platforms without FP exceptions.
14262 * math/bug-nexttoward.c: Likewise.
14263 * math/test-fenv.c: Likewise.
14264 * math/test-misc.c: Likewise.
14265 * stdlib/bug-getcontext.c: Likewise.
14267 2012-05-17 Andreas Jaeger <aj@suse.de>
14269 * manual/examples/search.c (critter_cmp): Change signature to
14271 * manual/string.texi (Collation Functions): Likewise.
14273 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14275 * bits/types.h: Fold copyright years.
14276 * bits/typesizes.h: Likewise.
14277 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14279 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14280 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14281 * time/time.h: Likewise.
14283 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14286 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14287 in instead of returning them. Return void.
14288 (__libc_mallinfo): Accumulate over all arenas.
14289 (__malloc_stats): Adjust for change in int_mallinfo interface.
14291 2012-05-16 Roland McGrath <roland@hack.frob.com>
14294 * configure.in (NM): Add AC_CHECK_TOOL for it.
14295 (libc_extra_cflags): New substituted variable.
14296 Check for -fstack-protector being used implicitly.
14297 * configure: Regenerated.
14298 * config.make.in (config-extra-cflags): New variable,
14299 gets @libc_extra_cflags@.
14300 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14303 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14304 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14305 * configure: Regenerated.
14306 * config.make.in (CPPUNDEFS): New substituted variable.
14307 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14308 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14309 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14311 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14313 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14314 (mq_attr): Use __syscall_slong_t.
14316 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14318 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14319 Check __x86_64__ instead of __WORDSIZE.
14320 (_STAT_VER_LINUX): Likewise.
14321 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14322 __syscall_ulong_t and __syscall_slong_t.
14323 (stat64): Likewise.
14325 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14327 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14329 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14331 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14333 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14335 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14338 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14339 include <bits/wordsize.h>. Check __x86_64__ instead of
14341 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14343 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14345 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14346 include <bits/wordsize.h>. Check __x86_64__ instead of
14348 (user_regs_struct): Use "__extension__ unsigned long long"
14349 instead of "unsigned long" if __x86_64__ is defined.
14350 (user): Likewise. Pad after pointer field if __ILP32__ is
14353 2012-05-16 Joseph Myers <joseph@codesourcery.com>
14355 * configure.in (makeinfo): Require version 4.5 or later. Allow
14357 * configure: Regenerated.
14358 * manual/install.texi (texinfo): Increase version requirement to
14360 * INSTALL: Regenerated.
14362 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14364 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14366 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14368 * sysdeps/x86_64/x32/ffs.c: New file.
14370 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14372 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14373 defined. Use __syscall_ulong_t.
14374 (shminfo): Use __syscall_ulong_t.
14375 (shm_info): Likewise.
14377 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14380 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14382 (msgqnum_t): Use __syscall_ulong_t.
14383 (msglen_t): Likewise.
14384 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14387 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14388 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14390 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14392 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14393 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14395 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14398 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14399 include <bits/wordsize.h>. Check __x86_64__ instead of
14402 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14403 "unsigned long long int" if __x86_64__ is defined.
14404 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14406 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14407 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14408 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14410 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14412 (GET_PC): Cast to uintptr_t first.
14413 (GET_FRAME): Likewise.
14414 (GET_STACK): Likewise.
14416 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14417 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14418 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14419 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14420 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14421 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14422 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14423 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14424 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14425 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14426 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14427 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14428 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14429 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14430 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14431 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14432 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14433 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14434 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14435 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14436 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14437 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14438 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14439 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14440 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14441 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14442 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14443 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14444 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14446 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14448 * Makerules (+depfiles): Also collect depfiles from .oS in
14450 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14451 .oS, $(libnldbl-routines)).
14453 * Makerules (native-compile-mkdep-flags): Define.
14454 * sunrpc/Makefile (extra-objs): Add $(addprefix
14455 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14456 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14457 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14458 calling $(make-target-directory).
14460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14462 * bits/types.h (__snseconds_t): Removed.
14463 * time/time.h (struct timespec): Replace __snseconds_t with
14465 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14466 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14468 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14469 (__SNSECONDS_T_TYPE): Likewise.
14470 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14471 (__SNSECONDS_T_TYPE): Likewise.
14472 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14473 (__SNSECONDS_T_TYPE): Likewise.
14475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14477 * sysdeps/mach/hurd/bits/typesizes.h
14478 (__SYSCALL_SLONG_TYPE): New macro.
14479 (__SYSCALL_ULONG_TYPE): Likewise.
14481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14483 * bits/types.h (__syscall_slong_t): New type.
14484 (__syscall_ulong_t): Likewise.
14486 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14487 (__SYSCALL_ULONG_TYPE): Likewise.
14488 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14489 (__SYSCALL_SLONG_TYPE): Likewise.
14490 (__SYSCALL_ULONG_TYPE): Likewise.
14491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14492 (__SYSCALL_SLONG_TYPE): Likewise.
14493 (__SYSCALL_ULONG_TYPE): Likewise.
14494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14495 (__SYSCALL_SLONG_TYPE): Likewise.
14496 (__SYSCALL_ULONG_TYPE): Likewise.
14498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14500 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14501 Add sigaltstack-offsets.sym.
14502 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14503 <sigaltstack-offsets.h>.
14504 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14505 longjmp_msg pointer.
14506 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14507 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14509 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14511 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14513 * elf/stackguard-macros.h: Remove file.
14514 * sysdeps/generic/stackguard-macros.h: New file.
14515 * sysdeps/i386/stackguard-macros.h: Likewise.
14516 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14517 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14518 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14519 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14520 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14521 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14522 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14523 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14524 <elf/stackguard-macros.h>.
14527 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14528 __aligned__ in attribute.
14529 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14530 (gregset_t): Likewise.
14532 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14534 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14535 * sysdeps/x86_64/64/Implies-after: Here. New file.
14536 * sysdeps/x86_64/x32/Implies-after: New file.
14538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14540 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14541 and access return value for _dl_profile_fixup. Use R10_LP to
14544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14546 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14550 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14551 * sysdeps/x86_64/x32/sysdep.h: New file.
14553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14555 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14556 * sysdeps/x86_64/setjmp.S: Likewise.
14558 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14560 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14561 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14562 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14563 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14564 remove unused global constant.
14566 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14568 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14569 include of <not-cancel.h>.
14571 2012-05-15 Roland McGrath <roland@hack.frob.com>
14573 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14575 2012-05-15 Jeff Law <law@redhat.com>
14576 Andreas Jaeger <aj@suse.de>
14579 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14581 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14582 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14583 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14584 code changing __hst_map_handle.map.
14586 2012-05-15 Roland McGrath <roland@hack.frob.com>
14588 * configure.in (sysnames): Look for Implies-before and Implies-after
14590 * configure: Regenerated.
14592 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14594 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14595 8-byte data alignment with LP_SIZE alignment.
14597 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14599 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14604 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14606 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14608 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14609 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14610 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14612 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14616 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14617 (stackinfo_sub_sp): Likewise.
14619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14621 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14624 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14626 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14629 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14631 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14636 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14640 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14641 into R11_LP and load __x86_64_shared_cache_size_half into
14644 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14646 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14649 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14651 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14655 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14657 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14658 powerpc32/power7/fpu/s_logb.c via #include.
14659 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14660 powerpc32/power7/fpu/s_logbf.c via #include.
14661 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14662 powerpc32/power7/fpu/s_logbl.c via #include.
14664 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14666 * README.libm: Remove file.
14668 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14670 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14671 count for x32. Use R*_LP and omit operand-size suffix.
14673 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14675 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14676 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14677 * sysdeps/x86_64/x32/shlib-versions: New file.
14679 2012-05-14 Roland McGrath <roland@hack.frob.com>
14681 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14682 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14683 Use _dl_fatal_printf instead.
14685 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14687 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14688 set if not set by the user. Do not allow for being unset.
14689 * sysdeps/unix/sysv/linux/configure: Regenerated.
14691 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14693 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14694 the `q' suffix from lea and replace .quad with ASM_ADDR.
14696 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14699 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14701 (PTR_DEMANGLE): Likewise.
14703 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14705 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14707 (ASM_ADDR): Likewise.
14708 (RAX_LP): Likewise.
14709 (RBP_LP): Likewise.
14710 (RBX_LP): Likewise.
14711 (RCX_LP): Likewise.
14712 (RDI_LP): Likewise.
14713 (RSI_LP): Likewise.
14714 (RSP_LP): Likewise.
14717 (R10_LP): Likewise.
14718 (R10_LP): Likewise.
14719 (R11_LP): Likewise.
14720 (R12_LP): Likewise.
14721 (R13_LP): Likewise.
14722 (R14_LP): Likewise.
14723 (R15_LP): Likewise.
14725 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14727 * sysdeps/x86_64/x32/dl-machine.h: New file.
14729 2012-05-14 Andreas Jaeger <aj@suse.de>
14731 * manual/Makefile (subdir): Remove export of subdir.
14732 (all): Remove target.
14733 (.PHONY): Remove all from list.
14734 (mkinstalldirs): Remove.
14735 (.PHONY): Remove installdirs from list.
14736 ($(inst_infodir)/libc.info): Use make-target-directory.
14737 (installdirs): Remove.
14738 (subdir_%): Remove.
14739 (glibc-targets): Remove.
14742 ($(objpfx)stubs ../po/manual.pot): Remove.
14743 ($(objpfx)stamp%): Remove.
14744 (make-target-directory): Remove.
14745 (subdir_install): Remove.
14746 (routines): Remove.
14753 * manual/.gitignore: Remove, it's not needed anymore.
14754 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14756 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14758 (texis): Renamed to $(objpfx)texis.
14759 (texis-path): New, contains path to generated files.
14760 (chapters.%): Use texis-path for complete path, add extra argument
14762 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14763 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14764 (summary,texi, stamp-summary): Use complete path of
14765 files. Generate files in build dir.
14766 (dir-add.texi): Build in build dir.
14767 (libm-err.texi,stamp-libm-err): Likewise.
14768 (version.texi, stamp-version): Likewise.
14769 (.%c.texi): Likewise.
14770 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14771 (mostlyclean): Remove target.
14772 (realclean): Remove target.
14773 (generated): Add new variable with contents from mostlyclean and
14774 realclean, remove entries duplicated in common-mostlyclean, add
14775 stamp-libm-err and stamp-version.
14776 (generated-dirs): Add libc directory.
14777 ($(inst_infodir)/libc.info): Install files from build dir.
14779 * manual/install.texi (Configuring and compiling): Adjust since
14780 the info files are not part of the tar ball anymore.
14782 2012-05-14 Andreas Jaeger <aj@suse.de>
14784 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14787 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14791 to 2.2.0 where earlier.
14792 * sysdeps/unix/sysv/linux/configure: Regenerated.
14793 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14794 Remove conditional code.
14795 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14796 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14797 Remove conditional code.
14798 [!__NR_lchown]: Likewise.
14799 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14800 [__NR_lchown]: Likewise.
14801 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14802 comment referencing __ASSUME_LCHOWN_SYSCALL.
14803 * sysdeps/unix/sysv/linux/i386/sigaction.c
14804 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14805 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14806 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14807 Remove conditional code.
14808 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14809 (__protocol_available): Remove #if 0 code.
14810 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14812 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14813 * sysdeps/unix/sysv/linux/kernel-features.h
14814 (__ASSUME_GETCWD_SYSCALL): Don't define.
14815 (__ASSUME_REALTIME_SIGNALS): Likewise.
14816 (__ASSUME_PREAD_SYSCALL): Likewise.
14817 (__ASSUME_PWRITE_SYSCALL): Likewise.
14818 (__ASSUME_POLL_SYSCALL): Likewise.
14819 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14820 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14822 (__ASSUME_SIOCGIFNAME): Don't define.
14823 (__ASSUME_MSG_NOSIGNAL): Likewise.
14824 (__ASSUME_SENDFILE): Define unconditionally.
14825 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14826 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14828 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14829 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14830 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14831 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14832 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14833 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14834 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14836 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14837 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14839 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14842 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14843 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14845 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14848 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14849 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14851 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14854 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14855 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14857 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14858 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14859 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14860 Remove conditional code.
14861 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14862 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14863 Remove conditional code.
14864 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14865 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14866 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14867 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14868 Remove conditional code.
14869 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14870 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14871 Remove conditional code.
14872 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14873 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14874 Remove conditional code.
14875 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14876 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14877 Remove conditional code.
14878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14879 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14880 Remove conditional code.
14881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14882 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14883 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14885 * sysdeps/unix/sysv/linux/sigaction.c
14886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14888 * sysdeps/unix/sysv/linux/sigpending.c
14889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14891 * sysdeps/unix/sysv/linux/sigprocmask.c
14892 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14893 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14894 * sysdeps/unix/sysv/linux/sigsuspend.c
14895 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14896 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14897 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14898 (__libc_missing_rt_sigs): Remove.
14899 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14900 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14901 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14902 Remove conditional code.
14903 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14904 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14906 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14907 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14908 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14909 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14911 2012-05-14 Andreas Jaeger <aj@suse.de>
14913 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14914 it's not used in glibc.
14915 (__coshm1): Likewise.
14916 (__acosh1p): Likewise.
14919 * manual/string.texi (Copying and Concatenation): Add missing
14920 variable in concat example.
14921 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14923 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14926 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14927 __builtin_clzl with __builtin_clzll.
14929 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14932 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14935 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14937 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14938 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14939 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14940 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14942 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14944 * NEWS: Update ia64 info.
14946 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14948 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14951 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14953 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14954 * sysdeps/unix/syscalls.list (dup3): Likewise.
14955 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14956 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14958 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14960 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14961 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14963 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14965 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14967 (TLS_IE): Use mov/add instead of movq/addq to load thread
14969 (TLS_GD_PREFIX): New.
14972 2012-05-11 David S. Miller <davem@davemloft.net>
14974 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14975 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14976 (_FPU_SETCW): Likewise.
14978 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14980 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14981 is 32-byte aligned.
14983 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14986 * iconvdata/gb18030.c: Update tables.
14987 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14988 characters specially.
14989 (BODY for TO_LOOP): Add encoding of missing ranges.
14991 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14994 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14995 * sysdeps/mach/hurd/dup3.c: Likewise.
14996 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14997 * sysdeps/powerpc/memmove.c:: Likewise.
14999 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15001 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15002 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15004 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15006 * elf/elf.h (R_X86_64_RELATIVE64): New.
15007 (R_X86_64_NUM): Updated.
15008 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15009 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15010 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15011 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15012 tst-quad1pie tst-quad2pie
15013 (modules-names): Add tst-quadmod1 tst-quadmod2.
15014 ($(objpfx)tst-quad1): New dependency.
15015 ($(objpfx)tst-quad2): Likewise.
15016 ($(objpfx)tst-quad1pie): Likewise.
15017 ($(objpfx)tst-quad2pie): Likewise.
15018 * sysdeps/x86_64/tst-quad1.c: New file.
15019 * sysdeps/x86_64/tst-quad1pie.c: New file.
15020 * sysdeps/x86_64/tst-quad2.c: Likewise.
15021 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15022 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15023 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15024 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15025 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15029 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15030 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15031 * streams/stropts.h (t_scalar_t): Define type.
15033 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15034 (_PATH_PRESERVE): Set to "/var/lib".
15035 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15037 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15040 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15041 if __dir_mkfile succeeded.
15043 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15044 checking for _hurd_dtablesize. Unlock it right after having
15045 finished _hurd_dtable allocation.
15047 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15049 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15050 * sysdeps/mach/hurd/configure: Regenerated.
15051 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15052 special-casing to...
15053 * sysdeps/gnu/configure.in: ... this new file.
15054 * sysdeps/unix/sysv/linux/configure: Regenerated.
15055 * sysdeps/gnu/configure: New generated file.
15057 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15058 for Linux: use nsec instead of usec, as well as:
15059 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15060 members of type struct timespec.
15061 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15063 (struct stat64): Likewise.
15064 (_STATBUF_ST_NSEC): New macro.
15065 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15067 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15068 __strtoul_internal rather than strtoul.
15070 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15072 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15075 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15077 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15078 which preserves existing values.
15079 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15081 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15083 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15084 TIMEOUT values. Return EINVAL for NFDS values either negative or
15085 greater than FD_SETSIZE.
15087 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15089 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15090 allocated, call __vm_protect to finish enabling the existing space, and
15091 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15092 allocate the remainder.
15094 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15096 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15097 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15099 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15101 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15102 sysdeps/mach/hurd/readlink.c.
15104 * posix/tst-sysconf.c (posix_options): Only use
15105 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15106 _POSIX_SYNCHRONIZED_IO when they are defined
15107 * sysdeps/mach/hurd/bits/posix_opt.h:
15108 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15109 (_XOPEN_REALTIME): Undefine macro.
15110 (_XOPEN_REALTIME_THREADS): Undefine macro.
15111 (_XOPEN_SHM): Undefine macro.
15112 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15114 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15116 (_POSIX_ASYNC_IO): Undefine macro.
15117 (_POSIX_PRIORITIZED_IO): Undefine macro.
15118 (_POSIX_SPIN_LOCKS): Define macro to -1.
15120 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15121 SA_NODEFER, SA_RESETHAND.
15122 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15123 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15126 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15128 * elf/Makefile (pldd-modules): Define unconditionally.
15130 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15132 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15134 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15136 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15137 Return ENOENT when name is empty.
15138 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15140 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15142 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15144 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15148 Fix mlock in all cases except non-readable pages.
15149 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15150 instead of VM_PROT_ALL as parameter to __vm_wire function.
15152 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15153 (__mkdir): When path is `/', just fail with EEXIST.
15154 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15156 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15158 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15159 <sys/uio.h> (for writev).
15160 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15161 and <sys/param.h> (for MIN).
15163 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15165 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15166 REQUESTED_TIME. Properly set the remaining time and return EINTR
15169 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15171 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15172 Depend on against $(link-rpcuserlibs).
15174 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15176 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15177 (__libc_stack_end): Do not use attribute_relro.
15178 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15179 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15180 to libthread-provided value.
15181 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15184 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15187 * bits/libc-lock.h (__libc_once_get): New macro.
15188 * sysdeps/mach/bits/libc-lock.h: Likewise.
15189 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15190 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15191 instead of using implementation details.
15193 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15194 * libio/freopen.c: Likewise.
15195 * libio/freopen64.c: Likewise.
15196 * misc/syslog.c: Likewise.
15197 * nscd/connections.c: Likewise.
15198 * nscd/netgroupcache.c: Likewise.
15199 * sysdeps/posix/getcwd.c: Likewise.
15201 2012-05-10 Roland McGrath <roland@hack.frob.com>
15203 * math/w_ilogbf.c: Add #include <limits.h>.
15205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15207 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15208 path instead of returning without unlocking.
15210 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15211 immediate-write ioctls.
15212 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15214 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15216 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15217 __builtin_frame_address instead of making assumptions about the
15218 location of the return address relative to DATA. Force early load of
15219 the return address.
15220 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15221 __builtin_frame_address.
15224 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15225 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15226 implement dup3 and do some further code clean-ups.
15227 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15228 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15230 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15232 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15234 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15235 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15236 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15237 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15238 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15241 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15242 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15243 when handler == SIG_ERR, not when handler != SIG_ERR.
15245 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15247 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15248 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15251 accept4 for GNU Hurd.
15252 * include/sys/socket.h (__libc_accept4): New prototype.
15253 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15254 to implement __libc_accept4.
15255 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15257 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15259 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15260 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15261 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15262 signal-defines.sym.
15264 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15266 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15268 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15270 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15271 assertion on O_CLOEXEC flag.
15272 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15273 * hurd/intern-fd.c: Likewise.
15274 * hurd/port2fd.c: Likewise.
15276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15279 * bits/in.h (IPV6_PKTINFO): Define new macro.
15280 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15282 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15287 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15288 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15289 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15290 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15292 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15293 * math/libm-test.inc (logb_test) : Additional logb tests.
15295 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15296 Andreas Jaeger <aj@suse.de>
15298 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15299 * configure: Regenerated.
15300 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15301 * config.make.in (link-obsolete-rpc): New substituted variable.
15302 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15303 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15304 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15305 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15306 so that libc.a contains the symbols.
15307 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15308 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15309 * sunrpc/auth_none.c: Likewise.
15310 * sunrpc/auth_unix.c: Likewise.
15311 * sunrpc/authdes_prot.c: Likewise.
15312 * sunrpc/authuxprot.c: Likewise.
15313 * sunrpc/clnt_gen.c: Likewise.
15314 * sunrpc/clnt_perr.c: Likewise.
15315 * sunrpc/clnt_raw.c: Likewise.
15316 * sunrpc/clnt_simp.c: Likewise.
15317 * sunrpc/clnt_tcp.c: Likewise.
15318 * sunrpc/clnt_udp.c: Likewise.
15319 * sunrpc/clnt_unix.c: Likewise.
15320 * sunrpc/des_crypt.c: Likewise.
15321 * sunrpc/des_soft.c: Likewise.
15322 * sunrpc/get_myaddr.c: Likewise.
15323 * sunrpc/key_call.c: Likewise.
15324 * sunrpc/key_prot.c: Likewise.
15325 * sunrpc/netname.c: Likewise.
15326 * sunrpc/pm_getmaps.c: Likewise.
15327 * sunrpc/pm_getport.c: Likewise.
15328 * sunrpc/pmap_clnt.c: Likewise.
15329 * sunrpc/pmap_prot.c: Likewise.
15330 * sunrpc/pmap_prot2.c: Likewise.
15331 * sunrpc/pmap_rmt.c: Likewise.
15332 * sunrpc/publickey.c: Likewise.
15333 * sunrpc/rpc_cmsg.c: Likewise.
15334 * sunrpc/rpc_common.c: Likewise.
15335 * sunrpc/rpc_dtable.c: Likewise.
15336 * sunrpc/rpc_prot.c: Likewise.
15337 * sunrpc/rpc_thread.c: Likewise.
15338 * sunrpc/rtime.c: Likewise.
15339 * sunrpc/svc.c: Likewise.
15340 * sunrpc/svc_auth.c: Likewise.
15341 * sunrpc/svc_raw.c: Likewise.
15342 * sunrpc/svc_run.c: Likewise.
15343 * sunrpc/svc_tcp.c: Likewise.
15344 * sunrpc/svc_udp.c: Likewise.
15345 * sunrpc/svc_unix.c: Likewise.
15346 * sunrpc/svcauth_des.c: Likewise.
15347 * sunrpc/xcrypt.c: Likewise.
15348 * sunrpc/xdr.c: Likewise.
15349 * sunrpc/xdr_array.c: Likewise.
15350 * sunrpc/xdr_float.c: Likewise.
15351 * sunrpc/xdr_intXX_t.c: Likewise.
15352 * sunrpc/xdr_mem.c: Likewise.
15353 * sunrpc/xdr_rec.c: Likewise.
15354 * sunrpc/xdr_ref.c: Likewise.
15355 * sunrpc/xdr_sizeof.c: Likewise.
15356 * sunrpc/xdr_stdio.c: Likewise.
15358 2012-05-10 Roland McGrath <roland@hack.frob.com>
15360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15361 change. Update copyright years.
15363 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15365 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15367 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15368 Joseph Myers <joseph@codesourcery.com>
15369 Paul Pluzhnikov <ppluzhnikov@google.com>
15372 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15374 [cross-compiling] (extra-libs): Likewise.
15375 [cross-compiling] (extra-libs-others): Likewise.
15376 [cross-compiling] (librpcsvc-routines): Likewise.
15377 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15378 [cross-compiling] (omit-deps): Likewise.
15379 (sunrpc-CPPFLAGS): New variable.
15380 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15381 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15382 (cross-rpcgen-objs): New variable.
15383 (extra-objs): Append $(cross-rpcgen-objs).
15384 ($(cross-rpcgen-objs)): New rule.
15385 ($(objpfx)cross-rpcgen): Likewise.
15386 (rpcgen-cmd): Define to use $(built-program-file). Expand
15388 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15389 ($(objpfx)x%.stmp): Likewise.
15390 * sunrpc/proto.h [IS_IN_build] (_): Define.
15391 [IS_IN_build] (_libc_intl_domainname): Likewise.
15393 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15396 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15397 and R_X86_64_TPOFF64.
15399 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15401 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15402 sysdeps/unix/sysv/syscalls.list.
15405 * sysdeps/unix/sysv/syscalls.list: Remove file.
15407 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15410 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15411 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15412 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15413 (__LC_IDENTIFICATION): Make these macros useful in #if
15414 expressions, as required by C99.
15416 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15418 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15419 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15422 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15424 * stdlib/longlong.h: Updated from GCC.
15426 2012-05-09 Andreas Jaeger <aj@suse.de>
15428 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15429 default is first entry.
15430 (run_mode): Set type.
15431 (main): Remove informal message about syslog.
15432 (options): Fix typo.
15435 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15438 (llrintf): Likewise.
15439 (llrint): Likewise.
15442 (nearbyint): Likewise.
15443 (nearbyintf): Likewise.
15445 2012-05-09 Andreas Jaeger <aj@suse.de>
15446 Pedro Alves <palves@redhat.com>
15448 * nscd/nscd.c (run_mode): Use enum.
15449 (main): Cleanup coding style issue.
15451 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15452 Andreas Jaeger <aj@suse.de>
15454 * nscd/nscd.c (go_background): Replaced with...
15455 (run_mode): ... this.
15456 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15457 (options): Add -F --foreground.
15458 (main): Implement it.
15459 (parse_opt): Parse it.
15461 2012-05-09 Andreas Jaeger <aj@suse.de>
15464 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15465 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15466 -Wconversion warning.
15467 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15470 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15472 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15474 (LC_ALL): Use macro-int-constant.
15475 (LC_COLLATE): Likewise.
15476 (LC_CTYPE): Likewise.
15477 (LC_MESSAGES): Likewise.
15478 (LC_MONETARY): Likewise.
15479 (LC_NUMERIC): Likewise.
15480 (LC_TIME): Likewise.
15481 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15482 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15484 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15486 [C99-based standards] (float_t): Expect type.
15487 [C99-based standards] (double_t): Expect type.
15488 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15490 [C99-based standards] (HUGE_VALL): Likewise.
15491 [C99-based standards] (INFINITY): Likewise.
15492 [C99-based standards] (NAN): Likewise.
15493 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15494 [C99-based standards] (FP_NAN): Likewise.
15495 [C99-based standards] (FP_NORMAL): Likewise.
15496 [C99-based standards] (FP_SUBNORMAL): Likewise.
15497 [C99-based standards] (FP_ZERO): Likewise.
15498 [C99-based standards] (FP_FAST_FMA): Use
15499 optional-macro-int-constant. Specify type. Require == 1.
15500 [C99-based standards] (FP_FAST_FMAF): Likewise.
15501 [C99-based standards] (FP_FAST_FMAL): Likewise.
15502 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15503 [C99-based standards] (FP_ILOGBNAN): Likewise.
15504 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15506 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15507 [C99-based standards] (math_errhandling): Specify type.
15508 [ISO99 || ISO11] (signgam): Do not allow.
15509 [non-C99-based standards] (copysignf): Do not allow.
15510 [non-C99-based standards] (exp2f): Likewise.
15511 [non-C99-based standards] (log2f): Likewise.
15512 [non-C99-based standards] (modff): Allow.
15513 [non-C99-based standards] (erff): Do not allow.
15514 [non-C99-based standards] (erfcf): Likewise.
15515 [non-C99-based standards] (gammaf): Likewise.
15516 [non-C99-based standards] (hypotf): Likewise.
15517 [non-C99-based standards] (j0f): Likewise.
15518 [non-C99-based standards] (j1f): Likewise.
15519 [non-C99-based standards] (jnf): Likewise.
15520 [non-C99-based standards] (lgammaf): Likewise.
15521 [non-C99-based standards] (tgammaf): Likewise.
15522 [non-C99-based standards] (y0f): Likewise.
15523 [non-C99-based standards] (y1f): Likewise.
15524 [non-C99-based standards] (ynf): Likewise.
15525 [non-C99-based standards] (isnanf): Likewise.
15526 [non-C99-based standards] (acoshf): Likewise.
15527 [non-C99-based standards] (asinhf): Likewise.
15528 [non-C99-based standards] (atanhf): Likewise.
15529 [non-C99-based standards] (cbrtf): Likewise.
15530 [non-C99-based standards] (expm1f): Likewise.
15531 [non-C99-based standards] (ilogbf): Likewise.
15532 [non-C99-based standards] (log1pf): Likewise.
15533 [non-C99-based standards] (logbf): Likewise.
15534 [non-C99-based standards] (nextafterf): Likewise.
15535 [non-C99-based standards] (remainderf): Likewise.
15536 [non-C99-based standards] (rintf): Likewise.
15537 [non-C99-based standards] (scalbf): Likewise.
15538 [non-C99-based standards] (copysignl): Likewise.
15539 [non-C99-based standards] (exp2l): Likewise.
15540 [non-C99-based standards] (log2l): Likewise.
15541 [non-C99-based standards] (modfl): Allow.
15542 [non-C99-based standards] (erfl): Do not allow.
15543 [non-C99-based standards] (erfcl): Likewise.
15544 [non-C99-based standards] (gammal): Likewise.
15545 [non-C99-based standards] (hypotl): Likewise.
15546 [non-C99-based standards] (j0l): Likewise.
15547 [non-C99-based standards] (j1l): Likewise.
15548 [non-C99-based standards] (jnl): Likewise.
15549 [non-C99-based standards] (lgammal): Likewise.
15550 [non-C99-based standards] (tgammal): Likewise.
15551 [non-C99-based standards] (y0l): Likewise.
15552 [non-C99-based standards] (y1l): Likewise.
15553 [non-C99-based standards] (ynl): Likewise.
15554 [non-C99-based standards] (isnanl): Likewise.
15555 [non-C99-based standards] (acoshl): Likewise.
15556 [non-C99-based standards] (asinhl): Likewise.
15557 [non-C99-based standards] (atanhl): Likewise.
15558 [non-C99-based standards] (cbrtl): Likewise.
15559 [non-C99-based standards] (expm1l): Likewise.
15560 [non-C99-based standards] (ilogbl): Likewise.
15561 [non-C99-based standards] (log1pl): Likewise.
15562 [non-C99-based standards] (logbl): Likewise.
15563 [non-C99-based standards] (nextafterl): Likewise.
15564 [non-C99-based standards] (remainderl): Likewise.
15565 [non-C99-based standards] (rintl): Likewise.
15566 [non-C99-based standards] (scalbl): Likewise.
15567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15568 [non-C99-based standards] (FP_*): Do not allow.
15569 [C99-based standards] (FP_*): Change to
15570 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15571 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15573 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15574 (SIG_ERR): Likewise.
15575 [X/Open-based standards] (SIG_HOLD): Likewise.
15576 (SIG_IGN): Likewise.
15577 (SIGABRT): Use macro-int-constant. Specify type. Require
15579 (SIGFPE): Likewise.
15580 (SIGILL): Likewise.
15581 (SIGINT): Likewise.
15582 (SIGSEGV): Likewise.
15583 (SIGTER): Likewise.
15584 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15585 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15586 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15587 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15588 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15589 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15590 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15591 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15592 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15593 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15594 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15595 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15596 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15597 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15598 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15599 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15600 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15601 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15602 [X/Open-based standards] (SIGTRAP): Likewise.
15603 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15604 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15605 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15606 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15607 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15610 2012-05-08 Ian Wienand <ianw@vmware.com>
15613 * time/tzset.c (__tzset_parse_tz): Update default rules for
15614 daylight time changes in the Energy Policy Act of 2005.
15616 2012-05-09 Andreas Jaeger <aj@suse.de>
15619 * elf/ldconfig.c (parse_conf): Change string to make clear that
15620 ldconfig only issued a warning if ld.so.conf does not exist.
15622 2012-05-08 David S. Miller <davem@davemloft.net>
15624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15625 movxtod instead of popping the value on the stack.
15627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15629 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15631 * config.h.in: Add HAVE_ARM_PCS_VFP.
15633 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15636 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15637 checking but the checks are disabled for any reason.
15639 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15641 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15642 and ELF64_R_TYPE with ELFW(R_TYPE).
15644 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15646 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15647 (ulimit): Likewise.
15649 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15650 (settimeofday): Likewise.
15652 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15654 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15655 a struct th_u2 inside the union, and move tu_block/tu_code into
15656 a new th_u3 union of tu_block/tu_code inside of that. Move
15657 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15658 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15659 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15660 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15661 (th_stuff): Change to th_u1.tu_stuff.
15663 (th_msg): Change to th_u1.th_u2.tu_data.
15665 2012-05-07 David S. Miller <davem@davemloft.net>
15667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15670 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15671 (SETUP_PIC_REG): Use it.
15672 (SETUP_PIC_REG_LEAF): Use it.
15674 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15678 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15680 (EXPL_FINITE): Likewise.
15681 (FLDLOG): Likewise.
15682 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15683 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15685 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15687 (EXPL_FINITE): Likewise.
15688 (FLDLOG): Likewise.
15689 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15690 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15692 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15693 test of -max_value argument for long double.
15694 * sysdeps/i386/fpu/libm-test-ulps: Update.
15695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15697 2012-05-06 David S. Miller <davem@davemloft.net>
15699 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15700 quad soft-float symbols whose references which are compiler
15702 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15704 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15708 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15710 (EXPL_FINITE): Likewise.
15711 (FLDLOG): Likewise.
15714 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15715 Adjust comments for base varying.
15716 (__expl_finite): Change alias to EXPL_FINITE.
15717 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15719 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15720 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15722 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15723 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15725 (EXPL_FINITE): Likewise.
15726 (FLDLOG): Likewise.
15729 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15730 Adjust comments for base varying.
15731 (__expl_finite): Change alias to EXPL_FINITE.
15732 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15737 * math/libm-test.inc (check_float_internal): Correct ulp
15738 calculation for subnormal expected results.
15740 2012-05-06 Andreas Jaeger <aj@suse.de>
15742 * Makeconfig (+math-flags): New, set to -frounding-math.
15743 (+cflags): Add +math-flags so that all of glibc gets compiled with
15746 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15748 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15750 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15756 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15757 (__ieee754_expl): Allow for and saturate large arguments.
15758 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15759 (u_threshold): Likewise.
15760 (__exp): Call __ieee754_exp before checking for overflow and
15762 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15763 (u_threshold): Likewise.
15764 (__expf): Call __ieee754_expf before checking for overflow and
15766 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15767 (u_threshold): Likewise.
15768 (__expl): Call __ieee754_expl before checking for overflow and
15770 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15771 (__ieee754_expl): Allow for and saturate large arguments.
15772 * math/libm-test.inc (exp_test): Add another test. Do not allow
15773 missing overflow exception on overflow.
15774 (expm1_test): Do not allow missing overflow exception on overflow.
15776 * sysdeps/i386/fpu/e_expl.c: Move to ...
15777 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15778 rather than using inline asm.
15779 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15780 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15781 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15783 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15786 (signal): Likewise.
15790 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15792 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15793 sysdeps/unix/common/syscalls.list.
15794 (fchmod): Likewise.
15795 (fchown): Likewise.
15796 (ftruncate): Likewise.
15797 (getrusage): Likewise.
15798 (gettimeofday): Likewise.
15799 (setpgid): Likewise.
15800 (setregid): Likewise.
15801 (setreuid): Likewise.
15802 (sigaction): Likewise.
15803 (truncate): Likewise.
15804 (vhangup): Likewise.
15805 * sysdeps/unix/common/syscalls.list: Remove file.
15806 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15807 * sysdeps/unix/sysv/linux/Implies: Likewise.
15809 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15811 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15813 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15817 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15820 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15823 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15826 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15829 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15832 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15835 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15839 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15843 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15846 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15850 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15854 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15856 * sysdeps/unix/common/bits/dirent.h: Remove file.
15857 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15859 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15860 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15861 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15862 * sysdeps/unix/bsd/isatty.c: Likewise.
15863 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15864 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15865 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15867 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15870 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15871 long double comparison inaccuracies.
15872 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15875 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15877 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15878 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15880 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15883 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15884 nonzero digits before rounding a hex value.
15885 * stdlib/tst-strtod.c (tests): Add another test.
15887 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15889 * sysdeps/s390/fpu/libm-test-ulps: Update.
15891 2012-05-03 Andreas Jaeger <aj@suse.de>
15893 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15894 does not get optimized out.
15895 (malloc_opt_barrier): New.
15897 2012-05-03 Andreas Jaeger <aj@suse.de>
15898 Roland McGrath <roland@hack.frob.com>
15900 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15901 intermediate file deletion.
15902 (generated): Add .symlist files.
15904 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15907 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15908 Redirect under this condition.
15909 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15910 [__USE_GNU] (__dprintf_chk): Not under this condition.
15911 [__USE_GNU] (__vdprintf_chk): Likewise.
15912 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15913 under this condition.
15914 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15915 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15916 [__USE_XOPEN2K8] (vdprintf): Likewise.
15917 [__USE_GNU] (__dprintf_chk): Not under this condition.
15918 [__USE_GNU] (__vdprintf_chk): Likewise.
15919 [__USE_GNU] (dprintf): Likewise.
15920 [__USE_GNU] (vdprintf): Likewise.
15922 2012-05-03 Roland McGrath <roland@hack.frob.com>
15924 * elf/Makefile (common-generated): Set this instead of generated for
15925 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15926 $(all-built-dso)-derived lists.
15928 2012-05-03 Andreas Jaeger <aj@suse.de>
15930 * sysdeps/i386/fpu/libm-test-ulps: Update.
15933 * FAQ.in: Likewise.
15934 * scripts/gen-FAQ.pl: Likewise.
15935 * manual/install.texi (Installation): Point to online location of
15937 * Makefile (files-for-dist): Remove FAQ.
15940 2012-05-02 Allan McRae <allan@archlinux.org>
15942 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15943 (LDFLAGS-reldepmod5.so): Likewise.
15944 (LDFLAGS-reldep6mod1.so): Likewise.
15945 (LDFLAGS-reldep6mod4.so): Likewise.
15946 (LDFLAGS-reldep8mod3.so): Likewise.
15947 (LDFLAGS-unload4mod1.so): Likewise.
15948 (LDFLAGS-unload4mod2.so): Likewise.
15949 (LDFLAGS-tst-initorder): Likewise.
15950 (LDFLAGS-tst-initordera2.so): Likewise.
15951 (LDFLAGS-tst-initordera3.so): Likewise.
15952 (LDFLAGS-tst-initordera4.so): Likewise.
15953 (LDFLAGS-tst-initorderb2.so): Likewise.
15954 (LDFLAGS-noload): Likewise.
15955 (LDFLAGS-next): Likewise.
15956 (LDFLAGS-order2mod1.so): Likewise.
15957 (LDFLAGS-order2mod2.so): Likewise.
15958 (LDFLAGS-tst-initorder2): Likewise.
15959 (LDFLAGS-tst-initorder2a.so): Likewise.
15960 (LDFLAGS-tst-initorder2b.so): Likewise.
15961 (LDFLAGS-tst-initorder2c.so): Likewise.
15962 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15964 2012-05-02 David S. Miller <davem@davemloft.net>
15966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15968 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15971 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15973 2012-05-02 Andreas Jaeger <aj@suse.de>
15975 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15976 since we manipulate rounding mode.
15977 (CPPFLAGS-test-idouble.c): Likewise.
15978 (CPPFLAGS-test-ifloat.c): Likewise.
15979 (CFLAGS-test-ldouble.c): Likewise.
15980 (CFLAGS-test-double.c): Likewise.
15981 (CFLAGS-test-float.c): Likewise.
15982 (CFLAGS-test-misc.c): Likewise.
15983 (CFLAGS-test-test-fenv.c): Likewise.
15985 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15989 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15990 comparisons to determine direction to adjust input.
15992 2012-05-01 Roland McGrath <roland@hack.frob.com>
15994 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15995 output to the target.
15997 * scripts/localplt.awk: New file.
15998 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15999 (check-localplt-CFLAGS): Variable removed.
16000 ($(all-built-dso:=.jmprel)): New static pattern rule.
16001 (generated): Add those targets.
16002 (localplt-built-dso): New variable.
16003 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16005 * elf/check-localplt.c: File removed.
16007 * scripts/check-execstack.awk: New file.
16008 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16009 (check-execstack-CFLAGS): Variable removed.
16010 ($(objpfx)check-execstack.h): Target removed.
16011 ($(objpfx)execstack-default): New target.
16012 (generated): Add that instead of check-execstack.h.
16013 ($(all-built-dso:=.phdr)): New static pattern rule.
16014 (generated): Add those targets.
16015 * elf/check-execstack.c: File removed.
16017 * scripts/check-textrel.awk: New file.
16018 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16019 (check-textrel-CFLAGS): Variable removed.
16020 (all-built-dso): Use := to define.o
16021 ($(all-built-dso:=.dyn)): New static pattern rule.
16022 (generated): Add those targets.
16023 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16024 * config.make.in (READELF): New substituted variable.
16025 * elf/check-textrel.c: File removed.
16027 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16029 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16031 * conform/data/ctype.h-data [C99-based standards] (isblank):
16033 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16034 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16036 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16037 Specify type. Require positive value.
16038 (EILSEQ): Likewise.
16039 (ERANGE): Likewise.
16040 [ISO || POSIX] (EILSEQ): Do not expect.
16041 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16042 Specify type. Require positive value.
16043 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16044 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16045 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16046 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16047 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16048 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16049 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16050 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16051 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16052 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16053 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16054 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16055 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16056 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16057 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16058 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16059 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16060 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16061 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16062 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16063 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16064 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16065 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16066 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16067 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16068 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16069 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16070 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16071 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16072 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16073 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16074 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16075 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16076 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16077 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16078 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16079 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16080 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16081 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16082 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16083 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16084 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16085 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16086 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16087 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16088 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16089 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16090 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16091 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16092 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16093 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16094 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16095 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16096 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16097 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16098 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16099 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16100 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16101 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16102 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16103 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16104 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16105 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16106 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16107 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16108 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16109 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16110 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16111 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16112 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16113 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16114 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16115 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16116 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16117 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16118 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16119 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16121 (FLT_ROUNDS): Expect as macro, not constant.
16122 (FLT_MANT_DIG): Use macro-int-constant.
16123 (DBL_MANT_DIG): Likewise.
16124 (LDBL_MANT_DIG): Likewise.
16125 (FLT_DIG): Likewise.
16126 (DBL_DIG): Likewise.
16127 (LDBL_DIG): Likewise.
16128 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16129 (DBL_MIN_EXP): Likewise.
16130 (LDBL_MIN_EXP): Likewise.
16131 (FLT_MAX_EXP): Use macro-int-constant.
16132 (DBL_MAX_EXP): Likewise.
16133 (LDBL_MAX_EXP): Likewise.
16134 (FLT_MAX_10_EXP): Likewise.
16135 (DBL_MAX_10_EXP): Likewise.
16136 (LDBL_MAX_10_EXP): Likewise.
16137 (FLT_MAX): Use macro-constant.
16138 (DBL_MAX): Likewise.
16139 (LDBL_MAX): Likewise.
16140 (FLT_EPSILON): Use macro-constant. Give upper bound.
16141 (DBL_EPSILON): Likewise.
16142 (LDBL_EPSILON): Likewise.
16143 (FLT_MIN): Likewise.
16144 (DBL_MIN): Likewise.
16145 (LDBL_MIN): Likewise.
16146 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16147 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16148 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16149 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16150 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16151 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16152 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16153 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16154 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16155 [ISO11] (FLT_TRUE_MIN): Likewise.
16156 [ISO11] (LDBL_TRUE_MIN): Likewise.
16157 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16158 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16159 (SCHAR_MIN): Use macro-int-constant. Specify type.
16160 (SCHAR_MAX): Likewise.
16161 (UCHAR_MAX): Likewise.
16162 (CHAR_MIN): Likewise.
16163 (CHAR_MAX): Likewise.
16164 (MB_LEN_MAX): Use macro-int-constant.
16165 (SHRT_MIN): Use macro-int-constant. Specify type.
16166 (SHRT_MAX): Likewise.
16167 (USHRT_MAX): Likewise.
16168 (INT_MAX): Likewise.
16169 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16171 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16173 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16175 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16176 bound negative. Suffix upper bound with "L".
16177 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16179 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16181 [C99-based standards] (LLONG_MAX): Likewise.
16182 [C99-based standards] (ULLONG_MAX): Likewise.
16183 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16185 [ISO11] (max_align_t): Require type.
16186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16188 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16189 from $CFLAGS, without defining away __attribute__ calls.
16190 (checknamespace): Use $CFLAGS_namespace.
16192 * conform/conformtest.pl (@keywords): Only include C99 keywords
16193 for standards based on C99 or C11.
16195 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16197 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16200 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16201 usability of symbols in #if.
16203 * conform/conformtest.pl: If macro or constant types start
16204 "promoted:", expect the symbol to be of the following type
16205 promoted by the integer promotions.
16207 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16208 in one place. Also handle "macro-constant".
16210 * conform/conformtest.pl: Only accept expected macro values with
16211 "==". Parse all "macro" lines in one place.
16212 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16214 * conform/conformtest.pl: Handle braced types on "constant" lines
16215 instead of handling "typed-constant".
16216 * conform/data/signal.h-data: Use "constant" instead of
16219 * conform/conformtest.pl: Handle "optional-" at start of lines in
16220 one place rather than duplicating several cases. Handle each
16221 format of "macro" line with initial "optional-".
16223 * conform/conformtest.pl: Only accept expected constant or
16224 optional-constant values with "==". Parse all "constant" lines in
16225 one place. Parse all "optional-constant" lines in one place.
16226 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16227 * conform/data/fmtmsg.h-data: Likewise.
16228 * conform/data/netinet/in.h-data: Likewise.
16229 * conform/data/tar.h-data: Likewise.
16230 * conform/data/limits.h-data: Use "==" form on "constant" and
16231 "optional-constant" lines.
16233 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16234 Use -std=c99 for XOPEN2K.
16235 (@knownproblems): Remove.
16236 (newtoken): Don't check %isknown.
16238 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16239 Do not expect macro.
16240 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16241 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16242 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16243 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16244 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16245 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16246 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16247 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16248 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16249 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16250 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16251 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16252 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16253 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16254 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16255 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16256 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16257 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16258 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16259 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16260 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16261 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16262 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16263 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16264 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16265 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16266 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16267 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16268 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16269 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16270 [XPG3] (acosh): Likewise.
16271 [XPG3] (asinh): Likewise.
16272 [XPG3] (atanh): Likewise.
16273 [XPG3] (cbrt): Likewise.
16274 [XPG3] (expm1): Likewise.
16275 [XPG3] (ilogb): Likewise.
16276 [XPG3] (log1p): Likewise.
16277 [XPG3] (logb): Likewise.
16278 [XPG3] (nextafter): Likewise.
16279 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16280 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16281 [XPG3] (remainder): Likewise.
16282 [XPG3] (rint): Likewise.
16283 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16284 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16285 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16286 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16287 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16288 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16289 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16290 [UNIX98 || XOPEN2K] (scalb): Expect.
16291 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16292 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16293 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16294 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16295 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16296 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16297 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16298 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16299 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16300 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16301 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16302 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16303 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16304 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16305 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16306 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16307 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16308 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16309 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16310 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16311 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16312 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16313 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16314 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16315 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16316 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16317 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16318 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16319 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16320 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16321 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16322 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16323 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16324 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16325 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16326 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16327 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16328 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16329 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16330 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16331 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16332 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16333 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16334 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16335 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16336 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16337 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16338 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16339 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16340 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16341 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16342 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16343 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16344 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16345 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16346 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16347 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16348 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16349 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16350 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16351 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16352 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16353 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16354 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16355 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16356 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16357 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16358 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16359 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16360 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16361 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16362 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16363 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16364 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16365 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16366 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16367 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16368 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16369 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16370 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16371 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16372 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16373 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16374 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16375 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16376 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16377 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16378 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16379 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16380 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16381 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16382 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16383 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16384 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16385 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16386 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16387 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16388 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16389 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16390 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16391 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16392 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16393 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16394 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16395 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16396 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16397 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16398 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16399 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16400 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16401 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16402 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16403 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16404 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16405 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16406 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16407 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16408 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16409 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16410 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16411 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16412 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16413 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16414 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16415 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16416 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16417 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16418 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16419 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16420 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16421 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16422 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16423 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16424 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16425 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16426 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16427 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16429 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16430 _XOPEN_SOURCE_EXTENDED for XPG4.
16432 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16434 * Makeconfig (localtime): Remove variable.
16435 (inst_localtime-file): Likewise.
16437 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16458 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16462 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16463 comparisons to determine direction to adjust input.
16464 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16465 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16466 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16468 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16470 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16472 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16473 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16475 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16477 * math/libm-test.inc (nexttoward_test): Add more tests.
16479 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16482 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16483 in version GLIBC_2.1, not GLIBC_2.0.
16484 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16487 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16490 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16492 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16493 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16494 * math/libm-test.inc (acos_test): Add more tests.
16495 (asin_test): Likewise.
16496 * sysdeps/i386/fpu/libm-test-ulps: Update.
16497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16500 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16502 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16503 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16504 * math/libm-test.inc (acos_test_tonearest): New function.
16505 (acos_test_towardzero): Likewise.
16506 (acos_test_downward): Likewise.
16507 (acos_test_upward): Likewise.
16508 (asin_test_tonearest): Likewise.
16509 (asin_test_towardzero): Likewise.
16510 (asin_test_downward): Likewise.
16511 (asin_test_upward): Likewise.
16512 (main): Call the new functions.
16513 * sysdeps/i386/fpu/libm-test-ulps: Update.
16514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16518 * math/e_exp10.c: Include <float.h>.
16519 (__ieee754_exp10): Handle underflow here rather than multiplying
16520 large negative argument by M_LN10.
16521 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16523 * math/e_exp10l.c: Include <float.h>.
16524 (__ieee754_exp10l): Handle underflow here rather than multiplying
16525 large negative argument by M_LN10l.
16526 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16527 spurious overflow exception on underflow.
16529 2012-04-29 Marek Polacek <polacek@redhat.com>
16531 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16532 (__fortify_function): New macro.
16533 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16534 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16535 __extern_always_inline.
16536 * libio/bits/stdio2.h: Likewise.
16537 * libio/bits/stdio.h: Likewise.
16538 * string/string.h: Likewise.
16539 * string/bits/string3.h: Likewise.
16540 * include/stdio.h: Likewise.
16541 * stdlib/bits/stdlib.h: Likewise.
16542 * stdlib/stdlib.h: Likewise.
16543 * rt/bits/mqueue2.h: Likewise.
16544 * rt/mqueue.h: Likewise.
16545 * posix/bits/unistd.h: Likewise.
16546 * posix/unistd.h: Likewise.
16547 * io/bits/poll2.h: Likewise.
16548 * io/bits/fcntl2.h: Likewise.
16549 * io/fcntl.h: Likewise.
16550 * io/sys/poll.h: Likewise.
16551 * misc/bits/syslog.h: Likewise.
16552 * misc/bits/syslog-ldbl.h: Likewise.
16553 * misc/sys/syslog.h: Likewise.
16554 * socket/bits/socket2.h: Likewise.
16555 * socket/sys/socket.h: Likewise.
16556 * debug/tst-chk1.c: Likewise.
16557 * wcsmbs/bits/wchar2.h: Likewise.
16558 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16559 * wcsmbs/wchar.h: Likewise.
16561 2012-04-29 Andreas Jaeger <aj@suse.de>
16563 * Makerules (tests): Remove enable-check-abi protection.
16564 (check-abi-warn): Remove.
16565 (check-abi-%): Remove check-abi-warn usage.
16567 * configure.in: Remove check-abi configure option.
16568 * configure: Regenerated.
16569 * config.make.in (enable-check-abi): Remove.
16571 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16574 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16575 double functions to double *_finite functions.
16578 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16579 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16581 * stdio-common/Makefile (tests): Add tst-sprintf3.
16582 * stdio-common/tst-sprintf3.c: New file.
16584 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16585 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16587 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16589 * conform/conformtest.pl: Remove duplicate typed-constant
16592 2012-04-28 David S. Miller <davem@davemloft.net>
16594 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16595 (check-abi-%): Remove AWK script prerequisite and explicit
16597 (check-abi): Rewrite to just diff the symlist with the abilist.
16598 (config-tls, config-abi-config): Delete, no longer used.
16599 (update-abi-%): Remove AWK script and explicit abilist directory.
16600 (update-abi): Rewrite to simply compare and conditionally copy the
16601 symlist and the sysdep abilist file. Remove update-abi-config
16603 * abilist/ld.abilist: Remove.
16604 * abilist/libBrokenLocale.abilist: Remove.
16605 * abilist/libanl.abilist: Remove.
16606 * abilist/libcrypt.abilist: Remove.
16607 * abilist/libdl.abilist: Remove.
16608 * abilist/librt.abilist: Remove.
16609 * abilist/libthread_db.abilist: Remove.
16610 * abilist/libutil.abilist: Remove.
16611 * scripts/extract-abilist.awk: Remove.
16612 * scripts/merge-abilist.awk: Remove.
16613 * sysdeps/generic/libcidn.abilist: New file.
16614 * sysdeps/generic/libnss_compat.abilist: New file.
16615 * sysdeps/generic/libnss_db.abilist: New file.
16616 * sysdeps/generic/libnss_dns.abilist: New file.
16617 * sysdeps/generic/libnss_files.abilist: New file.
16618 * sysdeps/generic/libnss_hesiod.abilist: New file.
16619 * sysdeps/generic/libnss_nis.abilist: New file.
16620 * sysdeps/generic/libnss_nisplus.abilist: New file.
16621 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16622 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16623 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16625 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16626 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16627 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16628 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16629 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16630 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16631 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16632 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16633 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16635 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16636 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16637 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16638 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16640 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16641 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16642 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16643 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16644 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16645 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16647 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16648 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16649 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16651 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16754 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16755 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16756 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16758 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16759 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16760 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16761 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16762 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16763 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16764 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16765 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16766 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16767 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16819 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16821 * conform/conformtest.pl: Fix typo in handling typed-constant from
16824 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16826 * README: Cut down references to pre-2.6 Linux kernels and
16827 Linuxthreads. Update lists of configurations in libc and ports
16828 and sort alphabetically. Say "or newer" with Linux kernel version
16831 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16833 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16836 * math/libm-test.inc (logb_test_downward): New test to expose
16837 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16840 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16843 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16845 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16846 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16848 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16850 * sysdeps/unix/i386/brk.S: Remove file.
16851 * sysdeps/unix/i386/dl-brk.S: Likewise.
16852 * sysdeps/unix/i386/pipe.S: Likewise.
16853 * sysdeps/unix/i386/sigreturn.S: Likewise.
16854 * sysdeps/unix/i386/syscall.S: Likewise.
16855 * sysdeps/unix/i386/vfork.S: Likewise.
16856 * sysdeps/unix/i386/wait.S: Likewise.
16858 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16859 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16861 * configure.in (arm*-none*): Do not allow without
16862 --enable-hacker-mode.
16863 (netbsd*): Remove case setting base_os.
16864 (386bsd*): Likewise.
16865 (freebsd*): Likewise.
16868 (sunos*): Likewise.
16869 (ultrix*): Likewise.
16870 (newsos*): Likewise.
16871 (dynix*): Likewise.
16877 (minix*): Likewise.
16878 (irix4*): Likewise.
16879 (irix6*): Likewise.
16880 (solaris[2-9]*): Likewise.
16882 * configure: Regenerated.
16884 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16887 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16888 overflow or cancellation in calculating denominator.
16889 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16891 down expression to avoid unexpected rounding in newer GCCs.
16892 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16894 2012-04-26 David S. Miller <davem@davemloft.net>
16896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16897 long-double compat symbols.
16898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16912 2012-04-25 David S. Miller <davem@davemloft.net>
16914 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16915 HWCAP_* values only after the memory barriers have been defined.
16916 (atomic_full_barrier): Define.
16917 (atomic_read_barrier): Define.
16918 (atomic_write_barrier): Define.
16920 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16922 * shlib-versions: Add libgcc_s version information.
16923 * sysdeps/generic/libgcc_s.h: Remove.
16924 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16926 * sysdeps/gnu/unwind-resume.c: Likewise.
16927 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16929 2012-04-25 David S. Miller <davem@davemloft.net>
16931 * sysdeps/unix/sparc/brk.S: Delete.
16932 * sysdeps/unix/sparc/dl-brk.S: Delete.
16933 * sysdeps/unix/sparc/pipe.S: Delete.
16934 * sysdeps/unix/sparc/sysdep.S: Delete.
16935 * sysdeps/unix/sparc/sysdep.h: Delete.
16936 * sysdeps/unix/sparc/vfork.S: Delete.
16937 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16938 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16939 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16940 ret_ERRVAL, r0, r1, MOVE): Define.
16941 (JUMPTARGET): Remove.
16942 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16943 sysdeps/unix/sparc/sysdep.h
16944 (ENTRY, END): Remove.
16945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16947 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16949 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16950 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16953 * timezone/README: Update upstream location and email address for
16955 * timezone/zdump.c: Update from tzcode 2012b.
16956 * timezone/zic.c: Likewise.
16958 * configure.in (libc_cv_as_needed): Remove test.
16959 * configure: Regenerated.
16960 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16961 conditional definition.
16962 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16963 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16964 * config.make.in (have-as-needed): Remove variable.
16966 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16967 Paul Pluzhnikov <ppluzhnikov@google.com>
16969 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16972 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16974 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16975 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16976 * sysdeps/sh/strlen.S: Likewise.
16978 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16980 * sysdeps/unix/fork.S: Remove file.
16981 * sysdeps/unix/i386/fork.S: Likewise.
16982 * sysdeps/unix/sparc/fork.S: Likewise.
16984 * sysdeps/unix/system.c: Remove file.
16985 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16987 * sysdeps/unix/getegid.S: Remove file.
16988 * sysdeps/unix/geteuid.S: Likewise.
16990 2012-04-24 Roland McGrath <roland@hack.frob.com>
16992 * scripts/check-localplt.awk: New file.
16993 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16995 * scripts/data/localplt-generic.data: Add a comment.
16997 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16998 NODE when __dir_mkfile failed.
16999 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17000 Reported by Ludovic Courtès <ludo@gnu.org>.
17002 2012-04-24 Andreas Jaeger <aj@suse.de>
17004 * Makerules (common-clean): Also remove gen-as-const-headers
17007 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17009 * Makerules (native-compile): Do not change working directory for
17010 build. Use $(OUTPUT_OPTION) in command.
17011 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17013 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17016 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17017 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17018 * math/libm-test.inc (floor_test): Add more tests.
17019 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17021 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17023 * sysdeps/unix/getdents.c: Remove file.
17024 * sysdeps/unix/sysv/getdents.c: Likewise.
17025 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17027 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17028 sysdeps/unix/mman/syscalls.list.
17030 (mprotect): Likewise.
17032 (munmap): Likewise.
17033 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17034 * sysdeps/unix/mman/syscalls.list: Remove.
17035 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17037 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17038 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17039 * configure: Regenerated.
17040 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17041 $(libgcc_s_suffix).
17042 * config.make.in (libgcc_s_suffix): Remove variable.
17044 2012-04-23 Joseph Myers <joseph@codesourcery.com>
17046 * sysdeps/unix/sysv/gethostname.c: Move to ...
17047 * sysdeps/posix/gethostname.c: ... here.
17049 * sysdeps/unix/execve.S: Remove file.
17051 * sysdeps/unix/_exit.S: Remove file.
17053 2012-04-23 Andreas Jaeger <aj@suse.de>
17056 * manual/Makefile: Remove make dist support, there's no
17057 need for a stand-alone documentation tar ball.
17058 (TEXI2DVI): Define always, it's not in Makeconfig.
17061 (edition): Removed.
17062 (glibc-doc-$(edition).tar): Removed
17066 (ETAGS): Remove, it's in Makeconfig.
17067 (move-if-change): Remove, it's in Makeconfig.
17069 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
17072 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17073 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17074 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17075 (strtod_l, strtof_l, strtold_l): Remove __wur.
17076 It is not necessarily an error to ignore strtol's return value.
17077 One can reliably look at the stored endptr to decide whether
17078 the number had valid syntax.
17080 2012-04-21 Andreas Jaeger <aj@suse.de>
17083 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17085 2012-04-21 Joseph Myers <joseph@codesourcery.com>
17087 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17088 * sysdeps/unix/sysv/Versions: Remove file.
17090 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17095 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
17098 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17099 version from __vm86.
17101 2012-04-20 Joseph Myers <joseph@codesourcery.com>
17103 * sysdeps/unix/common/lxstat.c: Remove file.
17104 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17106 * sysdeps/unix/sysv/Makefile: Remove file.
17108 * sysdeps/unix/sysv/direct.h: Remove file.
17110 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17111 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17112 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17113 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17114 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17115 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17116 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17118 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17120 * sysdeps/unix/xmknod.c: Remove file.
17121 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17123 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17125 * sysdeps/unix/sysv/i386/time.S: Remove file.
17127 * sysdeps/unix/fxstat.c: Remove file.
17128 * sysdeps/unix/xstat.c: Likewise.
17129 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17131 * sysdeps/unix/sysv/sigaction.c: Remove file.
17133 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17134 (sysdep_headers): Remove variable.
17135 [termio.h not in sysdep_headers] (generated): Likewise.
17136 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17137 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17138 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17139 * sysdeps/unix/sysv/tcflow.c: Likewise.
17140 * sysdeps/unix/sysv/tcflush.c: Likewise.
17141 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17142 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17143 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17144 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17145 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17147 * sysdeps/unix/siglist.c: Remove file.
17149 * sysdeps/unix/getppid.S: Remove file.
17151 * sysdeps/unix/mkdir.c: Remove file.
17152 * sysdeps/unix/rmdir.c: Likewise.
17154 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17156 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17158 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17159 errlist-compat value.
17161 2012-04-18 David S. Miller <davem@davemloft.net>
17163 * sysdeps/generic/memcopy.h (reg_char): Delete.
17164 * debug/strcat_chk.c: Use char, not reg_char.
17165 * debug/strcpy_chk.c: Likewise.
17166 * debug/strncat_chk.c: Likewise.
17167 * debug/strncpy_chk.c: Likewise.
17168 * string/memchr.c: Likewise.
17169 * string/memrchr.c: Likewise.
17170 * string/rawmemchr.c: Likewise.
17171 * string/strcat.c: Likewise.
17172 * string/strchr.c: Likewise.
17173 * string/strchrnul.c: Likewise.
17174 * string/strcmp.c: Likewise.
17175 * string/strcpy.c: Likewise.
17176 * string/strncat.c: Likewise.
17177 * string/strncmp.c: Likewise.
17178 * string/strncpy.c: Likewise.
17180 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17182 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17183 __builtin_memcopy is called when src and dest ranges are known to not
17186 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17188 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17189 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17190 fwd_align_merge macro call.
17191 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17192 bwd_align_merge macro call.
17193 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17195 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17197 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17198 bwd_align_merge macros.
17199 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17200 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17201 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17203 2012-04-18 David S. Miller <davem@davemloft.net>
17205 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17207 2012-04-18 Andreas Jaeger <aj@suse.de>
17210 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17211 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17212 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17214 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17215 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17216 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17218 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17219 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17220 Adjust for changed ldbl-128 files.
17222 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17223 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17224 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17226 2012-04-17 David S. Miller <davem@davemloft.net>
17228 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17230 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17232 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17233 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17234 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17235 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17236 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17237 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17239 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17242 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17243 * math/libm-test.inc: Add ilogb errno and exception tests.
17244 * math/w_ilogb.c: New file: ilogb wrapper.
17245 * math/w_ilogbf.c: New file: ilogbf wrapper.
17246 * math/w_ilogbl.c: New file: ilogbl wrapper.
17247 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17248 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17249 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17250 exception being thrown with 0.0 as argument.
17251 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17252 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17253 exception being thrown with 0.0 as argument.
17254 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17255 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17256 exception being thrown with 0.0 as argument.
17257 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17258 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17259 exception being thrown with 0.0 as argument.
17260 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17261 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17262 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17263 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17264 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17265 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17266 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17267 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17268 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17270 2012-04-17 Petr Baudis <pasky@ucw.cz>
17272 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17275 2012-04-16 Marek Polacek <polacek@redhat.com>
17277 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17279 2012-04-16 Marek Polacek <polacek@redhat.com>
17281 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17282 operands of fdivp instruction.
17284 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17286 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17287 * elf/tst-auditmod3b.c: Likewise.
17288 * elf/tst-auditmod4b.c: Likewise.
17289 * elf/tst-auditmod5b.c: Likewise.
17290 * elf/tst-auditmod6b.c: Likewise.
17291 * elf/tst-auditmod6c.c: Likewise.
17292 * elf/tst-auditmod7b.c: Likewise.
17293 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17294 * sysdeps/x86_64/preconfigure.in: Likewise.
17295 * sysdeps/x86_64/preconfigure: Regenerated.
17297 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17299 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17302 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
17304 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17305 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17307 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17310 * locale/iso-639.def: Fix gl language name. Spotted by
17313 2012-04-12 Roland McGrath <roland@hack.frob.com>
17316 * libio/libio.h (__io_write_fn): Update comment.
17318 2012-04-12 Petr Baudis <pasky@ucw.cz>
17321 * stdio.texi (Hook Functions): The user provided writer function
17322 is not allowed to return -1.
17324 2012-04-11 David S. Miller <davem@davemloft.net>
17326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17328 2012-04-11 Mike Frysinger <vapier@gentoo.org>
17330 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17331 Add a leading slash to rtkaio.
17333 2012-04-11 Jim Meyering <meyering@redhat.com>
17336 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17337 It is not necessarily an error to ignore fwrite's return
17338 value. One can reliably use ferror to test for errors after
17341 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17343 * bits/types.h (__snseconds_t): New type.
17344 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17346 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17348 (__SNSECONDS_T_TYPE): Likewise.
17349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17350 (__SNSECONDS_T_TYPE): Likewise.
17351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17352 (__SNSECONDS_T_TYPE): Likewise.
17354 2012-04-10 Andreas Jaeger <aj@suse.de>
17357 * manual/time.texi (Processor Time): Return type of times is
17358 elapsed real time since an arbitrary point in the past.
17359 (CPU Time): Move CLK_TCK from here...
17360 (Processor Time): ...to here. Correct description.
17361 * manual/conf.texi (Constants for Sysconf): Correct description of
17364 2012-04-10 David S. Miller <davem@davemloft.net>
17367 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17368 where the is a gap between DT_REL(A) and DT_JMPREL.
17370 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17372 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17373 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17374 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17376 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17378 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17379 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17380 (dl_main): Handle --inhibit-cache.
17381 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17383 * elf/dl-load.c (_dl_map_object): Use it.
17384 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17386 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17389 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17390 (__ieee754_powl): Saturate large exponents rather than testing for
17391 overflow of y*log2(x).
17392 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17393 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17397 * math/s_ctan.c: Include <float.h>.
17398 (__ctan): Avoid internal overflow or cancellation in calculating
17400 * math/s_ctanf.c: Likewise.
17401 * math/s_ctanl.c: Likewise.
17402 * math/s_ctanh.c: Likewise.
17403 * math/s_ctanhf.c: Likewise.
17404 * math/s_ctanhl.c: Likewise.
17405 * math/libm-test.inc (ctan_test): Add more tests.
17406 (ctanh_test): Likewise.
17407 * sysdeps/i386/fpu/libm-test-ulps: Update.
17408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17410 2012-04-09 Andreas Jaeger <aj@suse.de>
17413 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17414 is an optional BSD extension.
17417 * manual/stdio.texi (Opening Streams): Document additional fopen
17420 2012-04-09 Roland McGrath <roland@hack.frob.com>
17422 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17423 %eax without telling the compiler.
17425 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17428 * manual/install.texi: Use sourceware.org.
17430 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17433 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17434 (__ieee754_pow): Generate overflow and underflow using huge*huge
17435 and tiny*tiny rather than just returning constant infinity or zero
17436 for large exponents.
17437 * math/libm-test.inc (pow_test): Require overflow exceptions for
17438 applicable cases of large exponents.
17441 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17442 (__ieee754_pow): Use iterative multiplication algorithm only for
17443 integer exponents with absolute value below 1024. Check for odd
17444 integer exponents when using algorithm for real exponents.
17445 * math/libm-test.inc (pow_test): Add more tests.
17446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17448 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17451 * math/libm-test.inc (exp_test): Do not allow overflow exception
17454 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17457 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17458 instead of __kernel_standard_f.
17460 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17462 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17463 * sysdeps/x86_64/memset_chk.S: Likewise.
17465 2012-04-08 Andreas Jaeger <aj@suse.de>
17468 * manual/startup.texi (Environment Access): Describe return value
17469 for putenv and setenv.
17472 * manual/filesys.texi (Directory Entries): Add description for
17476 * manual/filesys.texi (Directory Entries): Clarify that it's file
17477 system not operating system in the description of DT_UNKNOWN.
17480 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17482 2012-04-08 Stephen Compall <s11@member.fsf.org>
17485 * manual/llio.texi (Opening and Closing Files): Add cross
17486 reference to explain mode argument.
17488 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17490 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17491 * sysdeps/x86_64/memset_chk.S: Likewise.
17493 2012-04-07 David S. Miller <davem@davemloft.net>
17495 * elf/elf.h (R_SPARC_WDISP10): Define.
17496 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17498 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17499 R_SPARC_SIZE64 and R_SPARC_H34.
17501 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17503 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17504 conditions and remove no longer applicable assertion.
17506 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17508 * bits/byteswap.h: Include <features.h>.
17509 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17510 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17512 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17514 * bits/byteswap.h (__bswap_16): Removed.
17515 Include <bits/byteswap-16.h> to get __bswap_16.
17516 * sysdeps/i386/bits/byteswap.h: Likewise.
17517 * sysdeps/s390/bits/byteswap.h: Likewise.
17518 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17519 * bits/byteswap-16.h: New file.
17520 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17521 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17522 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17523 * string/Makefile (headers): Add bits/byteswap-16.h.
17525 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17528 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17530 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17531 * nss/tst-nss-static.c: New.
17533 2012-04-06 Robert Millan <rmh@gnu.org>
17536 * manual/llio.texi (File Position Primitive): lseek
17537 refers to WHENCE when it really means OFFSET.
17539 2012-04-06 Andreas Jaeger <aj@suse.de>
17541 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17542 strncmp declarations.
17544 * abilist/libc.abilist: Add __poll and __ppoll.
17546 2012-04-05 David S. Miller <davem@davemloft.net>
17548 * scripts/check-local-headers.sh: Accept a host triplet in the
17549 path matched by the exclude regexp.
17551 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17553 * sysdeps/powerpc/powerpc32/dl-machine.h
17554 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17555 * sysdeps/s390/s390-32/dl-machine.h
17556 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17557 * sysdeps/sparc/sparc32/dl-machine.h
17558 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17559 * sysdeps/sparc/sparc64/dl-machine.h
17560 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17562 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17564 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17565 undefined symbol errors.
17567 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17570 2012-04-05 Michael Matz <matz@suse.de>
17573 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17575 2012-04-05 Andreas Jaeger <aj@suse.de>
17578 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17581 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17583 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17584 which ROUND is no valid rounding mode.
17586 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17588 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17590 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17592 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17594 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17595 an exception using FPU order intentionally.
17597 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17599 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17600 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17601 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17602 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17604 2012-04-05 Simon Josefsson <simon@josefsson.org>
17607 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17608 EINVAL when BUFLEN is too smal.
17610 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17613 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17614 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17616 2012-04-03 Andreas Jaeger <aj@suse.de>
17619 * manual/setjmp.texi (System V contexts): Fix sentence.
17622 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17623 New macro for this case.
17624 [!__GNUC__] (__bswap_64): New inline function for this case.
17625 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17626 * bits/byteswap.h: Likewise.
17627 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17628 ull, guard with __GLIBC_HAVE_LONG_LONG.
17630 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17631 __GLIBC_HAVE_LONG_LONG.
17633 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17634 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17636 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17639 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17640 inptr and inend, rather than using last_ch.
17642 2012-04-02 David S. Miller <davem@davemloft.net>
17644 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17645 * stdio-common/printf-parse.h (read_int): Change return type to
17646 'int', return -1 on INT_MAX overflow.
17647 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17648 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17649 overflows INT_MAX. Check for overflow of in-format-string precision
17650 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17651 SIZE_MAX not INT_MAX for integer overflow test.
17652 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17653 skip the construct in the format string but do not record anything.
17654 * stdio-common/bug22.c: Adjust to test both width/prevision
17655 INT_MAX overflow as well as total length INT_MAX overflow. Check
17656 explicitly for proper errno values.
17658 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17660 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17662 * string/test-strcmp.c [! WIDE]: Likewise.
17663 * time/tst-mktime2.c: Likewise for INT_MAX.
17664 * string/test-string.h: #include <sys/param.h> for MIN.
17666 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17667 * sysdeps/i386/init-first.c (init): Likewise.
17668 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17669 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17670 * sysdeps/sh/init-first.c (init): Likewise.
17672 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17674 * po/ru.po: Update from translation team.
17675 * po/vi.po: Likewise.
17677 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17679 * resolv/nss_dns/dns-host.c: Merge copyright years.
17681 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17683 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17684 Optimize memcpy with prefetch if
17685 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17686 src, dst pointers have unequal 16 byte alignments.
17688 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17691 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17692 from a CNAME entry and return the minimum ttl for the query.
17693 (gaih_getanswer_slice): Likewise.
17695 2012-03-30 Jeff Law <law@redhat.com>
17697 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17699 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17700 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17702 * resolv/nss_dns/dns-host.c: Update copyright year.
17704 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17706 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17707 requests to save a system call. Fix check that all bytes are sent.
17709 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17710 comments for sendmmsg.
17712 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17715 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17716 with only 1 character between 0x0041 and 0x01b0.
17717 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17718 * wcsmbs/tst-mbsnrtowcs.c: New file.
17720 2012-03-29 David S. Miller <davem@davemloft.net>
17722 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17723 small copies by hand.
17725 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17728 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17729 _nss_compat_initgroups_dyn): Fall back to malloc/free
17730 for large group memberships.
17732 2012-03-28 David S. Miller <davem@davemloft.net>
17734 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17735 that branches into memcpy.
17736 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17737 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17738 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17739 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17742 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17743 implementation too.
17744 * sysdeps/sparc/mempcpy.S: New file.
17746 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17747 the IFUNC routine in the libc case.
17748 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17750 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17751 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17752 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17753 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17754 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17755 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17756 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17757 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17759 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17760 loop to 256 bytes instead of 64 bytes and fix test signedness.
17762 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17763 * sysdeps/sparc/sparc32/Makefile: rather than here...
17764 * sysdeps/sparc/sparc64/Makefile: and here.
17766 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17768 * malloc/mallocbug.c: Avoid warnings about unused variables.
17770 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17773 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17774 in the right place. Discard and retry query if response is
17775 larger than input buffer size.
17777 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17782 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17783 x for large integer exponent.
17784 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17785 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17786 sign of result as needed afterwards.
17787 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17788 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17789 result for underflowing pow the same as for overflow.
17790 (__kernel_standard_l): Handle powl overflow and underflow here
17791 rather than calling __kernel_standard.
17792 * math/libm-test.inc (pow_test): Add more tests.
17807 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17808 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17809 (__kernel_standard_l): New function.
17810 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17812 * math/w_acosl.c (__acosl): Likewise.
17813 * math/w_asinl.c (__asinl): Likewise.
17814 * math/w_atan2l.c (__atan2l): Likewise.
17815 * math/w_atanhl.c (__atanhl): Likewise.
17816 * math/w_coshl.c (__coshl): Likewise.
17817 * math/w_exp10l.c (__exp10l): Likewise.
17818 * math/w_exp2l.c (__exp2l): Likewise.
17819 * math/w_fmodl.c (__fmodl): Likewise.
17820 * math/w_hypotl.c (__hypotl): Likewise.
17821 * math/w_j0l.c (__j0l, __y0l): Likewise.
17822 * math/w_j1l.c (__j1l, __y1l): Likewise.
17823 * math/w_jnl.c (__jnl, __ynl): Likewise.
17824 * math/w_lgammal.c (__lgammal): Likewise.
17825 * math/w_log10l.c (__log10l): Likewise.
17826 * math/w_log2l.c (__log2l): Likewise.
17827 * math/w_logl.c (__logl): Likewise.
17828 * math/w_powl.c (__powl): Likewise.
17829 * math/w_remainderl.c (__remainderl): Likewise.
17830 * math/w_scalbl.c (sysv_scalbl): Likewise.
17831 * math/w_sinhl.c (__sinhl): Likewise.
17832 * math/w_sqrtl.c (__sqrtl): Likewise.
17833 * math/w_tgammal.c (__tgammal): Likewise.
17834 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17835 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17836 * math/libm-test.inc (acos_test): Add more tests.
17837 (acosh_test): Likewise.
17838 (asin_test): Likewise.
17839 (atanh_test): Likewise.
17840 (exp_test): Likewise.
17841 (exp10_test): Likewise.
17842 (exp2_test): Likewise.
17843 (expm1_test): Likewise.
17844 (lgamma_test): Likewise.
17845 (log_test): Likewise.
17846 (log10_test): Likewise.
17847 (log1p_test): Likewise.
17848 (log2_test): Likewise.
17849 (pow_test): Do not allow some spurious overflow exceptions.
17850 (sqrt_test): Add more tests.
17851 (tgamma_test): Likewise.
17852 (y0_test): Likewise.
17853 (y1_test): Likewise.
17854 (yn_test): Likewise.
17856 2012-03-27 Anton Blanchard <anton@samba.org>
17858 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17860 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17861 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17862 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17864 2012-03-27 David S. Miller <davem@davemloft.net>
17866 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17868 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17869 have-as-vis3 check.
17871 2012-03-27 Andreas Jaeger <aj@suse.de>
17873 * sysdeps/x86_64/elf/configure.in: Moved to ...
17874 * sysdeps/x86_64/configure.in: ... here.
17875 * sysdeps/x86_64/elf/start.S: Moved to ...
17876 * sysdeps/x86_64/start.S: ... here.
17877 * sysdeps/x86_64/elf/configure: Delete.
17879 * sysdeps/x86_64/configure.in: Merge contents from
17880 sysdeps/i386/configure.in (without i686 check).
17882 * sysdeps/i386/elf/Versions: Merge into ...
17883 * sysdeps/i386/Versions: ... this.
17884 * sysdeps/i386/elf/Versions: Delete file.
17885 * sysdeps/i386/elf/start.S: Moved to ...
17886 * sysdeps/i386/start.S: ...here.
17887 * sysdeps/i386/elf/configure.in: Merge into...
17888 * sysdeps/i386/configure.in: ...here.
17889 * sysdeps/i386/elf/configure.in: Delete file.
17890 * sysdeps/i386/elf/configure: Delete file.
17892 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17893 * debug/backtracesyms.c: ... here.
17894 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17895 * debug/backtracesymsfd.c: ... here.
17896 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17897 * sysdeps/generic/ifunc-sel.h: ... here.
17899 * sysdeps/unix/i386/start.c: Delete file.
17900 * sysdeps/unix/sparc/start.c: Delete file.
17901 * sysdeps/unix/start.c: Delete file.
17903 * sysdeps/sh/elf/configure.in: Moved to ...
17904 * sysdeps/sh/configure.in: ... here.
17905 * sysdeps/sh/elf/start.S: Moved to ...
17906 * sysdeps/sh/start.S: ... here.
17907 * sysdeps/sh/elf/configure: Delete file.
17909 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17910 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17911 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17912 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17913 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17914 * sysdeps/powerpc/powerpc64/start.S: here.
17915 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17916 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17917 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17918 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17919 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17921 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17922 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17923 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17924 * sysdeps/powerpc/powerpc32/start.S: ... here.
17925 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17926 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17927 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17929 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17930 * sysdeps/powerpc/ifunc-sel.h: ... here.
17931 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17932 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17934 * sysdeps/sparc/elf/configure.in: Moved to ...
17935 * sysdeps/sparc/configure.in: ... here.
17936 * sysdeps/sparc/elf/configure: Delete file.
17937 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17938 * sysdeps/sparc/sparc32/start.S: ... here.
17939 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17940 * sysdeps/sparc/sparc64/start.S: ... here.
17941 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17942 * sysdeps/sparc/sparc32/Makefile: ... this.
17943 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17944 * sysdeps/sparc/sparc64/Makefile: ... this.
17946 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17947 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17948 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17949 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17950 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17951 * sysdeps/s390/s390-32/setjmp.S: ... here.
17952 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17953 * sysdeps/s390/s390-32/configure.in: ... here.
17954 * sysdeps/s390/s390-32/elf/configure: Delete file.
17955 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17956 * sysdeps/s390/s390-32/start.S: ... here.
17958 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17959 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17960 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17961 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17962 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17963 * sysdeps/s390/s390-64/setjmp.S: ... here.
17964 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17965 * sysdeps/s390/s390-64/configure.in: ... here
17966 * sysdeps/s390/s390-64/elf/configure: Delete file.
17967 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17968 * sysdeps/s390/s390-64/start.S: ... here.
17969 * sysdeps/s390/s390-64/elf/configure: Delete.
17971 * configure.in: Remove support for elf directories in sysdeps.
17973 * configure: Regenerated.
17974 * sysdeps/i386/configure: Regenerated.
17975 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17976 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17977 * sysdeps/s390/s390-32/configure: Regenerated.
17978 * sysdeps/s390/s390-64/configure: Regenerated.
17979 * sysdeps/sh/configure: Regenerated.
17980 * sysdeps/sparc/configure: Regenerated.
17981 * sysdeps/x86_64/configure: Regenerated.
17983 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17987 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17988 denormal result into account.
17990 2012-03-25 Roland McGrath <roland@hack.frob.com>
17992 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17993 Reported by Allan McRae <allan@archlinux.org>.
17995 2012-03-23 Jeff Law <law@redhat.com>
17997 * nss/getnssent.c (__nss_getent): Fix typo.
17999 2012-03-23 David S. Miller <davem@davemloft.net>
18001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18003 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18005 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18006 to pad to uint64_t for each field.
18007 (dl_tls_index): Replace unsigned long with uint64_t.
18009 2012-03-23 Daniel Jacobowitz <dmj@google.com>
18010 Paul Pluzhnikov <ppluzhnikov@google.com>
18013 * grp/Makefile (otherlibs): Don't set it.
18014 * inet/Makefile (otherlibs): Likewise.
18015 * login/Makefile (otherlibs): Likewise.
18016 * nscd/Makefile (otherlibs): Likewise.
18017 * posix/Makefile (otherlibs): Likewise.
18018 * pwd/Makefile (otherlibs): Likewise.
18019 * rt/Makefile (otherlibs): Likewise.
18020 * sunrpc/Makefile (otherlibs): Likewise.
18021 * nss/Makefile (otherlibs): Likewise.
18022 Add libnss_files to routines and static-only-routines.
18023 ($(objpfx)getent): Remove rule.
18024 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18025 static-only-routines.
18027 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18030 * math/s_cexp.c: Include <float.h>.
18031 (__cexp): Handle exp result overflowing not necessarily
18032 overflowing both real and imaginary parts of result.
18033 * math/s_cexpf.c: Likewise.
18034 * math/s_cexpl.c: Likewise.
18035 * math/libm-test.inc (cexp_test): Add more tests.
18036 * sysdeps/i386/fpu/libm-test-ulps: Update.
18037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18039 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18041 * include/link.h (ELFW): New macro.
18042 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18043 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18045 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18047 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18050 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18052 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18054 (struct La_x32_retval): Likewise.
18056 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18058 * sysdeps/x86_64/preconfigure.in: New file.
18059 * sysdeps/x86_64/preconfigure: New generated file.
18061 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18064 * math/e_exp2l.c: Include <float.h>.
18065 (__ieee754_exp2l): Handle overflow and underflow cases
18066 separately. Only pass fractional part of argument to
18068 * math/libm-test.inc (exp2_test): Add more tests.
18070 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18071 negating x to take absolute value.
18072 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18074 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18075 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18077 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18078 computing low part if x was negated.
18079 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18081 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18083 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18084 la_x32_gnu_pltexit.
18085 (pltexit): Cast int_retval to ptrdiff_t.
18086 * elf/tst-auditmod3b.c: Likewise.
18087 * elf/tst-auditmod4b.c: Likewise.
18088 * elf/tst-auditmod5b.c: Likewise.
18089 * elf/tst-auditmod6b.c: Likewise.
18090 * elf/tst-auditmod6c.c: Likewise.
18091 * elf/tst-auditmod7b.c: Likewise.
18093 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18094 and x32_gnu_pltexit.
18096 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18097 __ELF_NATIVE_CLASS.
18098 (La_x32_regs): New macro.
18099 (La_x32_retval): Likewise.
18100 (la_x32_gnu_pltenter): New function prototype.
18101 (la_x32_gnu_pltexit): Likewise.
18103 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18105 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18110 * configure.in (libc_cv_cc_nofma): Check for option to disable
18111 generation of FMA instructions.
18112 * configure: Regenerate.
18113 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18114 * sysdeps/ieee754/dbl-64/Makefile: New file.
18115 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18116 Remove brandred-fma4.
18117 (CFLAGS-brandred-fma4.c): Remove.
18118 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18119 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18121 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18124 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18126 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18127 LLONG_MAX != LONG_MAX.
18128 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18129 (_fitoa_word): Likewise.
18130 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18131 LLONG_MAX != LONG_MAX.
18132 * stdio-common/_itowa.h: Include <_itoa.h>.
18133 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18134 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18135 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18136 only if not defined.
18137 (_ITOA_WORD_TYPE): Likewise.
18138 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18139 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18141 2012-03-21 David S. Miller <davem@davemloft.net>
18143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18145 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18147 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18148 of x86_64 when setting libc_cv_slibdir, libdir and
18150 * sysdeps/unix/sysv/linux/configure: Regenerated.
18152 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18154 * manual/lang.texi (Old Varargs): Remove section.
18155 (How Variadic): Update menu.
18156 (va_start): Do not mention varargs.h.
18158 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18159 Joseph Myers <joseph@codesourcery.com>
18161 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18163 * configure: Regenerated.
18165 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18167 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18168 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18171 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18174 * Makefile (files-for-dist): Remove NOTES.
18175 (NOTES): Remove rule.
18176 * README: Don't refer to NOTES.
18177 * manual/creature.texi: Don't include macros.texi.
18178 * manual/intro.texi (creature.texi): Remove comment referring to
18181 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18182 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18183 * configure: Regenerated.
18184 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18185 LIBC_TRY_CC_OPTION.
18186 (libc_cv_as_i686): Likewise.
18187 (libc_cv_cc_avx): Likewise.
18188 (libc_cv_cc_sse2avx): Likewise.
18189 (libc_cv_cc_fma4): Likewise.
18190 (libc_cv_cc_novzeroupper): Likewise.
18191 * sysdeps/i386/configure: Regenerated.
18194 * sysdeps/i386/fpu/s_cexp.S: Remove.
18195 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18196 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18197 * math/libm-test.inc (cexp_test): Add more tests.
18198 * sysdeps/i386/fpu/libm-test-ulps: Update.
18199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18201 2012-03-21 Allan McRae <allan@archlinux.org>
18203 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18205 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18208 * math/w_exp2.c: Do not include <float.h>.
18209 (o_threshold, u_threshold): Remove.
18210 (__exp2): Calculate result before checking finiteness and calling
18212 * math/w_exp2f.c: Likewise.
18213 * math/w_exp2l.c: Likewise.
18214 * math/libm-test.inc (exp2_test): Require overflow exception for
18218 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18219 range of signed 64-bit integers before using fistpll. Remove
18220 checks for whether integers fit in mantissa bits.
18221 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18222 the range of signed 32-bit integers before using fistpl. Remove
18223 checks for whether integers fit in mantissa bits.
18224 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18225 (__ieee754_powl): Test for y outside the range of signed 64-bit
18226 integers before using fistpll. Reduce 64-bit values to 63-bit
18228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18229 divide-by-zero is raised for zero to large negative powers.
18230 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18231 (__ieee754_powl): Test for y outside the range of signed 64-bit
18232 integers before using fistpll. Reduce 64-bit values to 63-bit
18234 * math/libm-test.inc (pow_test): Add more tests.
18236 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18238 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18239 <stdio-common/_itoa.h>.
18240 * debug/segfault.c: Likewise.
18241 * elf/dl-cache.c: Likewise.
18242 * elf/dl-minimal.c: Likewise.
18243 * elf/dl-misc.c: Likewise.
18244 * elf/dl-sysdep.c: Likewise.
18245 * elf/dl-version.c: Likewise.
18246 * elf/rtld.c: Likewise.
18247 * hurd/hurdsock.c: Likewise.
18248 * hurd/lookup-retry.c: Likewise.
18249 * malloc/malloc.c: Likewise.
18250 * malloc/mtrace.c: Likewise.
18251 * nscd/nscd_getgr_r.c: Likewise.
18252 * nscd/nscd_getpw_r.c: Likewise.
18253 * nscd/nscd_getserv_r.c: Likewise.
18254 * posix/getopt_init.c: Likewise.
18255 * posix/wordexp.c: Likewise.
18256 * stdio-common/_itoa.c: Likewise.
18257 * stdio-common/printf_fphex.c: Likewise.
18258 * stdio-common/vfprintf.c: Likewise.
18259 * string/_strerror.c: Likewise.
18260 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18261 * sysdeps/i386/i686/hp-timing.h: Likewise.
18262 * sysdeps/mach/_strerror.c: Likewise.
18263 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18264 * sysdeps/mach/hurd/sethostid.c: Likewise.
18265 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18266 * sysdeps/mach/xpg-strerror.c: Likewise.
18267 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18268 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18269 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18270 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18271 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18272 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18273 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18274 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18275 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18276 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18277 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18278 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18279 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18280 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18281 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18282 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18283 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18284 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18285 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18286 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18287 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18289 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18291 * stdio-common/_itoa.h: Moved to ...
18292 * sysdeps/generic/_itoa.h: Here.
18294 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18296 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18297 instead of "_itoa.h" and "_itowa.h".
18298 * stdio-common/vfprintf.: Likewise.
18300 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18302 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18304 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18305 (__signbit): Likwise.
18306 (llrintf): Likwise.
18309 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18311 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18314 2012-03-20 Joseph Myers <joseph@codesourcery.com>
18316 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18317 OVERFLOW_EXCEPTION_OK.
18318 * math/libm-test.inc ("Philosophy"): Update comment about
18320 (OVERFLOW_EXCEPTION): Define.
18321 (OVERFLOW_EXCEPTION_OK): Likewise.
18322 (INVALID_EXCEPTION_OK): Renumber.
18323 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18324 (IGNORE_ZERO_INF_SIGN): Likewise.
18325 (test_exceptions): Handle FE_OVERFLOW.
18326 (exp10_test): Expect overflow exceptions.
18327 (exp2_test): Likewise.
18328 (expm1_test): Likewise.
18329 (nextafter_test): Likewise.
18330 (pow_test): Likewise.
18331 (scalbn_test): Likewise.
18332 (scalbln_test): Likewise.
18334 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18336 * sysdeps/x86_64/bits/atomic.h
18337 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18339 (atomic_exchange_acq): Likewise.
18340 (__arch_exchange_and_add_body): Likewise.
18341 (__arch_add_body): Likewise.
18342 (atomic_add_negative): Likewise.
18343 (atomic_add_zero): Likewise.
18345 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18347 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18348 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18350 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18352 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18353 Check __x86_64__ instead of __WORDSIZE.
18355 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18357 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18359 2012-03-19 David S. Miller <davem@davemloft.net>
18361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18363 * sysdeps/sparc/fpu/fenv_private.h: New file.
18364 * sysdeps/sparc/fpu/math_private.h: Use it.
18365 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18367 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18368 (libc_feholdexcept_setroundl): Remove.
18369 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18371 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18372 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18374 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18376 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18377 int64_t instead of long int.
18378 (INSERT_WORDS64): Likwise.
18380 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18382 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18383 _Unwind_GetCFA return to _Unwind_Ptr first.
18385 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18388 * math/s_clog.c: Include <float.h>.
18389 (__clog): Scale large or subnormal inputs.
18390 * math/s_clogf.c: Likewise.
18391 * math/s_clogl.c: Likewise.
18392 * math/s_clog10.c: Include <float.h>.
18393 (M_LOG10_2): Define.
18394 (__clog10): Scale large or subnormal inputs.
18395 * math/s_clog10f.c: Likewise.
18396 * math/s_clog10l.c: Likewise.
18397 * math/libm-test.inc (clog_test): Add more tests.
18398 (clog10_test): Likewise.
18399 * sysdeps/i386/fpu/libm-test-ulps: Update.
18400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18403 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18405 * math/libm-test.inc (atan2_test): Add another test.
18407 * Makerules (common-objdir-compile): Remove.
18408 * sysdeps/unix/Makefile (config-generated): Do not add
18409 $(unix-generated) to variable.
18410 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18411 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18413 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18415 [generic bits/local_lim.h] (before-compile): Do not append to
18417 [generic bits/local_lim.h] (common-generated): Likewise.
18418 [generic sys/param.h] (before-compile): Do not append to variable.
18419 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18420 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18421 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18422 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18424 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18425 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18426 [generic sys/param.h] ($(addprefix
18427 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18428 [generic sys/param.h] (common-generated): Do not append to
18430 [generic sys/param.h] (sysdep_headers): Likewise.
18431 [generic bits/errno.h] (before-compile): Do not append to
18433 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18435 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18436 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18437 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18438 [generic bits/errno.h] (common-generated): Do not append to
18440 [generic bits/ioctls.h] (before-compile): Do not append to
18442 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18444 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18445 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18446 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18448 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18449 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18450 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18451 [generic bits/ioctls.h] (common-generated): Do not append to
18453 [generic sys/syscall.h] (syscall.h): Remove variable.
18454 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18456 [generic sys/syscall.h] (before-compile): Do not append to
18458 [generic sys/syscall.h] (common-generated): Likewise.
18459 * sysdeps/unix/errnos-tmpl.c: Remove file.
18460 * sysdeps/unix/errnos.awk: Likewise.
18461 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18462 * sysdeps/unix/ioctls.awk: Likewise.
18463 * sysdeps/unix/mk-local_lim.c: Likewise.
18464 * sysdeps/unix/snarf-ioctls: Likewise.
18466 2012-03-19 Richard Henderson <rth@twiddle.net>
18468 * sysdeps/i386/fpu/fenv_private.h: New file.
18469 * sysdeps/i386/fpu/math_private.h: Use it.
18470 (math_opt_barrier, math_force_eval): Remove.
18471 (libc_feholdexcept_setround_53bit): Remove.
18472 (libc_feupdateenv_53bit): Remove.
18473 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18474 (math_opt_barrier, math_force_eval): Remove.
18475 (libc_feholdexcept): Remove.
18476 (libc_feholdexcept_setround): Remove.
18477 (libc_fetestexcept, libc_fesetenv): Remove.
18478 (libc_feupdateenv_test): Remove.
18479 (libc_feupdateenv, libc_feholdsetround): Remove.
18480 (libc_feresetround): Remove.
18482 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18483 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18485 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18486 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18487 (libc_feupdateenv_testl): New.
18488 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18489 (libc_feupdateenv_testf): New.
18490 (libc_feupdateenv): Use libc_feupdateenv_test.
18491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18492 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18494 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18495 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18496 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18497 (libc_feresetround_noex): New.
18498 (libc_feresetround_noexf): New.
18499 (libc_feresetround_noexl): New.
18500 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18501 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18502 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18503 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18506 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18508 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18509 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18510 SET_RESTORE_ROUND_NOEX.
18511 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18512 SET_RESTORE_ROUND_NOEXF.
18513 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18514 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18515 (libc_feholdsetroundf): New.
18516 (libc_feresetround, libc_feresetroundf): New.
18518 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18519 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18520 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18522 * sysdeps/generic/math_private.h: Include <fenv.h>.
18523 (default_libc_feholdexcept): New.
18524 (default_libc_feholdexcept_setround): New.
18525 (default_libc_fesetenv, default_libc_feupdateenv): New.
18526 (libc_feholdexcept): Only define if undefined.
18527 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18528 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18529 (libc_feholdexcept_setroundl): Likewise.
18530 (libc_feholdexcept_setround_53bit): Likewise.
18531 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18532 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18533 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18534 (libc_feupdateenv_53bit): Likewise.
18535 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18536 (libc_feholdexcept): Convert from macro to inline function.
18537 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18538 (libc_fesetenv, libc_feupdateenv): Likewise.
18540 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18541 not previously defined.
18542 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18543 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18544 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18545 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18546 * sysdeps/ieee754/flt-32/math_private.h: New file.
18547 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18548 math_private.h below SET_FLOAT_WORD.
18549 (__isnan, __isinf_ns, __finite): Remove.
18550 (__isnanf, __isinf_nsf, __finitef): Remove.
18552 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18556 2012-03-17 David S. Miller <davem@davemloft.net>
18559 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18562 2012-03-16 David S. Miller <davem@davemloft.net>
18564 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18568 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18570 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18571 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18572 sysdep_routines when subdir is sysvipc.
18573 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18574 __getshmlba helper.
18576 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18578 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18580 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18583 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18585 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18586 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18587 (__lround): Renamed to ...
18588 (__llround): This. Replace long int with long long int.
18589 Define lround functions as aliases of llround functions.
18590 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18592 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18594 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18595 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18596 adresses to uintptr_t. Replace "long int" and "unsigned long
18597 int" with "greg_t" on va_arg.
18599 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18601 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18602 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18604 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18605 Move e_machine check before EI_CLASS check. Handle x32
18606 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18607 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18608 SKIP_EM_IA_64 and include
18609 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18611 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18612 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18613 (add_system_dir): New macro.
18615 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18616 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18618 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18629 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18631 * math/w_j0f.c (j0f): Likewise.
18633 * math/w_j0l.c (__j0l): Likewise.
18635 * math/w_j1.c (j1): Likewise.
18637 * math/w_j1f.c (j1f): Likewise.
18639 * math/w_j1l.c (__j1l): Likewise.
18641 * math/w_jn.c (jn): Likewise.
18643 * math/w_jnf.c (jnf): Likewise.
18645 * math/w_jnl.c (__jnl): Likewise.
18647 * math/libm-test.inc (j0_test): Add more tests.
18648 (j1_test): Likewise.
18649 (jn_test): Likewise. Add trailing semicolon to existing test.
18650 (y0_test): Likewise.
18651 (y1_test): Likewise.
18652 * sysdeps/i386/fpu/libm-test-ulps: Update.
18653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18657 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18658 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18659 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18660 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18661 (__tanl): Set errno for infinite argument.
18662 * sysdeps/i386/fpu/mptan.c: Remove.
18663 * sysdeps/i386/fpu/s_tan.S: Likewise.
18664 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18665 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18666 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18667 * math/libm-test.inc (tan_test): Add more tests and enable more
18668 tests for double and long double.
18669 * sysdeps/i386/fpu/libm-test-ulps: Update.
18670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18672 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18674 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18675 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18677 2012-03-16 Roland McGrath <roland@hack.frob.com>
18679 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18680 * configure.in: Use it for both main tree and add-ons.
18681 * configure: Regenerated.
18683 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18685 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18687 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18689 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18693 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18694 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18695 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18696 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18697 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18699 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18701 != 0 for prec == 2.
18702 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18703 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18704 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18705 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18706 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18707 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18708 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18709 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18710 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18711 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18712 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18713 * math/libm-test.inc (cos_test): Add more tests and enable more
18714 tests for long double.
18715 (sin_test): Likewise.
18716 (sincos_test): Likewise.
18717 * sysdeps/i386/fpu/libm-test-ulps: Update.
18718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18720 2012-03-16 David S. Miller <davem@davemloft.net>
18722 * sysdeps/sparc/fpu/math_private.h: New file.
18724 2012-03-15 David S. Miller <davem@davemloft.net>
18726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18736 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18740 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18741 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18743 * sysdeps/sparc/sparc-ifunc.h: New file.
18744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18770 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18782 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18783 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18784 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18785 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18789 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18791 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18795 2012-03-15 Andreas Jaeger <aj@suse.de>
18798 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18799 ieee754/flt-32 implementation for sin, cos and sincos.
18800 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18801 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18802 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18803 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18804 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18805 ieee754/flt-32 implementation for tan.
18807 * math/libm-test.inc (cos_test): Enable some large input tests for
18809 (sin_test): Likewise.
18810 (sincos_test): Likewise.
18811 (tan_test): Add tests for large input.
18813 * sysdeps/i386/fpu/libm-test-ulps: Update.
18815 2012-03-15 Andreas Jaeger <aj@suse.de>
18818 * math/libm-test.inc (cos_test): Add more test cases.
18819 (sin_test): Likewise.
18820 (sincos_test): Likewise.
18822 2012-03-15 Andreas Jaeger <aj@suse.de>
18825 * math/libm-test.inc (cos_test): Add a test case for large input
18827 (sin_test): Likewise.
18828 (sincos_test): Likewise.
18830 2012-03-15 Andreas Jaeger <aj@suse.de>,
18831 Joseph Myers <joseph@codesourcery.com>
18834 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18835 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18836 * sysdeps/i386/fpu/branred.c: Likewise.
18837 * sysdeps/i386/fpu/dosincos.c: Likewise.
18838 * sysdeps/i386/fpu/mpa.c: Likewise.
18839 * sysdeps/i386/fpu/s_cos.S: Likewise.
18840 * sysdeps/i386/fpu/s_sin.S: Likewise.
18841 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18842 * sysdeps/i386/fpu/sincos32.c: Likewise.
18844 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18846 (libc_feupdateenv_53bit): Define.
18847 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18849 (libc_feupdateenv_53bit): Define.
18851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18852 53 bit (without extend i386 double precision).
18854 * math/libm-test.inc (sincos_test): Add tests for large input.
18858 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18860 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18864 2012-03-15 David S. Miller <davem@davemloft.net>
18866 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18867 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18868 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18869 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18894 fmin/fmax sysdep routines.
18895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18897 2012-03-14 David S. Miller <davem@davemloft.net>
18899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18903 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18904 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18919 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18920 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18921 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18922 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18924 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18925 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18971 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18976 * sysdeps/sparc/configure.in: New file.
18977 * sysdeps/sparc/configure: Generate.
18978 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18979 * configure: Regenerate.
18980 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18981 * config.make.in (have-as-vis3): New.
18982 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18983 available use -Av9d instead of -Av9a.
18984 * sysdeps/sparc/sparc64/Makefile: Likewise.
18985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18994 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18996 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18997 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19000 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19001 fzeros/fnegs to load 0x80000000 into a float register instead of
19003 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19005 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19009 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19010 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19011 ($(inst_includedir)/bits/syscall.h): Remove rule.
19012 ($(objpfx)bits/syscall.d): Include instead of
19013 $(objpfx)syscall-list.d.
19014 (generated): Change syscall-list.h and syscall-list.d to
19015 bits/syscall.h and bits/syscall.d.
19017 2012-03-14 Roland McGrath <roland@hack.frob.com>
19020 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19022 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19025 * math/s_csqrt.c: Include <float.h>.
19026 (__csqrt): Scale large or subnormal inputs.
19027 * math/s_csqrtf.c: Likewise.
19028 * math/s_csqrtl.c: Likewise.
19029 * math/libm-test.inc (csqrt_test): Add more tests.
19030 * sysdeps/i386/fpu/libm-test-ulps: Update.
19031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19034 * math/libm-test.inc (hypot_test): Add more tests.
19036 2012-03-13 David S. Miller <davem@davemloft.net>
19039 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19040 double-precision for the calculation instead of scaling.
19042 2012-03-13 Joseph Myers <joseph@codesourcery.com>
19044 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19045 manipulate bits before adding and subtracting TWO52[sx].
19046 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19047 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19049 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19051 2012-03-13 David S. Miller <davem@davemloft.net>
19053 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19054 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19056 rtld-global-offsets.h
19057 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19059 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19062 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19064 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19065 'err' in the ifdef scope in which it is actually used.
19067 * nss/nss_db/db-init.c: Include string.h
19069 2012-03-12 David S. Miller <davem@davemloft.net>
19071 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19072 masking out of the most significant byte of random value used.
19073 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19074 Fix coding style in previous change.
19076 * sysdeps/unix/sysv/linux/kernel-features.h
19077 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19078 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19080 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19083 2012-03-11 David S. Miller <davem@davemloft.net>
19085 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19086 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19087 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19088 for 'resultvar' otherwise things get truncated on 64-bit.
19090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19091 Fix masking out of the most significant byte of random value used.
19093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19095 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19099 2012-03-09 David S. Miller <davem@davemloft.net>
19101 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19102 variables with appropriate CPP guards.
19103 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19104 frame pointer, not the stack pointer. Correct layout comments. Fix test
19105 on resulting framesize and the management of the outregs buffer for pltexit.
19106 Preserve floating point return values across _dl_call_pltexit call.
19107 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19108 framesize and the management of the outregs buffer for pltexit.
19109 Preserve floating point return values across _dl_call_pltexit
19111 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19112 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19113 (print_exit): Fix format string for return register value.
19115 2012-03-10 Joseph Myers <joseph@codesourcery.com>
19117 * sunrpc/Makefile (others): Add rpcgen.
19118 ($(objpfx)rpcgen): Remove special build rule and dependency on
19120 * sunrpc/rpcgen.c: New file.
19122 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19125 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19126 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19127 * sysdeps/i386/crti.S: Likewise.
19128 * sysdeps/i386/crtn.S: Likewise.
19129 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19130 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19131 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19132 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19133 * sysdeps/sh/crti.S: Likewise.
19134 * sysdeps/sh/crtn.S: Likewise.
19135 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19138 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19140 * locale/programs/locfile-kw.gperf: Likewise.
19141 * locale/programs/charmap-kw.h: Regenerated.
19142 * locale/programs/locfile-kw.h: Likewise.
19145 * intl/plural.y: Replace FSF snail mail address with URL.
19146 * intl/plural.c: Regenerated.
19148 2012-03-09 Richard Henderson <rth@twiddle.net>
19150 * include/math_private.h: Remove file.
19151 * math/math_private.h: Move file ...
19152 * sysdeps/generic/math_private.h: ... here.
19154 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19155 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19156 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19158 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19159 and <math_private.h>.
19160 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19161 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19162 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19163 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19164 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19165 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19166 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19168 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19169 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19171 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19172 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19173 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19174 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19175 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19176 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19177 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19178 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19179 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19181 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19197 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19202 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19204 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19208 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19209 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19210 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19211 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19212 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19213 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19214 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19215 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19216 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19217 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19218 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19220 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19223 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19231 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19232 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19234 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19235 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19236 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19238 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19239 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19240 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19241 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19242 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19243 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19244 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19246 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19247 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19248 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19249 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19250 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19251 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19252 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19253 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19254 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19255 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19256 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19257 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19258 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19259 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19260 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19261 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19262 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19263 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19264 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19265 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19266 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19267 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19268 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19269 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19270 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19271 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19272 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19273 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19274 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19275 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19276 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19277 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19278 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19279 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19280 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19281 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19282 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19283 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19284 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19285 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19286 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19287 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19288 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19289 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19290 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19291 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19292 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19293 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19294 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19295 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19296 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19297 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19298 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19299 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19300 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19301 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19302 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19303 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19304 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19305 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19306 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19307 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19308 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19309 * sysdeps/ieee754/k_standard.c: Likewise.
19310 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19311 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19312 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19313 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19314 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19315 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19316 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19317 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19318 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19319 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19320 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19321 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19322 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19323 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19324 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19325 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19326 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19327 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19328 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19329 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19330 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19331 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19332 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19333 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19334 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19335 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19336 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19337 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19338 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19339 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19343 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19345 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19346 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19347 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19348 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19349 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19350 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19351 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19352 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19353 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19354 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19355 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19356 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19357 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19358 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19359 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19360 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19361 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19362 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19363 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19364 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19365 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19366 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19367 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19368 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19369 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19370 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19371 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19372 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19373 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19374 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19376 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19377 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19378 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19379 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19380 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19382 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19383 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19384 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19385 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19386 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19387 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19388 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19389 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19390 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19391 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19392 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19393 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19394 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19395 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19396 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19397 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19398 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19399 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19400 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19401 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19402 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19403 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19404 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19405 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19406 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19407 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19408 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19409 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19410 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19411 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19412 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19413 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19414 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19415 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19416 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19417 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19418 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19419 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19420 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19421 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19422 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19423 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19424 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19425 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19426 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19427 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19428 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19429 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19430 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19431 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19432 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19433 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19434 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19435 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19436 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19437 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19438 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19439 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19440 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19441 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19442 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19443 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19444 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19445 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19446 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19447 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19448 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19449 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19450 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19451 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19452 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19453 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19454 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19455 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19456 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19457 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19458 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19459 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19460 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19461 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19462 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19466 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19467 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19468 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19469 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19470 * sysdeps/ieee754/s_lib_version.c: Likewise.
19471 * sysdeps/ieee754/s_matherr.c: Likewise.
19472 * sysdeps/ieee754/s_signgam.c: Likewise.
19473 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19474 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19475 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19476 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19477 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19478 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19479 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19480 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19481 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19482 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19483 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19484 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19485 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19486 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19487 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19488 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19489 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19490 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19491 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19492 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19493 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19495 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19497 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19498 * sunrpc/rpc_main.c: Likewise.
19499 * sunrpc/rpc_svcout.c: Likewise.
19501 2012-03-09 David S. Miller <davem@davemloft.net>
19503 * include/math_private.h: New file.
19505 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19507 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19508 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19509 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19510 from <bits/socket_type.h>.
19511 (enum __socket_type): Don't define here.
19512 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19514 bits/socket_type.h.
19517 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19518 checking __USE_GNU.
19520 * Makerules ($(inst_includedir)/%.h): New rule.
19521 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19522 (install-others): Remove variable setting.
19523 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19525 2012-03-08 Richard Henderson <rth@twiddle.net>
19527 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19528 from macro to inline function; merge with the
19529 !__LIBC_INTERNAL_MATH_INLINES version.
19530 (__ieee754_sqrtf): Likewise.
19532 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19533 to inline function.
19534 (__rintf, __floor, __floorf): Likewise.
19536 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19537 macro to inline function.
19538 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19541 not <math/math_private.h>.
19543 2012-03-08 David S. Miller <davem@davemloft.net>
19545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19547 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19549 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19551 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19553 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19554 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19556 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19558 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19559 be defined individually, they must be defined as a block. Define
19560 S for printing a string instead of hidint the different by using a
19561 macro for adding the 'l'.
19562 * stdio-common/tst-fphex-wide.c: Adjust.
19564 2012-03-07 Marek Polacek <polacek@redhat.com>
19566 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19568 2012-03-08 Marek Polacek <polacek@redhat.com>
19571 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19572 * stdio-common/tst-fphex.c: Define a few macros to make the
19573 test reusable. Use them.
19574 * stdio-common/tst-fphex-wide.c: New file.
19576 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19579 * manual/macros.texi (gnusystems): New macro.
19580 (nongnusystems): Likewise.
19581 (gnulinuxhurdsystems): Likewise.
19582 (gnuhurdsystems): Likewise..
19583 (gnulinuxsystems): Likewise.
19584 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19585 variants of the GNU system, not "GNU system".
19586 * manual/conf.texi: Likewise.
19587 * manual/errno.texi: Likewise. Update example of errno macro
19589 * manual/filesys.texi: Likewise.
19590 (getumask): Document as specific to GNU/Hurd.
19591 * manual/install.texi: Likewise. Reword some references to
19593 * manual/intro.texi: Likewise.
19594 * manual/io.texi: Likewise.
19595 (File Name Portability): Detail which constraints are inapplicable
19596 to all GNU systems and which are only inapplicable to GNU/Hurd.
19597 * manual/job.texi: Likewise.
19598 * manual/llio.texi: Likewise.
19599 (O_NOCTTY): Document as present on GNU/Linux.
19600 * manual/maint.texi: Likewise.
19601 * manual/memory.texi: Likewise.
19602 * manual/pattern.texi: Likewise.
19603 * manual/pipe.texi: Likewise.
19604 * manual/process.texi: Likewise.
19605 * manual/resource.texi: Likewise.
19606 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19608 * manual/setjmp.texi: Likewise.
19609 * manual/signal.texi: Likewise.
19610 * manual/startup.texi: Likewise.
19611 * manual/stdio.texi: Likewise.
19612 * manual/terminal.texi: Likewise.
19613 (ONLCR): Document as POSIX.
19614 (OXTABS): Document availability on GNU/Linux as XTABS.
19615 (ONOEOT): Document availability separately from other bits.
19616 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19617 * manual/time.texi: Likewise.
19618 * manual/users.texi: Likewise.
19619 * INSTALL: Regenerated.
19620 * sysdeps/gnu/errlist.c: Regenerated.
19622 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19623 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19624 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19626 * configure: Regenerated.
19628 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19630 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19631 default includes instead of AC_HEADER_CHECK.
19632 * sysdeps/i386/configure: Regenerated.
19635 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19636 * math/s_cacoshf.c (__cacoshf): Likewise.
19637 * math/s_cacoshl.c (__cacoshl): Likewise.
19638 * math/s_casinh.c (__casinh): Set signs of result from argument.
19639 * math/s_casinhf.c (__casinhf): Likewise.
19640 * math/s_casinhl.c (__casinhl): Likewise.
19641 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19642 (casinh_test): Add more tests.
19643 * sysdeps/i386/fpu/libm-test-ulps: Update.
19644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19646 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19648 * po/zh_TW.po: Update from translation team.
19650 * login/Makefile (distribute): Remove variable.
19651 * catgets/Makefile: Likewise.
19652 * mach/Makefile: Likewise.
19653 * malloc/Makefile: Likewise.
19654 * misc/Makefile: Likewise.
19655 * iconv/Makefile: Likewise.
19656 * nscd/Makefile: Likewise.
19657 * hurd/Makefile: Likewise.
19658 * manual/Makefile: Likewise.
19659 * locale/Makefile: Likewise.
19660 * intl/Makefile: Likewise.
19661 * conform/Makefile: Likewise.
19662 * nss/Makefile: Likewise.
19663 * time/Makefile: Likewise.
19664 * soft-fp/Makefile: Likewise.
19665 * dirent/Makefile: Likewise.
19666 * gmon/Makefile: Likewise.
19667 * po/Makefile: Likewise.
19668 * rt/Makefile: Likewise.
19669 * socket/Makefile: Likewise.
19670 * math/Makefile: Likewise.
19671 * signal/Makefile: Likewise.
19672 * debug/Makefile: Likewise.
19673 * elf/Makefile: Likewise.
19674 * timezone/Makefile: Likewise.
19675 * stdlib/Makefile: Likewise.
19676 * iconvdata/Makefile: Likewise.
19677 * sunrpc/Makefile: Likewise.
19678 * io/Makefile: Likewise.
19679 * argp/Makefile: Likewise.
19680 * inet/Makefile: Likewise.
19681 * hesiod/Makefile: Likewise.
19682 * grp/Makefile: Likewise.
19683 * csu/Makefile: Likewise.
19684 * wctype/Makefile: Likewise.
19685 * crypt/Makefile: Likewise.
19686 * libio/Makefile: Likewise.
19687 * string/Makefile: Likewise.
19688 * nis/Makefile: Likewise.
19689 * resolv/Makefile: Likewise.
19690 * stdio-common/Makefile: Likewise.
19691 * wcsmbs/Makefile: Likewise.
19692 * dlfcn/Makefile: Likewise.
19693 * posix/Makefile: Likewise.
19696 * timezone/Makefile: Don't install timezone files, just the programs
19699 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19701 * nss/databases.def: Add missing gshadow entry.
19703 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19705 2012-03-06 Marek Polacek <polacek@redhat.com>
19708 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19709 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19710 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19711 * stdio-common/tst-long-dbl-fphex.c: New file.
19713 2012-03-06 David S. Miller <davem@davemloft.net>
19715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19716 (set_obp_int): New function.
19717 (get_obp_int): New function.
19718 (__get_clockfreq_via_dev_openprom): Likewise.
19719 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19720 Avoid unused variable warnings on 'val' and use builtin_expect.
19721 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19723 (INLINE_CLONE_SYSCALL): Likewise.
19725 2012-03-05 David S. Miller <davem@davemloft.net>
19727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19729 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19733 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19734 only for |x| >= 40.
19735 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19737 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19740 Replace gettimeofday with __vdso_gettimeofday.
19742 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19743 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19744 __vdso_clock_gettime and __vdso_getcpu.
19746 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19747 time with __vdso_time.
19749 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19751 * manual/lang.texi (size_t): Note types to which size_t may be
19752 equivalent with the GNU C Library, but do not describe when
19753 differences between them are significant.
19755 2012-03-05 Andreas Jaeger <aj@suse.de>
19757 * sysdeps/i386/fpu/libm-test-ulps: Update.
19759 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19762 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19763 (__ieee754_pow): Save and restore rounding mode and use
19764 round-to-nearest for main computations.
19765 * math/libm-test.inc (pow_test_tonearest): New function.
19766 (pow_test_towardzero): Likewise.
19767 (pow_test_downward): Likewise.
19768 (pow_test_upward): Likewise.
19769 (main): Call the new functions.
19770 * sysdeps/i386/fpu/libm-test-ulps: Update.
19771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19774 * math/libm-test.inc (cosh_test_tonearest): New function.
19775 (cosh_test_towardzero): Likewise.
19776 (cosh_test_downward): Likewise.
19777 (cosh_test_upward): Likewise.
19778 (sinh_test_tonearest): Likewise.
19779 (sinh_test_towardzero): Likewise.
19780 (sinh_test_downward): Likewise.
19781 (sinh_test_upward): Likewise.
19782 (main): Call the new functions.
19783 * sysdeps/i386/fpu/libm-test-ulps: Update.
19784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19786 2012-03-05 Tom de Vries <tom@codesourcery.com>
19788 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19789 default stack guard is set in last bytes.
19790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19792 2012-03-05 Kees Cook <keescook@chromium.org>
19794 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19797 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19798 possibly allocate from heap instead of stack.
19799 * stdio-common/bug-vfprintf-nargs.c: New file.
19800 * stdio-common/Makefile (tests): Add nargs overflow test.
19802 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19806 2012-03-03 Marek Polacek <polacek@redhat.com>
19808 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19809 * math/math_private.h: Likewise.
19810 * stdlib/tst-strtod.c: Likewise.
19811 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19812 * sysdeps/x86_64/bits/atomic.h: Likewise.
19814 2012-03-02 David S. Miller <davem@davemloft.net>
19816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19820 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19821 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19822 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19823 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19825 2012-03-02 Roland McGrath <roland@hack.frob.com>
19828 * manual/examples/README: New file, says the example source files
19829 can be used under GPL>=2.
19830 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19831 line containing just "*/".
19832 * manual/examples/add.c: Add copyright header (GPL>=2).
19833 * manual/examples/argp-ex1.c: Likewise.
19834 * manual/examples/argp-ex2.c: Likewise.
19835 * manual/examples/argp-ex3.c: Likewise.
19836 * manual/examples/argp-ex4.c: Likewise.
19837 * manual/examples/atexit.c: Likewise.
19838 * manual/examples/db.c: Likewise.
19839 * manual/examples/dir.c: Likewise.
19840 * manual/examples/dir2.c: Likewise.
19841 * manual/examples/execinfo.c: Likewise.
19842 * manual/examples/filecli.c: Likewise.
19843 * manual/examples/filesrv.c: Likewise.
19844 * manual/examples/fmtmsgexpl.c: Likewise.
19845 * manual/examples/genpass.c: Likewise.
19846 * manual/examples/inetcli.c: Likewise.
19847 * manual/examples/inetsrv.c: Likewise.
19848 * manual/examples/isockad.c: Likewise.
19849 * manual/examples/longopt.c: Likewise.
19850 * manual/examples/memopen.c: Likewise.
19851 * manual/examples/memstrm.c: Likewise.
19852 * manual/examples/mkfsock.c: Likewise.
19853 * manual/examples/mkisock.c: Likewise.
19854 * manual/examples/mygetpass.c: Likewise.
19855 * manual/examples/pipe.c: Likewise.
19856 * manual/examples/popen.c: Likewise.
19857 * manual/examples/rprintf.c: Likewise.
19858 * manual/examples/search.c: Likewise.
19859 * manual/examples/select.c: Likewise.
19860 * manual/examples/setjmp.c: Likewise.
19861 * manual/examples/sigh1.c: Likewise.
19862 * manual/examples/sigusr.c: Likewise.
19863 * manual/examples/stpcpy.c: Likewise.
19864 * manual/examples/strdupa.c: Likewise.
19865 * manual/examples/strftim.c: Likewise.
19866 * manual/examples/strncat.c: Likewise.
19867 * manual/examples/subopt.c: Likewise.
19868 * manual/examples/swapcontext.c: Likewise.
19869 * manual/examples/termios.c: Likewise.
19870 * manual/examples/testopt.c: Likewise.
19871 * manual/examples/testpass.c: Likewise.
19872 * manual/examples/timeval_subtract.c: Likewise.
19875 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19877 * manual/timeval_subtract.c.texi: ... here, new file.
19879 2012-03-02 David S. Miller <davem@davemloft.net>
19881 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19883 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19886 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19887 (__sin): Save and restore rounding mode and use round-to-nearest
19888 for all computations.
19889 (__cos): Save and restore rounding mode and use round-to-nearest
19890 for all computations.
19891 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19893 (tan): Save and restore rounding mode and use round-to-nearest for
19895 * math/libm-test.inc (cos_test_tonearest): New function.
19896 (cos_test_towardzero): Likewise.
19897 (cos_test_downward): Likewise.
19898 (cos_test_upward): Likewise.
19899 (sin_test_tonearest): Likewise.
19900 (sin_test_towardzero): Likewise.
19901 (sin_test_downward): Likewise.
19902 (sin_test_upward): Likewise.
19903 (tan_test_tonearest): Likewise.
19904 (tan_test_towardzero): Likewise.
19905 (tan_test_downward): Likewise.
19906 (tan_test_upward): Likewise.
19907 (main): Call the new functions.
19908 * sysdeps/i386/fpu/libm-test-ulps: Update.
19909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19912 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19913 small n, then large n, before computing and testing k+n.
19914 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19915 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19919 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19920 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19921 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19922 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19923 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19924 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19925 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19926 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19927 * math/libm-test.inc (scalbn_test): Add more tests.
19928 (scalbln_test): Likewise.
19930 * manual/filesys.texi (mode_t): Describe constraints on size and
19931 signedness, not exact equivalence to a particular type.
19933 (ino64_t): Likewise.
19935 (nlink_t): Likewise.
19936 (blkcnt_t): Likewise.
19937 (blkcnt64_t): Likewise.
19938 * manual/llio.texi (off_t): Likewise.
19941 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19942 (__ieee754_exp): Save and restore rounding mode and use
19943 round-to-nearest for all computations.
19944 * math/libm-test.inc (exp_test_tonearest): New function.
19945 (exp_test_towardzero): Likewise.
19946 (exp_test_downward): Likewise.
19947 (exp_test_upward): Likewise.
19948 (main): Call the new functions.
19949 * sysdeps/i386/fpu/libm-test-ulps: Update.
19950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19952 2012-03-01 Chris Demetriou <cgd@google.com>
19954 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19955 have predictable order.
19957 2012-03-01 David S. Miller <davem@davemloft.net>
19959 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19961 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19962 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19963 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19964 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19966 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19967 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19968 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19970 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19971 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19972 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19973 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19974 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19978 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19979 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19980 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19982 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19983 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19984 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19985 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19986 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19987 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19988 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19989 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19990 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19991 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19992 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19993 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19994 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19995 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19996 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19997 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19998 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19999 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20000 * sysdeps/sparc/elf/configure: Regenerated.
20002 2012-03-01 Joseph Myers <joseph@codesourcery.com>
20004 * configure.in (AS, LD): Require binutils 2.20 or later.
20005 * configure: Regenerated.
20006 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20007 as required minimum version.
20008 * INSTALL: Regenerated.
20012 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20013 before squaring exponent.
20014 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20015 bottom long double and 27 bits of top long double before squaring
20017 * math/libm-test.inc (erfc_test): Add more tests.
20018 * sysdeps/i386/fpu/libm-test-ulps: Update.
20019 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20022 2012-03-01 Kai Tietz <ktietz@redhat.com>
20024 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20025 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20026 containing bit-fields.
20027 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20028 * soft-fp/single.h (_FP_UNION_S): Likewise.
20029 * soft-fp/double.h (_FP_UNION_D): Likewise.
20031 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20034 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20035 not include ../strcmp.S.
20036 [USE_AS_STRNCASECMP_L]: Likewise.
20037 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20038 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20039 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20040 (__strncasecmp_l_ia32): Define as alias to
20041 __strncasecmp_l_nonascii.
20044 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20045 * sysdeps/i386/fpu/libm-test-ulps: Update.
20046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20048 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20051 2012-02-29 Jeff Law <law@redhat.com>
20053 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20054 out of bounds read.
20056 2012-02-29 Marek Polacek <polacek@redhat.com>
20059 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20060 * elf/Makefile: Add rules to run tst-unused-dep.out.
20062 2012-02-28 David S. Miller <davem@davemloft.net>
20064 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20065 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20066 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20067 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20068 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20069 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20071 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20073 * math/libm-test.inc (llround_test): Move one test from
20074 lround_test. Use TEST_f_L in moved test.
20075 (lround_test): Move misplaced test to llround_test. Add testcase
20078 2012-02-28 Ulrich Drepper <drepper@gmail.com>
20080 * sysdeps/x86_64/fpu/e_expf.S: New file.
20081 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20083 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20086 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20087 of remain_len that may cause incomplete multi-byte character and
20089 * posix/bug-regex33.c: New file.
20090 * posix/Makefile (tests): Add bug-regex33.
20092 2012-02-28 Joseph Myers <joseph@codesourcery.com>
20094 * manual/macros.texi: New file.
20095 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20096 * manual/libc.texinfo: Include macros.texi.
20097 * manual/creatute.texi: Likewise.
20098 * manual/install.texi: Likewise.
20099 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20100 @glibcadj{} in references to the GNU C Library.
20101 * manual/charset.texi: Likewise.
20102 * manual/conf.texi: Likewise.
20103 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20104 when not using those macros.
20105 * manual/creature.texi: Likewise.
20106 * manual/crypt.texi: Likewise.
20107 * manual/errno.texi: Likewise.
20108 * manual/filesys.texi: Likewise.
20109 * manual/header.texi: Likewise.
20110 * manual/install.texi: Likewise.
20111 * manual/intro.texi: Likewise.
20112 * manual/io.texi: Likewise.
20113 * manual/job.texi: Likewise.
20114 * manual/lang.texi: Likewise.
20115 * manual/libc.texiinfo: Likewise.
20116 * manual/llio.texi: Likewise.
20117 * manual/locale.texi: Likewise.
20118 * manual/maint.texi: Likewise.
20119 * manual/math.texi: Likewise.
20120 * manual/memory.texi: Likewise.
20121 * manual/message.texi: Likewise.
20122 * manual/nss.texi: Likewise.
20123 * manual/pattern.texi: Likewise.
20124 * manual/process.texi: Likewise.
20125 * manual/resource.texi: Likewise.
20126 * manual/search.texi: Likewise.
20127 * manual/setjmp.texi: Likewise.
20128 * manual/signal.texi: Likewise.
20129 * manual/socket.texi: Likewise.
20130 * manual/startup.texi: Likewise.
20131 * manual/stdio.texi: Likewise.
20132 * manual/string.texi: Likewise.
20133 * manual/sysinfo.texi: Likewise.
20134 * manual/syslog.texi: Likewise.
20135 * manual/terminal.texi: Likewise.
20136 * manual/time.texi: Likewise.
20137 * manual/users.texi: Likewise.
20138 * INSTALL: Regenerated.
20139 * NOTES: Regenerated.
20140 * sysdeps/gnu/errlist.c: Regenerated.
20142 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20144 * include/dirent.h: Include <dirstream.h> before
20147 2012-02-28 David S. Miller <davem@davemloft.net>
20149 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20150 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20151 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20152 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20154 2012-02-27 David S. Miller <davem@davemloft.net>
20156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20158 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20159 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20162 frame pointer instead of stack pointer relative arg slot.
20163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20164 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20165 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20167 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20170 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20172 2012-02-27 David S. Miller <davem@davemloft.net>
20174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20178 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20179 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20180 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20181 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20183 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20185 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20186 later. Allow versions 5-9.
20187 * configure: Regenerated.
20188 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20189 required minimum version and 4.6 as recommended version. Do not
20190 mention bugs in GCC 2.7 and 2.8.
20191 * INSTALL: Regenerated.
20193 2012-02-27 David S. Miller <davem@davemloft.net>
20195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20199 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20200 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20201 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20202 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20204 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20205 manipulate bits before adding and subtracting TWO112[sx].
20206 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20208 2012-02-27 Roland McGrath <roland@hack.frob.com>
20211 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20212 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20213 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20214 being in POSIX, because they are in 1003.1-2008.
20216 * rt/tst-aio.c: Include <fcntl.h>.
20217 * rt/tst-aio7.c: Likewise.
20218 * rt/tst-aio64.c: Likewise.
20220 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20222 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20224 * manual/install.texi (--with-headers): Describe headers as
20225 interface headers, not private headers.
20226 (Specific advice for GNU/Linux systems): Describe use of headers
20227 from "make headers_install", not private headers from older
20229 * INSTALL: Regenerated.
20230 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20232 * sysdeps/unix/sysv/linux/configure: Regenerated.
20234 * manual/llio.texi (fclean): Remove documentation.
20236 * manual/Makefile (libc-texi-generated): New variable. Include
20238 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20239 $(libc-texi-generated), not duplicated list of files.
20240 (version.texi, stamp-version): New rules.
20241 (realclean): Remove $(libc-texi-generated), not individual files
20242 from that list. Do not remove dir-add.texinfo.
20243 * manual/libc.texinfo: Comment out uses of edition numbers and
20244 references to printed manual. Remove last-updated dates.
20245 (EDITION): Comment out.
20247 (VERSION, UPDATED): Remove.
20248 (version.texi): Include.
20250 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20252 * sysdeps/posix/spawni.c: Include <signal.h>.
20253 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20254 * sysdeps/pthread/aio_fsync.c: Likewise.
20256 2012-02-26 Ulrich Drepper <drepper@gmail.com>
20258 * conform/Makefile (tests): Run only when not cross-compiling and
20259 when fast-check is not defined.
20261 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20262 * conform/data/limits.h-data: Fixes for POSIX2008.
20263 * conform/run-conformtest.sh: Run all tests.
20264 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20266 * include/bits/dlfcn.h: Likewise.
20267 * include/langinfo.h: Likewise.
20268 * include/monetary.h: Likewise.
20269 * include/sys/poll.h: Likewise.
20271 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20273 * posix/spawn.h: Define __need_sigset_t.
20274 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20275 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20276 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20277 to get sigevent_t only.
20278 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20279 only for __USE_GNU.
20280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20281 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20282 process_vm_writev only for __USE_GNU.
20283 * termios/termios.h: Declare tcgetsid also for POSIX2008.
20285 * conform/Makefile: For now ignore errors from run-conformtest.
20286 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20287 POSIX to avoid namespace pollution. Don't prepend headers.
20288 * conform/data/aio.h-data: Fixes for POSIX testing.
20289 * conform/data/fcntl.h-data: Likewise.
20290 * conform/data/glob.h-data: Likewise.
20291 * conform/data/grp.h-data: Likewise.
20292 * conform/data/pthread.h-data: Likewise.
20293 * conform/data/pwd.h-data: Likewise.
20294 * conform/data/signal.h-data: Likewise.
20295 * conform/data/spawn.h-data: Likewise.
20296 * conform/data/stdio.h-data: Likewise.
20297 * conform/data/stdlib.h-data: Likewise.
20298 * conform/data/stropts.h-data: Likewise.
20299 * conform/data/sys/mman.h-data: Likewise.
20300 * conform/data/sys/stat.h-data: Likewise.
20301 * conform/data/sys/types.h-data: Likewise.
20302 * conform/data/sys/wait.h-data: Likewise.
20303 * conform/data/time.h-data: Likewise.
20304 * conform/data/unistd.h-data: Likewise.
20305 * conform/data/utime.h-data: Likewise.
20307 * io/sys/stat.h: fchmod was always in POSIX.
20308 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20309 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20310 * rt/aio.h: Define __need_timespec before including <time.h>.
20311 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20312 struct. Add forward declaration of pthread_attr_t and use it in
20314 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20315 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20316 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20317 always remove CLK_TCK definition.
20319 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20321 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20323 2012-02-25 Ulrich Drepper <drepper@gmail.com>
20325 * conform/run-conformtest.sh: New file.
20326 * conform/Makefile: Run run-conformtest for tests.
20327 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20330 * conform/data/uchar.h-data: New file.
20331 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20332 * conform/data/arpa/inet.h-data: Likewise.
20333 * conform/data/assert.h-data: Likewise.
20334 * conform/data/complex.h-data: Likewise.
20335 * conform/data/cpio.h-data: Likewise.
20336 * conform/data/ctype.h-data: Likewise.
20337 * conform/data/dirent.h-data: Likewise.
20338 * conform/data/dlfcn.h-data: Likewise.
20339 * conform/data/errno.h-data: Likewise.
20340 * conform/data/fcntl.h-data: Likewise.
20341 * conform/data/float.h-data: Likewise.
20342 * conform/data/fmtmsg.h-data: Likewise.
20343 * conform/data/fnmatch.h-data: Likewise.
20344 * conform/data/ftw.h-data: Likewise.
20345 * conform/data/glob.h-data: Likewise.
20346 * conform/data/grp.h-data: Likewise.
20347 * conform/data/iconv.h-data: Likewise.
20348 * conform/data/inttypes.h-data: Likewise.
20349 * conform/data/langinfo.h-data: Likewise.
20350 * conform/data/libgen.h-data: Likewise.
20351 * conform/data/limits.h-data: Likewise.
20352 * conform/data/locale.h-data: Likewise.
20353 * conform/data/math.h-data: Likewise.
20354 * conform/data/monetary.h-data: Likewise.
20355 * conform/data/mqueue.h-data: Likewise.
20356 * conform/data/ndbm.h-data: Likewise.
20357 * conform/data/net/if.h-data: Likewise.
20358 * conform/data/netdb.h-data: Likewise.
20359 * conform/data/netinet/in.h-data: Likewise.
20360 * conform/data/nl_types.h-data: Likewise.
20361 * conform/data/poll.h-data: Likewise.
20362 * conform/data/pthread.h-data: Likewise.
20363 * conform/data/pwd.h-data: Likewise.
20364 * conform/data/regex.h-data: Likewise.
20365 * conform/data/sched.h-data: Likewise.
20366 * conform/data/search.h-data: Likewise.
20367 * conform/data/semaphore.h-data: Likewise.
20368 * conform/data/setjmp.h-data: Likewise.
20369 * conform/data/signal.h-data: Likewise.
20370 * conform/data/spawn.h-data: Likewise.
20371 * conform/data/stdarg.h-data: Likewise.
20372 * conform/data/stdio.h-data: Likewise.
20373 * conform/data/stdlib.h-data: Likewise.
20374 * conform/data/string.h-data: Likewise.
20375 * conform/data/strings.h-data: Likewise.
20376 * conform/data/stropts.h-data: Likewise.
20377 * conform/data/sys/ipc.h-data: Likewise.
20378 * conform/data/sys/mman.h-data: Likewise.
20379 * conform/data/sys/msg.h-data: Likewise.
20380 * conform/data/sys/resource.h-data: Likewise.
20381 * conform/data/sys/select.h-data: Likewise.
20382 * conform/data/sys/sem.h-data: Likewise.
20383 * conform/data/sys/shm.h-data: Likewise.
20384 * conform/data/sys/socket.h-data: Likewise.
20385 * conform/data/sys/stat.h-data: Likewise.
20386 * conform/data/sys/statvfs.h-data: Likewise.
20387 * conform/data/sys/time.h-data: Likewise.
20388 * conform/data/sys/timeb.h-data: Likewise.
20389 * conform/data/sys/times.h-data: Likewise.
20390 * conform/data/sys/types.h-data: Likewise.
20391 * conform/data/sys/uio.h-data: Likewise.
20392 * conform/data/sys/un.h-data: Likewise.
20393 * conform/data/sys/utsname.h-data: Likewise.
20394 * conform/data/sys/wait.h-data: Likewise.
20395 * conform/data/syslog.h-data: Likewise.
20396 * conform/data/tar.h-data: Likewise.
20397 * conform/data/termios.h-data: Likewise.
20398 * conform/data/utime.h-data: Likewise.
20399 * conform/data/utmpx.h-data: Likewise.
20400 * conform/data/varargs.h-data: Likewise.
20401 * conform/data/wchar.h-data: Likewise.
20402 * conform/data/wctype.h-data: Likewise.
20403 * conform/data/wordexp.h-data: Likewise.
20405 * include/stropts.h: New file.
20406 * include/uchar.h: New file.
20407 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20408 * include/assert.h: Likewise.
20409 * include/ctype.h: Likewise.
20410 * include/dirent.h: Likewise.
20411 * include/dlfcn.h: Likewise.
20412 * include/fcntl.h: Likewise.
20413 * include/fnmatch.h: Likewise.
20414 * include/glob.h: Likewise.
20415 * include/grp.h: Likewise.
20416 * include/libio.h: Likewise.
20417 * include/locale.h: Likewise.
20418 * include/math.h: Likewise.
20419 * include/net/if.h: Likewise.
20420 * include/netdb.h: Likewise.
20421 * include/netinet/in.h: Likewise.
20422 * include/pthread.h: Likewise.
20423 * include/pwd.h: Likewise.
20424 * include/regex.h: Likewise.
20425 * include/sched.h: Likewise.
20426 * include/search.h: Likewise.
20427 * include/setjmp.h: Likewise.
20428 * include/signal.h: Likewise.
20429 * include/stdio.h: Likewise.
20430 * include/stdlib.h: Likewise.
20431 * include/string.h: Likewise.
20432 * include/sys/cdefs.h: Likewise.
20433 * include/sys/mman.h: Likewise.
20434 * include/sys/msg.h: Likewise.
20435 * include/sys/resource.h: Likewise.
20436 * include/sys/select.h: Likewise.
20437 * include/sys/socket.h: Likewise.
20438 * include/sys/stat.h: Likewise.
20439 * include/sys/statvfs.h: Likewise.
20440 * include/sys/time.h: Likewise.
20441 * include/sys/times.h: Likewise.
20442 * include/sys/uio.h: Likewise.
20443 * include/sys/utsname.h: Likewise.
20444 * include/sys/wait.h: Likewise.
20445 * include/termios.h: Likewise.
20446 * include/time.h: Likewise.
20447 * include/ulimit.h: Likewise.
20448 * include/unistd.h: Likewise.
20449 * include/utime.h: Likewise.
20450 * include/wchar.h: Likewise.
20451 * include/wctype.h: Likewise.
20452 * include/wordexp.h: Likewise.
20454 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20456 * time/time.h: TIME_UTC must be a macro.
20457 Make timespec_get available for ISO C11 only as well.
20459 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20461 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20462 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20464 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20466 * configure.in: Use -o not -a in test for unsupported multi-arch.
20468 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20470 * manual/texinfo.tex: Update to version 2012-01-19.16.
20472 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20474 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20476 2012-02-24 Roland McGrath <roland@hack.frob.com>
20479 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20480 * manual/fdl-1.3.texi: New file.
20481 * manual/fdl-1.1.texi: File removed.
20484 * manual/libc.texinfo (FDL_VERSION): New @set.
20485 Use it for mention of FDL in cover text.
20486 (Documentation License): Use it in @include file name.
20488 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20489 Roland McGrath <roland@hack.frob.com>
20492 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20493 not LONG_LONG_MAX and LONG_LONG_MIN.
20494 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20495 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20497 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20499 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20503 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20504 manipulate bits before adding and subtracting TWO23[sx].
20505 * math/libm-test.inc (nearbyint_test): Add more tests.
20507 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20510 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20511 bits before adding and subtracting TWO23[sx].
20512 * math/libm-test.inc (rint_test): Add more tests.
20513 (rint_test_tonearest): Likewise.
20514 (rint_test_towardzero): Likewise.
20515 (rint_test_downward): Likewise.
20516 (rint_test_upward: Likewise.
20518 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20521 * include/stdc-predef.h: New file. Extracted from features.h.
20522 * include/features.h: Include stdc-predef.h.
20523 * Makefile (headers): Add stdc-predef.h.
20524 * CONFORMANCE (Compiler limitations): Update.
20526 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20528 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20530 2012-02-21 David S. Miller <davem@davemloft.net>
20532 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20533 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20535 2012-02-20 David S. Miller <davem@davemloft.net>
20537 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20538 using a normal save/restore sequence, rather than allocating a
20539 dummy stack frame just to store a frame pointer and restore.
20540 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20542 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20544 * manual/install.texi: Fix stray word in line-wrapped comment.
20546 2012-02-20 David S. Miller <davem@davemloft.net>
20548 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20549 both binutils and gcc support GOTDATA.
20551 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20552 "rd %pc" in the PIC register setup sequences.
20554 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20555 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20556 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20557 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20558 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20559 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20561 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20563 (SYSCALL_ERROR_HANDLER): Likewise.
20564 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20565 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20566 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20567 (SYSCALL_ERROR_HANDLER): Likewise.
20569 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20570 (HAVE_GCC_GOTDATA): New.
20571 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20572 relocation support in both binutils and gcc.
20573 * sysdeps/sparc/elf/configure: Regenerate.
20575 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20576 * sysdeps/sparc/sparc32/elf/configure: Delete.
20577 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20578 * sysdeps/sparc/sparc64/elf/configure: Delete.
20579 * sysdeps/sparc/elf/configure.in: New file.
20580 * sysdeps/sparc/elf/configure: Generate.
20582 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20583 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20584 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20585 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20586 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20588 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20590 * manual/install.texi: Do not mention specific glibc version
20592 * manual/libc.texinfo (VERSION, UPDATED): Update.
20593 (@copying): Use @copyright{} and range of years.
20595 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20598 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20599 [crti.S not in sysdirs] (generated): Do not append.
20600 [crti.S not in sysdirs] (omit-deps): Likewise.
20601 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20602 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20603 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20604 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20605 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20607 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20608 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20609 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20610 * csu/defs.awk: Remove file.
20611 * sysdeps/generic/initfini.c: Likewise.
20612 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20614 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20617 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20619 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20620 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20621 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20622 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20623 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20624 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20626 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20627 (__EPOLL_PACKED): Define to empty if not defined by
20629 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20633 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20635 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20636 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20637 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20638 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20640 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20644 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20646 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20648 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20649 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20650 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20653 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20655 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20656 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20658 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20660 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20661 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20663 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20665 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20668 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20670 * math/w_acos.c: Use non-signaling floating-point comparisons.
20671 * math/w_acosf.c: Likewise.
20672 * math/w_acosh.c: Likewise.
20673 * math/w_acoshf.c: Likewise.
20674 * math/w_acoshl.c: Likewise.
20675 * math/w_acosl.c: Likewise.
20676 * math/w_asin.c: Likewise.
20677 * math/w_asinf.c: Likewise.
20678 * math/w_asinl.c: Likewise.
20679 * math/w_atanh.c: Likewise.
20680 * math/w_atanhf.c: Likewise.
20681 * math/w_atanhl.c: Likewise.
20682 * math/w_exp2.c: Likewise.
20683 * math/w_exp2f.c: Likewise.
20684 * math/w_exp2l.c: Likewise.
20685 * math/w_j0.c: Likewise.
20686 * math/w_j0f.c: Likewise.
20687 * math/w_j0l.c: Likewise.
20688 * math/w_j1.c: Likewise.
20689 * math/w_j1f.c: Likewise.
20690 * math/w_j1l.c: Likewise.
20691 * math/w_jn.c: Likewise.
20692 * math/w_jnf.c: Likewise.
20693 * math/w_log.c: Likewise.
20694 * math/w_log10.c: Likewise.
20695 * math/w_log10f.c: Likewise.
20696 * math/w_log10l.c: Likewise.
20697 * math/w_log2.c: Likewise.
20698 * math/w_log2f.c: Likewise.
20699 * math/w_log2l.c: Likewise.
20700 * math/w_logf.c: Likewise.
20701 * math/w_logl.c: Likewise.
20702 * math/w_sqrt.c: Likewise.
20703 * math/w_sqrtf.c: Likewise.
20704 * math/w_sqrtl.c: Likewise.
20705 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20706 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20707 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20708 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20709 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20711 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20714 * manual/string.texi (strnlen): Use correct parameter name in
20715 equivalent expression.
20717 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20720 * manual/users.texi (seteuid): Consistently use neweuid for
20723 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20726 * manual/nss.texi (Services in the NSS configuration): Correct
20727 list of services in example configuration file.
20729 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20732 * manual/arith.texi: Remove statements about negative zero
20733 behaving identically to zero.
20735 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20738 * manual/install.texi: Do not document upgrading from libc5.
20740 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20743 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20745 2012-02-18 David S. Miller <davem@davemloft.net>
20747 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20748 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20749 %o7 across the call.
20750 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20752 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20753 SETUP_PIC_REG_LEAF.
20754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20755 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20756 * sysdeps/sparc/crtn.S: Likewise.
20758 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20760 * aout/Makefile: Remove.
20762 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20765 * manual/examples/argp-ex1.c (main): Format definition in GNU
20767 * manual/examples/argp-ex2.c (main): Likewise.
20768 * manual/examples/argp-ex3.c (main): Likewise.
20769 * manual/examples/argp-ex4.c (main): Likewise.
20770 * manual/examples/longopt.c (main): Use new-style prototype
20772 * manual/examples/strncat.c (main): Specify return type and use
20773 (void) for arguments.
20774 * manual/examples/subopt.c (main): Use char **argv argument.
20776 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20779 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20782 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20785 * manual/string.texi (strchr): Change when strchrnul is
20788 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20791 * manual/locale.texi (setlocale): Document LOCPATH.
20793 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20796 * manual/process.texi (execle): Move @dots{} before last argument.
20798 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20801 * manual/charset.texi (Generic Charset Conversion): Fix typo
20802 (LC_TYPE -> LC_CTYPE).
20804 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20807 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20808 (scalbnf): Likewise.
20809 (scalbnl): Likewise.
20810 (scalbln): Likewise.
20811 (scalblnf): Likewise.
20812 (scalblnl): Likewise.
20813 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20814 (vwarnx): Likewise.
20817 * manual/filesys.texi (telldir): Use braces around return type.
20818 * manual/llio.texi (mmap): Add space after comma.
20819 (mmap64): Likewise.
20820 * manual/math.texi (jn): Use @var{} on parameter names.
20826 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20828 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20830 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20831 (sched_get_priority_max): Likewise.
20832 * manual/signal.texi (sigvec): Add space after comma.
20833 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20835 (if_indextoname): Likewise.
20836 (if_freenameindex): Likewise.
20837 (sendto): Use ',' instead of '.' in prototype.
20838 * manual/startup.texi (syscall): Use @dots{} instead of literal
20840 * manual/stdio.texi (__fpending): Separate initial words of
20841 paragraph from @deftypefun line.
20842 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20844 (vsyslog): Use @var{} on parameter names.
20845 * manual/terminal.texi (stty): Use @var{} on parameter names.
20846 * manual/users.texi (getutmp): Use @var{} on parameter names.
20847 (getutmpx): Likewise.
20849 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20852 * manual/stdio.texi (fopen): Fix typos in description of
20855 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20858 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20859 get clock_id definition.
20861 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20864 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20865 (madvise): Cast every argument to void on its own.
20867 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20870 * manual/startup.texi (Exit Status): Fix typo.
20872 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20875 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20876 * manual/examples/argp-ex2.c: Likewise.
20877 * manual/examples/argp-ex3.c: Likewise.
20879 2012-02-16 Richard Henderson <rth@redhat.com>
20881 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20882 * sysdeps/s390/s390-32/initfini.c: Remove.
20883 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20884 * sysdeps/s390/s390-64/initfini.c: Remove.
20886 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20888 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20889 compiler output for sysdeps/generic/initfini.c.
20890 * sysdeps/sh/elf/initfini.c: Remove file.
20892 2012-02-16 David S. Miller <davem@davemloft.net>
20895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20897 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20898 * sysdeps/sparc/crti.S: New file.
20899 * sysdeps/sparc/crtn.S: New file.
20900 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20901 * sysdeps/sparc/sparc64/Makefile: Likewise.
20903 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20906 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20908 2012-02-15 Roland McGrath <roland@hack.frob.com>
20911 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20913 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20914 (write, read, close): Likewise.
20915 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20917 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20919 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20920 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20921 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20922 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20924 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20928 2012-02-14 Marek Polacek <polacek@redhat.com>
20930 * sysdeps/x86_64/crti.S: New file.
20931 * sysdeps/x86_64/crtn.S: New file.
20932 * sysdeps/x86_64/elf/initfini.c: Remove file.
20934 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20936 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20937 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20938 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20939 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20941 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20945 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20947 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20948 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20949 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20950 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20952 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20956 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20958 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20959 __feraiseexcept instead of feraiseexcept.
20961 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20962 nanosleep invocations.
20963 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20964 strings, and add error checking for a nanosleep invocations.
20966 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20968 Replace FSF snail mail address with URLs, as per GNU coding standards.
20969 Most of the snail mail addresses were wrong anyway, and omitting
20970 them makes the source code easier to maintain. Almost all of the
20971 changes are to license notices and to locale LC_IDENTIFICATION
20972 addresses, except for this one:
20973 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20974 not its snail mail address.
20976 2012-02-09 Richard Henderson <rth@twiddle.net>
20978 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20979 of kernel-features.h.
20981 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20983 2012-02-08 Marek Polacek <polacek@redhat.com>
20985 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20986 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20987 * sysdeps/gnu/_G_config.h: Likewise.
20988 * sysdeps/generic/_G_config.h: Likewise.
20990 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20992 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20996 * sysdeps/powerpc/powerpc32/crti.S: New file.
20997 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20998 * sysdeps/powerpc/powerpc64/crti.S: New file.
20999 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21001 * Makeconfig (have-initfini): Don't set.
21002 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21003 * configure.in (nopic_initfini): Don't substitute.
21004 * config.h.in (HAVE_INITFINI): Don't #undef.
21005 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21006 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21008 2012-02-08 Joseph Myers <joseph@codesourcery.com>
21010 Support crti.S and crtn.S provided directly by architectures.
21011 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21012 [crti.S in sysdirs] (omit-deps): Likewise.
21013 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21014 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21015 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21016 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21017 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21018 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21019 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21020 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21021 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21022 compiler output for sysdeps/generic/initfini.c.
21023 * sysdeps/i386/elf/Makefile: Remove file.
21024 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21026 2012-02-07 Marek Polacek <polacek@redhat.com>
21028 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21029 * sysdeps/gnu/_G_config.h: Likewise.
21030 * sysdeps/mach/hurd/_G_config.h: Likewise.
21032 2012-02-07 Marek Polacek <polacek@redhat.com>
21034 * math/Makefile (tests): Add tst-CMPLX2.
21035 * math/tst-CMPLX2.c: New file.
21037 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21039 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21041 * math/libm-test.inc (jn_test): Add missing L suffix.
21043 2012-02-06 Marek Polacek <polacek@redhat.com>
21045 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21046 * sysdeps/i386/fpu/e_powf.S: Likewise.
21047 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21048 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21049 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21050 * sysdeps/i386/fpu/e_pow.S: Likewise.
21051 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21052 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21053 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21054 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21055 * sysdeps/i386/fpu/e_log2.S: Likewise.
21056 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21057 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21058 * sysdeps/i386/fpu/e_powl.S: Likewise.
21059 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21060 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21061 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21062 * sysdeps/i386/fpu/e_logl.S: Likewise.
21063 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21064 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21065 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21066 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21067 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21068 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21069 * sysdeps/i386/fpu/e_log.S: Likewise.
21070 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21071 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21072 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21073 * sysdeps/i386/fpu/e_logf.S: Likewise.
21074 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21075 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21076 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21077 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21078 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21079 * sysdeps/i386/fpu/e_log10.S: Likewise.
21080 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21081 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21082 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21083 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21084 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21085 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21086 * sysdeps/i386/asm-syntax.h: Likewise.
21087 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21088 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21089 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21090 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21091 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21092 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21093 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21094 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21095 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21096 * sysdeps/powerpc/sysdep.h: Likewise.
21097 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21098 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21100 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21103 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21105 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21107 * sysdeps/i386/sysdep.h: Include <features.h>.
21108 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21111 2012-02-05 Joseph Myers <joseph@codesourcery.com>
21113 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21115 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21118 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21120 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21121 (SETUP_PIC_REG): Use GET_PC_THUNK.
21122 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21125 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21127 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21128 for non-PIC compilation.
21129 (SETUP_PIC_REG): Add .p2align directive.
21130 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21131 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21132 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21133 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21134 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21135 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21136 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21137 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21138 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21139 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21140 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21141 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21142 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21143 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21144 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21145 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21146 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21147 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21148 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21149 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21150 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21151 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21152 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21153 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21154 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21155 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21156 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21157 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21158 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21159 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21160 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21161 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21162 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21163 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21164 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21165 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21166 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21167 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21168 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21169 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21170 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21172 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21174 * math/tst-CMPLX.c: Include <stdio.h>.
21176 2012-01-31 Joseph Myers <joseph@codesourcery.com>
21178 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21180 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21181 * sysdeps/sparc/bits/mathdef.h: Likewise.
21183 2012-01-31 Marek Polacek <polacek@redhat.com>
21185 * libio/libio.h: Don't define _PARAMS.
21186 * locale/programs/config.h: Don't define PARAMS.
21187 * stdlib/strtol_l.c: Likewise.
21188 (__strtol_l): Remove PARAMS from the prototype.
21190 2012-01-31 Ulrich Drepper <drepper@gmail.com>
21192 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21193 names. Just use the correct names. Remove unnecessary wrapper
21195 * malloc/arena.c: Likewise.
21196 * malloc/hooks.c: Likewise.
21198 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21199 ARENA_TEST says not to. Simplify test for creation of a new arena.
21200 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21202 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21204 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21206 (update_get_addr): New function.
21207 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21208 GET_ADDR_MODULE parameter.
21210 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21212 * crypt/cert.c: Remove __STDC__ conditionals.
21213 * crypt/crypt-entry.c: Likewise.
21214 * crypt/crypt_util.c: Likewise.
21215 * libio/filedoalloc.c: Likewise.
21216 * libio/fileops.c: Likewise.
21217 * libio/genops.c: Likewise.
21218 * libio/iofclose.c: Likewise.
21219 * libio/iofdopen.c: Likewise.
21220 * libio/iofopen.c: Likewise.
21221 * libio/iofopen64.c: Likewise.
21222 * libio/iogetdelim.c: Likewise.
21223 * libio/iopopen.c: Likewise.
21224 * libio/obprintf.c: Likewise.
21225 * libio/oldfileops.c: Likewise.
21226 * libio/oldiofclose.c: Likewise.
21227 * libio/oldiofdopen.c: Likewise.
21228 * libio/oldiofopen.c: Likewise.
21229 * libio/oldiopopen.c: Likewise.
21230 * libio/wfiledoalloc.c: Likewise.
21231 * libio/wgenops.c: Likewise.
21232 * locale/programs/xmalloc.c: Likewise.
21233 * misc/syslog.c: Likewise.
21234 * stdio-common/xbug.c: Likewise.
21235 * string/memchr.c: Likewise.
21236 * string/memcmp.c: Likewise.
21237 * string/memrchr.c: Likewise.
21238 * string/rawmemchr.c: Likewise.
21239 * sysdeps/posix/getcwd.c: Likewise.
21240 * time/strftime_l.c: Likewise.
21242 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21244 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21245 * config.make.in (config-cflags-sse2avx): Define.
21246 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21249 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21251 * scripts/config.guess: Update from upstream config git repository.
21252 * scripts/config.sub: Likewise.
21254 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21256 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21258 (R_TILEPRO_*, R_TILEGX_*): New macros.
21260 * scripts/firstversions.awk: Fix bug in version range handling.
21262 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21264 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21266 * include/sys/epoll.h: New file.
21267 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21270 2012-01-28 Ulrich Drepper <drepper@gmail.com>
21272 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21273 Avoid unnecessary __WORDSIZE == 64 test.
21274 (fmaxf): Use VEX format if possible.
21279 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21280 * math/math_private.h: Remove libc_fegetround* and
21282 * sysdeps/i386/configure.in: Check for -msse2avx.
21283 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21284 also if SSE2AVX is defined.
21285 Remove libc_fegetround* and libc_fesetround*.
21286 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21287 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21288 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21290 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21291 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21292 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21293 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21296 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21298 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21300 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21302 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21304 2012-01-27 Ulrich Drepper <drepper@gmail.com>
21307 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21309 * Makeconfig (libm): Define.
21310 * elf/Makefile: Add rules to build and run tst-relsort1.
21311 * elf/tst-relsort1.c: New file.
21312 * elf/tst-relsort1mod1.c: New file.
21313 * elf/tst-relsort1mod2.c: New file.
21315 2012-01-27 Joseph Myers <joseph@codesourcery.com>
21317 * math/s_ldexp.c: Remove __STDC__ conditionals.
21318 * math/s_ldexpf.c: Likewise.
21319 * math/s_ldexpl.c: Likewise.
21320 * math/s_nextafter.c: Likewise.
21321 * math/s_nexttowardf.c: Likewise.
21322 * math/s_significand.c: Likewise.
21323 * math/s_significandf.c: Likewise.
21324 * math/s_significandl.c: Likewise.
21325 * math/w_jnl.c: Likewise.
21326 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21327 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21328 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21329 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21330 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21331 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21332 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21333 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21334 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21335 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21336 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21337 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21338 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21339 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21340 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21341 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21342 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21343 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21344 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21345 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21346 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21347 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21348 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21349 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21350 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21351 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21352 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21353 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21354 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21355 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21356 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21357 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21358 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21359 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21360 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21361 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21362 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21363 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21364 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21365 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21366 * sysdeps/ieee754/k_standard.c: Likewise.
21367 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21368 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21369 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21370 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21371 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21372 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21373 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21374 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21375 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21376 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21377 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21378 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21379 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21380 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21381 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21382 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21383 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21384 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21385 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21386 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21387 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21388 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21389 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21390 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21391 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21392 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21393 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21394 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21395 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21396 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21397 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21398 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21399 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21400 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21402 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21403 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21404 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21405 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21406 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21407 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21409 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21410 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21411 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21412 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21413 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21415 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21416 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21417 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21418 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21419 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21420 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21421 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21422 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21423 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21424 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21425 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21426 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21427 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21428 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21429 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21430 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21431 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21432 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21433 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21434 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21435 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21436 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21437 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21438 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21439 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21440 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21441 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21442 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21443 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21444 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21445 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21446 * sysdeps/ieee754/s_matherr.c: Likewise.
21447 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21448 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21449 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21450 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21452 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21454 * crypt/md5.h: Remove __STDC__ conditionals.
21455 * libio/libioP.h: Likewise.
21456 * locale/programs/config.h: Likewise.
21457 * sysdeps/generic/sysdep.h: Likewise.
21458 * sysdeps/i386/asm-syntax.h: Likewise.
21459 * sysdeps/s390/asm-syntax.h: Likewise.
21460 * sysdeps/unix/sysdep.h: Likewise.
21461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21464 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21466 * libio/libio.h: Remove __STDC__ conditionals.
21467 * malloc/obstack.h: Likewise.
21468 * math/complex.h: Likewise.
21469 * math/math.h: Likewise.
21470 * sysdeps/generic/_G_config.h: Likewise.
21471 * sysdeps/gnu/_G_config.h: Likewise.
21472 * sysdeps/mach/hurd/_G_config.h: Likewise.
21473 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21474 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21475 * sysdeps/sparc/bits/mathdef.h: Likewise.
21477 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21480 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21481 Clean up HAS_* macros.
21482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21483 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21485 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21487 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21488 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21489 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21490 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21491 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21493 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21495 * elf/tst-unique3.cc (gets): Remove declaration.
21496 * elf/tst-unique3lib.cc (gets): Likewise.
21497 * elf/tst-unique3lib2.cc (gets): Likewise.
21498 * elf/tst-unique4.cc (gets): Likewise.
21500 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21502 * include/stdio.h: Add C++ protection. Add gets declarations and
21504 * debug/tst-chk1.c: Don't declare gets here.
21505 * stdio-common/tst-gets.c: Likewise.
21507 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21509 * posix/glob: Remove directory.
21511 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21513 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21515 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21517 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21518 of the non-standard EPFNOSUPPORT.
21520 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21522 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21523 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21524 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21526 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21528 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21530 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21532 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21534 * nscd/grpcache.c (cache_addgr): Likewise.
21535 * nscd/hstcache.c (cache_addhst): Likewise.
21536 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21537 * nscd/pwdcache.c (cache_addpw): Likewise.
21538 * nscd/servicescache.c (cache_addserv): Likewise.
21540 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21542 * malloc/malloc.c: Various cleanups.
21543 * malloc/hooks.c: Likewise.
21545 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21546 * stdlib/bug-fmtmsg1.c: New file.
21548 * stdlib/fmtmsg.c (init): Add missing unlock.
21549 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21551 2012-01-12 Marek Polacek <polacek@redhat.com>
21553 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21556 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21558 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21559 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21560 macro to ensure uniqueness of label name.
21561 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21562 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21564 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21566 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21568 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21569 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21570 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21571 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21573 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21575 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21577 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21578 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21579 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21581 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21583 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21584 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21585 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21588 * math/bits/math-finite.h: Add ldexp support.
21590 2012-01-10 Marek Polacek <polacek@redhat.com>
21592 * locale/programs/localedef.h (show_archive_content): Add noreturn
21595 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21597 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21599 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21601 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21603 * io/Makefile (headers): Add bits/poll2.h.
21605 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21608 typo #include statement.
21610 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21612 * include/sys/cdefs.h: Define __attribute_alloc_size.
21613 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21614 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21615 * elf/pldd.c: Likewise.
21616 * iconv/iconv_charmap.c: Likewise.
21617 * iconv/iconvconfig.c: Likewise.
21618 * iconv/strtab.c: Likewise.
21619 * locale/programs/locale.c: Likewise.
21620 * locale/programs/localedef.h: Likewise.
21621 * locale/programs/simple-hash.c: Likewise.
21622 * nscd/nscd.h: Likewise.
21623 * nss/makedb.c: Likewise.
21624 * sysdeps/generic/ldconfig.h: Likewise.
21625 * locale/programs/localedef.c: Remove xmalloc prototype.
21626 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21628 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21630 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21633 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21635 * math/Makefile (tests): Add tst-CMPLX.
21636 * math/tst-CMPLX.c: New file.
21638 * math/complex.h (CMPLXL): Fix typo.
21640 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21641 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21643 * debug/tst-chk1.c: Add poll and ppoll tests.
21644 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21645 * include/sys/poll.h: Add hidden proto for ppoll.
21646 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21647 * sysdeps/mach/hurd/ppoll.c: Likewise.
21648 * io/ppoll.c: Likewise.
21649 * debug/poll_chk.c: New file.
21650 * debug/ppoll_chk.c: New file.
21651 * include/bits/poll2.h: New file.
21652 * io/bits/poll2.h: New file.
21655 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21657 * configure.in: static is always set to yes. Remove.
21658 * config.make.in: Don't set build-static.
21659 * Makeconfig: Remove use of build-static.
21660 * dlfcn/Makefile: Likewise.
21661 * elf/Makefile: Likewise.
21662 * math/Makefile: Likewise.
21663 * misc/Makefile: Likewise.
21664 * nptl/Makefile: Likewise.
21665 * sysdeps/mach/hurd/Makefile: Likewise.
21667 * configure.in: PWD_P is not used anymore.
21668 * config.make.in: Remove PWD_P entry.
21670 * configure.in: Remove last remnants of RANLIB.
21671 No need to check for signed size_t anymore.
21672 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21674 Remove __builtin_expect test because we require at least gcc 3.4.
21675 * aclocal.m4: Likewise.
21677 * wcsmbs/mbrtoc16.c: Implement using towc function.
21678 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21679 * wcsmbs/wcsmbsload.c: Likewise.
21680 * iconv/gconv_simple.c: Likewise.
21681 * iconv/gconv_int.h: Likewise.
21682 * iconv/gconv_builtin.h: Likewise.
21683 * iconv/iconv_prog.c: Remove CHAR16 handling.
21685 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21687 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21689 * configure.in: Remove --with-elf and --enable-bounded options.
21690 Dont set base_machine for ia64. More non-ELF conditions removed.
21691 Remove testing and setting of leading underscore information.
21692 * config.make.in (build-bounded): Set to no.
21693 * config.h.in: Remove NO_UNDERSCORES entry.
21694 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21696 * csu/start.c: Remove !NO_UNDERSCORE code.
21697 * locale/localeinfo.h: Likewise.
21698 * sysdeps/generic/machine-gmon.h: Likewise.
21699 * sysdeps/generic/sysdep.h: Likewise.
21700 * sysdeps/i386/sysdep.h: Likewise.
21701 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21702 * sysdeps/mach/sysdep.h: Likewise.
21703 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21704 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21705 * sysdeps/sh/sysdep.h: Likewise.
21706 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21707 * sysdeps/unix/i386/sysdep.S: Likewise.
21708 * sysdeps/unix/sparc/start.c: Likewise.
21709 * sysdeps/unix/sparc/sysdep.S: Likewise.
21710 * sysdeps/unix/sparc/sysdep.h: Likewise.
21711 * sysdeps/unix/start.c: Likewise.
21712 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21713 * sysdeps/x86_64/sysdep.h: Likewise.
21715 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21718 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21720 * argp/argp-fmtstream.h: Use const instead __const.
21721 * argp/argp.h: Likewise.
21722 * assert/assert.h: Likewise.
21723 * bits/fenv.h: Likewise.
21724 * bits/sched.h: Likewise.
21725 * bits/sigset.h: Likewise.
21726 * bits/sigthread.h: Likewise.
21727 * catgets/nl_types.h: Likewise.
21728 * conform/data/pthread.h-data: Likewise.
21729 * crypt/crypt-private.h: Likewise.
21730 * crypt/crypt.h: Likewise.
21731 * crypt/crypt_util.c: Likewise.
21732 * ctype/ctype.h: Likewise.
21733 * debug/execinfo.h: Likewise.
21734 * debug/mbsnrtowcs_chk.c: Likewise.
21735 * debug/mbsrtowcs_chk.c: Likewise.
21736 * debug/wcsnrtombs_chk.c: Likewise.
21737 * debug/wcsrtombs_chk.c: Likewise.
21738 * debug/wcstombs_chk.c: Likewise.
21739 * dirent/dirent.h: Likewise.
21740 * dlfcn/dlfcn.h: Likewise.
21741 * elf/neededtest4.c: Likewise.
21742 * grp/grp.h: Likewise.
21743 * gshadow/gshadow.h: Likewise.
21744 * iconv/gconv.h: Likewise.
21745 * iconv/gconv_int.h: Likewise.
21746 * iconv/gconv_simple.c: Likewise.
21747 * iconv/iconv.h: Likewise.
21748 * iconv/loop.c: Likewise.
21749 * iconv/skeleton.c: Likewise.
21750 * include/aio.h: Likewise.
21751 * include/aliases.h: Likewise.
21752 * include/argz.h: Likewise.
21753 * include/arpa/inet.h: Likewise.
21754 * include/assert.h: Likewise.
21755 * include/dirent.h: Likewise.
21756 * include/dlfcn.h: Likewise.
21757 * include/execinfo.h: Likewise.
21758 * include/fcntl.h: Likewise.
21759 * include/fenv.h: Likewise.
21760 * include/glob.h: Likewise.
21761 * include/grp.h: Likewise.
21762 * include/libintl.h: Likewise.
21763 * include/mntent.h: Likewise.
21764 * include/netdb.h: Likewise.
21765 * include/pwd.h: Likewise.
21766 * include/rpc/netdb.h: Likewise.
21767 * include/sched.h: Likewise.
21768 * include/search.h: Likewise.
21769 * include/shadow.h: Likewise.
21770 * include/signal.h: Likewise.
21771 * include/stdio.h: Likewise.
21772 * include/stdlib.h: Likewise.
21773 * include/string.h: Likewise.
21774 * include/sys/socket.h: Likewise.
21775 * include/sys/stat.h: Likewise.
21776 * include/sys/statfs.h: Likewise.
21777 * include/sys/statvfs.h: Likewise.
21778 * include/sys/syslog.h: Likewise.
21779 * include/sys/time.h: Likewise.
21780 * include/sys/uio.h: Likewise.
21781 * include/time.h: Likewise.
21782 * include/unistd.h: Likewise.
21783 * include/utmp.h: Likewise.
21784 * include/wchar.h: Likewise.
21785 * include/wctype.h: Likewise.
21786 * inet/aliases.h: Likewise.
21787 * inet/arpa/inet.h: Likewise.
21788 * inet/netinet/ether.h: Likewise.
21789 * inet/netinet/in.h: Likewise.
21790 * intl/libintl.h: Likewise.
21791 * io/bits/fcntl2.h: Likewise.
21792 * io/fcntl.h: Likewise.
21793 * io/ftw.h: Likewise.
21794 * io/sys/poll.h: Likewise.
21795 * io/sys/stat.h: Likewise.
21796 * io/sys/statfs.h: Likewise.
21797 * io/sys/statvfs.h: Likewise.
21798 * io/utime.h: Likewise.
21799 * libio/bits/stdio.h: Likewise.
21800 * libio/bits/stdio2.h: Likewise.
21801 * libio/libio.h: Likewise.
21802 * libio/libioP.h: Likewise.
21803 * libio/stdio.h: Likewise.
21804 * locale/lc-ctype.c: Likewise.
21805 * locale/locale.h: Likewise.
21806 * login/utmp.h: Likewise.
21807 * malloc/arena.c: Likewise.
21808 * malloc/malloc.c: Likewise.
21809 * malloc/malloc.h: Likewise.
21810 * malloc/mcheck.c: Likewise.
21811 * malloc/mtrace.c: Likewise.
21812 * math/bits/mathcalls.h: Likewise.
21813 * math/fenv.h: Likewise.
21814 * math/math_private.h: Likewise.
21815 * misc/bits/error.h: Likewise.
21816 * misc/bits/syslog.h: Likewise.
21817 * misc/err.h: Likewise.
21818 * misc/error.h: Likewise.
21819 * misc/fstab.h: Likewise.
21820 * misc/mntent.h: Likewise.
21821 * misc/regexp.h: Likewise.
21822 * misc/search.h: Likewise.
21823 * misc/sgtty.h: Likewise.
21824 * misc/sys/mman.h: Likewise.
21825 * misc/sys/syslog.h: Likewise.
21826 * misc/sys/uio.h: Likewise.
21827 * misc/sys/xattr.h: Likewise.
21828 * misc/ttyent.h: Likewise.
21829 * nis/rpcsvc/ypclnt.h: Likewise.
21830 * nss/nss.h: Likewise.
21831 * posix/bits/unistd.h: Likewise.
21832 * posix/fnmatch.h: Likewise.
21833 * posix/glob.h: Likewise.
21834 * posix/sched.h: Likewise.
21835 * posix/spawn.h: Likewise.
21836 * posix/sys/wait.h: Likewise.
21837 * posix/unistd.h: Likewise.
21838 * posix/wordexp.h: Likewise.
21839 * pwd/pwd.h: Likewise.
21840 * resolv/netdb.h: Likewise.
21841 * resource/sys/resource.h: Likewise.
21842 * rt/aio.h: Likewise.
21843 * rt/bits/mqueue2.h: Likewise.
21844 * rt/mqueue.h: Likewise.
21845 * shadow/shadow.h: Likewise.
21846 * signal/signal.h: Likewise.
21847 * socket/send.c: Likewise.
21848 * socket/sendto.c: Likewise.
21849 * socket/sys/socket.h: Likewise.
21850 * stdio-common/printf.h: Likewise.
21851 * stdlib/bits/stdlib.h: Likewise.
21852 * stdlib/fmtmsg.h: Likewise.
21853 * stdlib/monetary.h: Likewise.
21854 * stdlib/stdlib.h: Likewise.
21855 * stdlib/ucontext.h: Likewise.
21856 * streams/stropts.h: Likewise.
21857 * string/argz.h: Likewise.
21858 * string/bits/string2.h: Likewise.
21859 * string/string.h: Likewise.
21860 * string/strings.h: Likewise.
21861 * sunrpc/rpc/auth.h: Likewise.
21862 * sunrpc/rpc/auth_des.h: Likewise.
21863 * sunrpc/rpc/clnt.h: Likewise.
21864 * sunrpc/rpc/netdb.h: Likewise.
21865 * sunrpc/rpc/pmap_clnt.h: Likewise.
21866 * sunrpc/rpc/xdr.h: Likewise.
21867 * sysdeps/generic/inttypes.h: Likewise.
21868 * sysdeps/generic/net/if.h: Likewise.
21869 * sysdeps/generic/sys/swap.h: Likewise.
21870 * sysdeps/gnu/net/if.h: Likewise.
21871 * sysdeps/gnu/utmpx.h: Likewise.
21872 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21873 * sysdeps/i386/i486/bits/string.h: Likewise.
21874 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21875 * sysdeps/s390/bits/string.h: Likewise.
21876 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21877 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21878 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21879 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21880 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21881 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21882 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21883 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21884 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21885 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21886 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21887 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21888 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21889 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21890 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21891 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21892 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21894 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21895 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21896 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21897 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21898 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21899 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21900 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21901 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21902 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21903 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21904 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21905 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21906 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21907 * sysvipc/sys/ipc.h: Likewise.
21908 * sysvipc/sys/msg.h: Likewise.
21909 * sysvipc/sys/sem.h: Likewise.
21910 * sysvipc/sys/shm.h: Likewise.
21911 * termios/termios.h: Likewise.
21912 * time/sys/time.h: Likewise.
21913 * time/time.h: Likewise.
21914 * wcsmbs/bits/wchar2.h: Likewise.
21915 * wcsmbs/uchar.h: Likewise.
21916 * wcsmbs/wchar.h: Likewise.
21917 * wctype/wctype.h: Likewise.
21920 * Makeconfig: Remove all but ELF support including AIX support.
21921 * Makerules: Likewise.
21922 * config.h.in: Likewise.
21923 * config.make.in: Likewise.
21924 * configure: Likewise.
21925 * configure.in: Likewise.
21926 * csu/Makefile: Likewise.
21927 * csu/version.c: Likewise.
21928 * debug/Makefile: Likewise.
21929 * dlfcn/Makefile: Likewise.
21930 * elf/Makefile: Likewise.
21931 * extra-lib.mk: Likewise.
21932 * iconv/Makefile: Likewise.
21933 * include/libc-symbols.h: Likewise.
21934 * include/shlib-compat.h: Likewise.
21935 * resolv/Makefile: Likewise.
21936 * resolv/res_libc.c: Likewise.
21937 * rt/Makefile: Likewise.
21938 * sysdeps/i386/asm-syntax.h: Likewise.
21939 * sysdeps/i386/sysdep.h: Likewise.
21940 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21941 * sysdeps/mach/sysdep.h: Likewise.
21942 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21943 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21944 * sysdeps/s390/asm-syntax.h: Likewise.
21945 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21946 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21947 * sysdeps/sh/sysdep.h: Likewise.
21948 * sysdeps/unix/sparc/sysdep.h: Likewise.
21949 * sysdeps/wordsize-32/divdi3.c: Likewise.
21950 * sysdeps/x86_64/sysdep.h: Likewise.
21952 * argp/Versions: Remove _argp_unlock_xxx.
21955 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21956 * abilist/libBrokenLocale.abilist: Likewise.
21957 * abilist/libanl.abilist: Likewise.
21958 * abilist/libc.abilist: Likewise.
21959 * abilist/libcrypt.abilist: Likewise.
21960 * abilist/libdl.abilist: Likewise.
21961 * abilist/libm.abilist: Likewise.
21962 * abilist/libnsl.abilist: Likewise.
21963 * abilist/libpthread.abilist: Likewise.
21964 * abilist/libresolv.abilist: Likewise.
21965 * abilist/librt.abilist: Likewise.
21966 * abilist/libthread_db.abilist: Likewise.
21967 * abilist/libutil.abilist: Likewise.
21968 * abilist/libnss_db.abilist: New file.
21970 * scripts/abilist.awk: Add support for indirect functions.
21972 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21974 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21976 * shlib-versions: Remove entries for ports architectures.
21978 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21980 * elf/stackguard-macros.h: Remove support for IA-64.
21981 * elf/tst-auditmod1.c: Likewise.
21982 * sysdeps/generic/ldsodefs.h: Likewise.
21984 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21985 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21989 * configure.in: Remove --enable-omitfp support.
21991 * config.make.in: Likewise.
21992 * Makeconfig: Likewise.
21993 * manual/install.texi: Likewise.
21995 In case anyone cares, the IA-64 architecture could move to ports.
21996 * sysdeps/ia64/*: Removed.
21997 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21998 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
22001 * configure.in: Remove entries for unsupported architectures.
22004 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22005 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22007 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22008 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22009 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22010 fall back to using wcrtomb.
22011 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22012 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22014 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22015 * wcsmbs/tst-c16c32-1.c: New file.
22017 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22020 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22022 * elf/tst-unique3.cc: Add explicit declaration of gets.
22023 * elf/tst-unique3lib.cc: Likewise.
22024 * elf/tst-unique3lib2.cc: Likewise.
22025 * elf/tst-unique4.cc: Likewise.
22027 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22029 2012-01-06 Joseph Myers <joseph@codesourcery.com>
22032 * assert/assert.h (static_assert): Don't define for C++.
22033 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22034 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22036 2012-01-03 Ulrich Drepper <drepper@gmail.com>
22038 * iconv/loop.c (single loop): Fix assertion in storing of
22041 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22043 2012-01-01 Ulrich Drepper <drepper@gmail.com>
22045 * posix/getconf.c: Update copyright year.
22046 * nss/getent.c: Likewise.
22047 * nss/makedb.c: Likewise.
22048 * iconv/iconvconfig.c: Likewise.
22049 * iconv/iconv_prog.c: Likewise.
22050 * elf/ldconfig.c: Likewise.
22051 * elf/pldd.c: Likewise.
22052 * elf/sotruss.ksh: Likewise.
22053 * catgets/gencat.c: Likewise.
22054 * csu/version.c: Likewise.
22055 * elf/ldd.bash.in: Likewise.
22056 * elf/sprof.c (print_version): Likewise.
22057 * locale/programs/locale.c: Likewise.
22058 * locale/programs/localedef.c: Likewise.
22059 * login/programs/pt_chown.c: Likewise.
22060 * nscd/nscd.c (print_version): Likewise.
22061 * debug/xtrace.sh: Likewise.
22062 * malloc/memusage.sh: Likewise.
22063 * malloc/mtrace.pl: Likewise.
22064 * debug/catchsegv.sh: Likewise.
22066 2011-12-30 Jakub Jelinek <jakub@redhat.com>
22068 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22071 2011-12-24 Ulrich Drepper <drepper@gmail.com>
22074 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22075 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22077 * iconv/gconv_int.h: Likewise.
22078 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22079 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22080 from libc for GLIBC_2.16.
22081 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22082 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22083 * wcsmbs/uchar.h: Really define mbstate_t.
22084 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22085 * wcsmbs/c16rtomb.c: New file.
22086 * wcsmbs/mbrtoc16.c: New file.
22087 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22088 for C/POSIX locale.
22089 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22090 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22092 * wcsmbs/wchar.h: Add missing __restrict.
22094 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22097 * time/Makefile (routines): Add timespec_get.
22098 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22099 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22100 timespec for ISO C11.
22101 * time/timespec_get.c: New file.
22102 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22103 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22106 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22107 * stdlib/stdlib.h: Declare aligned_alloc.
22108 * Versions.def: Add GLIBC_2.16 for libc.
22109 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22112 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22115 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22119 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22122 * assert/assert.h (static_assert): Define.
22124 * version.h: Update for 2.16 development version.
22127 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22130 * version.h (RELEASE): Bump for 2.15 release.
22131 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22133 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22134 Patch by Marek Polacek <mpolacek@redhat.com>.
22136 * bits/byteswap.h: Protect long long constants with __extension__.
22137 * sysdeps/i386/bits/byteswap.h: Likewise.
22138 * sysdeps/ia64/bits/byteswap.h: Likewise.
22139 * sysdeps/s390/bits/byteswap.h: Likewise.
22140 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22142 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22145 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22146 destination buffer.
22147 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22149 2011-12-23 Marek Polacek <polacek@redhat.com>
22151 * elf/dl-addr.c (determine_info): Add inline keyword.
22152 * elf/tst-auditmod4b.c (check_avx): Likewise.
22153 * elf/tst-auditmod6b.c (check_avx): Likewise.
22154 * elf/tst-auditmod6c.c (check_avx): Likewise.
22155 * elf/tst-auditmod7b.c (check_avx): Likewise.
22157 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22159 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22162 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22165 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22166 processing for last bytes.
22168 2011-08-06 Bruno Haible <bruno@clisp.org>
22171 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22172 U+0385, not to U+1FEE.
22175 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22176 entry for U+00A5 U+0301.
22178 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22181 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22182 buffer for the output is too small.
22184 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22188 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22189 SSE flags if possible.
22191 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22194 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22195 processing for last bytes.
22197 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22199 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22200 (syscall-list-default-options, syscall-list-default-condition)
22201 (syscall-list-includes): Define.
22202 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22203 list of ABIs and options and #if conditions for each ABI. Do not
22204 handle common syscalls between ABIs specially.
22205 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
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/s390/Makefile (64bit-predefine): Remove.
22211 (syscall-list-variants, syscall-list-32bit-options)
22212 (syscall-list-32bit-condition, syscall-list-64bit-options)
22213 (syscall-list-64bit-condition): Define.
22214 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22216 (syscall-list-variants, syscall-list-32bit-options)
22217 (syscall-list-32bit-condition, syscall-list-64bit-options)
22218 (syscall-list-64bit-condition): Define.
22219 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22221 (syscall-list-variants, syscall-list-32bit-options)
22222 (syscall-list-32bit-condition, syscall-list-64bit-options)
22223 (syscall-list-64bit-condition): Define.
22225 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22227 * locale/iso-639.def: Add brx entry.
22230 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22231 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22233 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22234 __feraiseexcept_renamed.
22236 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22239 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22240 EPOLLET with unsigned values.
22241 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22242 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22244 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22245 to large cancellation.
22246 * math/s_cacoshf.c: Likewise.
22247 * math/s_cacoshl.c: Likewise.
22249 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22253 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22254 * math/s_cacoshf.c: Likewise.
22255 * math/s_cacoshl.c: Likewise.
22257 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22260 * iconv/gconv.h: Define __GCONV_SWAP.
22261 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22262 * iconvdata/utf-16.c: Likewise.
22263 * iconvdata/utf-32.c: Likewise.
22265 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22268 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22269 numerator after shifting it by one limb.
22271 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22273 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22274 under [__USE_EXTERN_INLINES].
22276 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22279 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22281 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22283 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22284 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22286 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22287 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22288 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22289 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22290 for strncasecmp/strncasecmp_l compilation.
22291 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22292 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22294 2011-12-08 Marek Polacek <mpolacek@redhat.com>
22297 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22300 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22303 * time/tzfile.c (__tzfile_read): Check values from file header.
22305 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22307 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22308 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22309 * powerpc/powerpc32/dl-start.S: Likewise.
22310 * powerpc/powerpc32/elf/start.S: Likewise.
22311 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22312 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22313 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22314 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22315 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22316 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22317 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22318 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22319 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22320 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22321 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22322 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22323 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22324 * powerpc/powerpc32/memset.S: Likewise.
22325 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22326 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22327 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22328 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22329 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22330 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22331 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22332 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22333 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22334 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22335 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22336 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22337 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22339 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22341 * math/libm-test.inc: Added more nearbyint tests.
22342 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22343 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22344 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22345 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22347 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22349 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22352 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22354 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22355 Add wcscpy-ssse3 wcscpy-c.
22356 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22357 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22358 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22359 * sysdeps/x86_64/wcschr.S: New file.
22360 * sysdeps/x86_64/wcsrchr.S: New file.
22361 * string/test-strcmp.c: Remove checking of wcscmp function for
22363 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22364 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22365 wcsrchr-sse2 wcsrchr-c.
22366 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22367 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22368 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22369 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22370 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22371 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22372 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22373 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22374 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22375 * wcsmbc/wcschr.c (WCSCHR): New macro.
22377 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22379 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22380 * wcsmbs/test-wcsrchr.c: New file.
22381 * string/test-strrchr.c: Add wcsrchr support.
22383 * wcsmbs/test-wcscpy.c: New file.
22384 * string/test-strcpy.c: Add wcscpy support.
22387 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22389 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22392 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22395 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22397 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22399 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22400 Minor optimizations.
22402 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22403 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22404 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22406 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22408 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22409 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22410 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22411 for gcc to avoid warnings.
22412 * inet/Makefile (tests): Add tst-checks.
22413 * inet/tst-checks.c: New file.
22415 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22418 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22421 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22422 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22424 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22426 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22428 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22431 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22433 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22435 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22436 conditional on GCC version.
22437 (__arch_compare_and_exchange_val_8_acq)
22438 (__arch_compare_and_exchange_val_16_acq)
22439 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22440 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22441 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22443 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22445 * sysdeps/sh/backtrace.c: New file.
22447 2011-12-02 Andreas Schwab <schwab@redhat.com>
22449 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22452 2011-12-01 Andreas Schwab <schwab@redhat.com>
22454 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22455 falling back to utime.
22457 2011-11-30 Andreas Schwab <schwab@redhat.com>
22459 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22460 expectations for float.
22462 2011-11-29 Andreas Schwab <schwab@redhat.com>
22464 * locale/weight.h (findidx): Add parameter len.
22465 * locale/weightwc.h (findidx): Likewise.
22466 * posix/fnmatch_loop.c (FCT): Adjust caller.
22467 * posix/regcomp.c (build_equiv_class): Likewise.
22468 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22469 * posix/regexec.c (check_node_accept_bytes): Likewise.
22470 * string/strcoll_l.c (STRCOLL): Likewise.
22471 * string/strxfrm_l.c (STRXFRM): Likewise.
22473 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22475 * Makefile.in: Remove CVSOPT handling.
22476 * configure.in: Remove use of AC_REVISION.
22477 * iconvdata/Makefile (distribute): No need to filter out CVS.
22478 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22481 2011-11-16 Andreas Schwab <schwab@redhat.com>
22483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22484 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22485 [USE_AS_STRNCASECMP_L]: Likewise.
22486 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22487 NO_TLS_DIRECT_SEG_REFS.
22488 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22489 Fix argument offsets for non-PIC.
22490 [USE_AS_STRNCASECMP_L]: Likewise.
22491 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22492 NO_TLS_DIRECT_SEG_REFS.
22494 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22496 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22498 * locale/loadlocale.c (_nl_load_locale): Likewise.
22500 2011-11-15 Andreas Schwab <schwab@redhat.com>
22502 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22503 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22504 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22505 (SYSCALL_GETTIME): Set errno on error.
22507 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22508 count references to noai6ai_cached.
22510 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22512 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22514 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22515 FD_CLOEXEC for /proc/self/maps.
22517 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22518 FD_CLOEXEC for /proc/meminfo.
22520 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22523 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22524 FD_CLOEXEC for given file.
22526 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22528 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22529 FD_CLOEXEC for /etc/hosts.
22530 (_gethtent): Likewise.
22532 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22534 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22535 cancellation and set FD_CLOEXEC for /etc/netgroup.
22537 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22538 reading /etc/publickey.
22540 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22541 allow cancellation when reading /etc/group.
22543 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22545 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22547 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22548 when using data file.
22550 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22552 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22553 (write_nis_obj): Use "c" and "e" in fopen.
22555 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22557 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22559 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22561 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22563 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22566 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22568 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22570 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22572 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22573 file parsing and set FD_CLOEXEC.
22575 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22577 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22579 2011-11-14 Andreas Schwab <schwab@redhat.com>
22581 * malloc/arena.c (arena_get2): Don't call reused_arena when
22582 _int_new_arena failed.
22584 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22586 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22587 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22588 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22589 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22590 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22591 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22592 to compile strcasecmp and strncasecmp.
22593 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22594 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22598 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22600 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22601 locale-defines.sym to gen-as-const-headers.
22602 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22603 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22604 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22605 to compile strcasecmp and strncasecmp.
22606 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22607 strcasecmp_l and strncasecmp_l.
22608 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22609 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22610 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22611 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22612 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22613 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22614 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22615 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22616 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22617 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22618 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22620 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22622 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22623 result of SYSDEP_GETTIME_CPU to retval.
22624 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22625 parameter list to macro. Remove trailing semicolon. Adjust users.
22627 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22630 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22632 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22634 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22635 from unused variable.
22637 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22639 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22642 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22645 * sunrpc/rpc_prot.c (rejected): Fix case value.
22647 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22648 unsigned long long int to avoid warnings in shift.
22650 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22652 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22655 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22656 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22657 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22659 * nis/nis_table.c (nis_list): Use variable of correct type for
22660 result of __follow_path call.
22662 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22664 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22665 of math functions ceil, trunc, floor, round, and sqrt, when
22666 avaliable on the platform.
22667 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22669 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22670 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22671 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22673 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22675 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22676 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22678 2011-11-11 Roland McGrath <roland@hack.frob.com>
22680 * include/unistd.h: Fix __readlink return type.
22681 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22683 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22685 * stdlib/ucontext.h: Undo last change for makecontext.
22687 2011-11-11 Andreas Schwab <schwab@redhat.com>
22689 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22691 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22692 * setjmp/setjmp.h: Mark functions as non-leaf.
22693 * setjmp/bits/setjmp2.h: Likewise.
22694 * stdlib/ucontext.h: Likewise.
22696 2011-11-10 Andreas Schwab <schwab@redhat.com>
22698 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22699 (reused_arena): Don't check arena limit.
22700 (arena_get2): Atomically check arena limit.
22702 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22704 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22705 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22707 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22710 2011-11-07 Andreas Schwab <schwab@redhat.com>
22712 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22713 handler when locking.
22715 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22716 Fix size of allocated buffer.
22718 2011-11-04 Andreas Schwab <schwab@redhat.com>
22721 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22722 declarations for long double functions.
22723 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22725 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22727 2011-11-03 Andreas Schwab <schwab@redhat.com>
22729 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22732 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22735 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22737 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22739 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22741 * include/alloca.h (stackinfo_alloca_round): Define.
22742 (extend_alloca): Use it.
22743 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22744 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22747 * scripts/check-local-headers.sh: Ignore libaudit.h.
22749 * nscd/Makefile (extra-objs): Make recursively expanded.
22751 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22753 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22756 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22757 * posix/tst-rfc3484-2.c: Likewise.
22758 * posix/tst-rfc3484-3.c: Likewise.
22760 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22762 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22764 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22765 process_vm_writev from libc using GLIBC_2.15 version.
22767 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22769 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22771 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22774 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22777 * nss/getent.c (initgroups_keys): Show error message in case no group
22780 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22781 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22782 __bump_nl_timestamp.
22783 * nscd/connections (nscd_init): When host database is served open
22784 netlink socket and request notification about configuration changes.
22785 (main_loop_poll): Track netlink file descriptor and bump timestamp
22786 in case data becomes available.
22787 (main_loop_epoll): Likewise.
22788 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22789 (database_pers_head): Add extra_data fileds.
22790 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22791 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22792 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22794 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22795 in6ai data, call __free_in6ai.
22796 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22797 Add -DHAVE_NETLINK.
22798 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22799 interface information. Reuse previous data if netlink timestamp
22801 (__bump_nl_timestamp): New function.
22802 (__free_in6ai): New function.
22804 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22806 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22807 close_not_cancel_no_status here.
22808 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22810 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22813 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22816 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22817 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22818 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22820 2011-07-03 Andreas Jaeger <aj@suse.de>
22823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22824 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22825 * math/libm-test.inc (sin_test): Add test case.
22827 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22830 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22831 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22833 * elf/chroot_canon.c (chroot_canon): Cleanups.
22835 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22838 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22839 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22841 * string/test-strchr.c: Make usable for strchrnul testing.
22842 * string/test-strchrnul.c: New file.
22843 * string/Makefile (strop-tests): Add strchrnul.
22845 * po/it.po: Update from translation team.
22846 * po/es.po: Likewise.
22848 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22850 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22851 the three constants needed as parameters. Drop the others.
22852 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22853 __m128i_strloadu_tolower.
22854 Create and initialize variable zero and use it in all the places
22855 where _mm_setzero_si128 was used.
22857 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22858 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22859 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22860 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22862 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22863 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22864 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22865 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22866 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22867 __mpranred, __mptan.
22868 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22869 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22870 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22871 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22872 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22873 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22874 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22875 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22876 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22878 2011-10-28 Andreas Schwab <schwab@redhat.com>
22880 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22881 redefine if SHARED.
22882 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22885 wide char related routines to wcsmbs subdir.
22887 2011-10-27 Andreas Schwab <schwab@redhat.com>
22890 * misc/sys/cdefs.h (__THROWNL): Define.
22891 * posix/unistd.h: Use __THREADNL instead of __THREAD
22892 for memory synchronization functions.
22894 2011-10-26 Roland McGrath <roland@hack.frob.com>
22897 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22899 * manual/stdio.texi (Obstack Streams): Node removed.
22901 2011-10-26 Andreas Schwab <schwab@redhat.com>
22903 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22904 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22905 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22907 * math/math_private.h (math_force_eval): Allow non-addressable
22909 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22911 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22913 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22914 file is not needed.
22916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22917 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22918 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22919 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22920 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22923 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22925 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22926 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22927 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22928 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22929 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22930 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22931 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22932 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22933 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22934 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22935 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22936 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22937 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22938 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22939 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22940 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22941 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22942 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22943 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22945 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22946 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22948 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22949 place. Use VEX encoding when compiling for AVX.
22951 2011-10-25 Andreas Schwab <schwab@redhat.com>
22953 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22954 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22956 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22958 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22960 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22961 useless if() expression.
22962 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22963 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22964 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22966 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22967 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22968 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22969 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22970 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22971 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22972 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22973 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22974 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22975 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22976 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22977 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22978 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22979 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22980 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22982 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22984 2011-10-25 Andreas Schwab <schwab@redhat.com>
22986 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22988 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22990 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22992 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22993 .text section. Avoid duplicate constants.
22994 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22996 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22998 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23002 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23003 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23004 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23005 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23006 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23007 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23008 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23009 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23010 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23011 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23012 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23014 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23015 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23016 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23017 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23018 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23019 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23020 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23021 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23022 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23023 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23024 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23025 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23026 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23027 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23028 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23029 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23030 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23032 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23033 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23034 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23035 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23036 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23037 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23038 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23040 2011-10-24 Ulrich Drepper <drepper@gmail.com>
23042 * sysdeps/x86_64/dla.h: Move to ...
23043 * sysdeps/x86_64/fpu/dla.h: ...here.
23044 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23045 situations. Use __builtin_fma only for gcc 4.6 and up.
23047 * config.make.in: Add have-mfma4 entry.
23048 * configure.in: Substitute libc_cv_cc_fma4.
23049 * math/Makefile (dbl-only-routines): Add sincostab.
23050 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23051 Use __sincostab not sincos.
23052 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23054 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23059 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23060 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23061 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23062 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23064 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23065 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23067 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23068 define aliases when function name is a macro.
23069 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23070 sysdeps/ieee754/dbl-64/sincos.tbl.
23071 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23072 fma4-enabled routines.
23073 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23074 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23075 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23076 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23077 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23078 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23079 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23080 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23081 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23082 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23083 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23084 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23085 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23086 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23087 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23088 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23089 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23090 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23091 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23092 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23093 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23094 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23095 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23096 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23097 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23098 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23100 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23101 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23102 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23104 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23106 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23107 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23108 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23110 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23111 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23112 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23113 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23115 2011-10-24 Andreas Schwab <schwab@redhat.com>
23117 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23119 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23121 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23123 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23125 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23127 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23128 Remove unused variable magic_bits.
23129 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23131 * string/strnlen.c: Define and use STRNLEN macro.
23132 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23133 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23134 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23135 * wcsmbs/wcslen.c: Define and use WCSLEN.
23136 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23137 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23138 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23139 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23140 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23141 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23142 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23144 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23147 strnlen-sse2-no-bsf.
23148 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23149 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23150 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23151 Add strnlen support.
23152 (USE_AS_STRNLEN): New macro.
23153 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23154 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23155 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23156 * sysdeps/x86_64/wcslen.S: New file.
23158 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23160 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23161 XMM-moves are used for copying on small sizes.
23163 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23165 * wcsmbs/Makefile (strop-tests): Add wcschr.
23166 * wcsmbs/test-wcschr.c: New file.
23167 * string/test-strchr.c: Update.
23168 Add wcschr support.
23171 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23173 * wcsmbs/Makefile (strop-tests): Add wcslen.
23174 * wcsmbs/test-wcslen.c: New file.
23175 * string/test-strlen.c: Update.
23176 Add wcslen support.
23179 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23181 * po/it.po: Update from translation team.
23183 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23185 * sysdeps/x86_64/wcscmp.S: Update.
23186 Fix wrong comparison semantics.
23187 wcscmp shall use signed comparison not unsigned.
23188 Don't use substraction to avoid overflow bug.
23189 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23190 * wcsmbc/wcscmp.c: Likewise.
23191 * string/test-strcmp.c: Likewise.
23192 Add new tests to check cases with negative values.
23194 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23196 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23197 * sysdeps/x86_64/dla.h: ...here. New file.
23198 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23199 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23208 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23211 __ynl_finite aliases.
23213 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23217 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23219 [DLA_FMA] (EMULV): Use DLA_FMA.
23220 [DLA_FMA] (MUL12): Use EMULV.
23221 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23222 that are not needed.
23223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23226 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23227 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23228 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23229 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23231 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23233 * math/s_nan.c: Undef __nan.
23234 * math/s_nanf.c: Undef __nanf.
23235 * math/s_nanl.c: Undef __nanl.
23236 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23239 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23241 * math/s_catan.c: Add branch predictions.
23242 * math/s_catanf.c: Likewise.
23243 * math/s_catanh.c: Likewise.
23244 * math/s_catanhf.c: Likewise.
23245 * math/s_catanhl.c: Likewise.
23246 * math/s_catanl.c: Likewise.
23247 * math/s_cexp.c: Likewise.
23248 * math/s_cexpf.c: Likewise.
23249 * math/s_cexpl.c: Likewise.
23250 * math/s_clog.c: Likewise.
23251 * math/s_clog10.c: Likewise.
23252 * math/s_clog10f.c: Likewise.
23253 * math/s_clog10l.c: Likewise.
23254 * math/s_clogf.c: Likewise.
23255 * math/s_clogl.c: Likewise.
23256 * math/s_csqrt.c: Likewise.
23257 * math/s_csqrtf.c: Likewise.
23258 * math/s_csqrtl.c: Likewise.
23259 * math/s_ctanf.c: Likewise.
23260 * math/s_ctanh.c: Likewise.
23261 * math/s_ctanhf.c: Likewise.
23262 * math/s_ctanhl.c: Likewise.
23263 * math/s_ctanl.c: Likewise.
23265 * math/math_private.h: Define __nan, __nanf, __nanl.
23266 * math/s_cacosh.c: Include <math_private.h>.
23267 * math/s_cacoshl.c: Likewise.
23268 * math/s_casinh.c: Likewise.
23269 * math/s_casinhf.c: Likewise.
23270 * math/s_casinhl.c: Likewise.
23271 * math/s_ccos.c: Rely entire on ccosh.
23272 * math/s_ccosf.c: Rely entire on ccoshf.
23273 * math/s_ccosl.c: Rely entirely on ccoshl.
23274 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23275 Remove tests for FE_INVALID.
23276 * math/s_ccoshf.c: Likewise.
23277 * math/s_ccoshl.c: Likewise.
23278 * math/s_csin.c: Likewise.
23279 * math/s_csinf.c: Likewise.
23280 * math/s_csinh.c Likewise.
23281 * math/s_csinhf.c: Likewise.
23282 * math/s_csinhl.c: Likewise.
23283 * math/s_csinl.c: Likewise.
23284 * math/s_ctan.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23286 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23287 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23289 2011-10-21 Ulrich Drepper <drepper@gmail.com>
23291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23292 compilation problems.
23294 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23297 2011-10-20 Ulrich Drepper <drepper@gmail.com>
23299 * sysdeps/i386/configure.in: Test for -mfma4 option.
23300 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23301 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23302 COMMON_CPUID_INDEX_80000001.
23303 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23304 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23305 use it if FMA3 is not supported.
23306 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23308 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23309 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23311 2011-10-20 Andreas Schwab <schwab@redhat.com>
23314 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23315 it would create a cycle with a link time dependency.
23317 2011-10-19 Ulrich Drepper <drepper@gmail.com>
23319 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23321 * string/Makefile (strop-tests): Add rawmemchr.
23322 * string/test-rawmemchr.c: New file.
23324 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23325 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23326 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23327 when compiling str{,n}casecmp and when AVX is available. Hook up
23328 new optimized code in initializers.
23330 2011-10-19 Andreas Schwab <schwab@redhat.com>
23332 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23333 __feraiseexcept instead of feraiseexcept.
23335 2011-10-18 Ulrich Drepper <drepper@gmail.com>
23337 * math/math_private.h: Define defaults for libc_fetestexcept and
23339 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23340 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23341 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23342 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23343 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23344 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23345 libc_fetestexcept and libc_feupdateenv.
23347 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23348 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23349 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23350 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23351 libc_feholdexcept_setround.
23353 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23354 Add s_nearbyint-c and s_nearbyintf-c.
23355 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23356 nearbyintf inlines.
23357 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23358 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23359 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23360 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23362 * math/math_private.h: Define defaults for libc_fegetround,
23363 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23364 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23365 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23366 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23367 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23368 standard functions.
23369 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23370 Remove comments and hacks for old compiler versions.
23371 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23372 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23373 libc_feholdexceptl.
23375 2011-10-18 Andreas Schwab <schwab@redhat.com>
23377 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23378 (__feraiseexcept_renamed): Add __NTH.
23379 (feraiseexcept): Add __NTH. Rename local variables to fix
23380 namespace violations.
23382 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23384 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23386 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23388 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23389 recently added interfaces.
23390 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23392 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23393 about macro parameter expansion.
23395 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23396 __NO_MATH_INLINES is defined. Cleanups.
23398 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23399 and __floorf is target has SSE4.1.
23400 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23401 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23402 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23403 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23405 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23407 (floorf): Likewise.
23409 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23411 2011-10-17 Andreas Schwab <schwab@redhat.com>
23413 * misc/sys/cdefs.h: Fix last change.
23415 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23418 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23420 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23422 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23423 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23424 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23425 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23426 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23427 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23428 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23429 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23430 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23431 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23432 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23433 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23434 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23435 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23436 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23437 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23438 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23439 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23440 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23441 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23442 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23443 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23445 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23446 ceil, ceilf, floor, floorf.
23448 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23449 Perform IRELATIVE relocations last.
23451 * elf/do-rel.h: Add another parameter nrelative, replacing the
23452 local variable with the same name. Change name of the function
23453 to end in Rel or Rela (uppercase).
23454 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23455 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23456 elf_dynamic_do_##reloc function.
23458 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23460 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23461 is sufficient, at least on modern CPUs.
23463 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23465 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23466 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23468 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23470 * math/bits/math-finite.h: Add entries for exp.
23471 * math/e_expl.c: Add __*_finite alias.
23472 * sysdeps/i386/fpu/e_exp.S: Likewise.
23473 * sysdeps/i386/fpu/e_expf.S: Likewise.
23474 * sysdeps/i386/fpu/e_expl.c: Likewise.
23475 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23476 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23477 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23478 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23479 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23480 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23481 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23483 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23484 is sufficient, at least on modern CPUs.
23486 * ctype/ctype-info.c (__ctype_init): Define.
23487 * include/ctype.h (__ctype_init): Declare.
23488 (__ctype_b_loc): The variable is always initialized.
23489 (__ctype_toupper_loc): Likewise.
23490 (__ctype_tolower_loc): Likewise.
23491 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23492 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23494 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23496 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23498 * configure.in: Also look in $cxxmachine/include for C++ system
23501 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23503 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23504 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23505 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23506 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23507 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23508 (USE_AS_WMEMCMP): New macro.
23510 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23511 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23512 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23513 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23515 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23516 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23517 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23518 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23519 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23520 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23521 (USE_AS_WMEMCMP): New macro.
23522 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23523 * sysdeps/string/test-memcmp.c: Update.
23524 Fix simple_wmemcmp.
23526 * wcsmbs/wmemcmp.c: Update.
23527 (WMEMCMP): New macro.
23530 2011-10-12 Andreas Jaeger <aj@suse.de>
23533 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23535 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23537 * libio/iofwide.c (do_length): Avoid warning.
23539 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23541 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23543 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23545 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23546 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23547 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23548 * sysdeps/i386/i686/fpu/e_log.S: New file.
23549 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23550 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23552 * ctype/ctype.h: Add support for inlined isXXX functions when
23553 compiling C++ code.
23555 2011-10-14 Andreas Schwab <schwab@redhat.com>
23557 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23559 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23561 2011-10-13 Roland McGrath <roland@hack.frob.com>
23564 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23566 2011-10-13 Andreas Schwab <schwab@redhat.com>
23568 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23569 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23572 * sysdeps/x86_64/memrchr.S: Check for zero size.
23574 * string/stratcliff.c: Add memrchr tests.
23576 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23579 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23580 rawmemchr-sse2 rawmemchr-sse2-bsf.
23581 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23582 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23583 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23584 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23585 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23586 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23587 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23588 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23589 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23590 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23591 * string/memrchr.c (MEMRCHR): New macro.
23593 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23595 Add integration with gcc's -ffinite-math-only and optimize wrapper
23597 * Versions.def: Define GLIBC_2.15 version for libm.
23598 * math/Makefile (headers): Add bits/math-finite.h.
23599 * math/bits/math-finite.h: New file.
23600 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23601 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23602 * math/e_acoshl.c: Add __*_finite alias.
23603 * math/e_acosl.c: Likewise.
23604 * math/e_asinl.c: Likewise.
23605 * math/e_atan2l.c: Likewise.
23606 * math/e_atanhl.c: Likewise.
23607 * math/e_coshl.c: Likewise.
23608 * math/e_exp10.c: Likewise.
23609 * math/e_exp10f.c: Likewise.
23610 * math/e_exp10l.c: Likewise.
23611 * math/e_exp2l.c: Likewise.
23612 * math/e_fmodl.c: Likewise.
23613 * math/e_gammal_r.c: Likewise.
23614 * math/e_hypotl.c: Likewise.
23615 * math/e_j0l.c: Likewise.
23616 * math/e_j1l.c: Likewise.
23617 * math/e_jnl.c: Likewise.
23618 * math/e_lgammal_r.c: Likewise.
23619 * math/e_log10l.c: Likewise.
23620 * math/e_log2l.c: Likewise.
23621 * math/e_logl.c: Likewise.
23622 * math/e_powl.c: Likewise.
23623 * math/e_sinhl.c: Likewise.
23624 * math/e_sqrtl.c: Likewise.
23625 * math/e_scalb.c: Completely rewritten and optimized.
23626 * math/e_scalbf.c: Likewise.
23627 * math/e_scalbl.c: Likewise.
23628 * math/w_acos.c: Likewise.
23629 * math/w_acosf.c: Likewise.
23630 * math/w_acosl.c: Likewise.
23631 * math/w_acosh.c: Likewise.
23632 * math/w_acoshf.c: Likewise.
23633 * math/w_acoshl.c: Likewise.
23634 * math/w_asin.c: Likewise.
23635 * math/w_asinf.c: Likewise.
23636 * math/w_asinl.c: Likewise.
23637 * math/w_atan2.c: Likewise.
23638 * math/w_atan2f.c: Likewise.
23639 * math/w_atan2l.c: Likewise.
23640 * math/w_atanh.c: Likewise.
23641 * math/w_atanhf.c: Likewise.
23642 * math/w_atanhl.c: Likewise.
23643 * math/w_exp10.c: Likewise.
23644 * math/w_exp10f.c: Likewise.
23645 * math/w_exp10l.c: Likewise.
23646 * math/w_fmod.c: Likewise.
23647 * math/w_fmodf.c: Likewise.
23648 * math/w_fmodl.c: Likewise.
23649 * math/w_j0.c: Likewise.
23650 * math/w_j0f.c: Likewise.
23651 * math/w_j0l.c: Likewise.
23652 * math/w_j1.c: Likewise.
23653 * math/w_j1f.c: Likewise.
23654 * math/w_j1l.c: Likewise.
23655 * math/w_jn.c: Likewise.
23656 * math/w_jnf.c: Likewise.
23657 * math/w_log.c: Likewise.
23658 * math/w_logf.c: Likewise.
23659 * math/w_logl.c: Likewise.
23660 * math/w_log10.c: Likewise.
23661 * math/w_log10f.c: Likewise.
23662 * math/w_log10l.c: Likewise.
23663 * math/w_log2.c: Likewise.
23664 * math/w_log2f.c: Likewise.
23665 * math/w_log2l.c: Likewise.
23666 * math/w_pow.c: Likewise.
23667 * math/w_powf.c: Likewise.
23668 * math/w_powl.c: Likewise.
23669 * math/w_remainder.c: Likewise.
23670 * math/w_remainderf.c: Likewise.
23671 * math/w_remainderl.c: Likewise.
23672 * math/w_scalb.c: Likewise.
23673 * math/w_scalbf.c: Likewise.
23674 * math/w_scalbl.c: Likewise.
23675 * math/w_sqrt.c: Likewise.
23676 * math/w_sqrtf.c: Likewise.
23677 * math/w_sqrtl.c: Likewise.
23678 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23679 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23681 * math/math_private.h: Declare __kernel_standard_f.
23682 * math/w_cosh.c: Remove cruft and optimize a bit.
23683 * math/w_coshf.c: Likewise.
23684 * math/w_coshl.c: Likewise.
23685 * math/w_exp2.c: Likewise.
23686 * math/w_exp2f.c: Likewise.
23687 * math/w_exp2l.c: Likewise.
23688 * math/w_hypot.c: Likewise.
23689 * math/w_hypotf.c: Likewise.
23690 * math/w_hypotl.c: Likewise.
23691 * math/w_lgamma.c: Likewise.
23692 * math/w_lgamma_r.c: Likewise.
23693 * math/w_lgammaf.c: Likewise.
23694 * math/w_lgammaf_r.c: Likewise.
23695 * math/w_lgammal.c: Likewise.
23696 * math/w_lgammal_r.c: Likewise.
23697 * math/w_sinh.c: Likewise.
23698 * math/w_sinhf.c: Likewise.
23699 * math/w_sinhl.c: Likewise.
23700 * math/w_tgamma.c: Likewise.
23701 * math/w_tgammaf.c: Likewise.
23702 * math/w_tgammal.c: Likewise.
23703 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23704 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23705 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23706 Minor optimizations. Pretty printing. Remove cruft.
23707 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23708 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23709 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23710 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23711 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23712 * sysdeps/i386/fpu/e_asin.S: Likewise.
23713 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23714 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23715 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23716 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23717 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23718 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23719 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23720 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23721 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23722 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23723 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23724 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23725 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23726 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23727 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23728 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23729 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23730 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23731 * sysdeps/i386/fpu/e_log.S: Likewise.
23732 * sysdeps/i386/fpu/e_log10.S: Likewise.
23733 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23734 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23735 * sysdeps/i386/fpu/e_log2.S: Likewise.
23736 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23737 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23738 * sysdeps/i386/fpu/e_logf.S: Likewise.
23739 * sysdeps/i386/fpu/e_logl.S: Likewise.
23740 * sysdeps/i386/fpu/e_pow.S: Likewise.
23741 * sysdeps/i386/fpu/e_powf.S: Likewise.
23742 * sysdeps/i386/fpu/e_powl.S: Likewise.
23743 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23744 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23745 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23746 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23747 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23748 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23749 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23750 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23751 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23752 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23753 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23755 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23756 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23757 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23758 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23759 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23760 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23761 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23762 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23765 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23766 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23768 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23769 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23770 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23772 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23773 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23774 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23775 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23776 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23777 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23778 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23779 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23780 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23781 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23782 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23783 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23784 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23785 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23786 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23787 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23788 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23789 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23790 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23791 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23792 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23793 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23794 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23795 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23796 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23797 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23798 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23799 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23800 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23801 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23802 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23803 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23804 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23805 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23806 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23807 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23808 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23809 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23810 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23811 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23812 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23813 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23815 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23816 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23817 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23818 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23819 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23820 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23821 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23822 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23823 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23824 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23826 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23828 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23829 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23830 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23831 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23832 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23833 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23834 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23835 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23836 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23837 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23838 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23839 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23840 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23841 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23843 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23844 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23845 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23846 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23847 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23848 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23849 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23850 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23851 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23852 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23853 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23854 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23855 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23856 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23857 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23858 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23859 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23860 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23861 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23862 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23863 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23864 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23865 (__isnanf): Likewise.
23866 (__isinf_ns): Likewise.
23867 (__isinf_nsf): Likewise.
23868 (__finite): Likewise.
23869 (__finitef): Likewise.
23870 (__ieee754_sqrt): Define as macro.
23871 (__ieee754_sqrtf): Define as macro.
23872 (__ieee754_sqrtl): Define as macro.
23873 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23875 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23876 __FINITE_MATH_ONLY__ consistent.
23877 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23879 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23881 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23884 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23886 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23888 * po/ja.po: Update from translation team.
23890 2011-10-08 Roland McGrath <roland@hack.frob.com>
23892 * locale/programs/locarchive.c (prepare_address_space): New function.
23893 (create_archive, enlarge_archive, open_archive): Use it.
23895 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23896 inside [SHARED], where it is used.
23898 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23900 * nss/getent.c (netgroup_keys): Remove unused variable.
23901 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23903 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23905 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23906 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23908 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23909 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23910 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23911 * math/Makefile (libm-calls): Add s_isinf_ns.
23912 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23913 * math/multc3.c: Likewise.
23914 * math/s_casin.c: Likewise.
23915 * math/s_casinf.c: Likewise.
23916 * math/s_casinl.c: Likewise.
23917 * math/s_ccos.c: Likewise.
23918 * math/s_ccosf.c: Likewise.
23919 * math/s_ccosl.c: Likewise.
23920 * math/s_ctan.c: Likewise.
23921 * math/s_ctanf.c: Likewise.
23922 * math/s_ctanh.c: Likewise.
23923 * math/s_ctanhf.c: Likewise.
23924 * math/s_ctanhl.c: Likewise.
23925 * math/s_ctanl.c: Likewise.
23926 * math/w_fmod.c: Likewise.
23927 * math/w_fmodf.c: Likewise.
23928 * math/w_fmodl.c: Likewise.
23929 * math/w_remainder.c: Likewise.
23930 * math/w_remainderf.c: Likewise.
23931 * math/w_remainderl.c: Likewise.
23932 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23933 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23934 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23936 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23937 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23938 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23939 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23941 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23943 * stdio-common/printf_fphex.c: Likewise.
23944 * stdio-common/printf_size.c: Likewise.
23946 * math/e_exp10.c: Include math_private.h using <...> not "...".
23947 * math/e_exp10f.c: Likewise.
23948 * math/e_exp10l.c: Likewise.
23949 * math/e_exp2l.c: Likewise.
23950 * math/e_j0l.c: Likewise.
23951 * math/e_j1l.c: Likewise.
23952 * math/e_jnl.c: Likewise.
23953 * math/e_lgammal_r.c: Likewise.
23954 * math/e_rem_pio2l.c: Likewise.
23955 * math/e_scalb.c: Likewise.
23956 * math/e_scalbf.c: Likewise.
23957 * math/e_scalbl.c: Likewise.
23958 * math/k_cosl.c: Likewise.
23959 * math/k_sinl.c: Likewise.
23960 * math/k_tanl.c: Likewise.
23961 * math/s_cacoshf.c: Likewise.
23962 * math/s_catan.c: Likewise.
23963 * math/s_catanf.c: Likewise.
23964 * math/s_catanh.c: Likewise.
23965 * math/s_catanhf.c: Likewise.
23966 * math/s_catanhl.c: Likewise.
23967 * math/s_catanl.c: Likewise.
23968 * math/s_ccosh.c: Likewise.
23969 * math/s_ccoshf.c: Likewise.
23970 * math/s_ccoshl.c: Likewise.
23971 * math/s_cexp.c: Likewise.
23972 * math/s_cexpf.c: Likewise.
23973 * math/s_cexpl.c: Likewise.
23974 * math/s_clog.c: Likewise.
23975 * math/s_clog10.c: Likewise.
23976 * math/s_clog10f.c: Likewise.
23977 * math/s_clog10l.c: Likewise.
23978 * math/s_clogf.c: Likewise.
23979 * math/s_clogl.c: Likewise.
23980 * math/s_csin.c: Likewise.
23981 * math/s_csinf.c: Likewise.
23982 * math/s_csinh.c: Likewise.
23983 * math/s_csinhf.c: Likewise.
23984 * math/s_csinhl.c: Likewise.
23985 * math/s_csinl.c: Likewise.
23986 * math/s_csqrt.c: Likewise.
23987 * math/s_csqrtf.c: Likewise.
23988 * math/s_csqrtl.c: Likewise.
23989 * math/s_ctan.c: Likewise.
23990 * math/s_ctanf.c: Likewise.
23991 * math/s_ctanh.c: Likewise.
23992 * math/s_ctanhf.c: Likewise.
23993 * math/s_ctanhl.c: Likewise.
23994 * math/s_ctanl.c: Likewise.
23995 * math/s_ldexp.c: Likewise.
23996 * math/s_ldexpf.c: Likewise.
23997 * math/s_ldexpl.c: Likewise.
23998 * math/s_significand.c: Likewise.
23999 * math/s_significandf.c: Likewise.
24000 * math/s_significandl.c: Likewise.
24001 * math/w_acos.c: Likewise.
24002 * math/w_acosf.c: Likewise.
24003 * math/w_acosh.c: Likewise.
24004 * math/w_acoshf.c: Likewise.
24005 * math/w_acoshl.c: Likewise.
24006 * math/w_acosl.c: Likewise.
24007 * math/w_asin.c: Likewise.
24008 * math/w_asinf.c: Likewise.
24009 * math/w_asinl.c: Likewise.
24010 * math/w_atan2.c: Likewise.
24011 * math/w_atan2f.c: Likewise.
24012 * math/w_atan2l.c: Likewise.
24013 * math/w_atanh.c: Likewise.
24014 * math/w_atanhf.c: Likewise.
24015 * math/w_atanhl.c: Likewise.
24016 * math/w_cosh.c: Likewise.
24017 * math/w_coshf.c: Likewise.
24018 * math/w_coshl.c: Likewise.
24019 * math/w_dremf.c: Likewise.
24020 * math/w_exp10.c: Likewise.
24021 * math/w_exp10f.c: Likewise.
24022 * math/w_exp10l.c: Likewise.
24023 * math/w_exp2.c: Likewise.
24024 * math/w_exp2f.c: Likewise.
24025 * math/w_fmod.c: Likewise.
24026 * math/w_fmodf.c: Likewise.
24027 * math/w_fmodl.c: Likewise.
24028 * math/w_hypot.c: Likewise.
24029 * math/w_hypotf.c: Likewise.
24030 * math/w_hypotl.c: Likewise.
24031 * math/w_j0.c: Likewise.
24032 * math/w_j0f.c: Likewise.
24033 * math/w_j0l.c: Likewise.
24034 * math/w_j1.c: Likewise.
24035 * math/w_j1f.c: Likewise.
24036 * math/w_j1l.c: Likewise.
24037 * math/w_jn.c: Likewise.
24038 * math/w_jnf.c: Likewise.
24039 * math/w_jnl.c: Likewise.
24040 * math/w_lgamma.c: Likewise.
24041 * math/w_lgamma_r.c: Likewise.
24042 * math/w_lgammaf.c: Likewise.
24043 * math/w_lgammaf_r.c: Likewise.
24044 * math/w_lgammal.c: Likewise.
24045 * math/w_lgammal_r.c: Likewise.
24046 * math/w_log.c: Likewise.
24047 * math/w_log10.c: Likewise.
24048 * math/w_log10f.c: Likewise.
24049 * math/w_log10l.c: Likewise.
24050 * math/w_log2.c: Likewise.
24051 * math/w_log2f.c: Likewise.
24052 * math/w_log2l.c: Likewise.
24053 * math/w_logf.c: Likewise.
24054 * math/w_logl.c: Likewise.
24055 * math/w_pow.c: Likewise.
24056 * math/w_powf.c: Likewise.
24057 * math/w_powl.c: Likewise.
24058 * math/w_remainder.c: Likewise.
24059 * math/w_remainderf.c: Likewise.
24060 * math/w_remainderl.c: Likewise.
24061 * math/w_scalb.c: Likewise.
24062 * math/w_scalbf.c: Likewise.
24063 * math/w_scalbl.c: Likewise.
24064 * math/w_sinh.c: Likewise.
24065 * math/w_sinhf.c: Likewise.
24066 * math/w_sinhl.c: Likewise.
24067 * math/w_sqrt.c: Likewise.
24068 * math/w_sqrtf.c: Likewise.
24069 * math/w_sqrtl.c: Likewise.
24070 * math/w_tgamma.c: Likewise.
24071 * math/w_tgammaf.c: Likewise.
24072 * math/w_tgammal.c: Likewise.
24074 * po/ja.po: Update from translation team.
24076 2011-09-29 Andreas Jaeger <aj@suse.de>
24079 * sunrpc/netname.c (netname2host): Fix logic.
24083 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24085 * math/w_remainder.c (__remainder): Likewise.
24086 * math/w_remainderf.c (__remainderf): Likewise.
24087 * math/libm-test.inc (remainder_test): Add test cases.
24089 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24091 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24094 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24096 * string/test-memcmp.c: Avoid unncessary #defines.
24097 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24099 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24101 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24102 Use new sse2 version for core i3 - i7 as it's faster
24103 than sse42 version.
24104 (bit_Prefer_PMINUB_for_stringop): New.
24105 * sysdeps/x86_64/rawmemchr.S: Update.
24106 Replace with faster SSE2 version.
24107 * sysdeps/x86_64/memrchr.S: New file.
24108 * sysdeps/x86_64/memchr.S: Update.
24109 Replace with faster SSE2 version.
24111 2011-09-12 Marek Polacek <mpolacek@redhat.com>
24113 * elf/dl-load.c (lose): Add cast to avoid warning.
24115 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24117 * po/ca.po: Update from translation team.
24119 * inet/getnetgrent_r.c: Hook up nscd.
24120 * nscd/Makefile (routines): Add nscd_netgroup.
24121 (nscd-modules): Add netgroupcache.
24122 (CFLAGS-netgroupcache.c): Define.
24123 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24124 (cache_search): Add const to second parameter.
24125 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24127 (dbs): Add netgrdb entry.
24128 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24129 (verify_persistent_db): Handle netgrdb.
24130 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24131 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24133 (netgroup_response_header): Define.
24134 (innetgroup_response_header): Define.
24135 (datahead): Add netgroup_response_header and innetgroup_response_header
24137 * nscd/nscd.conf: Add entries for netgroup cache.
24138 * nscd/nscd.h (dbtype): Add netgrdb.
24139 (_PATH_NSCD_NETGROUP_DB): Define.
24140 (netgroup_iov_disabled): Declare.
24141 (xmalloc, xcalloc, xrealloc): Move declarations here.
24142 (cache_search): Adjust prototype.
24143 Add netgroup-related prototypes.
24144 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24145 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24146 (__nscd_innetgr): Declare.
24147 * nscd/selinux.c (perms): Use access_vector_t as element type and
24148 add netgroup-related initializers.
24149 * nscd/netgroupcache.c: New file.
24150 * nscd/nscd_netgroup.c: New file.
24151 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24152 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24153 For four parameters use innetgr.
24154 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24155 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24156 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24157 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24159 * nscd/connections.c (register_traced_file): Don't register file
24160 for disabled databases.
24162 2011-10-06 Ulrich Drepper <drepper@gmail.com>
24164 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24166 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24167 from tree and freeing node.
24169 2011-09-25 Jiri Olsa <jolsa@redhat.com>
24171 * nss/nsswitch.c (__nss_database_lookup): Handle
24172 nss_parse_service_list out of memory case.
24174 2011-09-15 Jiri Olsa <jolsa@redhat.com>
24176 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24177 out of memory case.
24179 2011-10-04 Andreas Schwab <schwab@redhat.com>
24181 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24182 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24184 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24185 elf_machine_rela, elf_machine_lazy_rel.
24186 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24187 (ELF_DYNAMIC_DO_REL): Likewise.
24188 (ELF_DYNAMIC_DO_RELA): Likewise.
24189 (ELF_DYNAMIC_RELOCATE): Likewise.
24190 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24191 to ELF_DYNAMIC_DO_REL.
24192 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24193 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24194 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24196 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24197 skip_ifunc, don't call ifunc function if non-zero.
24198 (elf_machine_rela): Likewise.
24199 (elf_machine_lazy_rel): Likewise.
24200 (elf_machine_lazy_rela): Likewise.
24201 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24202 (elf_machine_lazy_rel): Likewise.
24203 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24205 (elf_machine_lazy_rel): Likewise.
24206 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24208 (elf_machine_lazy_rel): Likewise.
24209 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24210 (elf_machine_lazy_rel): Likewise.
24211 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24212 (elf_machine_lazy_rel): Likewise.
24213 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24214 (elf_machine_lazy_rel): Likewise.
24215 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24216 (elf_machine_lazy_rel): Likewise.
24217 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24218 (elf_machine_lazy_rel): Likewise.
24219 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24220 (elf_machine_lazy_rel): Likewise.
24222 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24224 * nss/nss_files/files-init.c (_nss_files_init): Use static
24225 initialization for all the *_traced_file variables.
24227 2011-09-28 Andreas Schwab <schwab@redhat.com>
24229 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24231 2011-09-27 Roland McGrath <roland@hack.frob.com>
24234 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24236 2011-09-27 Andreas Schwab <schwab@redhat.com>
24238 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24239 Reread the line before reparsing it.
24241 2011-09-26 Andreas Schwab <schwab@redhat.com>
24243 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24245 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24246 Maxim Kuvyrkov <maxim@codesourcery.com>
24247 Joseph Myers <joseph@codesourcery.com>
24249 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24250 if needed for __stack_chk_guard.
24252 2011-09-19 Roland McGrath <roland@hack.frob.com>
24254 * sysdeps/posix/spawni.c (script_execute): Always define it.
24255 It will be optimized away if unused.
24256 (maybe_script_execute): New function.
24257 (__spawni): Call it.
24259 * Makerules: Don't include tls.make.
24260 (config-tls): Always set to thread.
24261 * tls.make.c: File removed.
24263 2011-09-19 Mike Frysinger <vapier@gentoo.org>
24265 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24266 * config.make.in (CPPFLAGS-config): New substituted variable.
24268 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24270 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24273 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24274 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24276 2011-09-15 Roland McGrath <roland@hack.frob.com>
24278 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24279 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24280 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24281 (CALL_FAIL): Likewise.
24282 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24283 (CALL_FAIL): Macro removed.
24284 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24286 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24288 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24289 for __FINITE_MATH_ONLY__ == 1.
24291 2011-09-15 Andreas Schwab <schwab@redhat.com>
24293 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24294 __ieee754_sqrt instead of sqrt.
24295 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24296 __ieee754_sqrtf instead of sqrtf.
24297 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24298 __floorf instead of floorf.
24299 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24300 __floorf, __truncf instead of floorf, truncf.
24302 2011-09-14 Ulrich Drepper <drepper@gmail.com>
24304 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24306 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24307 __extern_always_inline.
24308 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24311 2011-09-14 Andreas Schwab <schwab@redhat.com>
24313 * elf/rtld.c (dl_main): Also relocate in dependency order when
24314 doing symbol dependency testing.
24316 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24318 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24319 Always define `refsym'.
24321 2011-09-13 Andreas Schwab <schwab@redhat.com>
24323 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24324 (__FD_ELT): Renamed from __FDELT.
24325 * misc/bits/select2.h (__FD_ELT): Likewise.
24326 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24327 __FD_MASK instead of __FDELT, __FDMASK.
24328 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24330 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24333 * elf/Makefile (gen-ldd): Fix pattern.
24335 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24336 (init_tls): Likewise.
24338 2011-09-12 Ulrich Drepper <drepper@gmail.com>
24340 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24342 2011-09-12 Andreas Schwab <schwab@redhat.com>
24344 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24345 `struct cmsghdr *' instead of `void *'.
24346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24349 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24351 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24353 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24354 ldd_rewrite_script.
24356 2011-09-11 Ulrich Drepper <drepper@gmail.com>
24358 * configure.in: Remove --with-tls option.
24359 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24360 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24361 out in case it is missing.
24362 * sysdeps/ia64/elf/configure.in: Likewise.
24363 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24364 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24365 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24366 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24367 * sysdeps/sh/elf/configure.in: Likewise.
24368 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24369 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24370 * sysdeps/x86_64/elf/configure.in: Likewise.
24371 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24372 * sysdeps/mach/hurd/tls.h: Likewise.
24375 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24378 * configure.in: Fix use of AC_INIT.
24380 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24382 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24384 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24386 * malloc/hooks.c: Likewise.
24389 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24390 variables statically.
24391 (narenas): Initialize.
24392 (list_lock): Initialize.
24393 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24394 initializtion of main_arena and list_lock. Small cleanups.
24395 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24396 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24397 Add initializers to main_arena and mp_.
24398 (malloc_state): Remove pagesize member. Change all users to use
24401 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24402 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24403 is always initialized.
24405 * malloc/malloc.c: Removed unused configurations and dead code.
24406 * malloc/arena.c: Likewise.
24407 * malloc/hooks.c: Likewise.
24408 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24410 * include/tls.h: Removed. USE___THREAD must always be defined.
24411 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24412 * elf/dl-libc.c: Likewise.
24413 * elf/dl-tsd.c: Likewise.
24414 * include/errno.h: Likewise.
24415 * include/netdb.h: Likewise.
24416 * include/resolv.h: Likewise.
24417 * inet/herrno-loc.c: Likewise.
24418 * inet/herrno.c: Likewise.
24419 * malloc/arena.c: Likewise.
24420 * malloc/hooks.c: Likewise.
24421 * malloc/malloc.c: Likewise.
24422 * resolv/res-state.c: Likewise.
24423 * resolv/res_libc.c: Likewise.
24424 * sysdeps/i386/dl-machine.h: Likewise.
24425 * sysdeps/ia64/dl-machine.h: Likewise.
24426 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24427 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24428 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24429 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24430 * sysdeps/sh/dl-machine.h: Likewise.
24431 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24432 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24433 * sysdeps/unix/i386/sysdep.S: Likewise.
24434 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24435 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24436 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24437 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24438 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24439 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24440 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24444 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24445 * sysdeps/x86_64/dl-machine.h: Likewise.
24446 * tls.make.c: Likewise.
24448 * configure.in: Remove --with-__thread option. Make tests for
24449 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24450 tls_model attribute fail if no support is available. Remove
24452 * Makeconfig: Adjust for dropped configure option. All features are
24454 * Makerules: Likewise.
24455 * Versions.def: Likewise.
24456 * argp/argp-fmtstream.c: Likewise.
24457 * argp/argp-fmtstream.h: Likewise.
24458 * argp/argp-help.c: Likewise.
24459 * assert/assert.c: Likewise.
24460 * config.h.in: Likewise.
24461 * config.make.in: Likewise.
24462 * configure: Likewise.
24463 * configure.in: Likewise.
24464 * csu/Versions: Likewise.
24465 * csu/init.c: Likewise.
24466 * elf/tst-audit2.c: Likewise.
24467 * elf/tst-tls10.c: Likewise.
24468 * elf/tst-tls10.h: Likewise.
24469 * elf/tst-tls11.c: Likewise.
24470 * elf/tst-tls12.c: Likewise.
24471 * elf/tst-tls14.c: Likewise.
24472 * elf/tst-tlsmod11.c: Likewise.
24473 * elf/tst-tlsmod12.c: Likewise.
24474 * elf/tst-tlsmod13.c: Likewise.
24475 * elf/tst-tlsmod13a.c: Likewise.
24476 * elf/tst-tlsmod14a.c: Likewise.
24477 * elf/tst-tlsmod15b.c: Likewise.
24478 * elf/tst-tlsmod16a.c: Likewise.
24479 * elf/tst-tlsmod16b.c: Likewise.
24480 * elf/tst-tlsmod7.c: Likewise.
24481 * elf/tst-tlsmod8.c: Likewise.
24482 * elf/tst-tlsmod9.c: Likewise.
24483 * gmon/gmon.c: Likewise.
24484 * grp/fgetgrent_r.c: Likewise.
24485 * grp/putgrent.c: Likewise.
24486 * hurd/fopenport.c: Likewise.
24487 * include/libc-symbols.h: Likewise.
24488 * include/tls.h: Likewise.
24489 * intl/gettextP.h: Likewise.
24490 * intl/loadinfo.h: Likewise.
24491 * locale/global-locale.c: Likewise.
24492 * locale/localeinfo.h: Likewise.
24493 * mach/devstream.c: Likewise.
24494 * malloc/arena.c: Likewise.
24495 * malloc/set-freeres.c: Likewise.
24496 * misc/err.c: Likewise.
24497 * misc/getttyent.c: Likewise.
24498 * misc/mntent_r.c: Likewise.
24499 * posix/getopt.c: Likewise.
24500 * posix/wordexp.c: Likewise.
24501 * pwd/fgetpwent_r.c: Likewise.
24502 * resolv/Versions: Likewise.
24503 * resolv/res_hconf.c: Likewise.
24504 * shadow/fgetspent_r.c: Likewise.
24505 * shadow/putspent.c: Likewise.
24506 * stdio-common/printf_fphex.c: Likewise.
24507 * stdio-common/tmpfile.c: Likewise.
24508 * stdlib/abort.c: Likewise.
24509 * stdlib/fmtmsg.c: Likewise.
24510 * sunrpc/auth_unix.c: Likewise.
24511 * sunrpc/clnt_perr.c: Likewise.
24512 * sunrpc/clnt_tcp.c: Likewise.
24513 * sunrpc/clnt_udp.c: Likewise.
24514 * sunrpc/clnt_unix.c: Likewise.
24515 * sunrpc/openchild.c: Likewise.
24516 * sunrpc/svc_simple.c: Likewise.
24517 * sunrpc/svc_tcp.c: Likewise.
24518 * sunrpc/svc_udp.c: Likewise.
24519 * sunrpc/svc_unix.c: Likewise.
24520 * sunrpc/xdr.c: Likewise.
24521 * sunrpc/xdr_array.c: Likewise.
24522 * sunrpc/xdr_rec.c: Likewise.
24523 * sunrpc/xdr_ref.c: Likewise.
24524 * sunrpc/xdr_stdio.c: Likewise.
24526 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24528 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24530 2011-07-03 Andreas Jaeger <aj@suse.de>
24532 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24533 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24534 regenerate with gen-libm-tests.pl.
24536 2010-05-12 Petr Baudis <pasky@suse.cz>
24539 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24540 around j0() zero points by switching to j1().
24541 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24542 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24544 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24546 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24548 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24550 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24553 Patch in part by Pavel Roskin <proski@gnu.org>.
24556 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24558 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24559 Free memory block if necessary.
24562 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24563 be NULL. Don't lock in this case.
24565 2011-09-09 Roland McGrath <roland@hack.frob.com>
24567 * elf/elf.h (ELFOSABI_GNU): New macro.
24568 (ELFOSABI_LINUX): Define to that.
24570 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24572 * string/strncat.c (strncat): Undef the symbol in case it has been
24573 defined in bits/string.h.
24575 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24577 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24579 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24582 2011-08-17 Andreas Jaeger <aj@suse.de>
24584 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24586 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24587 Ian Lance Taylor <iant@google.com>
24589 * math/libm-test.inc (lround_test): New testcase.
24590 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24592 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24594 * Makefile: Remove support for automatic cvs check-ins.
24595 * Makerules: Likewise.
24596 * config.make.in: Likewise.
24597 * configure.in: Likewise.
24598 * intl/Makefile: Likewise.
24599 * locale/Makefile: Likewise.
24600 * po/Makefile: Likewise.
24601 * posix/Makefile: Likewise.
24602 * sysdeps/gnu/Makefile: Likewise.
24603 * sysdeps/mach/hurd/Makefile: Likewise.
24604 * sysdeps/sparc/sparc32/Makefile: Likewise.
24607 * posix/Makefile (bug-regex32-ENV): Define.
24608 Patch by John Stanley <jpsinthemix@verizon.net>.
24610 * misc/Makefile (headers): Add bits/select2.h.
24611 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24612 * misc/bits/select2.h: New file.
24613 * include/bits/select2.h: New file.
24614 * debug/Makefile (routines): Add fdelt_chk.
24615 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24616 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24618 * debug/fdelt_chk.c: New file.
24620 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24621 * wcsmbs/test-wmemcmp.c: Likewise.
24622 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24623 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24625 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24627 * string/Makefile (strop-tests): Add memcmp.
24628 * string/test-wmemcmp.c: New file.
24629 * string/test-memcmp.c: Add wmemcmp support.
24631 2011-09-08 Roland McGrath <roland@hack.frob.com>
24634 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24637 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24638 garbage value in a __mach_port_mod_refs call in the cases of the
24639 task-self and thread-self ports.
24641 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24643 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24645 2011-09-08 Andreas Schwab <schwab@redhat.com>
24647 * elf/dl-load.c (lose): Check for non-null L.
24649 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24651 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24653 * elf/dl-libc.c (dlerror_run): Pass back error code from
24657 * elf/dl-load.c (lose): Free l_origin if it is valid.
24659 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24661 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24662 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24663 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24664 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24665 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24666 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24668 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24670 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24671 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24672 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24673 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24674 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24675 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24676 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24677 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24678 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24679 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24681 2011-08-15 Alan Modra <amodra@gmail.com>
24684 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24685 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24686 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24687 ppc_mcount to static-only-routines.
24688 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24690 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24691 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24693 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24695 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24696 for finite and infinity parameters.
24698 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24700 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24701 and add nop instructions for throughput optimization.
24702 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24704 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24706 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24707 aligned copy for power7 with vector-scalar instructions.
24708 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24710 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24712 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24715 2011-09-07 Andreas Schwab <schwab@redhat.com>
24718 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24721 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24723 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24724 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24725 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24726 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24729 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24731 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24732 Forgot to demangle the pointer.
24734 * sysdeps/i386/sysdep.h: Define atom_text_section.
24735 * sysdeps/x86_64/sysdep.h: Likewise.
24736 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24737 section with atom_text_section.
24738 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24739 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24740 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24742 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24744 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24745 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24746 already be defined. Change to take two parameters and don't assign
24747 result to variable. Adjust all users.
24748 Define INTERNAL_GETTIME if not already defined.
24749 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24752 HAVE_CLOCK_GETTIME_VSYSCALL.
24753 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24756 gettimeofday vsyscall, just use time.
24758 2011-09-06 Andreas Schwab <schwab@redhat.com>
24760 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24763 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24765 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24767 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24769 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24770 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24771 syscall if possible.
24773 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24775 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24776 e_ident. Don't pass to find_mapsXX.
24777 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24779 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24782 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24783 * sysdeps/x86_64/multiarch/strchr.S: Update.
24784 Check bit_slow_BSF bit.
24785 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24786 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24787 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24789 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24792 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24794 (tryshell): Define.
24795 (__spawni): Change last parameter to be flag. Test
24796 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24797 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24798 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24799 * posix/spawni.c: Likewise.
24800 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24801 * posix/spawnp.c: Likewise. Change normal version to use
24802 SPAWN_XFLAGS_USE_PATH.
24803 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24804 SPAWN_XFLAGS_TRY_SHELL.
24807 * posix/glob.h: Remove gcc 1.x support.
24810 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24812 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24814 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24815 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24817 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24818 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24819 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24820 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24821 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24822 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24824 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24826 * sysdeps/x86_64/wcscmp.S: New file.
24828 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24829 wcscmp-c wcscmp-sse2
24830 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24831 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24832 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24833 * wcsmbs/wcscmp.c: Allow renaming.
24835 2011-09-05 David S. Miller <davem@davemloft.net>
24837 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24838 stack slot, rather than the struct return pointer slot.
24839 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24840 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24842 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24844 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24846 * po/ja.po: Update from translation team.
24849 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24850 kernel in 64-bit binaries.
24852 2011-09-01 David S. Miller <davem@davemloft.net>
24854 * elf/elf.h (HWCAP_SPARC_*): Move to..
24855 * sysdeps/sparc/sysdep.h: this new file and add new values.
24856 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24857 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24858 _DL_HWCAP_COUNT to 24.
24859 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24861 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24862 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24863 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24865 instead of magic constants.
24866 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24868 2011-08-31 David S. Miller <davem@davemloft.net>
24870 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24871 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24872 Reimplement to do errno handling inline.
24873 (SYSCALL_ERROR_HANDLER): New macro.
24874 (__SYSCALL_STRING): Do not do errno handling in asm.
24875 (__CLONE_SYSCALL_STRING): Delete.
24876 (__INTERNAL_SYSCALL_STRING): Delete.
24877 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24878 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24879 (PSEUDO): Reimplement to do errno handling inline.
24880 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24881 (SYSCALL_ERROR_HANDLER): New macro.
24882 (__SYSCALL_STRING): Do not do errno handling in asm.
24883 (__CLONE_SYSCALL_STRING): Delete.
24884 (__INTERNAL_SYSCALL_STRING): Delete.
24885 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24886 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24888 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24889 (inline_syscall*): Add 'err' argument.
24890 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24891 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24892 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24893 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24895 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24896 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24898 2011-08-30 Andreas Schwab <schwab@redhat.com>
24900 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24902 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24904 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24907 2011-08-24 David S. Miller <davem@davemloft.net>
24909 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24911 2011-08-24 Andreas Schwab <schwab@redhat.com>
24913 * elf/Makefile: Add rules to build and run unload8 test.
24914 * elf/unload8.c: New file.
24915 * elf/unload8mod1.c: New file.
24916 * elf/unload8mod1x.c: New file.
24917 * elf/unload8mod2.c: New file.
24918 * elf/unload8mod3.c: New file.
24920 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24923 2011-08-23 David S. Miller <davem@davemloft.net>
24925 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24926 subtract stack bias.
24927 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24928 %sp not %fp in calculations.
24929 (_JMPBUF_UNWINDS_ADJ): Likewise.
24931 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24932 (aio_suspend): Call it to force an exception region around the
24933 AIO_MISC_WAIT() invocation.
24935 2011-08-23 Andreas Schwab <schwab@redhat.com>
24937 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24940 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24942 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24944 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24945 and <dl-machine.h>.
24946 (Elf64_FuncDesc): Remove.
24948 2011-08-22 David S. Miller <davem@davemloft.net>
24950 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24951 sigaltstack check, add missing cfi directives.
24952 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24953 missing cfi directives, and sigaltstack handling.
24955 2011-08-16 Andreas Schwab <schwab@redhat.com>
24958 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24959 object is seen twice.
24960 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24962 * elf/Makefile (distribute): Add tst-initorder2.c.
24963 (tests): Add tst-initorder2.
24964 (modules-names): Add tst-initorder2a tst-initorder2b
24965 tst-initorder2c tst-initorder2d. Add rules to build them.
24966 ($(objpfx)tst-initorder2.out): New rule.
24967 * elf/tst-initorder2.c: New file.
24968 * elf/tst-initorder2.exp: New file.
24970 2011-08-22 Andreas Schwab <schwab@redhat.com>
24972 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24974 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24975 dependencies back to end of function.
24977 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24978 $(elfobjdir)/ld.so.
24980 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24982 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24983 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24984 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24985 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24986 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24987 of __vdso_gettimeofday.
24988 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24989 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24991 (_libc_vdso_platform_setup): Remove initialization of
24992 __vdso_gettimeofday and __vdso_time.
24994 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24996 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24997 and fgetc_unlocked.
24998 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25001 * elf/dl-open.c (add_to_global): Report additions to the global scope
25002 for LD_DEBUG=scopes.
25003 (dl_open_worker): Also print scope of newly loaded dependencies.
25004 (_dl_show_scope): Indicate if there is no scope.
25007 * stdio-common/Makefile (tests): Add bug24.
25008 * stdio-common/bug24.c: New file.
25010 2011-08-19 Andreas Jaeger <aj@suse.de>
25013 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25014 non-existant file when using close-on-exec mode.
25016 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25018 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25019 the very first instruction.
25021 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25022 the CFI state in the end.
25023 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25024 inclusion of dl-trampoline.h.
25025 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25027 2011-08-19 Andreas Schwab <schwab@redhat.com>
25029 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25030 expectations for long double.
25032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25033 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25035 2011-08-14 David S. Miller <davem@davemloft.net>
25037 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25038 artificual limit depends upon the system page size.
25040 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25042 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25043 * resolv/Makefile: Define CFLAGS-libresolv.
25045 2011-08-17 Andreas Schwab <schwab@redhat.com>
25047 * nss/makedb.c (compute_tables): Make variables used in nested
25050 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25052 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25053 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25054 if buffer was too small.
25056 * elf/pldd.c (main): Attach to all threads in the process.
25057 Rewrite /proc handling to use *at functions.
25059 2011-08-16 Ulrich Drepper <drepper@gmail.com>
25061 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25062 specifies first scope to show.
25063 (dl_open_worker): Update callers. Move printing scope of new
25064 object to before the relocation.
25065 * elf/rtld.c (dl_main): Update _dl_show_scope call.
25066 * sysdeps/generic/ldsodefs.h: Update declaration.
25068 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25069 string for the scope number.
25071 2011-08-14 Ulrich Drepper <drepper@gmail.com>
25073 * nscd/servicescache.c (cache_addserv): Make sure written is always
25076 2011-08-14 Roland McGrath <roland@hack.frob.com>
25078 * sysdeps/i386/i486/bits/atomic.h
25079 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25080 statement expression, so as to suppress "set but not used" warning.
25081 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25083 * string/strncat.c (STRNCAT): Use prototype definition.
25085 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25086 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25088 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25089 (localedef-modules): Add localedef.
25090 (locale-modules): Add locale.
25092 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25093 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25094 to avoid a warning.
25096 2011-08-14 David S. Miller <davem@davemloft.net>
25098 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25099 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25101 2011-08-13 Ulrich Drepper <drepper@gmail.com>
25103 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25104 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25105 * elf/rtld.c (dl_main): Set l_name of vDSO.
25106 Call _dl_show_scope when DL_DEBUG_SCOPES.
25107 (process_dl_debug): Recognize scopes flag and also set it for all.
25108 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25109 Declare _dl_show_scope.
25111 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25112 (do_dlopen): Pass caller_dlopen to dl_open.
25113 (__libc_dlopen_mode): Initialize caller_dlopen.
25115 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25116 of libc. Make tolower call locale-independent. Optimize a bit by
25117 using isdigit instead of isalnum.
25118 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25120 2011-08-12 Ulrich Drepper <drepper@gmail.com>
25122 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25123 was a dependency or dynamically loaded.
25125 2011-08-11 Ulrich Drepper <drepper@gmail.com>
25127 * intl/l10nflist.c: Allow architecture-specific pop function.
25128 * sysdeps/x86_64/l10nflist.c: New file.
25130 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25133 2011-08-10 Andreas Schwab <schwab@redhat.com>
25135 * include/dirent.h: Add libc_hidden_proto for scandirat and
25136 scandirat64. Don't declare __scandirat64.
25137 * dirent/scandirat.c: Add libc_hidden_def.
25138 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25139 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25141 2011-08-10 David S. Miller <davem@davemloft.net>
25143 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25145 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25146 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25147 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25149 2011-08-09 Ulrich Drepper <drepper@gmail.com>
25151 * Versions.def [libc]: Add GLIBC_2.15.
25152 * dirent/Makefile (routines): Add scandirat and scandirat64.
25153 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25155 * dirent/dirent.h: Declare scandirat and scandirat64.
25156 * dirent/scandirat.c: New file.
25157 * dirent/scandirat64.c: New file.
25158 * sysdeps/wordsize-64/scandirat.c: New file.
25159 * sysdeps/wordsize-64/scandirat64.c: New file.
25160 * dirent/opendir.c: Define opendirat.
25161 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25163 * dirent/scandir64.c: Adjust for scandir.c change.
25164 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25165 __scandirat64, and __scandir_cancel_handler.
25166 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25167 additional parameter and use openat instead of open (outside of ld.so).
25168 Add new __opendir as wrapper around __opendirat.
25169 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25170 here without requiring old scandirat implementation.
25172 2011-08-08 Ulrich Drepper <drepper@gmail.com>
25174 * dirent/scandir.c (cancel_handler): Renamed to
25175 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25176 defined. Adjust users.
25177 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25178 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25180 2011-08-04 Ulrich Drepper <drepper@gmail.com>
25182 * string/test-string.h (IMPL): Use __STRING to expand name and then
25185 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25188 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25190 * string/Makefile: Update.
25191 (strop-tests): Append strncat.
25192 * string/test-wcscmp.c: New file.
25193 New comprehensive test for wcscmp.
25194 * string/test-strcmp.c: Update.
25195 (WIDE): New define.
25197 2011-07-22 Andreas Schwab <schwab@redhat.com>
25199 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25202 2011-07-26 Andreas Schwab <schwab@redhat.com>
25204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25205 encoding to ACE if AI_IDN.
25207 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25209 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25210 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25212 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25214 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25215 Fix overflow bug in strncat.
25216 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25218 * string/test-strncat.c: Update.
25219 Add new tests for checking overflow bugs.
25221 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25224 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25225 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25226 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25227 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25228 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25229 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25230 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25231 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25234 (USE_AS_STRCAT): Define.
25235 Add strcat and strncat support.
25236 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25238 2011-07-25 Andreas Schwab <schwab@redhat.com>
25240 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25241 __n bigger than INT_MAX+1.
25242 (__strncmp_g): Likewise.
25244 2011-07-23 Ulrich Drepper <drepper@gmail.com>
25246 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25247 * libio/stido.h: Likewise.
25249 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25254 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25255 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25256 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25257 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25258 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25261 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25264 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25266 (_dl_x86_64_save_sse): Likewise.
25268 2011-07-22 Ulrich Drepper <drepper@gmail.com>
25270 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25272 (_dl_x86_64_save_sse): Likewise.
25274 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25276 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25278 2011-07-21 Andreas Schwab <schwab@redhat.com>
25280 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25282 (_dl_x86_64_save_sse): Use correct AVX check.
25284 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25286 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25287 bug in strncpy/strncat.
25288 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25290 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25292 * string/tester.c (test_strcat): Add tests for different alignments
25293 of source and destination.
25294 (test_strncat): Likewise.
25296 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25299 * posix/glob.c (glob): Check passed in values before using them in
25300 expressions to avoid some overflows.
25301 (glob_in_dir): Likewise.
25304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25305 check for AVX enablement so that we don't crash with old kernels and
25307 * elf/tst-audit4.c: Add same checks here.
25308 * elf/tst-audit6.c: Likewise.
25310 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25312 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25314 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25316 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25318 * po/cs.po: Update from translation team.
25319 * po/bg.po: Likewise.
25321 2011-07-12 Marek Polacek <mpolacek@redhat.com>
25323 * misc/sys/cdefs.h: Add support for const attribute.
25324 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25325 to gnu_dev_{major,minor,makedev} functions.
25327 2011-07-20 Marek Polacek <mpolacek@redhat.com>
25329 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25331 2011-07-20 Andreas Schwab <schwab@redhat.com>
25333 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25336 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25338 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25339 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25340 register in order to avoid conflicts with the soft frame pointer
25341 being held in r11 when necessary.
25342 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25343 (INTERNAL_VSYSCALL_NCS): Likewise.
25345 2011-07-14 Marek Polacek <mpolacek@redhat.com>
25347 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25348 * elf/dl-fini.c (_dl_fini): Adjust caller.
25349 * elf/dl-close.c (_dl_close_worker): Likewise.
25350 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25352 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25354 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25355 "aux_cache->nlibs < 0".
25357 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25358 in the reload-count case.
25360 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25363 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25364 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25365 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25366 * sysdeps/x86_64/multiarch/strcat.S: New file.
25367 * sysdeps/x86_64/multiarch/strncat.S: New file.
25368 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25369 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25370 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25371 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25372 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25373 (USE_AS_STRCAT): Define.
25374 Add strcat and strncat support.
25375 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25376 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25377 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25378 * string/strncat.c: Update.
25379 (USE_AS_STRNCAT): Define.
25380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25381 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25383 * sysdeps/x86_64/multiarch/init-arch.h
25384 (bit_Prefer_PMINUB_for_stringop): New.
25385 (index_Prefer_PMINUB_for_stringop): Likewise.
25386 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25387 bit_Prefer_PMINUB_for_stringop.
25389 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25391 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25393 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25394 of casting of buffer.
25395 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25396 buffer32 and buffer64.
25397 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25398 writes instead of casting of buffer.
25399 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25401 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25404 2011-07-19 Andreas Schwab <schwab@redhat.com>
25406 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25408 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25410 * nscd/nscd.c (termination_handler): Don't do anything for a database
25411 if it has not yet been initialized.
25413 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25415 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25417 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25419 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25421 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25423 * po/nl.po: Update from translation team.
25424 * po/sv.po: Likewise.
25426 2011-07-16 Roland McGrath <roland@hack.frob.com>
25428 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25429 now disallowed by GCC.
25431 * configure.in (use-default-link): Default to yes if a test -shared
25432 link meets our qualifications.
25433 * configure: Regenerated.
25435 * config.make.in (output-format): New variable.
25436 * configure.in: Check for ld --print-output-format support.
25437 * configure: Regenerated.
25438 * Makerules ($(common-objpfx)format.lds)
25439 [$(output-format) != unknown]: Just use $(output-format),
25440 instead of the linker-script munging.
25442 2011-07-14 Roland McGrath <roland@hack.frob.com>
25444 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25445 of $(common-objpfx)shlib.lds.
25446 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25448 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25449 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25451 * configure.in (-z relro check): Adjust test code to add a large
25452 writable data section after it.
25453 * configure: Regenerated.
25455 2011-07-11 Roland McGrath <roland@hack.frob.com>
25457 * configure.in (-z relro check): Fix test code to make the variable
25459 * configure: Regenerated.
25461 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25463 * nscd/nscd.h (struct traced_file): Define.
25464 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25465 elements. Add traced_files.
25466 (inotify_fd): Declare.
25467 (register_traced_file): Declare.
25468 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25469 (inotify_fd): Export.
25470 (resolv_conf_descr): Remove.
25471 (nscd_init): Move inotify descriptor creation to main.
25472 Don't register files for notification here.
25473 (register_traced_file): New function.
25474 (invalidate_cache): Don't use reset_res to determine whether to call
25475 res_init, go through the list of registered files.
25476 (main_loop_poll): The inotify descriptors are now stored in the
25477 structures for the traced files.
25478 (main_loop_epoll): Likewise
25479 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25480 to __nss_disable_nscd.
25481 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25482 for a database anymore. Check the records for all the registered
25484 * nss/Makefile (libnss_files-routines): Add files-init.
25485 (libnss_db-routines): Add db-init.
25486 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25487 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25488 * nss/nss_db/db-init.c: New file.
25489 * nss/nss_files/files-init.c: New file.
25490 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25491 __nss_lookup_function.
25492 (__nss_lookup_function): Call nss_load_library.
25493 (nss_load_all_libraries): New function.
25494 (__nss_disable_nscd): Take parameter with callback function for files
25495 to register. Set is_nscd. Load all the DSOs for the NSS modules
25496 used for the cached services.
25497 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25498 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25499 options for features to all the files in nscd.
25501 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25503 2011-07-10 Roland McGrath <roland@hack.frob.com>
25505 * csu/elf-init.c (__libc_csu_init): Comment typo.
25507 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25509 * po/pl.po: Update from translation team.
25510 * po/ja.po: Likewise.
25511 * po/ru.po: Likewise.
25512 * po/ko.po: Likewise.
25513 * po/fr.po: Likewise.
25515 2011-07-09 Roland McGrath <roland@hack.frob.com>
25517 * configure.in (.ctors/.dtors header and trailer check):
25518 Use an empirical test on a built program.
25519 * configure: Regenerated.
25521 * configure.in (-z relro check): Use an empirical test on a built DSO.
25522 Detect, but do not require, on ia64.
25523 * configure: Regenerated.
25525 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25526 Update tests that use readelf to use $READELF instead.
25527 * configure: Regenerated.
25529 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25531 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25532 if the result is not used.
25534 2011-07-05 Andreas Jaeger <aj@suse.de>
25537 * stdlib/tst-strtod.c: Add testcase.
25539 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25541 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25542 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25543 The latter has a higher limit. Take additional parameter to pass to
25545 (__pathconf): Pass file to __statfs_link_max.
25546 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25548 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25552 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25553 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25555 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25556 (__statfs_filesize_max): Likewise.
25557 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25559 2011-07-05 Andreas Jaeger <aj@suse.de>
25561 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25563 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25565 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25567 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25570 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25572 * Makefile (strop-tests): Add strncat.
25573 * string/test-strncat.c: New file.
25575 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25577 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25579 2011-06-21 Andreas Jaeger <aj@suse.de>
25581 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25582 Copy rule from iconvdata/Makefile.
25584 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25587 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25588 but no long options are defined, just return 'W'.
25590 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25593 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25595 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25597 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25599 (innetgr): Likewise.
25601 2011-07-05 Roland McGrath <roland@hack.frob.com>
25603 * config.make.in (install_root): Default to $(DESTDIR).
25605 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25607 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25609 2011-07-02 Roland McGrath <roland@hack.frob.com>
25611 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25613 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25614 containing directory rather than embedding absolute directory names.
25616 * scripts/check-local-headers.sh: Rewritten using awk.
25617 Match by word, not by line. Print error messages for matches.
25618 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25620 * Makerules [shlib-lds-flags empty]:
25621 ($(common-objpfx)libc_pic.opts): New target.
25622 ($(common-objpfx)libc_pic.os.clean): New target.
25623 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25625 * config.make.in (OBJCOPY): New variable.
25626 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25627 * configure: Regenerated.
25629 * config.make.in (use-default-link): New variable.
25630 * configure.in (use_default_link): Grok --with-default-link to set it.
25631 * configure: Regenerated.
25632 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25633 (shlib-lds, shlib-lds-flags): Define to empty.
25635 * Makerules (shlib-lds): New variable.
25636 (shlib-lds-flags): New variable.
25637 (build-shlib, build-moduile, build-module-asneeded): Use it.
25638 ($(common-objpfx)libc.so): Use $(shlib-lds).
25639 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25640 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25642 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25643 DT_FLAGS/DT_FLAGS_1 with zero flags.
25645 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25646 linker script munging.
25648 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25650 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25652 * crypt/sha512.c (sha512_process_block): Perform total addition using
25653 128-bit if possible.
25654 (__sha512_finish_ctx): Likewise.
25655 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25657 * crypt/sha256.c (SWAP64): Define.
25658 (sha256_process_block): Perform total addition using 64-bit if
25660 (__sha256_finish_ctx): Likewise.
25662 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25664 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25665 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25666 * nscd/hstcache.c (cache_addhst): Likewise.
25667 * nscd/grpcache.c (cache_addgr): Likewise.
25668 * nscd/aicache.c (addhstaiX): Likewise
25669 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25671 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25673 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25674 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25675 * nscd/hstcache.c (cache_addhst): Likewise.
25676 * nscd/grpcache.c (cache_addgr): Likewise.
25677 * nscd/aicache.c (addhstaiX): Likewise
25679 2011-07-01 Andreas Schwab <schwab@redhat.com>
25681 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25682 domain only when needed.
25684 2011-06-30 Andreas Schwab <schwab@redhat.com>
25686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25687 is always restored.
25689 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25691 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25692 are re-adding the entry.
25693 * nscd/servicescache.c (cache_addserv): Likewise.
25695 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25697 * sysdeps/generic/dl-irel.h: fix protection against multiple
25699 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25701 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25704 * malloc/memusage.sh: Fix quoting in message.
25705 * debug/xtrace.sh: Likewise.
25707 * configure.in: Remove support for --experimental-malloc option, make
25709 * config.make.in: Likewise.
25710 * malloc/Makefile: Likewise.
25712 2011-06-27 Andreas Schwab <schwab@redhat.com>
25714 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25715 two-byte characters.
25717 2011-06-27 Roland McGrath <roland@hack.frob.com>
25719 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25720 AC_CACHE_CHECK invocation.
25721 * configure: Regenerated.
25723 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25725 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25728 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25729 bit from old_res_options.
25731 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25733 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25734 value type for setfct.
25736 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25738 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25739 __gettimeofday instead of gettimeofday.
25741 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25743 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25745 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25747 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25749 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25752 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25755 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25756 strcpy-sse2-unaligned strncpy-sse2-unaligned
25757 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25758 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25759 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25760 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25761 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25762 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25763 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25764 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25765 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25766 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25767 (STRCPY): Support SSE2 and SSSE3 versions.
25769 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25772 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25773 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25774 kernels which artificially limit size of requests.
25776 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25779 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25780 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25781 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25782 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25783 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25784 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25785 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25786 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25787 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25788 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25789 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25790 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25791 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25792 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25794 Enable unaligned load optimization for Intel Core i3, i5 and i7
25796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25798 (index_Fast_Unaligned_Load): Define.
25799 (HAS_FAST_UNALIGNED_LOAD): Define.
25801 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25803 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25805 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25809 until it is clear that the information is realy needed.
25810 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25812 2011-06-22 Andreas Schwab <schwab@redhat.com>
25814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25816 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25818 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25819 /sys/devices/system/cpu/online if it is usable.
25821 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25822 reading the information from the /proc filesystem to once a second.
25824 2011-06-21 Andreas Jaeger <aj@suse.de>
25826 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25827 NULL after inclusion of kernel headers.
25829 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25831 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25832 calls to internal_setent.
25835 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25836 addresses using gethostbyname4_r ignore IPv4 addresses.
25838 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25839 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25841 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25843 2011-06-20 David S. Miller <davem@davemloft.net>
25845 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25847 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25849 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25850 (elf_irel): Use it.
25851 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25852 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25853 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25854 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25855 * sysdeps/x86_64/dl-irel.h: Likewise.
25857 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25858 * elf/dl-sym.c: Likewise.
25860 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25862 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25863 need to dereference resplen2.
25865 2011-06-14 Andreas Schwab <schwab@redhat.com>
25867 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25869 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25871 * Makeconfig: Define vardbdir and inst_vardbdir.
25872 * nss/Makefile: Add rules to install db-Makefile.
25874 * nss/nss_db/db-XXX.c: Cleanup.
25876 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25877 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25879 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25880 * nss/makedb.c: Implement -g option to specify that value strings
25881 are generated and should not be added to table iterated over for
25883 * nss/nss_db/db-initgroups.c: New file.
25885 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25888 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25889 (internal_getgrouplist): Adjust to name change.
25890 Update use_initgroups_entry if this is not the first call.
25891 * nss/databases.def: Add initgroups entry.
25893 * nss/makedb.c (compute_tables): Check result of multiple hash table
25894 sizes to minimize maximum chain length.
25896 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25898 * Versions.def: Add entry for libnss_db.
25899 * shlib-versions: Likewise.
25900 * nss/Makefile: Add rules to build libnss_db.
25901 * nss/Versions: Add libnss_db information. Organize libnss_files
25903 * nss/db-Makefile: Add gshadow support. Change rules for the new
25904 makedb progra. Some minor improvements to generate smaller files.
25905 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25907 * nss/makedb.c: ...here.
25908 Improve database format to be smaller and require less memory at
25910 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25912 * nss/nss_db/db-netgrp.c: Likewise.
25913 * nss/nss_db/db-open.c: Likewise.
25914 * nss/nss_files/flies-XXX.x: Adjust comments.
25915 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25916 * nss/nss_files/files-grp.c: Likewise.
25917 * nss/nss_files/files-hosts.c: Likewise.
25918 * nss/nss_files/files-network.c: Likewise.
25919 * nss/nss_files/files-proto.c: Likewise.
25920 * nss/nss_files/files-pwd.c: Likewise.
25921 * nss/nss_files/files-rpc.c: Likewise.
25922 * nss/nss_files/files-service.c: Likewise.
25923 * nss/nss_files/files-sgrp.c: Likewise.
25924 * nss/nss_files/files-spwd.c: Likewise.
25925 * nss/nss_db/db-alias.c: Removed.
25926 * nss/nss_db/dummy-db.h: Removed.
25928 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25930 * nss/makedb.c: Rewritten to not use database library.
25931 * nss/Makefile: Update to build new makedb program.
25933 2011-06-14 Andreas Jaeger <aj@suse.de>
25935 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25936 memset declaration.
25938 2011-06-10 Andreas Schwab <schwab@redhat.com>
25940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25943 2011-06-10 Roland McGrath <roland@hack.frob.com>
25945 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25946 * elf/Makefile ($(objpfx)ld.so): Likewise.
25948 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25949 Don't list ld.so twice in dependencies.
25951 * posix/bug-regex31.c: Include <stdlib.h>.
25953 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25955 * nis/nss_compat/compat-spwd.c
25956 (getspent_next_nss_netgr): Remove unused variable.
25957 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25959 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25960 nonmembers" output to use the right array.
25962 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25964 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25966 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25967 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25968 * catgets/gencat.c (read_input_file): Likewise.
25969 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25971 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25972 variable definition inside #if's controlling its use.
25974 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25976 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25978 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25980 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25983 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25985 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25986 * configure: Regenerated.
25988 * Makerules: Revert last change.
25989 * elf/Makefile: Likewise.
25991 2011-06-09 Roland McGrath <roland@hack.frob.com>
25993 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25994 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25995 (reloc-link): Likewise.
25997 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25999 * elf/Makefile: Add rules to build pldd.
26000 * elf/pldd.c: New file.
26001 * elf/pldd-xx.c: New file.
26003 2011-06-07 Ulrich Drepper <drepper@gmail.com>
26005 * version.h: Update for 2.15 development version.
26007 2011-06-07 David S. Miller <davem@davemloft.net>
26009 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26012 elf_machine_lazy_rel): Likewise.
26013 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26015 elf_machine_lazy_rel): Likewise.
26016 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26017 dl_hwcap via passed in argument.
26018 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26021 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26023 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26025 2011-06-06 Roland McGrath <roland@hack.frob.com>
26028 * manual/fdl-1.1.texi: New file, verbatim from:
26029 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26030 * manual/lgpl-2.1.texi: New file, verbatim from:
26031 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26032 * manual/Makefile (licenses): New variable, list those new file names.
26034 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26036 * manual/fdl.texi: File removed.
26037 * manual/lesser.texi: File removed.
26038 * manual/libc.texinfo (Copying, Documentation License):
26039 Use new @include file names, put @appendix directive before @include.
26041 2011-06-04 Jakub Jelinek <jakub@redhat.com>
26044 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26045 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26046 (mq_open): Add __NTH.
26048 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26051 Assume Intel Core i3/i5/i7 processor if AVX is available.
26053 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26055 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26058 2011-05-31 Andreas Schwab <schwab@redhat.com>
26060 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26061 memory. Use alloca_account. Fix memory leak when retrying.
26063 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26065 * version.h (RELEASE): Bump for 2.14 release.
26066 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26068 * config.make.in (RANLIB): Remove entry.
26070 2011-05-30 Ulrich Drepper <drepper@gmail.com>
26072 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26073 (libc.pot): Work around missing support for .ksh extension in xgettext.
26076 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26077 if both request failed.
26078 (send_dg): In case of server errors clear resplen or *resplen2.
26081 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26082 when there are multiple maps.
26083 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26084 (_dl_fini): Remove test here.
26086 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26088 2011-05-29 Ulrich Drepper <drepper@gmail.com>
26091 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26092 bit from old_res_options.
26093 (gaih_inet): Likewise.
26096 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26099 * resolv/res_init.c (res_setoptions): Make the code more compact.
26102 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26106 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26108 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26111 * malloc/malloc.h: Declare malloc hook variables as volatile.
26113 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26117 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26118 raise in the comment.
26119 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26121 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26123 2011-05-28 Ulrich Drepper <drepper@gmail.com>
26126 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26127 grow the buffers more if it already has to be sufficient.
26128 (build_wcs_upper_buffer): Likewise.
26129 * posix/regexec.c (check_matching): Likewise.
26130 (clean_state_log_if_needed): Likewise.
26131 (extend_buffers): Don't enlarge buffers beyond size of the input
26133 Patches mostly by Emil Wojak <emil@wojak.eu>.
26134 * posix/bug-regex32.c: New file.
26135 * posix/Makefile (tests): Add bug-regex32.
26137 * locale/findlocale.c (_nl_find_locale): Return right away if
26138 _nl_explode_name failed.
26139 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26141 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26143 * debug/xtrace.sh: Unify messages.
26144 * malloc/memusage.sh: Likewise.
26147 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26148 time symbol from vDSO. Substitute with vsyscall if not available.
26149 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26152 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26153 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26154 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26155 Add sendmmsg and internal_sendmmsg.
26156 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26157 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26158 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26160 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26161 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26162 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26164 2011-05-27 Ulrich Drepper <drepper@gmail.com>
26167 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26168 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26170 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26174 * iconvdata/Makefile (tests): Add bug-iconv9.
26175 * iconvdata/bug-iconv9.c: New file.
26177 2011-05-27 Andreas Schwab <schwab@redhat.com>
26180 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26182 2011-05-25 Jakub Jelinek <jakub@redhat.com>
26184 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26185 (struct user_regs_struct): Change intcs field back to cs.
26187 2011-05-25 Ulrich Drepper <drepper@gmail.com>
26189 * po/ja.po: Update from translation team.
26191 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26194 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26195 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26197 2011-05-20 Andreas Schwab <schwab@redhat.com>
26199 * stdlib/longlong.h: Update from GCC.
26201 2011-05-23 Andreas Schwab <schwab@redhat.com>
26203 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26205 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26206 Add parameter name.
26207 (__sysconf): Pass it down.
26209 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26212 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26214 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26215 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26216 add in in __libc_use_alloca calls. Adjust callers.
26217 (glob): Use malloc in some situations.
26219 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26220 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26223 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26225 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26226 and CLOCK_BOOTTIME_ALARM.
26229 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26232 * string/_strerror.c (__strerror_r): Print negative errors as signed
26236 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26237 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26238 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26240 * configure.in: Fix typo in redirection and correct removal of test
26241 files in two cases.
26244 * locale/setlocale.c (new_composite_name): Fix test to check for
26245 identical name of all categories.
26248 * libio/filedoalloc.c (local_isatty): New function.
26249 (_IO_file_doallocate): Use local_isatty.
26250 * stdio-common/perror.c (perror): In case a new stream is used
26251 forward the stream error.
26252 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26255 2011-05-20 Ulrich Drepper <drepper@gmail.com>
26258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26260 * include/alloca.h (extend_alloca_account): Define.
26263 * posix/regex.h: Fix comments with documentation of user-accessible
26264 fields after compilation and describe correct free'ing of pattern
26265 after re_compile_pattern.
26266 Patch by Reuben Thomas <rrt@sc3d.org>.
26268 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26270 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26271 and -mno-altivec to prevent the compiler from using Altivec and/or
26272 VSX instructions when the corresponding registers are not available.
26274 2011-05-19 Andreas Schwab <schwab@redhat.com>
26276 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26278 2011-05-19 Ulrich Drepper <drepper@gmail.com>
26280 * libio/freopen.c (freopen): Use __dup2, not dup2.
26281 * libio/freopen64.c (freopen64): Likewise.
26283 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26286 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26287 * math/Makefile (tests): Add test-powl.
26288 (CFLAGS-test-powl.c): Define.
26289 * math/test-powl.c: New file.
26291 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26293 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26295 2011-05-17 Ulrich Drepper <drepper@gmail.com>
26298 * iconvdata/gb18030.c: Update to GB18020-2005.
26300 2011-05-16 Ulrich Drepper <drepper@gmail.com>
26302 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26303 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26304 Patch by Aharon Robbins <arnold@skeeve.com>.
26307 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26311 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26312 through underflows.
26315 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26316 point to strings before performing equality test for error_one_per_line
26320 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26323 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26324 (struct user_fpregs_struct): Avoid __uint*_t types.
26327 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26328 symbol info. Use it instead of calling _dl_addr locally.
26329 (lock_and_info): New function.
26330 (tr_freehook): Call lock_and_info and pass symbol info as additional
26331 parameter to tr_where.
26332 (tr_mallochook): Likewise.
26333 (tr_reallochook): Likewise.
26334 (tr_memalignhook): Likewise.
26336 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26337 used and couldn't be at all thread-safe.
26339 2011-05-15 Ulrich Drepper <drepper@gmail.com>
26341 * libio/freopen.c (freopen): Don't close old file descriptor
26342 before the new one is opened. Instead dup the new file descriptor
26343 to the old one after the new stream is created.
26344 * libio/freopen64.c (freopen64): Likewise.
26345 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26346 * libio/fileops.c (_IO_new_file_close_it): Handle new
26347 _IO_FLAGS2_NOCLOSE flag.
26348 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26349 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26350 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26351 _IO_FLAGS2_NOCLOSE flag.
26352 * include/unistd.h: Add hidden_proto for dup3.
26353 Define __have_dup3.
26354 * io/dup3.c: Define hidden symbol.
26355 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26358 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26359 when an incomplete long option is used.
26360 * posix/tst-getopt_long1.c: New file.
26361 * posix/Makefile (tests): Add tst-getopt_long1.
26364 * scripts/config.guess: Update from autoconf-2.68.
26365 * scripts/config.sub: Likewise.
26368 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26370 (has_cpuclock): ...this. New function.
26371 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26372 macro here based on has_cpuclock code.
26375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26376 First byte (not low byte) is now always NUL.
26377 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26379 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26380 Use non-cancelable interfaces.
26383 * locale/iso-639.def: Add entry for Sorani.
26386 * include/stdlib.h: Move include protection to the right place.
26387 Define abort_msg_s. Declare __abort_msg with it.
26388 * stdlib/abort.c (__abort_msg): Adjust type.
26389 * assert/assert.c (__assert_fail_base): New function. Majority
26390 of code from __assert_fail. Allocate memory for __abort_msg with
26392 (__assert_fail): Now call __assert_fail_base.
26393 * assert/assert-perr.c: Remove bulk of implementation. Use
26394 __assert_fail_base.
26395 * include/assert.hL Declare __assert_fail_base.
26396 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26398 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26400 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26404 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26405 until all modules are registered in the DTV.
26406 * elf/Makefile: Add rules to build and run tst-tls19.
26407 * elf/tst-tls19.c: New file.
26408 * elf/tst-tls19mod1.c: New file.
26409 * elf/tst-tls19mod2.c: New file.
26410 * elf/tst-tls19mod3.c: New file.
26411 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26414 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26418 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26419 two-byte sequence errors.
26420 * iconvdata/Makefile (tests): Add bug-iconv8.
26421 * iconvdata/bug-iconv8.c: New file.
26424 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26427 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26430 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26431 (dummy_getcfa): New function.
26432 (init): Get _Unwind_GetCFA address, use dummy if not found.
26433 (backtrace_helper): In recursion check, also check whether CFA changes.
26434 (__backtrace): Completely initialize arg.
26436 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26437 storing incomplete byte sequence in state object. Avoid testing for
26438 guaranteed too small input if we know there is enough data available.
26440 2011-05-11 Andreas Schwab <schwab@redhat.com>
26442 * Makeconfig (+link-pie): Indent.
26443 * Rules (binaries-pie): Define if $(have-fpie) and
26445 (binaries-shared): Also filter out $(binaries-pie).
26446 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26447 * nscd/Makefile (others-pie): Add nscd.
26448 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26449 ($(objpfx)nscd): Remove command override.
26450 * login/Makefile (others-pie): Add pt_chown.
26451 ($(objpfx)pt_chown): Remove command override.
26452 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26453 remove command overrides.
26455 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26457 * libio/tst_putwc.c: Fix error messages.
26460 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26461 currently writing and seek to current position when not.
26462 * libio/Makefile (tests): Add bug-fclose1.
26463 * libio/bug-fclose1.c: New file.
26465 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26468 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26469 don't set DF_1_NODELETE here.
26470 (do_lookup_x): When entering new entry test for copy relocation
26471 and if necessary set DF_1_NODELETE flag.
26472 * elf/tst-unique4.cc: New file.
26473 * elf/tst-unique4.h: New file.
26474 * elf/tst-unique4lib.cc: New file.
26475 * elf/Makefile: Add rules to build and run tst-unique4.
26476 Patch by Piotr Bury <pbury@goahead.com>.
26478 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26481 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26484 * misc/mntent_r.c (addmntent): Flush the stream after the output
26487 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26488 (is_trusted_path_normalize): Skip initial colon. Append slash
26489 to empty buffer. Duplicate is_trusted_path code but allow
26490 constructed patch to be prefix.
26491 (is_dst): Allow $ORIGIN followed by /.
26492 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26493 Correct testing of result of is_trusted_path_normalize
26494 (decompose_rpath): Fix warning.
26496 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26499 * grp/initgroups.c (internal_getgrouplist): When we found the service
26500 list through the initgroups entry in nsswitch.conf do not always
26501 continue on a successful lookup. Don't always use the
26502 __nss_group_database value if it is set.
26503 * nss/nsswitch.conf (initgroups): Change action for successful db
26504 lookup to continue for compatibility.
26506 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26509 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26511 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26513 * iconvdata/tst-tables.sh: Likewise.
26514 * iconvdata/cp770.c: New file.
26515 * iconvdata/cp771.c: New file.
26516 * iconvdata/cp772.c: New file.
26517 * iconvdata/cp773.c: New file.
26518 * iconvdata/cp774.c: New file.
26519 * iconvdata/testdata/CP770: New file.
26520 * iconvdata/testdata/CP770..UTF8: New file.
26521 * iconvdata/testdata/CP771: New file.
26522 * iconvdata/testdata/CP771..UTF8: New file.
26523 * iconvdata/testdata/CP772: New file.
26524 * iconvdata/testdata/CP772..UTF8: New file.
26525 * iconvdata/testdata/CP773: New file.
26526 * iconvdata/testdata/CP773..UTF8: New file.
26527 * iconvdata/testdata/CP774: New file.
26528 * iconvdata/testdata/CP774..UTF8: New file.
26530 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26532 * iconvdata/gen-8bit-gap.sh: Likewise.
26533 * iconvdata/gen-8bit.sh: Likewise.
26535 * locale/iso-639.def: Add ary entry.
26538 * locale/C-translit.h.in: Add U20A1 transliteration.
26541 * locale/iso-639.def: Add wae entry.
26542 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26545 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26549 * locale/C-translit.h.in: Add entry for U20B9.
26550 Patch by pravin.d.s@gmail.com.
26552 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26555 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26556 ENAMETOOLONG use generic getcwd.
26557 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26558 in rtld. Use *stat64.
26559 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26560 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26561 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26562 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26563 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26564 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26565 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26566 __fstatat64 macros.
26567 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26568 * dirent/rewinddir.c: Add libc_hidden_def.
26569 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26570 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26572 * include/dirent.h (__alloc_dir): Add flags parameter.
26573 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26574 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26576 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26577 from fdopendir if O_CLOEXEC is already set.
26579 2011-03-15 Alan Modra <amodra@gmail.com>
26581 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26582 l_tls_firstbyte_offset non-zero. Save padding offset in
26583 l_tls_firstbyte_offset for later use.
26584 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26585 freeing static tls block.
26587 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26589 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26590 where #ifdef was intended. The intent is to prevent ARG_MAX from
26591 being defined by the kernel headers.
26593 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26596 * resolv/resolv.h: Define RES_NOTLDQUERY.
26597 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26598 no-tld-query and set RES_NOTLDQUERY.
26599 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26600 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26601 modern BIND to search name as TLD unless forbidden.
26603 2011-05-07 Petr Baudis <pasky@suse.cz>
26604 Ulrich Drepper <drepper@gmail.com>
26607 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26608 (is_trusted_path): ...to here.
26609 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26610 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26611 using is_trusted_path_normalize() in setuid scripts.
26613 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26615 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26616 __BEGIN/__END_DECLS.
26618 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26620 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26621 NSS_STATUS_NOTFOUND if no record was found.
26623 2011-05-05 Andreas Schwab <schwab@redhat.com>
26625 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26626 (headers-not-in-tirpc): Remove rpc/netdb.h
26627 * resolv/netdb.h: Revert last change.
26629 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26631 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26632 circular dependency between libgcc.a and libc.a.
26634 2011-05-05 Andreas Schwab <schwab@redhat.com>
26636 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26637 * nis/Makefile: Don't install rpcsvc/*.
26638 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26639 instead of <rpc/types.h>.
26640 (MAXHOSTNAMELEN): Define.
26642 2011-05-03 Andreas Schwab <schwab@redhat.com>
26644 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26646 2011-04-28 Maciej Babinski <mbabinski@google.com>
26649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26650 gethostbyname4_r when IPv6 results are possible.
26652 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26655 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26656 _PC_PIPE_BUF handling.
26658 2011-04-30 Bruno Haible <bruno@clisp.org>
26661 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26662 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26664 * inet/getnameinfo.c (getnameinfo): Likewise.
26666 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26668 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26669 to groups setting in database lookup.
26670 * nss/nsswitch.conf: Add initgroups entry.
26672 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26675 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26677 Patch by Eric Blake <eblake@redhat.com>.
26679 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26681 * sunrpc/Makefile (need-export-routines): Add svc_run.
26682 (routines): Remove svc_run.
26683 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26684 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26685 * sunrpc/svc_run.c (svc_run): Likewise.
26686 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26688 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26690 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26691 problem in reallocation in last patch.
26693 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26695 * sunrpc/Makefile: Move inclusion of Rules.
26697 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26699 * nss/nss_files/files-initgroups.c: New file.
26700 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26701 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26702 _nss_files_initgroups_dyn.
26704 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26706 * elf/elf.h (R_ARM_IRELATIVE): Define.
26708 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26710 * po/ru.po: Update from translation team.
26712 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26714 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26717 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26720 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26721 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26722 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26723 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26724 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26726 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26728 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26730 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26732 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26734 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26737 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26739 * stdlib/bug-getcontext.c: New file.
26740 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26742 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26744 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26745 instructions into .machine "z9-109".
26746 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26747 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26749 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26751 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26752 between environment variables and auxiliary vector.
26754 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26756 * Makefile: Add rules to build linkobj/libc.so.
26757 * include/libc-symbols.h: Define libc_hidden_nolink.
26758 * include/rpc/auth.h: Mark functions which are to be hidden.
26759 * include/rpc/auth_des.h: Likewise.
26760 * include/rpc/auth_unix.h: Likewise.
26761 * include/rpc/clnt.h: Likewise.
26762 * include/rpc/des_crypt.h: Likewise.
26763 * include/rpc/key_prot.h: Likewise.
26764 * include/rpc/pmap_clnt.h: Likewise.
26765 * include/rpc/pmap_prot.h: Likewise.
26766 * include/rpc/pmap_rmt.h: Likewise.
26767 * include/rpc/rpc_msg.h: Likewise.
26768 * include/rpc/svc.h: Likewise.
26769 * include/rpc/svc_auth.h: Likewise.
26770 * include/rpc/xdr.h: Likewise.
26771 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26772 * nss/Makefile: Likewise.
26773 * sunrpc/Makefile: Don't install headers. Build library with normal
26774 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26775 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26776 for the compat linking library. Remove use of INTDEF/INTUSE.
26777 * sunrpc/auth_none.c: Likewise.
26778 * sunrpc/auth_unix.c: Likewise.
26779 * sunrpc/authdes_prot.c: Likewise.
26780 * sunrpc/authuxprot.c: Likewise.
26781 * sunrpc/clnt_gen.c: Likewise.
26782 * sunrpc/clnt_perr.c: Likewise.
26783 * sunrpc/clnt_raw.c: Likewise.
26784 * sunrpc/clnt_simp.c: Likewise.
26785 * sunrpc/clnt_tcp.c: Likewise.
26786 * sunrpc/clnt_udp.c: Likewise.
26787 * sunrpc/clnt_unix.c: Likewise.
26788 * sunrpc/des_crypt.c: Likewise.
26789 * sunrpc/des_soft.c: Likewise.
26790 * sunrpc/get_myaddr.c: Likewise.
26791 * sunrpc/key_call.c: Likewise.
26792 * sunrpc/key_prot.c: Likewise.
26793 * sunrpc/netname.c: Likewise.
26794 * sunrpc/pm_getmaps.c: Likewise.
26795 * sunrpc/pm_getport.c: Likewise.
26796 * sunrpc/pmap_clnt.c: Likewise.
26797 * sunrpc/pmap_prot.c: Likewise.
26798 * sunrpc/pmap_prot2.c: Likewise.
26799 * sunrpc/pmap_rmt.c: Likewise.
26800 * sunrpc/publickey.c: Likewise.
26801 * sunrpc/rpc_cmsg.c: Likewise.
26802 * sunrpc/rpc_common.c: Likewise.
26803 * sunrpc/rpc_dtable.c: Likewise.
26804 * sunrpc/rpc_prot.c: Likewise.
26805 * sunrpc/rpc_thread.c: Likewise.
26806 * sunrpc/rtime.c: Likewise.
26807 * sunrpc/svc.c: Likewise.
26808 * sunrpc/svc_auth.c: Likewise.
26809 * sunrpc/svc_authux.c: Likewise.
26810 * sunrpc/svc_raw.c: Likewise.
26811 * sunrpc/svc_run.c: Likewise.
26812 * sunrpc/svc_simple.c: Likewise.
26813 * sunrpc/svc_tcp.c: Likewise.
26814 * sunrpc/svc_udp.c: Likewise.
26815 * sunrpc/svc_unix.c: Likewise.
26816 * sunrpc/svcauth_des.c: Likewise.
26817 * sunrpc/xcrypt.c: Likewise.
26818 * sunrpc/xdr.c: Likewise.
26819 * sunrpc/xdr_array.c: Likewise.
26820 * sunrpc/xdr_float.c: Likewise.
26821 * sunrpc/xdr_intXX_t.c: Likewise.
26822 * sunrpc/xdr_mem.c: Likewise.
26823 * sunrpc/xdr_rec.c: Likewise.
26824 * sunrpc/xdr_ref.c: Likewise.
26825 * sunrpc/xdr_sizeof.c: Likewise.
26826 * sunrpc/xdr_stdio.c: Likewise.
26828 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26831 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26832 * sysdeps/ia64/dl-tls.h: Likewise.
26833 * sysdeps/powerpc/dl-tls.h: Likewise.
26834 * sysdeps/s390/dl-tls.h: Likewise.
26835 * sysdeps/sh/dl-tls.h: Likewise.
26836 * sysdeps/sparc/dl-tls.h: Likewise.
26837 * sysdeps/x86_64/dl-tls.h: Likewise.
26838 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26840 2011-03-14 Andreas Schwab <schwab@redhat.com>
26842 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26843 rpath element also skip the following colon.
26844 (expand_dynamic_string_token): Add is_path parameter and pass
26845 down to DL_DST_REQUIRED and _dl_dst_substitute.
26846 (decompose_rpath): Call expand_dynamic_string_token with
26847 non-zero is_path. Ignore empty rpaths.
26848 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26851 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26856 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26859 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26860 Patch by Filipe David Manana <fdmanana@apache.org>.
26862 2011-04-07 Andreas Schwab <schwab@redhat.com>
26864 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26865 Maintain aligned stack.
26866 (CHECK_RSP): Remove unused macro.
26868 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26870 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26871 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26873 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26875 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26877 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26879 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26882 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26883 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26884 * sysdeps/x86_64/memmove.c: New file.
26885 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26886 (memcpy): Renamed to ...
26887 (__new_memcpy): This.
26888 (memcpy): Provide GLIBC_2_14 memcpy.
26889 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26890 (memcpy): Provide GLIBC_2_2_5 memcpy.
26892 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26895 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26897 2011-03-30 Andreas Schwab <schwab@redhat.com>
26899 * misc/syncfs.c: New file.
26900 * misc/Makefile (routines): Add syncfs.
26901 * posix/unistd.h: Declare syncfs.
26902 * sysdeps/unix/syscalls.list: Add syncfs.
26904 2011-04-01 Andreas Schwab <schwab@redhat.com>
26906 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26909 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26911 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26913 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26914 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26916 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26918 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26919 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26920 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26926 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26927 sync_file_range.c with -fexceptions.
26928 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26929 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26930 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26931 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26932 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26933 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26935 sync_file_range as cancellation point
26936 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26937 now a wrapper around __call_sync_file_range with cancellation handling.
26938 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26939 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26940 function name to __call_sync_file_range.
26941 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26942 Add call_sync_file_range.
26944 2011-04-01 Andreas Schwab <schwab@redhat.com>
26946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26949 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26951 * iconv/iconv.h: Fix typo in comment.
26952 * io/fcntl.h: Likewise.
26953 * libio/stdio.h: Likewise.
26954 * posix/spawn.h: Likewise.
26955 * posix/unistd.h: Likewise.
26956 * stdlib/stdlib.h: Likewise.
26957 * time/time.h: Likewise.
26958 * wcsmbs/wchar.h: Likewise.
26960 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26961 open_by_handle): Add.
26962 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26963 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26964 Augment a few comments.
26965 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26967 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26970 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26973 * io/fcntl.h (AT_EMPTY_PATH): Define.
26975 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26977 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26978 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26979 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26981 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26982 * Versions.def: Add GLIBC_2.14.
26983 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26986 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26988 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26990 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26992 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26995 * string/test-strncmp.c (do_page_test): New function.
26996 (check2): Likewise.
26997 (test_main): Call check2.
26998 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27000 2011-03-20 Ulrich Drepper <drepper@gmail.com>
27003 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27004 Handle cache information in CPU leaf 4.
27005 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27007 2011-03-18 Ulrich Drepper <drepper@gmail.com>
27010 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27011 character representation.
27012 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27014 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27016 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27017 END(__isnan) to END(__isnanf) to match function entry point/label
27018 EALIGN(__isnanf,...).
27020 2011-03-10 Jakub Jelinek <jakub@redhat.com>
27022 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27024 2011-03-10 Ulrich Drepper <drepper@gmail.com>
27027 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27028 copy from the symbol referenced in the relocation to initialize the
27030 Patch by Piotr Bury <pbury@goahead.com>.
27031 * elf/Makefile: Add rules to build and tst-unique3.
27032 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27033 * elf/tst-unique3.cc: New file.
27034 * elf/tst-unique3.h: New file.
27035 * elf/tst-unique3lib.cc: New file.
27036 * elf/tst-unique3lib2.cc: New file.
27038 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27040 2011-03-10 Mike Frysinger <vapier@gentoo.org>
27042 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27043 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27046 2011-03-06 Ulrich Drepper <drepper@gmail.com>
27048 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27049 to-be-loaded object along a path to loader is ld.so.
27051 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27052 Ulrich Drepper <drepper@gmail.com>
27054 * sysdeps/x86_64/memset.S: After aligning destination, code
27055 branches to different locations depending on the value of
27056 misalignment, when multiarch is enabled. Fix this.
27058 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27060 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27061 Set _x86_64_preferred_memory_instruction for AMD processsors.
27062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27063 Set bit_Prefer_SSE_for_memop for AMD processors.
27065 2011-03-04 Ulrich Drepper <drepper@gmail.com>
27067 * libio/fmemopen.c (fmemopen): Optimize a bit.
27069 2011-03-03 Andreas Schwab <schwab@redhat.com>
27071 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27073 2011-03-03 Roland McGrath <roland@redhat.com>
27075 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27077 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27079 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27080 __bzero_ultra1 instead of __memset_ultra1.
27082 2011-02-23 Andreas Schwab <schwab@redhat.com>
27083 Ulrich Drepper <drepper@gmail.com>
27086 * include/link.h (struct link_map): Add l_orig_initfini.
27087 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27088 returning unsuccessfully.
27089 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27090 close of a file loaded at startup, restore the original l_initfini
27092 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27093 list, store the pointer.
27094 * elf/Makefile ($(objpfx)noload-mem): New rule.
27095 (noload-ENV): Define.
27096 (tests): Add $(objpfx)noload-mem.
27097 * elf/noload.c: Include <memcheck.h>.
27098 (main): Call mtrace. Close all opened handles.
27100 2011-02-17 Andreas Schwab <schwab@redhat.com>
27103 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27104 dependencies are missing.
27106 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27108 Fix __if_freereq crash: Unlike the generic version which uses free,
27110 * sysdeps/mach/hurd/ifreq.h: New file.
27112 2011-01-27 Petr Baudis <pasky@suse.cz>
27113 Ulrich Drepper <drepper@gmail.com>
27116 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27117 to extend_alloca().
27118 * stdio-common/bug23.c: New file.
27119 * stdio-common/Makefile (tests): Add bug23.
27121 2010-09-28 Andreas Schwab <schwab@redhat.com>
27122 Ulrich Drepper <drepper@gmail.com>
27125 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27126 before performing relro protection. At old place add assertion
27127 to make sure nothing changed.
27129 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27130 Glauber de Oliveira Costa <glommer@gmail.com>
27132 * elf/elf.h: Add new ARM TLS relocs.
27134 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27137 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27139 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27141 * sysdeps/wordsize-64/tst-writev.c: New file.
27143 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27145 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27146 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27147 insns in _dl_start to prevent a TOC reference before relocs are
27150 2011-02-15 Ulrich Drepper <drepper@gmail.com>
27153 * Makeconfig: Remove RANLIB definition.
27154 * Makerules: Don't use RANLIB.
27155 * aclocal.m4: Remove ranlib test.
27156 * configure.in: No need to check for ranlib.
27157 * elf/rtld-Rules: Don't use RANLIB.
27159 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27161 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27163 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27164 inclusion protection macro.
27166 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27167 SIGRTMIN and SIGRTMAX and print information in that case only when
27168 SIGRTMIN is defined.
27170 2011-02-11 Jakub Jelinek <jakub@redhat.com>
27172 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27173 arginfo fn returning -1.
27175 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27176 and thousands string is zero terminated.
27178 2011-02-03 Andreas Schwab <schwab@redhat.com>
27180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27181 sysdeps/unix/sysv/linux/bits/socket.h.
27183 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27185 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27186 (__CPU_COUNT): Remove old macros.
27187 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27188 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27189 (__CPU_ALLOC, __CPU_FREE): Add macros.
27190 (__sched_cpualloc, __sched_cpufree): Add declarations.
27192 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27194 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27195 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27196 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27197 (readdhstai): Return value of addhstaiX call.
27198 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27199 (addgrbyX): Return value returned by cache_addgr.
27200 (readdgrbyname): Return value returned by addgrbyX.
27201 (readdgrbygid): Likewise.
27202 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27203 (addpwbyX): Return value returned by cache_addpw.
27204 (readdpwbyname): Return value returned by addhstbyX.
27205 (readdpwbyuid): Likewise.
27206 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27207 (addservbyX): Return value returned by cache_addserv.
27208 (readdservbyname): Return value returned by addservbyX:
27209 (readdservbyport): Likewise.
27210 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27211 (addhstbyX): Return value returned by cache_addhst.
27212 (readdhstbyname): Return value returned by addhstbyX.
27213 (readdhstbyaddr): Likewise.
27214 (readdhstbynamev6): Likewise.
27215 (readdhstbyaddrv6): Likewise.
27216 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27217 (readdinitgroups): Return value returned by addinitgroupsX.
27218 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27219 (prune_cache): Keep track of timeout value of re-added entries.
27220 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27221 * nscd/nscd.h: Adjust prototypes of readd* functions.
27223 2011-02-04 Roland McGrath <roland@redhat.com>
27225 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27226 (nis_stats): Likewise.
27227 * nis/nis_modify.c (nis_modify): Likewise.
27228 * nis/nis_remove.c (nis_remove): Likewise.
27229 * nis/nis_add.c (nis_add): Likewise.
27231 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27233 * posix/fnmatch_loop.c: Add some consts.
27235 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27237 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27240 * config.make.in (config-cflags-novzeroupper): Define.
27241 * configure.in: Substitute libc_cv_cc_novzeroupper.
27242 * elf/Makefile (AVX-CFLAGS): Define.
27243 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27244 (CFLAGS-tst-auditmod4a.c): Likewise.
27245 (CFLAGS-tst-auditmod4b.c): Likewise.
27246 (CFLAGS-tst-auditmod6b.c): Likewise.
27247 (CFLAGS-tst-auditmod6c.c): Likewise.
27248 (CFLAGS-tst-auditmod7b.c): Likewise.
27249 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27251 2011-02-02 Ulrich Drepper <drepper@gmail.com>
27253 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27254 function to the callback.
27255 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27257 2011-02-02 Andreas Schwab <schwab@redhat.com>
27259 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27262 2011-01-19 Ulrich Drepper <drepper@gmail.com>
27265 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27267 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27269 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27272 * elf/Makefile: Add rules to build and run new test.
27273 * elf/tst-initorder.c: New file.
27274 * elf/tst-initorder.exp: New file.
27275 * elf/tst-initordera1.c: New file.
27276 * elf/tst-initordera2.c: New file.
27277 * elf/tst-initordera3.c: New file.
27278 * elf/tst-initordera4.c: New file.
27279 * elf/tst-initorderb1.c: New file.
27280 * elf/tst-initorderb2.c: New file.
27281 * elf/tst-order-a1.c: New file.
27282 * elf/tst-order-a2.c: New file.
27283 * elf/tst-order-a3.c: New file.
27284 * elf/tst-order-a4.c: New file.
27285 * elf/tst-order-b1.c: New file.
27286 * elf/tst-order-b2.c: New file.
27287 * elf/tst-order-main.c: New file.
27288 New test case by George Gensure <werkt0@gmail.com>.
27290 2010-10-01 Andreas Schwab <schwab@redhat.com>
27292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27293 decoding ACE if AI_CANONIDN.
27295 2011-01-18 Ulrich Drepper <drepper@gmail.com>
27297 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27299 2011-01-17 Ulrich Drepper <drepper@gmail.com>
27301 * version.h (RELEASE): Bump for 2.13 release.
27302 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27304 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27306 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27308 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27309 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27310 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27311 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27312 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27313 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27315 * posix/getconf.c: Update copyright year.
27316 * catgets/gencat.c: Likewise.
27317 * csu/version.c: Likewise.
27318 * debug/catchsegv.sh: Likewise.
27319 * debug/xtrace.sh: Likewise.
27320 * elf/ldconfig.c: Likewise.
27321 * elf/ldd.bash.in: Likewise.
27322 * elf/sprof.c (print_version): Likewise.
27323 * iconv/iconv_prog.c: Likewise.
27324 * iconv/iconvconfig.c: Likewise.
27325 * locale/programs/locale.c: Likewise.
27326 * locale/programs/localedef.c: Likewise.
27327 * malloc/memusage.sh: Likewise.
27328 * malloc/mtrace.pl: Likewise.
27329 * nscd/nscd.c (print_version): Likewise.
27330 * nss/getent.c: Likewise.
27332 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27333 PF_CAIF, and PF_ALG.
27334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27336 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27338 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27339 (modules-names): Use them.
27340 (ifunc-test-modules, ifunc-pie-tests): Define.
27341 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27342 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27343 (test-extras): Likewise.
27344 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27345 $(compile-command.c).
27346 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27347 (all-built-dso): Define.
27348 (check-textrel.out, check-execstack.out): Depend on it.
27350 * configure.in: Don't override --enable-multi-arch.
27352 2011-01-15 Ulrich Drepper <drepper@gmail.com>
27355 * nscd/hstcache.c (tryagain): Define.
27356 (cache_addhst): Return tryagain not notfound for temporary errors.
27357 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27360 2011-01-14 Ulrich Drepper <drepper@gmail.com>
27363 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27364 to make the syscall.
27365 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27368 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27369 and fall back to matching as normal character if the string ends before
27370 the matching ']' is found. This is what POSIX requires.
27371 * posix/testfnm.c: Adjust test result.
27372 * posix/globtest.sh: Adjust test result. Add new test.
27373 * posix/tst-fnmatch.input: Likewise.
27374 * posix/tst-fnmatch2.c: Add new test.
27376 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27378 * elf/Makefile (check-execstack): Revert last change. Depend on
27380 (check-execstack.h): New target.
27381 (generated): Add check-execstack.h.
27382 * elf/check-execstack.c: Include "check-execstack.h".
27383 (main): Revert last change.
27384 (handle_file): Return zero if GNU_STACK is absent and
27385 DEFAULT_STACK_PERMS doesn't include PF_X.
27387 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27389 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27390 in child fails because the descriptor is already closed.
27391 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27392 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27393 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27396 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27400 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27401 temporary buffer used to handle multi lookups locally.
27402 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27404 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27406 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27409 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27411 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27412 alignment for SSE2.
27414 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27417 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27418 characters. When rounding increased number of integer digits recompute
27420 * stdio-common/tst-grouping.c: New file.
27421 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27423 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27425 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27426 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27428 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27430 * bits/select.h: Likewise.
27432 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27434 * po/ja.po: Update from translation team.
27436 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27439 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27440 implementation just like for lxstat, fxstatat, et al.
27442 2010-12-27 Jim Meyering <meyering@redhat.com>
27445 * posix/regexec.c (build_trtable): Return failure indication upon
27446 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27448 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27451 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27452 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27453 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27454 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27457 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27460 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27461 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27463 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27465 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27466 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27467 script has SORT_BY_INIT_PRIORITY.
27468 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27469 NO_CTORS_DTORS_SECTIONS is defined.
27470 * elf/soinit.c: Likewise.
27471 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27472 NO_CTORS_DTORS_SECTIONS is defined.
27473 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27474 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27475 * sysdeps/sh/init-first.c: Likewise.
27476 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27478 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27480 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27481 always use the slow path.
27483 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27485 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27486 similar rule which adds the sysdep directories to the header search in
27487 order to pick up the correct platform stackinfo.h.
27488 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27489 perform test if it is, otherwise return successfully without testing.
27490 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27491 DEFAULT_STACK_PERMS define in stackinfo.h.
27492 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27493 defined in stackinfo.h.
27494 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27495 DEFAULT_STACK_PERMS defined in stackinfo.h.
27496 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27497 * sysdeps/ia64/stackinfo.h: Likewise.
27498 * sysdeps/s390/stackinfo.h: Likewise.
27499 * sysdeps/sh/stackinfo.h: Likewise.
27500 * sysdeps/sparc/stackinfo.h: Likewise.
27501 * sysdeps/x86_64/stackinfo.h: Likewise.
27502 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27503 PF_X for powerpc64. Retain PF_X for powerpc32.
27505 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27507 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27509 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27510 GETDENTS_64BIT_ALIGNED.
27512 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27514 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27516 2010-12-10 Andreas Schwab <schwab@redhat.com>
27518 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27521 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27522 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27524 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27525 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27527 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27530 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27533 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27535 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27537 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27539 * po/it.po: Update from translation team.
27541 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27546 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27548 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27550 2010-11-24 Andreas Schwab <schwab@redhat.com>
27552 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27554 (gaih_getanswer_slice): Likewise.
27556 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27560 2010-05-31 Petr Baudis <pasky@suse.cz>
27563 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27564 silently even in the chroot mode.
27566 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27568 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27569 last patch a bit. Pretty printing
27571 2010-05-31 Petr Baudis <pasky@suse.cz>
27574 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27575 initialization of skip_initgroups_dyn.
27577 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27579 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27580 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27582 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27584 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27586 2010-11-11 Andreas Schwab <schwab@redhat.com>
27588 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27589 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27590 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27591 ($(objpfx)tst-fnmatch-mem): New rule.
27592 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27593 * posix/tst-fnmatch.c (main): Call mtrace.
27595 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27598 Support Intel processor model 6 and model 0x2c.
27600 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27602 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27605 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27608 * string/test-strncasecmp.c (check_result): New function.
27609 (do_one_test): Use it.
27610 (check1): New function.
27611 (test_main): Use it.
27612 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27613 Support strcasecmp and strncasecmp.
27615 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27618 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27619 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27621 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27623 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27627 * sysdeps/x86_64/multiarch/bzero.S: New file.
27628 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27629 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27630 * sysdeps/x86_64/multiarch/memset.S: New file.
27631 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27633 Set bit_Prefer_SSE_for_memop for Intel processors.
27634 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27636 (index_Prefer_SSE_for_memop): Define.
27637 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27639 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27641 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27642 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27644 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27647 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27648 (__x86_64_raw_data_cache_size_half): Likewise.
27649 (__x86_64_raw_shared_cache_size): Likewise.
27650 (__x86_64_raw_shared_cache_size_half): Likewise.
27652 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27653 (__x86_64_raw_data_cache_size_half): Likewise.
27654 (__x86_64_raw_shared_cache_size): Likewise.
27655 (__x86_64_raw_shared_cache_size_half): Likewise.
27656 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27657 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27658 and __x86_64_raw_shared_cache_size_half. Round
27659 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27660 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27661 to multiple of 256 bytes.
27663 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27666 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27667 of inacessible symlinks. Verify result of symlink before returning it.
27668 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27669 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27671 2010-10-28 Erich Ritz <erichritz@gmail.com>
27673 * math/math.h (isinf): Fix typo in comment.
27675 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27677 * po/da.po: Update from translation team.
27679 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27681 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27682 is added to the list.
27684 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27685 Ulrich Drepper <drepper@gmail.com>
27687 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27688 the global list here. Move code to...
27689 (_dl_add_to_namespace_list): ...here. New function.
27690 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27691 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27692 * elf/dl-load.c (lose): Don't remove the element from the list.
27693 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27694 (_dl_map_object): Likewise.
27696 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27699 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27700 into all bytes of SSE register.
27701 Patch by Richard Li <richardpku@gmail.com>.
27703 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27706 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27709 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27711 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27712 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27713 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27714 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27719 2010-10-22 Andreas Schwab <schwab@redhat.com>
27721 * include/dlfcn.h (__RTLD_SECURE): Define.
27722 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27723 mode & __RTLD_SECURE instead.
27724 (open_path): Rename preloaded parameter to secure.
27725 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27726 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27727 * elf/dl-deps.c (openaux): Likewise.
27728 * elf/rtld.c (struct map_args): Remove is_preloaded.
27729 (map_doit): Don't use it.
27730 (dl_main): Likewise.
27731 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27732 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27734 2010-09-09 Andreas Schwab <schwab@redhat.com>
27736 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27737 (sysd-rules-targets): Remove duplicates.
27738 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27739 rtld-%.$o dependency.
27741 2010-10-18 Andreas Schwab <schwab@redhat.com>
27743 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27744 _dl_map_object do it.
27746 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27748 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27749 fast fma builtins, define the macros in the C99 standard.
27750 (FP_FAST_FMAF): Likewise.
27751 (FP_FAST_FMAL): Likewise.
27752 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27754 * bits/mathdef.h: Update copyright year.
27755 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27757 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27759 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27760 builtins, define the macros in the C99 standard.
27761 (FP_FAST_FMAF): Likewise.
27762 (FP_FAST_FMAL): Likewise.
27763 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27765 (FP_FAST_FMAF): Likewise.
27767 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27770 * math/libm-test.inc (fma_test): Some new testcases.
27771 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27772 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27773 y and infinite z. Do multiplication by C already in long double.
27774 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27776 y and infinite z. Do bitwise or of inexact bit into u.d.
27777 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27778 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27779 * sysdeps/i386/fpu/s_fma.S: Removed.
27780 * sysdeps/i386/fpu/s_fmal.S: Removed.
27782 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27785 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27786 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27787 computation is not scheduled after fetestexcept. Fix value
27788 of minimum denormal long double.
27790 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27793 * math/libm-test.inc (fma_test): Add some more tests.
27794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27797 2010-10-15 Andreas Schwab <schwab@redhat.com>
27799 * scripts/data/localplt-s390-linux-gnu.data: New file.
27800 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27802 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27805 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27806 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27808 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27810 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27812 if one of x and y is very large and the other is subnormal.
27813 * sysdeps/s390/fpu/s_fmaf.c: New file.
27814 * sysdeps/s390/fpu/s_fma.c: New file.
27815 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27816 * sysdeps/powerpc/fpu/s_fma.S: New file.
27817 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27818 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27819 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27821 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27824 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27827 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27828 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27829 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27830 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27831 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27832 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27834 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27837 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27838 * posix/bug-regex31.input: Add test case.
27840 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27842 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27843 * posix/bug-regex31.input: New file.
27846 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27847 (parse_sub_exp): Fix last change, use postorder.
27849 * posix/bug-regex31.c: New file.
27850 * posix/Makefile: Add rules to build and run bug-regex31.
27852 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27855 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27858 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27859 to have entries in sys_siglist.
27862 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27865 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27868 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27869 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27870 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27871 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27872 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27873 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27874 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27875 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27876 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27877 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27878 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27879 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27880 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27881 * math/ftestexcept.c (fetestexcept): Likewise.
27882 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27883 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27884 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27885 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27886 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27887 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27888 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27890 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27893 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27896 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27898 * string/bug-strstr1.c: New file.
27899 * string/Makefile: Add rules to build and run bug-strstr1.
27901 2010-10-05 Eric Blake <eblake@redhat.com>
27904 * string/str-two-way.h (two_way_long_needle): Always clear memory
27905 when skipping input due to the shift table.
27907 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27910 * malloc/mcheck.c: Handle large requests.
27913 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27914 for strncmp and strncasecmp.
27915 * string/stratcliff.c: Add tests for strcmp and strncmp.
27916 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27918 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27920 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27923 2010-09-30 Andreas Jaeger <aj@suse.de>
27925 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27926 (CGROUP_SUPER_MAGIC): Define.
27927 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27928 Handle btrfs and cgroup file systems.
27929 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27932 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27934 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27935 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27937 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27940 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27941 trying to locate the ELF header.
27943 2010-09-27 Andreas Schwab <schwab@redhat.com>
27946 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27947 Mask out sign-bit copies when constructing f_fsid.
27949 2010-09-24 Petr Baudis <pasky@suse.cz>
27951 * debug/stack_chk_fail_local.c: Add missing licence exception.
27952 * debug/warning-nop.c: Likewise.
27954 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27956 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27957 implementing getdents64 using getdents syscall, set d_type if
27958 __ASSUME_GETDENTS32_D_TYPE.
27960 2010-09-16 Andreas Schwab <schwab@redhat.com>
27962 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27963 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27965 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27968 * posix/unistd.h: Undo change of feature selection for ftruncate from
27971 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27973 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27976 2010-09-20 Andreas Schwab <schwab@redhat.com>
27978 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27980 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27982 2010-09-14 Andreas Schwab <schwab@redhat.com>
27984 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27985 variables after CHECK_SP call.
27986 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27988 2010-09-13 Andreas Schwab <schwab@redhat.com>
27989 Ulrich Drepper <drepper@redhat.com>
27991 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27992 re-relocationg ld.so.
27993 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27994 _dl_init_paths call.
27995 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27998 2010-09-14 Ulrich Drepper <drepper@redhat.com>
28000 * resolv/res_init.c (__res_vinit): Count the default server we added.
28002 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28003 Ulrich Drepper <drepper@redhat.com>
28006 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28007 (____longjmp_chk): Use %ebx for saving value across system call.
28010 2010-09-06 Andreas Schwab <schwab@redhat.com>
28012 * manual/Makefile: Don't mix pattern rules with normal rules.
28014 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28016 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28018 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28019 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28020 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28021 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28025 2010-09-04 Ulrich Drepper <drepper@redhat.com>
28028 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28029 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28031 2010-09-02 Ulrich Drepper <drepper@redhat.com>
28033 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28034 * sysdeps/x86_64/addmul_1.S: Likewise.
28035 * sysdeps/x86_64/lshift.S: Likewise.
28036 * sysdeps/x86_64/mul_1.S: Likewise.
28037 * sysdeps/x86_64/rshift.S: Likewise.
28038 * sysdeps/x86_64/sub_n.S: Likewise.
28039 * sysdeps/x86_64/submul_1.S: Likewise.
28041 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28043 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28044 Define __sched_param instead of SCHED_* and sched_param when
28045 <bits/sched.h> is included with __need_schedparam defined.
28046 * bits/sched.h [__need_schedparam]
28047 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28048 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28049 (__defined_schedparam): Define to 1.
28050 (__sched_param): New structure, identical to sched_param.
28051 (__need_schedparam): Undefine.
28053 2010-08-31 Mike Frysinger <vapier@gentoo.org>
28055 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28056 (epoll_create1): Declare.
28058 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28060 2010-08-31 Andreas Schwab <schwab@redhat.com>
28063 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28064 shifting retval into place.
28066 2010-09-01 Ulrich Drepper <drepper@redhat.com>
28068 * nis/rpcsvc/nis.h: Update copyright notice.
28069 * nis/rpcsvc/nis.x: Likewise.
28070 * nis/rpcsvc/nis_callback.h: Likewise.
28071 * nis/rpcsvc/nis_callback.x: Likewise.
28072 * nis/rpcsvc/nis_object.x: Likewise.
28073 * nis/rpcsvc/nis_tags.h: Likewise.
28074 * nis/rpcsvc/yp.h: Likewise.
28075 * nis/rpcsvc/yp.x: Likewise.
28076 * nis/rpcsvc/ypupd.h: Likewise.
28077 * nis/yp_xdr.c: Likewise.
28078 * nis/ypupdate_xdr.c: Likewise.
28080 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28081 mainly the body of pmap_getport. Add parameters to specify timeouts.
28082 (pmap_getport): Use __libc_rpc_getport.
28083 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28084 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28085 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28087 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28092 2010-08-27 Roland McGrath <roland@redhat.com>
28094 * sysdeps/i386/i686/multiarch/Makefile
28095 (CFLAGS-varshift.c): New variable.
28097 2010-08-27 Ulrich Drepper <drepper@redhat.com>
28099 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28100 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28102 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28104 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28106 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28108 * sysdeps/x86_64/strlen.S: Unroll the loop.
28109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28110 strlen-sse2 strlen-sse2-bsf.
28111 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28112 __strlen_no_bsf if bit_Slow_BSF is set.
28113 (__strlen_sse42): Removed.
28114 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28115 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28117 2010-08-25 Roland McGrath <roland@redhat.com>
28119 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28120 * sysdeps/x86_64/multiarch/varshift.c: New file.
28121 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28122 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28123 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28124 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28126 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28129 strlen-sse2 strlen-sse2-bsf.
28130 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28131 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28132 (__strlen_sse2): Removed.
28133 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28134 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28136 bit_Slow_BSF for Atom.
28137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28138 (index_Slow_BSF): Define.
28139 (HAS_SLOW_BSF): Define.
28141 2010-08-25 Ulrich Drepper <drepper@redhat.com>
28144 * resolv/res_init.c (__res_vinit): When no server address at all
28145 is given default to loopback.
28147 2010-08-24 Roland McGrath <roland@redhat.com>
28149 * configure.in: Remove config-name.h generation.
28150 * configure: Regenerated.
28151 * config-name.in: File removed.
28152 * scripts/config-uname.sh: New file.
28153 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28154 ($(objdir)config-name.h): New target.
28156 * sunrpc/rpc_parse.h: Avoid nested comment.
28158 2010-08-24 Richard Henderson <rth@redhat.com>
28159 Ulrich Drepper <drepper@redhat.com>
28160 H.J. Lu <hongjiu.lu@intel.com>
28162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28164 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28165 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28166 _mm_alignr_epi8 with _mm_loadu_si128.
28167 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28168 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28169 (__m128i_shift_right): Removed.
28170 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28171 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28172 * sysdeps/x86_64/multiarch/varshift.h: New file.
28173 * sysdeps/x86_64/multiarch/varshift.S: New file.
28175 2010-08-21 Mike Frysinger <vapier@gentoo.org>
28177 * configure.in: Move assembler checks to before sysdep dir checking.
28179 2010-08-20 Petr Baudis <pasky@suse.cz>
28181 * LICENSES: Sync the sunrpc license.
28183 2010-08-19 Ulrich Drepper <drepper@redhat.com>
28185 * sunrpc/auth_des.c: Update copyright notice once again.
28186 * sunrpc/auth_none.c: Likewise.
28187 * sunrpc/auth_unix.c: Likewise.
28188 * sunrpc/authdes_prot.c: Likewise.
28189 * sunrpc/authuxprot.c: Likewise.
28190 * sunrpc/bindrsvprt.c: Likewise.
28191 * sunrpc/clnt_gen.c: Likewise.
28192 * sunrpc/clnt_perr.c: Likewise.
28193 * sunrpc/clnt_raw.c: Likewise.
28194 * sunrpc/clnt_simp.c: Likewise.
28195 * sunrpc/clnt_tcp.c: Likewise.
28196 * sunrpc/clnt_udp.c: Likewise.
28197 * sunrpc/clnt_unix.c: Likewise.
28198 * sunrpc/des_crypt.c: Likewise.
28199 * sunrpc/des_soft.c: Likewise.
28200 * sunrpc/get_myaddr.c: Likewise.
28201 * sunrpc/getrpcport.c: Likewise.
28202 * sunrpc/key_call.c: Likewise.
28203 * sunrpc/key_prot.c: Likewise.
28204 * sunrpc/openchild.c: Likewise.
28205 * sunrpc/pm_getmaps.c: Likewise.
28206 * sunrpc/pm_getport.c: Likewise.
28207 * sunrpc/pmap_clnt.c: Likewise.
28208 * sunrpc/pmap_prot.c: Likewise.
28209 * sunrpc/pmap_prot2.c: Likewise.
28210 * sunrpc/pmap_rmt.c: Likewise.
28211 * sunrpc/rpc/auth.h: Likewise.
28212 * sunrpc/rpc/auth_unix.h: Likewise.
28213 * sunrpc/rpc/clnt.h: Likewise.
28214 * sunrpc/rpc/des_crypt.h: Likewise.
28215 * sunrpc/rpc/key_prot.h: Likewise.
28216 * sunrpc/rpc/netdb.h: Likewise.
28217 * sunrpc/rpc/pmap_clnt.h: Likewise.
28218 * sunrpc/rpc/pmap_prot.h: Likewise.
28219 * sunrpc/rpc/pmap_rmt.h: Likewise.
28220 * sunrpc/rpc/rpc.h: Likewise.
28221 * sunrpc/rpc/rpc_des.h: Likewise.
28222 * sunrpc/rpc/rpc_msg.h: Likewise.
28223 * sunrpc/rpc/svc.h: Likewise.
28224 * sunrpc/rpc/svc_auth.h: Likewise.
28225 * sunrpc/rpc/types.h: Likewise.
28226 * sunrpc/rpc/xdr.h: Likewise.
28227 * sunrpc/rpc_clntout.c: Likewise.
28228 * sunrpc/rpc_cmsg.c: Likewise.
28229 * sunrpc/rpc_common.c: Likewise.
28230 * sunrpc/rpc_cout.c: Likewise.
28231 * sunrpc/rpc_dtable.c: Likewise.
28232 * sunrpc/rpc_hout.c: Likewise.
28233 * sunrpc/rpc_main.c: Likewise.
28234 * sunrpc/rpc_parse.c: Likewise.
28235 * sunrpc/rpc_parse.h: Likewise.
28236 * sunrpc/rpc_prot.c: Likewise.
28237 * sunrpc/rpc_sample.c: Likewise.
28238 * sunrpc/rpc_scan.c: Likewise.
28239 * sunrpc/rpc_scan.h: Likewise.
28240 * sunrpc/rpc_svcout.c: Likewise.
28241 * sunrpc/rpc_tblout.c: Likewise.
28242 * sunrpc/rpc_util.c: Likewise.
28243 * sunrpc/rpc_util.h: Likewise.
28244 * sunrpc/rpcinfo.c: Likewise.
28245 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28246 * sunrpc/rpcsvc/key_prot.x: Likewise.
28247 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28248 * sunrpc/rpcsvc/mount.x: Likewise.
28249 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28250 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28251 * sunrpc/rpcsvc/rex.x: Likewise.
28252 * sunrpc/rpcsvc/rstat.x: Likewise.
28253 * sunrpc/rpcsvc/rusers.x: Likewise.
28254 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28255 * sunrpc/rpcsvc/spray.x: Likewise.
28256 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28257 * sunrpc/rtime.c: Likewise.
28258 * sunrpc/svc.c: Likewise.
28259 * sunrpc/svc_auth.c: Likewise.
28260 * sunrpc/svc_authux.c: Likewise.
28261 * sunrpc/svc_raw.c: Likewise.
28262 * sunrpc/svc_run.c: Likewise.
28263 * sunrpc/svc_simple.c: Likewise.
28264 * sunrpc/svc_tcp.c: Likewise.
28265 * sunrpc/svc_udp.c: Likewise.
28266 * sunrpc/svc_unix.c: Likewise.
28267 * sunrpc/svcauth_des.c: Likewise.
28268 * sunrpc/xcrypt.c: Likewise.
28269 * sunrpc/xdr.c: Likewise.
28270 * sunrpc/xdr_array.c: Likewise.
28271 * sunrpc/xdr_float.c: Likewise.
28272 * sunrpc/xdr_mem.c: Likewise.
28273 * sunrpc/xdr_rec.c: Likewise.
28274 * sunrpc/xdr_ref.c: Likewise.
28275 * sunrpc/xdr_sizeof.c: Likewise.
28276 * sunrpc/xdr_stdio.c: Likewise.
28278 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28281 2010-08-19 Andreas Schwab <schwab@redhat.com>
28283 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28285 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
28287 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28288 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28289 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28290 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28291 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28292 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28293 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28294 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28295 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28296 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28297 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28298 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28299 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28300 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28302 2010-07-26 Anton Blanchard <anton@samba.org>
28304 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28305 * malloc/arena.c (heap_trim): Likewise.
28307 2010-08-16 Ulrich Drepper <drepper@redhat.com>
28309 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28311 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28312 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28314 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28316 * sysdeps/i386/elf/Makefile: New file.
28318 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28320 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28321 from fanotify_init.
28322 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28323 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28325 2010-08-15 Ulrich Drepper <drepper@redhat.com>
28327 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28329 * sysdeps/multiarch/strcmp.S: Likewise.
28331 2010-08-14 Ulrich Drepper <drepper@redhat.com>
28333 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28334 strncase_l-nonascii.
28335 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28336 Add strncase_l-ssse3.
28337 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28338 * sysdeps/x86_64/strcmp.S: Likewise.
28339 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28340 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28341 * sysdeps/x86_64/strncase.S: New file.
28342 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28343 * sysdeps/x86_64/strncase_l.S: New file.
28344 * string/Makefile (strop-tests): Add strncasecmp.
28345 * string/test-strncasecmp.c: New file.
28347 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28350 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28351 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28353 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28355 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28357 2010-08-12 Ulrich Drepper <drepper@redhat.com>
28359 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28360 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28361 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28363 2010-05-01 Alan Modra <amodra@gmail.com>
28365 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28366 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28367 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28368 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28369 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28370 tidying. Don't tail-call __sigjmp_save for static lib.
28371 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28373 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28374 (CALL_MCOUNT): Add eh info, and nop after bl.
28375 (TAIL_CALL_SYSCALL_ERROR): New macro.
28376 (PSEUDO_RET): Use it.
28377 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28378 Correct save location of integer regs and cr.
28379 (_dl_profile_resolve): Correct cr save location. Delete nops
28380 after bl when SHARED. Reduce cfi size a little by better
28381 placement of cfi directives.
28382 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28383 make a stack frame. Instead use parm save area as a temp.
28384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28385 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28387 Don't make a stack frame for parent, use parm save area.
28388 Increase child stack frame to 112 bytes. Don't save unused reg,
28389 and adjust reg usage. Set up cfi on error recovery and
28390 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28392 (__makecontext): Add dummy nop after jump to exit.
28393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28394 Use correct parm save area and cr save, reduce stack frame.
28395 Correct cfi for possible PSEUDO_RET frame setup.
28396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28397 Branch to local label emitted by PSEUDO_RET rather than
28400 2010-08-12 Andreas Schwab <schwab@redhat.com>
28403 * locale/programs/locale.c (print_assignment): New function.
28404 (show_locale_vars): Use it.
28406 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28408 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28410 (struct statfs64): Likewise.
28411 (_STATFS_F_FLAGS): Define.
28412 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28413 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28414 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28415 (ST_VALID): Define locally.
28416 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28417 __statvfs_getflags, use the provided value.
28418 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28419 __ASSUME_STATFS_F_FLAGS.
28421 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28423 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28424 Add sys/fanotify.h.
28425 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28426 fanotify_mask for GLIBC_2.13.
28427 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28428 fanotify_init and fanotify_mark.
28429 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28430 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28432 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28434 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28435 prlimit64 for GLIBC_2.13.
28436 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28438 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28441 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28442 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28443 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28444 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28446 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28449 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28450 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28452 * nss/Makefile: Add rules to build and run tst-nss-test1.
28453 * shlib-versions: Add entry for libnss_test1.
28454 * nss/nss_test1.c: New file.
28455 * nss/tst-nss-test1.c: New file.
28457 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28458 (__nss_configure_lookup): Set appropriate entry in
28459 __nss_configure_lookup to true.
28460 * nss/nsswitch.h: Define enum with indeces of databases in
28461 databases and __nss_database_custom arrays. Declare
28462 __nss_database_custom.
28463 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28464 to avoid using nscd when custom rules are installed.
28465 * nss/getXXbyYY_r.c: Likewise.
28466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28468 * nss/nss_files/files-parse.c: Whitespace fixes.
28470 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28473 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28474 * posix/fnmatch_loop.c: Likewise.
28476 2010-07-17 Andi Kleen <ak@linux.intel.com>
28478 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28479 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28480 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28481 * Versions.def [GLIBC_2.13]: Add.
28483 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28485 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28486 Also fail if tpwd after pwuid call is NULL.
28488 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28490 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28491 when converting to ms.
28493 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28495 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28496 EOPNOTSUPP errors with ENOTTY.
28497 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28498 EOPNOTSUPP errors with ENOTTY.
28500 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28502 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28503 Add strcasecmp_l-ssse3.
28504 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28506 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28507 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28508 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28510 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28512 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28514 * string/Makefile (strop-tests): Add strcasecmp.
28515 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28516 strcasecmp_l-nonascii.
28517 (gen-as-const-headers): Add locale-defines.sym.
28518 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28519 * sysdeps/x86_64/strcasecmp.S: New file.
28520 * sysdeps/x86_64/strcasecmp_l.S: New file.
28521 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28522 * sysdeps/x86_64/locale-defines.sym: New file.
28523 * string/test-strcasecmp.c: New file.
28525 * string/test-strcasestr.c: Test both ends of the range of characters.
28526 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28528 2010-07-29 Roland McGrath <roland@redhat.com>
28531 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28533 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28535 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28538 2010-07-27 Andreas Schwab <schwab@redhat.com>
28540 * manual/memory.texi (Malloc Tunable Parameters): Document
28543 2010-07-26 Roland McGrath <roland@redhat.com>
28546 * configure.in (-fgnu89-inline check): Set and substitute
28547 gnu89_inline, not libc_cv_gnu89_inline.
28548 * configure: Regenerated.
28549 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28551 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28553 * string/test-strnlen.c: New file.
28554 * string/Makefile (strop-tests): Add strnlen.
28555 * string/tester.c (test_strnlen): Add a few more test cases.
28556 * string/tst-strlen.c: Better error reporting.
28558 * sysdeps/x86_64/strnlen.S: New file.
28560 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28562 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28563 lower-latency instructions.
28565 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28567 * string/test-strcasestr.c: New file.
28568 * string/test-strstr.c: New file.
28569 * string/Makefile (strop-tests): Add strstr and strcasestr.
28570 * string/str-two-way.h: Don't undefine MAX.
28571 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28573 2010-07-21 Andreas Schwab <schwab@redhat.com>
28575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28576 strcasestr-nonascii.
28577 (CFLAGS-strcasestr-nonascii.c): Define.
28578 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28579 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28580 Remove unused attribute.
28582 2010-07-20 Roland McGrath <roland@redhat.com>
28584 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28585 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28586 ld.so.cache was broken. With it, there is no way to disable dsocaps
28587 like LD_HWCAP_MASK can disable hwcaps.
28589 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28591 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28593 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28595 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28596 call in strcasestr.
28597 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28598 __strcasestr_sse42_nonascii.
28599 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28600 strcasestr-nonascii.c.
28601 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28603 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28605 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28606 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28607 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28608 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28610 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28612 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28615 2010-07-06 Andreas Schwab <schwab@redhat.com>
28618 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28621 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28623 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28624 _PC_PIPE_BUF using F_GETPIPE_SZ.
28626 2010-07-05 Roland McGrath <roland@redhat.com>
28628 * manual/arith.texi (Rounding Functions): Fix rint description
28629 implicit in round description.
28631 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28633 * elf/Makefile: Fix linking for a few tests to make recent linker
28636 2010-06-30 Andreas Schwab <schwab@redhat.com>
28638 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28639 $(common-objpfx)libc_nonshared.a.
28641 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28643 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28644 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28645 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28646 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28647 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28648 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28649 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28650 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28665 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28666 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28667 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28668 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28669 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28670 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28671 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28672 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28673 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28674 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28675 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28676 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28692 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28694 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28695 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28696 * string/memmove.c (memmove): Renamed to ...
28697 (MEMMOVE): ...this. Default to memmove.
28698 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28699 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28702 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28703 mempcpy-ssse3-back memmove-ssse3-back.
28704 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28705 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28706 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28707 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28708 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28709 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28710 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28711 * sysdeps/x86_64/multiarch/memmove.c: New file.
28712 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28713 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28714 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28715 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28716 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28717 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28719 (index_Fast_Copy_Backward): Define.
28720 (HAS_ARCH_FEATURE): Define.
28721 (HAS_FAST_REP_STRING): Define.
28722 (HAS_FAST_COPY_BACKWARD): Define.
28724 2010-06-21 Andreas Schwab <schwab@redhat.com>
28726 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28727 Restore proper fallback handling.
28729 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28732 * posix/group_member.c (__group_member): Correct checking loop.
28734 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28735 OOM in getpwuid_r correctly. Return error number when the caller
28736 should return, otherwise -1.
28737 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28738 call returning > 0 value.
28739 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28741 2010-06-07 Andreas Schwab <schwab@redhat.com>
28743 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28744 libc_nonshared.a from targets in modules-names.
28746 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28748 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28751 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28753 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28754 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28756 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28758 2010-06-02 Andreas Schwab <schwab@redhat.com>
28760 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28762 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28764 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28766 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28768 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28770 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28773 2010-06-14 Roland McGrath <roland@redhat.com>
28775 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28777 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28779 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28780 __REDIRECT followed by __THROW.
28781 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28782 * posix/getopt.h (getopt): Likewise.
28784 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28786 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28787 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28788 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28790 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28791 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28793 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28795 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28797 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28801 Properly check family and model.
28803 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28805 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28807 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28809 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28811 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28813 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28816 2010-05-19 Andreas Schwab <schwab@redhat.com>
28818 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28821 2010-05-21 Andreas Schwab <schwab@redhat.com>
28823 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28824 and internal_recvmmsg.
28825 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28826 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28827 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28828 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28830 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28831 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28832 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28834 2010-05-20 Andreas Schwab <schwab@redhat.com>
28836 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28838 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28840 POWER7 optimizations.
28841 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28842 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28844 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28846 * version.h: Update for 2.13 development version.
28848 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28850 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28851 exceptions. Return 0.
28853 2010-05-07 Roland McGrath <roland@redhat.com>
28855 * elf/ldconfig.c (main): Add a const.
28857 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28859 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28860 (args_options): Add no-idn option.
28861 (ahosts_keys_int): Add idn_flags to ai_flags.
28862 (parse_option): Handle 'i' option to clear idn_flags.
28864 * malloc/malloc.c (_int_free): Possible race in the most recently
28865 added check. Only act on the data if no current modification
28868 See ChangeLog.17 for earlier changes.