1 2013-05-21 Andreas Schwab <schwab@suse.de>
4 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5 * setjmp/tst-sigsetjmp.c: New test.
7 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9 * sysdeps/x86_64/memset.S (memset): New implementation.
11 (__memset_tail): New function.
13 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17 __memcpy_sse2_unaligned ifunc selection.
18 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19 Add memcpy-sse2-unaligned.S.
20 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21 Add: __memcpy_sse2_unaligned.
23 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27 math_force_eval before restoring floating-point envrionment.
28 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33 (__nearbyintl): Use math_force_eval before restoring
34 floating-point environment.
35 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
37 * math/gen-libm-test.pl (special_functions): Remove.
38 (parse_args): Don't handle TEST_extra. Handle functions with no
40 * math/libm-test.inc (struct test_sincos_data): Replace with
41 struct test_fFF_11_data.
42 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
44 (sincos_test_data): Change element type to struct
45 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
46 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48 * math/README.libm-test: Don't mention special handling of
50 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57 * math/gen-libm-test.pl (get_variable): Remove function.
58 (parse_args): Don't show pointer parameters to call in test
59 names. Use "extra output N" in test names for extra outputs
60 rather than naming variables.
62 2013-05-18 Joseph Myers <joseph@codesourcery.com>
65 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
67 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
69 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
71 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
74 * math/gen-libm-test.pl (@tests): Remove variable.
76 (new_test): Remove function.
77 (show_exceptions): New function.
78 (special_functions): Use show_exceptions instead of new_test.
79 (parse_args): Likewise.
80 (generate_testfile): Pass only function name in generated call to
81 print_max_error or print_complex_max_error.
82 (get_ulps): Do not handle complex tests specially.
83 (output_test): Rename to ...
84 (get_all_ulps_for_test): ... this. Return a string rather than
85 printing to a file. Require ulps to be present.
86 (output_ulps): Generate arrays rather than #defines.
87 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
88 (struct ulp_data): New type.
89 (BUILD_COMPLEX_ULP): Remove macro.
90 (compare_ulp_data): New function.
91 (find_ulps): Likewise.
92 (find_test_ulps): Likewise.
93 (find_function_ulps): Likewise.
94 (find_complex_function_ulps): Likewise.
95 (print_max_error): Determine allowed ulps using
97 (print_complex_max_error): Determine allowed ulps using
98 find_complex_function_ulps.
99 (check_float_internal): Determine max ulps using find_test_ulps.
100 (check_float): Do not take max_ulp parameter. Update call to
101 check_float_internal.
102 (check_complex): Likewise.
103 (check_int): Do not take max_ulp parameter.
104 (check_long): Likewise.
105 (check_bool): Likewise.
106 (check_longlong): Likewise.
107 (struct test_f_f_data): Remove max_ulp field.
108 (struct test_ff_f_data): Likewise.
109 (struct test_ff_f_data_nexttoward): Likewise.
110 (struct test_fi_f_data): Likewise.
111 (struct test_fl_f_data): Likewise.
112 (struct test_if_f_data): Likewise.
113 (struct test_fff_f_data): Likewise.
114 (struct test_c_f_data): Likewise.
115 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
116 (struct test_fF_f1_data): Likewise.
117 (struct test_ffI_f1_data): Likewise.
118 (struct test_c_c_data): Remove max_ulp field.
119 (struct test_cc_c_data): Likewise.
120 (struct test_f_i_data): Likewise.
121 (struct test_ff_i_data): Likewise.
122 (struct test_f_l_data): Likewise.
123 (struct test_f_L_data): Likewise.
124 (struct test_sincos_data): Likewise.
125 (RUN_TEST_f_f): Do not handle ulps.
126 (RUN_TEST_LOOP_f_f): Likewise.
127 (RUN_TEST_2_f): Likewise.
128 (RUN_TEST_LOOP_2_f): Likewise.
129 (RUN_TEST_fff_f): Likewise.
130 (RUN_TEST_LOOP_fff_f): Likewise.
131 (RUN_TEST_c_f): Likewise.
132 (RUN_TEST_LOOP_c_f): Likewise.
133 (RUN_TEST_f_f1): Likewise.
134 (RUN_TEST_LOOP_f_f1): Likewise.
135 (RUN_TEST_fF_f1): Likewise.
136 (RUN_TEST_LOOP_fF_f1): Likewise.
137 (RUN_TEST_fI_f1): Likewise.
138 (RUN_TEST_LOOP_fI_f1): Likewise.
139 (RUN_TEST_ffI_f1): Likewise.
140 (RUN_TEST_LOOP_ffI_f1): Likewise.
141 (RUN_TEST_c_c): Likewise.
142 (RUN_TEST_LOOP_c_c): Likewise.
143 (RUN_TEST_cc_c): Likewise.
144 (RUN_TEST_LOOP_cc_c): Likewise.
145 (RUN_TEST_f_i): Likewise.
146 (RUN_TEST_LOOP_f_i): Likewise.
147 (RUN_TEST_f_i_tg): Likewise.
148 (RUN_TEST_LOOP_f_i_tg): Likewise.
149 (RUN_TEST_ff_i_tg): Likewise.
150 (RUN_TEST_LOOP_ff_i_tg): Likewise.
151 (RUN_TEST_f_b): Likewise.
152 (RUN_TEST_LOOP_f_b): Likewise.
153 (RUN_TEST_f_b_tg): Likewise.
154 (RUN_TEST_LOOP_f_b_tg): Likewise.
155 (RUN_TEST_f_l): Likewise.
156 (RUN_TEST_LOOP_f_l): Likewise.
157 (RUN_TEST_f_L): Likewise.
158 (RUN_TEST_LOOP_f_L): Likewise.
159 (RUN_TEST_sincos): Likewise.
160 (RUN_TEST_LOOP_sincos): Likewise.
162 2013-05-17 Joseph Myers <joseph@codesourcery.com>
166 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
167 main case of finite arguments, set rounding mode to FE_TONEAREST
168 and discard exceptions.
169 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
171 (remainder_tonearest_test_data): New variable.
172 (remainder_test_tonearest): New function.
173 (remainder_towardzero_test_data): New variable.
174 (remainder_test_towardzero): New function.
175 (remainder_downward_test_data): New variable.
176 (remainder_test_downward): New function.
177 (remainder_upward_test_data): New variable.
178 (remainder_test_upward): New function.
179 (main): Call the new test functions.
181 * math/libm-test.inc (struct test_f_f1_data): Remove field
183 (struct test_fF_f1_data): Likewise.
184 (struct test_ffI_f1_data): Likewise.
185 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
186 based on value of EXTRA_EXPECTED.
187 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
188 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
189 EXTRA_VAR based on value of EXTRA_EXPECTED.
190 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
191 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
192 EXTRA_VAR based on value of EXTRA_EXPECTED.
193 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
194 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
195 EXTRA_VAR based on value of EXTRA_EXPECTED.
196 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
197 * math/gen-libm-test.pl (parse_args): Don't output initializers
198 for extra output values.
200 * math/libm-test.inc (check_int): Expect result to be exactly
201 equal to expected value and do not handle ulps.
202 (check_long): Likewise.
203 (check_longlong): Likewise.
205 * math/libm-test.inc (ceil_test_data): Test for "inexact"
207 (cimag_test_data): Likewise.
208 (conj_test_data): Likewise.
209 (copysign_test_data): Likewise.
210 (cproj_test_data): Likewise.
211 (creal_test_data): Likewise.
212 (fabs_test_data): Likewise.
213 (fdim_test_data): Likewise.
214 (finite_test_data): Likewise.
215 (floor_test_data): Likewise.
216 (fmax_test_data): Likewise.
217 (fmin_test_data): Likewise.
218 (fmod_test_data): Likewise.
219 (fpclassify_test_data): Likewise.
220 (frexp_test_data): Likewise.
221 (ilogb_test_data): Likewise.
222 (isfinite_test_data): Likewise.
223 (isgreater_test_data): Likewise.
224 (isgreaterequal_test_data): Likewise.
225 (isinf_test_data): Likewise.
226 (isless_test_data): Likewise.
227 (islessequal_test_data): Likewise.
228 (islessgreater_test_data): Likewise.
229 (isnan_test_data): Likewise.
230 (isnormal_test_data): Likewise.
231 (issignaling_test_data): Likewise.
232 (isunordered_test_data): Likewise.
233 (ldexp_test_data): Likewise.
234 (lrint_test_data): Likewise.
235 (lrint_test_data) [TEST_FLOAT]: Disable one test.
236 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
237 (lrint_tonearest_test_data): Test for "inexact" exceptions.
238 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
239 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
240 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
242 (lrint_towardzero_test_data): Test for "inexact" exceptions.
243 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
244 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
245 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
247 (lrint_downward_test_data): Test for "inexact" exceptions.
248 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
249 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
250 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
252 (lrint_upward_test_data): Test for "inexact" exceptions.
253 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
255 (llrint_test_data): Test for "inexact" exceptions.
256 (llrint_test_data) [TEST_FLOAT]: Disable one test.
257 (llrint_tonearest_test_data): Test for "inexact" exceptions.
258 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
259 (llrint_towardzero_test_data): Test for "inexact" exceptions.
260 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
261 (llrint_downward_test_data): Test for "inexact" exceptions.
262 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
263 (llrint_upward_test_data): Test for "inexact" exceptions.
264 (logb_test_data): Likewise.
265 (logb_downward_test_data): Likewise.
266 (nextafter_test_data): Likewise.
267 (nexttoward_test_data): Likewise.
268 (remainder_test_data): Likewise.
269 (remquo_test_data): Likewise.
270 (scalbn_test_data): Likewise.
271 (scalbln_test_data): Likewise.
272 (signbit_test_data): Likewise.
273 (sqrt_test_data): Likewise.
274 (significand_test_data): Likewise.
276 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
279 * benchtests/bench-modf.c (struct args): Mark arg0 as
281 * scripts/bench.pl: Mark members of struct args as volatile.
283 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
286 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
287 negative infinity on POWER6 or lower.
288 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
290 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
293 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
294 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
295 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
296 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
297 (_FP_SETQNAN): New macro.
298 (_FP_SETQNAN_SEMIRAW): Likewise.
299 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
300 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
301 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
302 (FP_EXTEND): Use _FP_FRAC_SNANP.
303 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
304 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
306 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
308 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
311 2013-05-16 Joseph Myers <joseph@codesourcery.com>
313 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
314 with DIVIDE_BY_ZERO_EXCEPTION.
315 (gamma_test_data): Likewise.
316 (lgamma_test_data): Likewise.
317 (log_test_data): Likewise.
318 (log10_test_data): Likewise.
319 (log2_test_data): Likewise.
320 (tgamma_test_data): Likewise.
322 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
323 (acos_test_tonearest): Likewise.
324 (acos_test_towardzero): Likewise.
325 (acos_test_downward): Likewise.
326 (acos_test_upward): Likewise.
327 (acosh_test): Likewise.
328 (asin_test): Likewise.
329 (asin_test_tonearest): Likewise.
330 (asin_test_towardzero): Likewise.
331 (asin_test_downward): Likewise.
332 (asin_test_upward): Likewise.
333 (asinh_test): Likewise.
334 (atan_test): Likewise.
335 (atanh_test): Likewise.
336 (atan2_test): Likewise.
337 (cabs_test): Likewise.
338 (cacos_test): Likewise.
339 (cacosh_test): Likewise.
340 (casin_test): Likewise.
341 (casinh_test): Likewise.
342 (catan_test): Likewise.
343 (catanh_test): Likewise.
344 (cbrt_test): Likewise.
345 (ccos_test): Likewise.
346 (ccosh_test): Likewise.
347 (cexp_test): Likewise.
348 (clog_test): Likewise.
349 (clog10_test): Likewise.
350 (cos_test): Likewise.
351 (cos_test_tonearest): Likewise.
352 (cos_test_towardzero): Likewise.
353 (cos_test_downward): Likewise.
354 (cos_test_upward): Likewise.
355 (cosh_test): Likewise.
356 (cosh_test_tonearest): Likewise.
357 (cosh_test_towardzero): Likewise.
358 (cosh_test_downward): Likewise.
359 (cosh_test_upward): Likewise.
360 (cpow_test): Likewise.
361 (csin_test): Likewise.
362 (csinh_test): Likewise.
363 (csqrt_test): Likewise.
364 (ctan_test): Likewise.
365 (ctan_test_tonearest): Likewise.
366 (ctan_test_towardzero): Likewise.
367 (ctan_test_downward): Likewise.
368 (ctan_test_upward): Likewise.
369 (ctanh_test): Likewise.
370 (ctanh_test_tonearest): Likewise.
371 (ctanh_test_towardzero): Likewise.
372 (ctanh_test_downward): Likewise.
373 (ctanh_test_upward): Likewise.
374 (erf_test): Likewise.
375 (erfc_test): Likewise.
376 (exp_test): Likewise.
377 (exp_test_tonearest): Likewise.
378 (exp_test_towardzero): Likewise.
379 (exp_test_downward): Likewise.
380 (exp_test_upward): Likewise.
381 (exp10_test): Likewise.
382 (exp2_test): Likewise.
383 (expm1_test): Likewise.
384 (fmod_test): Likewise.
385 (gamma_test): Likewise.
386 (hypot_test): Likewise.
390 (lgamma_test): Likewise.
391 (log_test): Likewise.
392 (log10_test): Likewise.
393 (log1p_test): Likewise.
394 (log2_test): Likewise.
395 (logb_test_downward): Likewise.
396 (pow_test): Likewise.
397 (pow_test_tonearest): Likewise.
398 (pow_test_towardzero): Likewise.
399 (pow_test_downward): Likewise.
400 (pow_test_upward): Likewise.
401 (remainder_test): Likewise.
402 (remquo_test): Likewise.
403 (sin_test): Likewise.
404 (sin_test_tonearest): Likewise.
405 (sin_test_towardzero): Likewise.
406 (sin_test_downward): Likewise.
407 (sin_test_upward): Likewise.
408 (sincos_test): Likewise.
409 (sinh_test): Likewise.
410 (sinh_test_tonearest): Likewise.
411 (sinh_test_towardzero): Likewise.
412 (sinh_test_downward): Likewise.
413 (sinh_test_upward): Likewise.
414 (sqrt_test): Likewise.
415 (tan_test): Likewise.
416 (tan_test_tonearest): Likewise.
417 (tan_test_towardzero): Likewise.
418 (tan_test_downward): Likewise.
419 (tan_test_upward): Likewise.
420 (tanh_test): Likewise.
421 (tgamma_test): Likewise.
426 * math/gen-libm-test.pl (adjust_arg): Remove function.
427 (special_function): Remove argument $in_func. Only handle
428 generating output for tables of tests, not inside functions.
429 (parse_args): Likewise.
430 (generate_testfile): Remove variable $in_func. Update call to
432 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
433 (MINUS_ZERO_INIT): Rename macro to minus_zero.
434 (PLUS_INFTY_INIT): Rename macro to plus_infty.
435 (MINUS_INFTY_INIT): Rename macro to minus_infty.
436 (QNAN_VALUE_INIT): Rename macro to qnan_value.
437 (MAX_VALUE_INIT): Rename macro to max_value.
438 (MIN_VALUE_INIT): Rename macro to min_value.
439 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
440 (plus_zero): Remove variable.
441 (minus_zero): Likewise.
442 (plus_infty): Likewise.
443 (minus_infty): Likewise.
444 (qnan_value): Likewise.
445 (max_value): Likewise.
446 (min_value): Likewise.
447 (min_subnorm_value): Likewise.
449 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
451 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
452 uint64_t or uint32_t usage.
453 * crypt/sha256-block.c: Likewise.
454 * crypt/sha256-crypt.c: Likewise.
455 * crypt/sha256.c: Likewise.
456 * crypt/sha512-block.c: Likewise.
457 * crypt/sha512-crypt.c: Likewise.
458 * crypt/sha512.c: Likewise.
459 * debug/backtrace-tst.c: Likewise.
460 * debug/pcprofiledump.c: Likewise.
461 * elf/cache.c: Likewise.
462 * elf/dl-cache.c: Likewise.
463 * elf/dl-misc.c: Likewise.
464 * elf/dl-profile.c: Likewise.
465 * elf/dl-support.c: Likewise.
466 * elf/ldconfig.c: Likewise.
467 * elf/sprof.c: Likewise.
468 * iconv/dummy-repertoire.c: Likewise.
469 * iconv/iconv_charmap.c: Likewise.
470 * iconv/skeleton.c: Likewise.
471 * iconvdata/8bit-generic.c: Likewise.
472 * iconvdata/cp737.h: Likewise.
473 * iconvdata/cp775.h: Likewise.
474 * iconvdata/ibm1008.h: Likewise.
475 * iconvdata/ibm1025.h: Likewise.
476 * iconvdata/ibm1046.h: Likewise.
477 * iconvdata/ibm1097.h: Likewise.
478 * iconvdata/ibm1112.h: Likewise.
479 * iconvdata/ibm1122.h: Likewise.
480 * iconvdata/ibm1123.h: Likewise.
481 * iconvdata/ibm1124.h: Likewise.
482 * iconvdata/ibm1129.h: Likewise.
483 * iconvdata/ibm1130.h: Likewise.
484 * iconvdata/ibm1132.h: Likewise.
485 * iconvdata/ibm1133.h: Likewise.
486 * iconvdata/ibm1137.h: Likewise.
487 * iconvdata/ibm1140.h: Likewise.
488 * iconvdata/ibm1141.h: Likewise.
489 * iconvdata/ibm1142.h: Likewise.
490 * iconvdata/ibm1143.h: Likewise.
491 * iconvdata/ibm1144.h: Likewise.
492 * iconvdata/ibm1145.h: Likewise.
493 * iconvdata/ibm1146.h: Likewise.
494 * iconvdata/ibm1147.h: Likewise.
495 * iconvdata/ibm1148.h: Likewise.
496 * iconvdata/ibm1149.h: Likewise.
497 * iconvdata/ibm1153.h: Likewise.
498 * iconvdata/ibm1154.h: Likewise.
499 * iconvdata/ibm1155.h: Likewise.
500 * iconvdata/ibm1156.h: Likewise.
501 * iconvdata/ibm1157.h: Likewise.
502 * iconvdata/ibm1158.h: Likewise.
503 * iconvdata/ibm1160.h: Likewise.
504 * iconvdata/ibm1161.h: Likewise.
505 * iconvdata/ibm1162.h: Likewise.
506 * iconvdata/ibm1163.h: Likewise.
507 * iconvdata/ibm1164.h: Likewise.
508 * iconvdata/ibm1166.h: Likewise.
509 * iconvdata/ibm1167.h: Likewise.
510 * iconvdata/ibm12712.h: Likewise.
511 * iconvdata/ibm1390.h: Likewise.
512 * iconvdata/ibm1399.h: Likewise.
513 * iconvdata/ibm16804.h: Likewise.
514 * iconvdata/ibm4517.h: Likewise.
515 * iconvdata/ibm4899.h: Likewise.
516 * iconvdata/ibm4909.h: Likewise.
517 * iconvdata/ibm4971.h: Likewise.
518 * iconvdata/ibm5347.h: Likewise.
519 * iconvdata/ibm803.h: Likewise.
520 * iconvdata/ibm856.h: Likewise.
521 * iconvdata/ibm901.h: Likewise.
522 * iconvdata/ibm902.h: Likewise.
523 * iconvdata/ibm9030.h: Likewise.
524 * iconvdata/ibm9066.h: Likewise.
525 * iconvdata/ibm921.h: Likewise.
526 * iconvdata/ibm922.h: Likewise.
527 * iconvdata/ibm9448.h: Likewise.
528 * iconvdata/isiri-3342.h: Likewise.
529 * iconvdata/jis0201.h: Likewise.
530 * include/link.h: Likewise.
531 * include/netdb.h: Likewise.
532 * inet/check_native.c: Likewise.
533 * inet/check_pf.c: Likewise.
534 * inet/getipv4sourcefilter.c: Likewise.
535 * inet/getnameinfo.c: Likewise.
536 * inet/getsourcefilter.c: Likewise.
537 * inet/htonl.c: Likewise.
538 * inet/setipv4sourcefilter.c: Likewise.
539 * inet/setsourcefilter.c: Likewise.
540 * inet/test-inet6_opt.c: Likewise.
541 * inet/tst-network.c: Likewise.
542 * locale/C-collate.c: Likewise.
543 * locale/C-ctype.c: Likewise.
544 * locale/C-time.c: Likewise.
545 * locale/C-translit.h: Likewise.
546 * locale/loadarchive.c: Likewise.
547 * locale/programs/3level.h: Likewise.
548 * locale/programs/charmap.c: Likewise.
549 * locale/programs/charmap.h: Likewise.
550 * locale/programs/ld-address.c: Likewise.
551 * locale/programs/ld-collate.c: Likewise.
552 * locale/programs/ld-ctype.c: Likewise.
553 * locale/programs/ld-identification.c: Likewise.
554 * locale/programs/ld-measurement.c: Likewise.
555 * locale/programs/ld-messages.c: Likewise.
556 * locale/programs/ld-monetary.c: Likewise.
557 * locale/programs/ld-name.c: Likewise.
558 * locale/programs/ld-numeric.c: Likewise.
559 * locale/programs/ld-paper.c: Likewise.
560 * locale/programs/ld-telephone.c: Likewise.
561 * locale/programs/ld-time.c: Likewise.
562 * locale/programs/linereader.c: Likewise.
563 * locale/programs/locale.c: Likewise.
564 * locale/programs/locarchive.c: Likewise.
565 * locale/programs/locfile.h: Likewise.
566 * locale/programs/repertoire.c: Likewise.
567 * locale/programs/simple-hash.c: Likewise.
568 * locale/programs/simple-hash.h: Likewise.
569 * malloc/memusage.c: Likewise.
570 * malloc/memusagestat.c: Likewise.
571 * nis/nis_defaults.c: Likewise.
572 * nis/nis_hash.c: Likewise.
573 * nis/nis_print.c: Likewise.
574 * nis/nis_xdr.c: Likewise.
575 * nscd/connections.c: Likewise.
576 * nscd/hstcache.c: Likewise.
577 * nscd/nscd_gethst_r.c: Likewise.
578 * nscd/nscd_getserv_r.c: Likewise.
579 * nscd/nscd_helper.c: Likewise.
580 * nscd/servicescache.c: Likewise.
581 * nss/makedb.c: Likewise.
582 * nss/nss_db/db-XXX.c: Likewise.
583 * nss/nss_db/db-initgroups.c: Likewise.
584 * nss/nss_db/db-netgrp.c: Likewise.
585 * nss/nss_files/files-network.c: Likewise.
586 * nss/nss_files/files-parse.c: Likewise.
587 * posix/bug-regex5.c: Likewise.
588 * posix/fnmatch_loop.c: Likewise.
589 * posix/regcomp.c: Likewise.
590 * posix/regexec.c: Likewise.
591 * posix/tst-rfc3484-2.c: Likewise.
592 * posix/tst-rfc3484-3.c: Likewise.
593 * posix/tst-rfc3484.c: Likewise.
594 * resolv/nss_dns/dns-canon.c: Likewise.
595 * resolv/nss_dns/dns-network.c: Likewise.
596 * resolv/res_init.c: Likewise.
597 * resolv/res_mkquery.c: Likewise.
598 * resolv/tst-aton.c: Likewise.
599 * stdlib/cxa_atexit.c: Likewise.
600 * stdlib/cxa_finalize.c: Likewise.
601 * stdlib/gen-fpioconst.c: Likewise.
602 * stdlib/strtol_l.c: Likewise.
603 * string/tst-endian.c: Likewise.
604 * sunrpc/auth_des.c: Likewise.
605 * sunrpc/clnt_udp.c: Likewise.
606 * sunrpc/rtime.c: Likewise.
607 * sunrpc/svcauth_des.c: Likewise.
608 * sunrpc/xdr.c: Likewise.
609 * sunrpc/xdr_intXX_t.c: Likewise.
610 * sunrpc/xdr_rec.c: Likewise.
611 * sysdeps/generic/ldconfig.h: Likewise.
612 * sysdeps/generic/ldsodefs.h: Likewise.
613 * sysdeps/generic/memusage.h: Likewise.
614 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
615 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
616 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
617 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
620 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
621 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
622 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
623 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
624 * sysdeps/posix/getaddrinfo.c: Likewise.
625 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
626 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
627 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
628 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
629 * sysdeps/powerpc/test-gettimebase.c: Likewise.
630 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
631 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
632 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
633 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
634 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
635 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
636 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
637 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
638 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
639 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
640 * sysdeps/x86_64/dl-tls.h: Likewise.
641 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
642 * time/alt_digit.c: Likewise.
643 * time/era.c: Likewise.
644 * wcsmbs/tst-c16c32-1.c: Likewise.
646 2013-05-16 Joseph Myers <joseph@codesourcery.com>
648 * math/libm-test.inc (struct test_sincos_data): New type.
649 (RUN_TEST_LOOP_sincos): New macro.
650 (sincos_test_data): New variable.
651 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
653 2013-05-16 Richard Henderson <rth@redhat.com>
655 * math/atest-exp2.c (LIMB64): New macro.
656 (CONSTSZ): New macro.
657 (mp_exp1, mp_exp_m1, mp_log2): New variables.
659 (print_mpn_fp): ... to function scope.
660 (read_mpn_hex): Remove.
662 (exp2_mpn): Use mp_log2.
665 2013-05-16 Joseph Myers <joseph@codesourcery.com>
667 * math/libm-test.inc: Remove comment about not testing "inexact"
669 (INEXACT_EXCEPTION): New macro.
670 (NO_INEXACT_EXCEPTION): Likewise.
671 (INVALID_EXCEPTION_OK): Update value.
672 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
673 (OVERFLOW_EXCEPTION_OK): Likewise.
674 (UNDERFLOW_EXCEPTION_OK): Likewise.
675 (IGNORE_ZERO_INF_SIGN): Likewise.
676 (ERRNO_UNCHANGED): Likewise.
677 (ERRNO_EDOM): Likewise.
678 (ERRNO_ERANGE): Likewise.
679 (test_exceptions): Handle testing "inexact" exceptions.
680 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
681 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
682 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
683 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
685 (rint_towardzero_test_data): Likewise.
686 (rint_downward_test_data): Likewise.
687 (rint_upward_test_data): Likewise.
689 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
690 with OVERFLOW_EXCEPTION.
691 (exp10_test_data): Likewise.
692 (exp2_test_data): Likewise.
693 (expm1_test_data): Likewise.
694 (lgamma_test_data): Likewise.
695 (pow_test_data): Likewise.
696 (tgamma_test_data): Likewise.
697 (yn_test_data): Remove duplicate test of overflow.
699 * math/libm-test.inc (struct test_cc_c_data): New type.
700 (RUN_TEST_LOOP_cc_c): New macro.
701 (cpow_test_data): New variable.
702 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
704 * math/libm-test.inc (struct test_f_L_data): New type.
705 (RUN_TEST_LOOP_f_L): New macro.
706 (llrint_test_data): New variable.
707 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
708 (llrint_tonearest_test_data): New variable.
709 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
710 (llrint_towardzero_test_data): New variable.
711 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
712 (llrint_downward_test_data): New variable.
713 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
714 (llrint_upward_test_data): New variable.
715 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
716 (llround_test_data): New variable.
717 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
719 2013-05-13 Peter Collingbourne <pcc@google.com>
721 * math/atest-exp2.c (get_log2): Remove const attribute.
723 2013-05-15 Joseph Myers <joseph@codesourcery.com>
725 * math/libm-test.inc (struct test_f_l_data): New type.
726 (RUN_TEST_LOOP_f_l): New macro.
727 (lrint_test_data): New variable.
728 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
729 (lrint_tonearest_test_data): New variable.
730 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
731 (lrint_towardzero_test_data): New variable.
732 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
733 (lrint_downward_test_data): New variable.
734 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
735 (lrint_upward_test_data): New variable.
736 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
737 (lround_test_data): New variable.
738 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
740 2013-05-15 Peter Collingbourne <pcc@google.com>
742 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
743 (EXTRACT_WORDS64) Use where appropriate.
744 (INSERT_WORDS64) Likewise.
746 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
747 constraints with x constraints.
748 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
750 * malloc/obstack.c (_obstack_compat): Add initializer.
752 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
754 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
755 si_trapno and add si_addr_lsb to _sifields.sigfault.
756 (si_trapno): Remove macro.
757 (si_addr_lsb): Define new macro.
758 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
760 2013-05-15 Joseph Myers <joseph@codesourcery.com>
762 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
764 (llrint_test_tonearest): Likewise.
765 (llrint_test_towardzero): Likewise.
766 (llrint_test_downward): Likewise.
767 (llrint_test_upward): Likewise.
768 (llround_test): Likewise.
770 * math/libm-test.inc (struct test_f_i_data): Add comment.
771 (RUN_TEST_LOOP_f_b): New macro.
772 (RUN_TEST_LOOP_f_b_tg): Likewise.
773 (finite_test_data): New variable.
774 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
775 (isfinite_test_data): New variable.
776 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
777 (isinf_test_data): New variable.
778 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
779 (isnan_test_data): New variable.
780 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
781 (isnormal_test_data): New variable.
782 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
783 (issignaling_test_data): New variable.
784 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
785 (signbit_test_data): New variable.
786 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
788 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
789 with INVALID_EXCEPTION.
790 (acosh_test_data): Likewise.
791 (asin_test_data): Likewise.
792 (atanh_test_data): Likewise.
793 (fmod_test_data): Likewise.
794 (log_test_data): Likewise.
795 (log10_test_data): Likewise.
796 (log2_test_data): Likewise.
797 (pow_test_data): Likewise.
798 (sqrt_test_data): Likewise.
799 (y0_test_data): Likewise.
800 (y1_test_data): Likewise.
801 (yn_test_data): Likewise.
803 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
806 * math/libm-test.inc (struct test_ff_i_data): New type.
807 (RUN_TEST_LOOP_ff_i_tg): New macro.
808 (isgreater_test_data): New variable.
809 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
810 (isgreaterequal_test_data): New variable.
811 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
812 (isless_test_data): New variable.
813 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
814 (islessequal_test_data): New variable.
815 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
816 (islessgreater_test_data): New variable.
817 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
818 (isunordered_test_data): New variable.
819 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
821 2013-05-14 David S. Miller <davem@davemloft.net>
823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
825 2013-05-14 Joseph Myers <joseph@codesourcery.com>
827 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
829 * math/libm-test.inc (struct test_fF_f1_data): Change type of
831 (struct test_f_i_data): Change type of max_ulp to int.
833 * math/libm-test.inc (test_ffI_f1_data): New type.
834 (RUN_TEST_LOOP_ffI_f1): New macro.
835 (remquo_test_data): New variable.
836 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
838 * setjmp/tst-setjmp-fp.c: New file.
839 * setjmp/Makefile (tests): Add tst-setjmp-fp.
840 (link-libm): New variable.
841 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
843 * math/libm-test.inc (struct test_f_i_data): New type.
844 (RUN_TEST_LOOP_f_i): New macro.
845 (RUN_TEST_LOOP_f_i_tg): Likewise.
846 (fpclassify_test_data): New variable.
847 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
848 (ilogb_test_data): New variable.
849 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
851 * math/libm-test.inc (scalbln_test): Correct function name in END
854 * math/libm-test.inc (struct test_f_f1_data): Add comment.
855 (RUN_TEST_LOOP_fI_f1): New macro.
856 (frexp_test_data): New variable.
857 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
859 * math/libm-test.inc (struct test_fF_f1_data): New type.
860 (RUN_TEST_LOOP_fF_f1): New macro.
861 (modf_test_data): New variable.
862 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
864 * math/libm-test.inc (struct test_f_f1_data): New type.
865 (RUN_TEST_LOOP_f_f1): New macro.
866 (gamma_test_data): New variable.
867 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
868 (lgamma_test_data): New variable.
869 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
871 2013-05-13 Carlos O'Donell <carlos@redhat.com>
873 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
874 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
875 (main): Comment "tls" pseudo-hwcap.
877 2013-05-13 Joseph Myers <joseph@codesourcery.com>
879 * math/libm-test.inc (struct test_fl_f_data): New type.
880 (RUN_TEST_LOOP_fl_f): New variable.
881 (scalbln_test_data): New variable.
882 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
884 * math/libm-test.inc (struct test_fi_f_data): New type.
885 (RUN_TEST_LOOP_fi_f): New macro.
886 (ldexp_test_data): New variable.
887 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
888 (scalbn_test_data): New variable.
889 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
891 * math/libm-test.inc (struct test_c_f_data): New type.
892 (RUN_TEST_LOOP_c_f): New macro.
893 (cabs_test_data): New variable.
894 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
895 (carg_test_data): New variable.
896 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
897 (cimag_test_data): New variable.
898 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
899 (creal_test_data): New variable.
900 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
902 * math/libm-test.inc (struct test_if_f_data): New type.
903 (RUN_TEST_LOOP_if_f): New macro.
904 (jn_test_data): New variable.
905 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
906 (yn_test_data): New variable.
907 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
909 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
911 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
913 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
914 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
916 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
918 * benchtests/Makefile (CPPFLAGS-nonlib): Add
919 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
920 (bench-deps): Add bench-timing.h.
921 * benchtests-bench-skeleton.c: Include bench-timing.h.
922 (main): Use TIMING_* macros instead of clock_gettime.
923 * benchtests/bench-timing.h: New file.
926 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
927 Renamed from _LIB_VERSION.
928 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
930 2013-05-12 Joseph Myers <joseph@codesourcery.com>
932 * math/libm-test.inc (struct test_fff_f_data): New type.
933 (RUN_TEST_LOOP_fff_f): New macro.
934 (fma_test_data): New variable.
935 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
936 (fma_towardzero_test_data): New variable.
937 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
938 (fma_downward_test_data): New variable.
939 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
940 (fma_upward_test_data): New variable.
941 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
943 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
944 (struct test_c_c_data): New type.
945 (RUN_TEST_LOOP_c_c): New macro.
946 (cacos_test_data): New variable.
947 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
948 (cacosh_test_data): New variable.
949 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
950 (casin_test_data): New variable.
951 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
952 (casinh_test_data): New variable.
953 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
954 (catan_test_data): New variable.
955 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
956 (catanh_test_data): New variable.
957 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
958 (ccos_test_data): New variable.
959 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
960 (ccosh_test_data): New variable.
961 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
962 (cexp_test_data): New variable.
963 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
964 (clog_test_data): New variable.
965 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
966 (clog10_test_data): New variable.
967 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
968 (conj_test_data): New variable.
969 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
970 (cproj_test_data): New variable.
971 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
972 (csin_test_data): New variable.
973 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
974 (csinh_test_data): New variable.
975 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
976 (csqrt_test_data): New variable.
977 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
978 (ctan_test_data): New variable.
979 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
980 (ctan_tonearest_test_data): New variable.
981 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
982 (ctan_towardzero_test_data): New variable.
983 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
984 (ctan_downward_test_data): New variable.
985 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
986 (ctan_upward_test_data): New variable.
987 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
988 (ctanh_test_data): New variable.
989 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
990 (ctanh_tonearest_test_data): New variable.
991 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
992 (ctanh_towardzero_test_data): New variable.
993 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
994 (ctanh_downward_test_data): New variable.
995 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
996 (ctanh_upward_test_data): New variable.
997 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
998 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1001 * math/libm-test.inc (struct test_ff_f_data): New type.
1002 (struct test_ff_f_data_nexttoward): Likewise.
1003 (RUN_TEST_LOOP_2_f): New macro.
1004 (RUN_TEST_LOOP_ff_f): Likewise.
1005 (atan2_test_data): New variable.
1006 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1007 (copysign_test_data): New variable.
1008 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1009 (fdim_test_data): New variable.
1010 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1011 (fmax_test_data): New variable.
1012 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1013 (fmin_test_data): New variable.
1014 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1015 (fmod_test_data): New variable.
1016 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1017 (hypot_test_data): New variable.
1018 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1019 (nextafter_test_data): New variable.
1020 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1021 (nexttoward_test_data): New variable.
1022 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1023 (pow_test_data): New variable.
1024 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1025 (pow_tonearest_test_data): New variable.
1026 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1027 (pow_towardzero_test_data): New variable.
1028 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1029 (pow_downward_test_data): New variable.
1030 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1031 (pow_upward_test_data): New variable.
1032 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1033 (remainder_test_data): New variable.
1034 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1035 (scalb_test_data): New variable.
1036 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1037 * sysdeps/i386/fpu/libm-test-ulps: Update.
1039 2013-05-11 Joseph Myers <joseph@codesourcery.com>
1041 * math/libm-test.inc (fma_test): Use max_value instead of local
1043 (nextafter_test): Likewise.
1045 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1046 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1047 (acos_downward_test_data): New variable.
1048 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1049 (acos_upward_test_data): New variable.
1050 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1051 (acosh_test_data): New variable.
1052 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1053 (asin_test_data): New variable.
1054 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1055 (asin_tonearest_test_data): New variable.
1056 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1057 (asin_towardzero_test_data): New variable.
1058 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1059 (asin_downward_test_data): New variable.
1060 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1061 (asin_upward_test_data): New variable.
1062 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1063 (asinh_test_data): New variable.
1064 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1065 (atan_test_data): New variable.
1066 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1067 (atanh_test_data): New variable.
1068 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1069 (cbrt_test_data): New variable.
1070 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1071 (ceil_test_data): New variable.
1072 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1073 (cos_test_data): New variable.
1074 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1075 (cos_tonearest_test_data): New variable.
1076 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1077 (cos_towardzero_test_data): New variable.
1078 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1079 (cos_downward_test_data): New variable.
1080 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1081 (cos_upward_test_data): New variable.
1082 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1083 (cosh_test_data): New variable.
1084 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1085 (cosh_tonearest_test_data): New variable.
1086 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1087 (cosh_towardzero_test_data): New variable.
1088 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1089 (cosh_downward_test_data): New variable.
1090 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1091 (cosh_upward_test_data): New variable.
1092 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1093 (erf_test_data): New variable.
1094 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1095 (erfc_test_data): New variable.
1096 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1097 (exp_test_data): New variable.
1098 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1099 (exp_tonearest_test_data): New variable.
1100 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1101 (exp_towardzero_test_data): New variable.
1102 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1103 (exp_downward_test_data): New variable.
1104 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1105 (exp_upward_test_data): New variable.
1106 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1107 (exp10_test_data): New variable.
1108 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1109 (exp2_test_data): New variable.
1110 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1111 (expm1_test_data): New variable.
1112 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1113 (fabs_test_data): New variable.
1114 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1115 (floor_test_data): New variable.
1116 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1117 (j0_test_data): New variable.
1118 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1119 (j1_test_data): New variable.
1120 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1121 (log_test_data): New variable.
1122 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1123 (log10_test_data): New variable.
1124 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1125 (log1p_test_data): New variable.
1126 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1127 (log2_test_data): New variable.
1128 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1129 (logb_test_data): New variable.
1130 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1131 (logb_downward_test_data): New variable.
1132 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1133 (nearbyint_test_data): New variable.
1134 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1135 (rint_test_data): New variable.
1136 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1137 (rint_tonearest_test_data): New variable.
1138 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1139 (rint_towardzero_test_data): New variable.
1140 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1141 (rint_downward_test_data): New variable.
1142 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1143 (rint_upward_test_data): New variable.
1144 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1145 (round_test_data): New variable.
1146 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1147 (sin_test_data): New variable.
1148 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1149 (sin_tonearest_test_data): New variable.
1150 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1151 (sin_towardzero_test_data): New variable.
1152 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1153 (sin_downward_test_data): New variable.
1154 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1155 (sin_upward_test_data): New variable.
1156 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1157 (sinh_test_data): New variable.
1158 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1159 (sinh_tonearest_test_data): New variable.
1160 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1161 (sinh_towardzero_test_data): New variable.
1162 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1163 (sinh_downward_test_data): New variable.
1164 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1165 (sinh_upward_test_data): New variable.
1166 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1167 (sqrt_test_data): New variable.
1168 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1169 (tan_test_data): New variable.
1170 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1171 (tan_tonearest_test_data): New variable.
1172 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1173 (tan_towardzero_test_data): New variable.
1174 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1175 (tan_downward_test_data): New variable.
1176 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1177 (tan_upward_test_data): New variable.
1178 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1179 (tanh_test_data): New variable.
1180 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1181 (tgamma_test_data): New variable.
1182 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1183 (trunc_test_data): New variable.
1184 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1185 (y0_test_data): New variable.
1186 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1187 (y1_test_data): New variable.
1188 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1189 (significand_test_data): New variable.
1190 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1192 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1195 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1197 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1199 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1201 2013-05-10 Andreas Jaeger <aj@suse.de>
1204 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1205 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1207 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1209 * math/gen-libm-test.pl (adjust_arg): New function.
1210 (special_functions): Handle generating output in both functions
1212 (parse_args): Likewise.
1213 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1214 $in_func argument to parse_args.
1215 * math/libm-test.inc (struct test_f_f_data): New type.
1216 (IF_ROUND_INIT_): New macro.
1217 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1218 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1219 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1220 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1221 (ROUND_RESTORE_): Likewise.
1222 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1223 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1224 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1225 (ROUND_RESTORE_FE_UPWARD): Likewise.
1226 (RUN_TEST_LOOP_f_f): New macro.
1227 (acos_test_data): New variable.
1228 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1229 (acos_tonearest_test_data): New variable.
1230 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1232 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1234 * benchtests/bench-skeleton.c (startup): Fix coding style.
1236 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1239 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1240 negative infinity argument.
1241 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1242 negative infinity argument.
1243 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1244 negative infinity argument.
1245 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1248 2013-05-10 Florian Weimer <fweimer@redhat.com>
1250 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1251 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1252 * iconv/iconv_prog.c (main): Likewise.
1253 * locale/programs/charmap-dir.c (charmap_readdir)
1254 (fopen_uncompressed): Likewise.
1255 * locale/programs/locfile.c (siblings_uncached)
1256 (write_locale_data): Use lstat64 instead of lstat.
1257 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1260 2013-05-10 Andreas Jaeger <aj@suse.de>
1263 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1267 2013-05-09 Carlos O'Donell <carlos@redhat.com>
1269 * elf/dl-close.c (_dl_close_worker): Add comments.
1271 2013-05-09 Joseph Myers <joseph@codesourcery.com>
1274 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1276 (__ieee754_rem_pio2l): Update comments.
1279 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1281 (__ieee754_rem_pio2l): Update comments.
1283 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1284 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1286 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1289 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1290 (M_PI_34_LOG10El): Likewise.
1291 (M_PI2_LOG10El): Likewise.
1292 (M_PI4_LOG10El): Likewise.
1293 (M_PI_LOG10El): Likewise.
1295 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1299 2013-05-08 Joseph Myers <joseph@codesourcery.com>
1301 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1302 (MINUS_ZERO_INIT): Likewise.
1303 (PLUS_INFTY_INIT): Likewise.
1304 (MINUS_INFTY_INIT): Likewise.
1305 (QNAN_VALUE_INIT): Likewise.
1306 (MAX_VALUE_INIT): Likewise.
1307 (MIN_VALUE_INIT): Likewise.
1308 (MIN_SUBNORM_VALUE_INIT): Likewise.
1309 (plus_zero): Initialize with PLUS_ZERO_INIT.
1310 (minus_zero): Initialize with MINUS_ZERO_INIT.
1311 (plus_infty): Initialize with PLUS_INFTY_INIT.
1312 (minus_infty): Initialize with MINUS_INFTY_INIT.
1313 (qnan_value): Initialize with QNAN_VALUE_INIT.
1314 (max_value): Initialize with MAX_VALUE_INIT.
1315 (min_value): Initialize with MIN_VALUE_INIT.
1316 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1318 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1319 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1320 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1321 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1323 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1324 (RUN_TEST_2_f): Likewise.
1325 (RUN_TEST_ff_f): Likewise.
1326 (RUN_TEST_fi_f): Likewise.
1327 (RUN_TEST_fl_f): Likewise.
1328 (RUN_TEST_fff_f): Likewise.
1329 (RUN_TEST_c_f): Likewise.
1330 (RUN_TEST_f_f1): Likewise.
1331 (RUN_TEST_fF_f1): Likewise.
1332 (RUN_TEST_fI_f1): Likewise.
1333 (RUN_TEST_ffI_f1): Likewise.
1334 (RUN_TEST_c_c): Likewise.
1335 (RUN_TEST_cc_c): Likewise.
1336 (RUN_TEST_f_i): Likewise.
1337 (RUN_TEST_f_i_tg): Likewise.
1338 (RUN_TEST_ff_i_tg): Likewise.
1339 (RUN_TEST_f_b): Likewise.
1340 (RUN_TEST_f_b_tg): Likewise.
1341 (RUN_TEST_f_l): Likewise.
1342 (RUN_TEST_f_L): Likewise.
1343 (RUN_TEST_sincos): Likewise.
1344 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1345 whether to show exceptions. Do not include ");\n" in return
1347 (special_functions): Output call to RUN_TEST_sincos instead of
1348 check_float calls. Update calls to new_test.
1349 (parse_args): Output call to single RUN_TEST_* macro instead of
1350 check_* calls and other assignments. Update calls to new_test.
1356 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1357 input to result for tgamma overflow.
1358 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1359 (gamma_coeff): New variable.
1360 (NCOEFF): New macro.
1361 (gamma_positive): New function.
1362 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1363 underflow here. Use gamma_positive instead of exp (lgamma) for
1365 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1366 (gamma_coeff): New variable.
1367 (NCOEFF): New macro.
1368 (gammaf_positive): New function.
1369 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1370 underflow here. Use gamma_positive instead of exp (lgamma) for
1372 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1373 (gamma_coeff): New variable.
1374 (NCOEFF): New macro.
1375 (gammal_positive): New function.
1376 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1377 underflow here. Use gamma_positive instead of exp (lgamma) for
1379 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1380 (gamma_coeff): New variable.
1381 (NCOEFF): New macro.
1382 (gammal_positive): New function.
1383 (__ieee754_gammal_r): Handle positive infinity, overflow and
1384 underflow here. Handle NaN the same as positive infinity. Remove
1385 check x < 0xffffffff for negative integers. Use gamma_positive
1386 instead of exp (lgamma) for other arguments.
1387 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1388 (gamma_coeff): New variable.
1389 (NCOEFF): New macro.
1390 (gammal_positive): New function.
1391 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1392 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1393 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1395 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1396 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1397 * sysdeps/generic/math_private.h (__gamma_productf): New
1399 (__gamma_product): Likewise.
1400 (__gamma_productl): Likewise.
1401 * math/Makefile (libm-calls): Add gamma_product.
1402 * math/libm-test.inc (tgamma_test): Add more tests.
1403 * sysdeps/i386/fpu/libm-test-ulps: Update.
1404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1406 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
1408 * benchtests/bench-skeleton.c (main): Preheat CPU.
1410 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1412 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1414 2013-05-07 Roland McGrath <roland@hack.frob.com>
1416 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1417 and _dl_skip_args_internal.
1419 2013-05-07 Carlos O'Donell <carlos@redhat.com>
1421 * manual/message.texi (Message Translation): Talk about users.
1422 Message to key mapping impacts design.
1424 2013-05-06 Roland McGrath <roland@hack.frob.com>
1426 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
1428 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
1430 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
1431 * sysdeps/wordsize-64/glob64.c: ... here.
1433 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
1434 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
1437 * debug/getlogin_r_chk.c: Moved to ...
1438 * login/getlogin_r_chk.c: ... here.
1439 * debug/Makefile (routines): Move getlogin_r_chk to ...
1440 * login/Makefile (routines): ... here.
1441 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
1442 * login/Versions (libc: GLIBC_2.4): ... here.
1444 * io/poll.c (__poll): Renamed from poll.
1445 Add libc_hidden_def.
1446 (poll): Define as weak alias.
1448 * debug/ptsname_r_chk.c: Moved to ...
1449 * login/ptsname_r_chk.c: ... here.
1450 * debug/Makefile (routines): Move ptsname_r_chk to ...
1451 * login/Makefile (routines): ... here.
1452 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
1453 * login/Versions (libc: GLIBC_2.4): ... here.
1455 * posix/getlogin.c: Moved to ...
1456 * login/getlogin.c: ... here.
1457 * posix/getlogin_r.c: Moved to ...
1458 * login/getlogin_r.c: ... here.
1459 * posix/getlogin_r.c: Moved to ...
1460 * login/getlogin_r.c: ... here.
1461 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
1462 * login/Makefile (routines): ... here.
1463 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
1464 * login/Versions (libc: GLIBC_2.0): ... here.
1466 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
1467 (setrlimit): Define as weak alias.
1469 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
1470 Call __ names for open, ftruncate, and close.
1471 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
1472 (truncate): Define as weak alias.
1474 2013-05-06 Joseph Myers <joseph@codesourcery.com>
1476 * math/gen-libm-test.pl (parse_args): Initialize x before each
1477 test of frexp, modf and remquo.
1479 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
1482 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1486 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
1488 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1490 2013-05-06 Roland McGrath <roland@hack.frob.com>
1492 * elf/dl-writev.h: New file.
1493 * elf/dl-misc.c: Include it.
1494 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
1495 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
1497 2013-05-04 Joseph Myers <joseph@codesourcery.com>
1499 * math/libm-test.inc (noXFails): Remove variable.
1500 (noXPasses): Likewise.
1501 (BUILD_COMPLEX_INT): Remove macro.
1502 (print_screen): Remove xfail argument.
1503 (print_screen_max_error): Likewise.
1504 (update_stats): Likewise.
1505 (print_max_error): Likewise. Update calls to other affected
1507 (print_complex_max_error): Likewise.
1508 (test_single_exception): Update calls to print_screen.
1509 (test_single_errno): Likewise.
1510 (check_float_internal): Remove xfail argument. Update calls to
1511 other affected functions.
1512 (check_float): Likewise.
1513 (check_complex): Likewise.
1514 (check_int): Likewise.
1515 (check_long): Likewise.
1516 (check_bool): Likewise.
1517 (check_longlong): Likewise.
1518 (main): Don't print noXFails and noXPasses.
1519 * math/gen-libm-test.pl (top level): Don't mention expected
1520 failure handling in comment.
1521 (new_test): Don't handle expected failures.
1522 (parse_args): Don't mention expected failure handling in comment.
1523 (generate_testfile): Don't handle expected failures.
1524 (parse_ulps): Likewise.
1525 (print_ulps_file): Likewise.
1526 (get_failure): Remove function.
1527 (output_test): Don't handle expected failures.
1528 * make/README.libm-test: Don't mention expected failure handling.
1530 * math/libm-test.inc (plus_zero): Make const. Add initializer.
1531 (minus_zero): Likewise.
1532 (plus_infty): Likewise.
1533 (minus_infty): Likewise.
1534 (qnan_value): Likewise.
1535 (max_value): Likewise.
1536 (min_value): Likewise.
1537 (min_subnorm_value): Likewise.
1538 (initialize): Do not initialize those variables dynamically.
1540 2013-05-03 Roland McGrath <roland@hack.frob.com>
1542 * io/open.c (__open_2): Moved to ...
1543 * io/open_2.c: ... this new file.
1544 * io/open64.c (__open64_2): Moved to ...
1545 * io/open64_2.c: ... this new file.
1546 * io/openat.c (__openat_2): Moved to ...
1547 * io/openat_2.c: ... this new file.
1548 * io/openat64.c (__openat64_2): Moved to ...
1549 * io/openat64_2.c: ... this new file.
1550 * io/Makefile (routines): Add them.
1551 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
1552 * sysdeps/unix/sysv/linux/open_2.c: File removed.
1553 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
1554 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
1555 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
1556 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
1557 (__openat64): Add hidden_ver.
1558 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
1559 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
1561 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
1562 Separately conditionalize setting of GLRO(dl_sysinfo) so
1563 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
1564 as well, but the actual setting is only under [NEED_DL_SYSINFO].
1566 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1568 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
1569 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
1571 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
1572 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1573 (_libc_vdso_platform_setup): Add __vdso_time initialization.
1574 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
1575 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
1577 2013-05-03 Joseph Myers <joseph@codesourcery.com>
1579 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
1582 * math/libm-test.inc (hypot_test): Do not use
1583 IGNORE_ZERO_INF_SIGN.
1585 2013-05-03 Andreas Jaeger <aj@suse.de>
1587 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
1589 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
1590 (PF_MAX): Adjust for VSOCK change.
1592 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1596 2013-05-02 Carlos O'Donell <carlos@redhat.com>
1599 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
1600 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
1601 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
1603 2013-05-02 David S. Miller <davem@davemloft.net>
1605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1607 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
1609 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
1611 2013-05-01 Roland McGrath <roland@hack.frob.com>
1613 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
1615 2013-05-01 Richard Smith <richard@metafoo.co.uk>
1618 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
1619 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1620 Use __attribute__ ((__gnu_inline__)).
1621 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1622 Don't use __attribute__ ((__gnu_inline__)).
1624 2013-05-01 Joseph Myers <joseph@codesourcery.com>
1627 * math/s_catan.c (__catan): Handle small real or imaginary part of
1628 input specially to avoid spurious underflow.
1629 * math/s_catanf.c (__catanf): Likewise.
1630 * math/s_catanh.c (__catanh): Likewise.
1631 * math/s_catanhf.c (__catanhf): Likewise.
1632 * math/s_catanhl.c (__catanhl): Likewise.
1633 * math/s_catanl.c (__catanl): Likewise.
1634 * math/libm-test.inc (catan_test): Add more tests.
1635 (catanh_test): Likewise.
1636 * sysdeps/i386/fpu/libm-test-ulps: Update.
1637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1639 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1643 2013-04-30 Joseph Myers <joseph@codesourcery.com>
1646 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
1647 accurately for denominator in atan2.
1648 * math/s_catanf.c (__catanf): Likewise.
1649 * math/s_catanh.c (__catanh): Likewise.
1650 * math/s_catanhf.c (__catanhf): Likewise.
1651 * math/s_catanhl.c (__catanhl): Likewise.
1652 * math/s_catanl.c (__catanl): Likewise.
1653 * math/libm-test.inc (catan_test): Add more tests.
1654 (catanh_test): Likewise.
1655 * sysdeps/i386/fpu/libm-test-ulps: Update.
1656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1658 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1660 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1662 * benchtests/Makefile (bench): Remove slow benchmarks.
1663 * benchtests/atan-inputs: Add slow benchmark inputs.
1664 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1665 (BENCH_FUNC): Accept variant offset.
1667 * benchtests/bench-skeleton.c (main): Run benchmark for each
1669 * benchtests/cos-inputs: Add slow benchmark inputs.
1670 * benchtests/exp-inputs: Likewise.
1671 * benchtests/pow-inputs: Likewise.
1672 * benchtests/sin-inputs: Likewise.
1673 * benchtests/slowatan-inputs: Remove.
1674 * benchtests/slowatan.c: Remove.
1675 * benchtests/slowcos-inputs: Remove.
1676 * benchtests/slowcos.c: Remove.
1677 * benchtests/slowexp-inputs: Remove.
1678 * benchtests/slowexp.c: Remove.
1679 * benchtests/slowpow-inputs: Remove.
1680 * benchtests/slowpow.c: Remove.
1681 * benchtests/slowsin-inputs: Remove.
1682 * benchtests/slowsin.c: Remove.
1683 * benchtests/slowtan-inputs: Remove.
1684 * benchtests/slowtan.c: Remove.
1685 * benchtests/tan-inputs: Add slow benchmark inputs.
1686 * scripts/bench.pl: Parse comments and directives.
1688 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
1690 ($(objpfx)bench-%.c): Remove *-ITER.
1691 * benchtests/bench-modf.c: Remove definition of ITER.
1692 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1693 (main): Loop for DURATION seconds instead of fixed number of
1695 * scripts/bench.pl: Don't expect iterations in parameters.
1697 2013-04-29 Roland McGrath <roland@hack.frob.com>
1699 * io/fchdir.c (__fchdir): Renamed from fchdir.
1700 (fchdir): Define as weak alias.
1702 2013-04-29 Joseph Myers <joseph@codesourcery.com>
1704 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1705 (ERRNO_EDOM): Likewise.
1706 (ERRNO_ERANGE): Likewise.
1707 (noErrnoTests): New variable.
1708 (init_max_error): Set errno to 0.
1709 (test_single_errno): New function.
1710 (test_errno): Likewise.
1711 (check_float_internal): Call test_errno. Set errno to 0.
1712 (check_complex): Refer to errno tests in comment.
1713 (check_int): Call test_errno. Set errno to 0.
1714 (check_long): Likewise.
1715 (check_bool): Likewise.
1716 (check_longlong): Likewise.
1717 (cos_test): Use ERRNO_* flags for errno tests instead of
1719 (expm1_test): Likewise.
1720 (fmod_test): Likewise.
1721 (ilogb_test): Likewise.
1722 (lgamma_test): Likewise.
1723 (pow_test): Likewise.
1724 (remainder_test): Likewise.
1725 (sin_test): Likewise.
1726 (tan_test): Likewise.
1727 (yn_test): Likewise.
1728 (initialize): Set errno to 0.
1729 (main): Print number of errno tests.
1730 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1732 2013-04-29 Andreas Jaeger <aj@suse.de>
1735 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1739 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1740 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1744 * stdlib/random.c (__initstate): Return NULL if
1748 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1749 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1752 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1756 2013-04-29 Joseph Myers <joseph@codesourcery.com>
1758 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1759 of individual tests.
1760 (casin_test): Likewise.
1761 (casinh_test): Likewise.
1763 2013-04-27 Joseph Myers <joseph@codesourcery.com>
1766 * math/s_catan.c (__catan): Handle arguments with large real or
1767 imaginary part separately without squaring.
1768 * math/s_catanf.c (__catanf): Likewise.
1769 * math/s_catanh.c (__catanh): Likewise.
1770 * math/s_catanhf.c (__catanhf): Likewise.
1771 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1773 (__catanhl): Handle arguments with large real or imaginary part
1774 separately without squaring.
1775 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1777 (__catanl): Handle arguments with large real or imaginary part
1778 separately without squaring.
1779 * math/libm-test.inc (catan_test): Add more tests.
1780 (catanh_test): Likewise.
1781 * sysdeps/i386/fpu/libm-test-ulps: Update.
1782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1784 2013-04-27 Andreas Jaeger <aj@suse.de>
1787 * stdlib/stdlib.h: Update guards for qecvt.
1788 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1791 2013-04-27 Allan McRae <allan@archlinux.org>
1793 * sysdeps/i386/fpu/libm-test-ulps: Update.
1795 2013-04-26 Joseph Myers <joseph@codesourcery.com>
1798 * math/s_catan.c: Include <float.h>.
1799 (__catan): Ensure underflow exception occurs for underflowed
1801 * math/s_catanf.c: Include <float.h>.
1802 (__catanf): Ensure underflow exception occurs for underflowed
1804 * math/s_catanh.c: Include <float.h>.
1805 (__catanh): Ensure underflow exception occurs for underflowed
1807 * math/s_catanhf.c: Include <float.h>.
1808 (__catanhf): Ensure underflow exception occurs for underflowed
1810 * math/s_catanhl.c: Include <float.h>.
1811 (__catanhl): Ensure underflow exception occurs for underflowed
1813 * math/s_catanl.c: Include <float.h>.
1814 (__catanl): Ensure underflow exception occurs for underflowed
1816 * math/libm-test.inc (catan_test): Add more tests.
1817 (catanh_test): Likewise.
1820 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1822 * math/s_ccoshf.c (__ccoshf): Likewise.
1823 * math/s_ccoshl.c (__ccoshl): Likewise.
1824 * math/s_csin.c (__csin): Likewise.
1825 * math/s_csinf.c (__csinf): Likewise.
1826 * math/s_csinh.c (__csinh): Likewise.
1827 * math/s_csinhf.c (__csinhf): Likewise.
1828 * math/s_csinhl.c (__csinhl): Likewise.
1829 * math/s_csinl.c (__csinl): Likewise.
1830 * math/libm-test.inc (ccos_test): Add more tests.
1831 (ccosh_test): Likewise.
1832 (csin_test): Likewise.
1833 (csinh_test): Likewise.
1835 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1837 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1838 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1839 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1840 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1841 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1842 powerpc/power5+/fpu folders.
1843 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1846 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1850 2013-04-25 Joseph Myers <joseph@codesourcery.com>
1852 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1853 additions to variable.
1854 [$(config-machine) = x86_64] (modules-names): Likewise.
1855 ($(objpfx)tst-audit3): Remove dependency.
1856 ($(objpfx)tst-audit3.out): Likewise.
1857 ($(objpfx)tst-audit4): Likewise.
1858 ($(objpfx)tst-audit4.out): Likewise.
1859 ($(objpfx)tst-audit5): Likewise.
1860 ($(objpfx)tst-audit5.out): Likewise.
1861 ($(objpfx)tst-audit6): Likewise.
1862 ($(objpfx)tst-audit6.out): Likewise.
1863 ($(objpfx)tst-audit7): Likewise.
1864 ($(objpfx)tst-audit7.out): Likewise.
1865 (tst-audit3-ENV): Remove variable.
1866 (tst-audit4-ENV): Likewise.
1867 (tst-audit5-ENV): Likewise.
1868 (tst-audit6-ENV): Likewise.
1869 (tst-audit7-ENV): Likewise.
1870 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1871 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1872 addition to variable.
1873 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1874 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1875 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1876 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1877 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1878 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1879 tst-audit3, tst-audit4 and tst-audit5.
1880 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1881 tst-audit6 and tst-audit7.
1882 [$(subdir) = elf] (modules-names): Add audit modules for those
1884 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1885 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1886 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1887 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1888 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1889 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1890 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1891 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1892 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1893 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1894 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1895 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1896 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1897 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1898 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1899 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1901 [$(subdir) = elf && $(config-cflags-avx) = yes]
1902 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1903 [$(subdir) = elf && $(config-cflags-avx) = yes]
1904 (CFLAGS-tst-auditmod4a.c): Likewise.
1905 [$(subdir) = elf && $(config-cflags-avx) = yes]
1906 (CFLAGS-tst-auditmod4b.c): Likewise.
1907 [$(subdir) = elf && $(config-cflags-avx) = yes]
1908 (CFLAGS-tst-auditmod6b.c): Likewise.
1909 [$(subdir) = elf && $(config-cflags-avx) = yes]
1910 (CFLAGS-tst-auditmod6c.c): Likewise.
1911 [$(subdir) = elf && $(config-cflags-avx) = yes]
1912 (CFLAGS-tst-auditmod7b.c): Likewise.
1913 * elf/tst-audit3.c: Move to ...
1914 * sysdeps/x86_64/tst-audit3.c: ... here.
1915 * elf/tst-audit4.c: Move to ...
1916 * sysdeps/x86_64/tst-audit4.c: ... here.
1917 * elf/tst-audit5.c: Move to ...
1918 * sysdeps/x86_64/tst-audit5.c: ... here.
1919 * elf/tst-audit6.c: Move to ...
1920 * sysdeps/x86_64/tst-audit6.c: ... here.
1921 * elf/tst-audit7.c: Move to ...
1922 * sysdeps/x86_64/tst-audit7.c: ... here.
1923 * elf/tst-auditmod3a.c: Move to ...
1924 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1925 * elf/tst-auditmod3b.c: Move to ...
1926 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1927 * elf/tst-auditmod4a.c: Move to ...
1928 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1929 * elf/tst-auditmod4b.c: Move to ...
1930 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1931 * elf/tst-auditmod5a.c: Move to ...
1932 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1933 * elf/tst-auditmod5b.c: Move to ...
1934 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1935 * elf/tst-auditmod6a.c: Move to ...
1936 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1937 * elf/tst-auditmod6b.c: Move to ...
1938 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1939 * elf/tst-auditmod6c.c: Move to ...
1940 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1941 * elf/tst-auditmod7a.c: Move to ...
1942 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1943 * elf/tst-auditmod7b.c: Move to ...
1944 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1946 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1949 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1950 define unconditionally.
1951 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1952 define unconditionally.
1953 (INT8_C, INT16_C, etc.): Likewise.
1955 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1957 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1958 __ehdr_start with hidden visibility.
1960 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1962 2013-04-24 Carlos O'Donell <carlos@redhat.com>
1964 * math/libm-test.inc (cos_test): Use accurate hex constants.
1965 (sincost_test): Likewise.
1967 2013-04-24 Joseph Myers <joseph@codesourcery.com>
1969 * math/libm-test.inc (catan_test): Add more tests.
1970 (catanh_test): Likewise.
1972 * math/s_catanf.c (__catanf): Use suffixed floating-point
1974 * math/s_catanhf.c (__catanhf): Likewise.
1975 * math/s_catanhl.c (__catanhl): Likewise.
1976 * math/s_catanl.c (__catanl): Likewise.
1979 * math/s_catan.c (__catan): Calculate imaginary part of result
1980 with log1p not log unless computing log of number close to 0.
1981 * math/s_catanf.c (__catanf): Likewise.
1982 * math/s_catanl.c (__catanl): Likewise.
1983 * math/s_catanh.c (__catanh): Calculate real part of result with
1984 log1p not log unless computing log of number close to 0.
1985 * math/s_catanhf.c (__catanhf): Likewise.
1986 * math/s_catanhl.c (__catanhl): Likewise.
1987 * math/libm-test.inc (catan_test): Add more tests.
1988 (catanh_test): Likewise.
1989 * sysdeps/i386/fpu/libm-test-ulps: Update.
1990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1992 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1994 * benchtests/Makefile: Mention files in which fast and slow
1995 paths of math functions are implemented.
1997 2013-04-23 Roland McGrath <roland@hack.frob.com>
1999 * sysdeps/posix/timespec_get.c: New file.
2001 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2003 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2005 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2007 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2008 powerpc/power5/fpu folders.
2009 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2010 * benchtests/Makefile: Add modf testcase.
2011 * benchtests/bench-modf.c: New file: Benchmark test for mo
2013 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2016 * time/Makefile (tests): Add tst-strptime-whitespace.
2017 * time/strptime_l.c (get_number): Use ISSPACE.
2018 (__strptime_internal): Likewise.
2019 * time/tst-strptime-whitespace.c: New test case.
2021 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2023 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2025 (_nss_files_init): Set it here.
2027 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2029 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2030 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2033 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2035 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2037 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2039 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2042 2013-04-21 David S. Miller <davem@davemloft.net>
2044 * po/ru.po: Update Russion translation from translation project.
2046 2013-04-17 Adam Conrad <adconrad@0c3.net>
2048 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2051 2013-04-17 Carlos O'Donell <carlos@redhat.com>
2053 * configure.in: Remove i386 configure warning. Remove i386 case.
2054 * configure: Regenerate.
2055 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
2056 Add example to error message.
2057 * sysdeps/i386/configure: Regenerate.
2059 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2061 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2063 * benchtests/cos-inputs: New file.
2064 * benchtests/slowcos-inputs: New file.
2065 * benchtests/slowcos.c: New file.
2066 * benchtests/slowtan-inputs: New file.
2067 * benchtests/slowtan.c: New file.
2068 * benchtests/tan-inputs: New file.
2070 2013-04-16 Roland McGrath <roland@hack.frob.com>
2072 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2075 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2077 * benchtests/Makefile: Include cppflags-iterator.mk to add
2078 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2080 * Makefile.in (bench-clean): New target.
2081 * benchtests/Makefile (bench-clean): Likewise.
2083 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2085 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2087 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2089 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2091 2013-04-15 Andreas Schwab <schwab@suse.de>
2093 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2094 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2095 * nscd/pwdcache.c (cache_addpw): Likewise.
2096 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2099 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2101 * benchtests/Makefile (bench): Write all output to
2102 bench-out.tmp together.
2104 2013-04-15 Andreas Schwab <schwab@suse.de>
2106 * nscd/nscd.c (main): Don't fork again after closing files.
2108 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2110 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2112 * benchtests/Rules (bench-deps): Collect dependencies into a
2113 single variable. Add Makefile to dependencies.
2114 ($(objpfx)bench-%.c): Depend on bench-deps.
2116 2013-04-12 Roland McGrath <roland@hack.frob.com>
2117 Xavier Roche <roche+kml2@exalead.com>
2120 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2121 just that it's a file descriptor.
2122 * manual/llio.texi (Synchronizing AIO Operations): Update description
2123 for EBADF error from aio_fsync.
2125 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2127 * Rules (bench): Move target definition...
2128 * benchtests/Makefile: ... here.
2130 2013-04-11 Carlos O'Donell <carlos@redhat.com>
2132 * math/libm-test.inc (cos_test): Fix PI/2 test.
2133 (sincos_test): Likewise.
2134 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2135 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2137 2013-04-11 Andreas Schwab <schwab@suse.de>
2140 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2141 accept exponent character only when digits were seen.
2142 * stdio-common/Makefile (tests): Add bug26.
2143 * stdio-common/bug26.c: New file.
2146 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2149 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2151 * Makeconfig (rtld-prefix): Define built linker prefix.
2152 * Rules (run-bench): Use it.
2153 * math/Makefile (run-regen-ulps): Likewise.
2155 * Rules (bench): Remove eval.
2157 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2158 Roland McGrath <roland@hack.frob.com>
2159 Ondrej Bilka <neleai@seznam.cz>
2162 * time/getdate.c: Include ctype.h and alloca.h.
2163 (__getdate_r): Trim leading and trailing spaces of input.
2164 * time/tst-getdate.c (tests): Add tests with leading and
2167 2013-04-08 Roland McGrath <roland@hack.frob.com>
2170 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2171 when computing value.
2173 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2175 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2176 Use testrun.sh to run libm tests.
2179 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2181 2013-04-06 Marko Myllynen <myllynen@redhat.com>
2184 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2186 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2188 * Makefile.in (regen-ulps): New target.
2189 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2190 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2191 [ifneq (no,$(PERL)] (regen-ulps): New target.
2192 [ifeq (no,$(PERL)] (regen-ulps): New target.
2193 * math/libm-test.inc (ulps_file_name): Define.
2194 (output_dir): New variable.
2195 (options): Add "output-dir" option.
2196 (parse_opt): Handle 'o' case.
2197 (main): If output_dir is non-NULL use it as a prefix
2199 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2201 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2204 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2205 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2206 fail configure if __sync_val_compare_and_swap is not inlined.
2207 * sysdeps/i386/configure: Regenerate.
2208 * configure.in: Build for i686 when configured for i386.
2209 * configure: Regenerate.
2210 * README: Remove i386 reference.
2212 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2214 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2215 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2217 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2219 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2220 (lmsnanval): New variables.
2221 (F): Add conversion tests.
2222 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2223 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2225 * stdio-common/tstdiomisc.c (F): Properly collect individual
2229 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2230 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2231 Instead, use input NaN values or generate a qNaN by arithmetic
2232 operation. Also fix bugs to comply with the standard.
2233 * math/libm-test.inc (remainder_test): Add more tests.
2236 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2238 input NaN values or generate a qNaN by arithmetic operation.
2240 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2243 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2246 2013-04-03 Joseph Myers <joseph@codesourcery.com>
2249 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2251 * math/s_cexpf.c (__cexpf): Likewise.
2252 * math/s_cexpl.c (__cexpl): Likewise.
2253 * math/libm-test.inc (cexp_test): Add more tests.
2255 2013-04-03 Andreas Schwab <schwab@suse.de>
2258 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2259 order arrays from heap if bigger than alloca cutoff.
2261 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2263 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2264 (SNAN_TESTS_double): Refer to GCC PR56831.
2265 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2268 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2270 * Rules (bench): Move bench.out after the run is complete.
2272 * Rules (bench): Echo currently running benchmark.
2274 * benchtests/Makefile (bench): Add atan and slowatan.
2275 * benchtests/atan-inputs: New file.
2276 * benchtests/slowatan-inputs: New file.
2277 * benchtests/slowatan.c: New file.
2279 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2280 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2284 * sysdeps/unix/sysv/linux/kernel-features.h
2285 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2286 __ASSUME_XFS_RESTRICTED_CHOWN.
2287 * sysdeps/unix/sysv/linux/pathconf.c
2288 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2289 Save and restore errno.
2291 2013-04-02 Joseph Myers <joseph@codesourcery.com>
2294 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2295 arguments using __kernel_casinh.
2296 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2297 arguments using __kernel_casinhf.
2298 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2299 arguments using __kernel_casinhl.
2300 * math/libm-test.inc (cacosh_test): Add more tests.
2301 * sysdeps/i386/fpu/libm-test-ulps: Update.
2302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2304 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2306 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2309 * bench/Makefile (bench): Add sin and slowsin.
2310 * benchtests/sin-inputs: New file.
2311 * benchtests/slowsin-inputs: New file.
2312 * benchtests/slowsin.c: New file.
2314 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2315 (bench): Add slowexp and slowpow.
2316 (exp-ITER): Increase iterations.
2317 (pow-ITER): Likewise.
2318 * benchtests/exp-inputs: Change input.
2319 * benchtests/pow-inputs: Likewise.
2320 * benchtests/slowexp-inputs: New file.
2321 * benchtests/slowexp.c: New file.
2322 * benchtests/slowpow-inputs: New file.
2323 * benchtests/slowpow.c: New file.
2325 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2327 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2329 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2330 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2331 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2332 * benchtests/Makefile: Add rint benchtest.
2333 * benchtests/rint-inputs: Input for rint benchtest.
2335 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2337 * Versions.def (libm): Add GLIBC_2.18.
2338 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2339 hidden libm prototypes.
2340 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2341 * math/Makefile (libm-calls): Add s_issignaling.
2342 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2343 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2344 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2346 * math/math.h [__USE_GNU] (issignaling): New macro.
2347 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2348 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2349 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2350 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2351 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2352 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2353 * manual/arith.texi (issignaling): New section.
2354 * manual/libm-err-tab.pl (@all_functions): Update comment.
2355 * math/gen-libm-test.pl (parse_args): Apply special handling for
2357 * math/libm-test.inc (print_float, issignaling_test): New
2359 (check_float_internal): Add issignaling checks.
2360 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2362 * sysdeps/powerpc/math-tests.h: New file.
2363 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2365 * math/test-snan.c (TEST_FUNC): Likewise.
2367 2013-03-30 David S. Miller <davem@davemloft.net>
2369 * po/de.po: Update from translation team.
2371 2013-03-30 Joseph Myers <joseph@codesourcery.com>
2374 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2375 imaginary part less than 1.0 and real part less than 0.5
2377 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2378 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2379 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2380 (cacos_test): Add more tests.
2381 (casin_test): Likewise.
2382 (casinh_test): Likewise.
2383 * sysdeps/i386/fpu/libm-test-ulps: Update.
2384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2386 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2388 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2391 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2392 (__pow_mp): Replace ONE and MONE with their values.
2393 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2394 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2395 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2396 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2397 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2398 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2400 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2402 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2403 (__pow_mp): Replace ZERO and MZERO with their values.
2404 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2405 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2406 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2407 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2408 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2409 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2412 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2414 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2416 2013-03-28 Roland McGrath <roland@hack.frob.com>
2418 * include/stdlib.h [!SHARED] (__call_tls_dtors):
2419 Declare with __attribute__ ((weak)).
2420 * stdlib/exit.c (__libc_atexit) [!SHARED]:
2421 Call __call_tls_dtors only if it's not NULL.
2423 2013-03-28 Roland McGrath <roland@hack.frob.com>
2425 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
2426 didn't do it already, then set _dl_phdr and _dl_phnum based on the
2427 magic __ehdr_start linker symbol if it's defined.
2428 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
2429 them up here if it was already done.
2431 * elf/dl-support.c (_dl_phdr): Make pointer to const.
2432 (_dl_aux_init): Use const in cast when setting it.
2433 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
2434 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
2435 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
2437 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
2439 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
2440 * csu/libc-tls.c: Nor here.
2441 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
2443 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
2444 (__libc_message): Never call vsyslog.
2446 2013-03-28 Alan Modra <amodra@gmail.com>
2448 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
2450 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
2453 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2456 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
2458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2460 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2463 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2464 Don't add gid passed as argument.
2466 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
2468 2013-03-27 Joseph Myers <joseph@codesourcery.com>
2471 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2472 imaginary part between 1.0 and 1.5 and real part less than 0.5
2474 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2475 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2476 * math/libm-test.inc (cacos_test): Add more tests.
2477 (casin_test): Likewise.
2478 (casinh_test): Likewise.
2479 * sysdeps/i386/fpu/libm-test-ulps: Update.
2480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2482 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2484 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
2488 (__dbl_mp): Likewise.
2489 (add_magnitudes): Likewise.
2490 (sub_magnitudes): Likewise.
2498 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
2500 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
2501 (__dubcos): Likewise.
2502 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
2503 (__ieee754_acos): Likewise.
2504 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2505 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
2507 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2508 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2510 (my_log2): Likewise.
2511 (checkint): Likewise.
2512 * sysdeps/ieee754/dbl-64/e_remainder.c
2513 (__ieee754_remainder): Likewise.
2514 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2515 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2517 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2519 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2520 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
2521 MANTISSA_STORE_T to store computations on mantissa. Use
2522 macros for rounding and division.
2524 (__dbl_mp): Likewise.
2525 (add_magnitudes): Likewise.
2526 (sub_magnitudes): Likewise.
2529 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2530 powers of two in terms of TWOPOW macro.
2531 (mp_no): Make type of mantissa as MANTISSA_T.
2532 [!RADIXI]: Define RADIXI.
2533 [!TWO52]: Define TWO52.
2534 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2536 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2538 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
2539 llroundl symbol when building for PPC32.
2541 2013-03-24 Mark H Weaver <mhw@netris.org>
2543 * manual/arith.texi (Normalization Functions): Fix prototypes for
2544 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2546 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2549 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
2550 high value to check if expl overflow.
2551 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
2552 to check for underflow and overflow.
2553 * math/libm-test.inc: Add exp test.
2555 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
2558 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
2561 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2563 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
2566 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
2568 * math/gen-libm-test.pl (parse_args, special_functions): Properly
2569 wrap blocks consisting of several statements.
2571 * sysdeps/generic/math-tests.h: New file.
2572 * sysdeps/i386/fpu/math-tests.h: Likewise.
2573 * math/test-snan.c: Include it.
2574 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
2576 2013-03-21 Joseph Myers <joseph@codesourcery.com>
2579 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
2580 (__ieee754_j0l): Do not improve calculations using cos of twice
2581 input for inputs above LDBL_MAX / 2.0L.
2582 (__ieee754_y0l): Likewise.
2583 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
2584 (__ieee754_j1l): Do not improve calculations using cos of twice
2585 input for inputs above LDBL_MAX / 2.0L.
2586 (__ieee754_y1l): Likewise.
2587 * math/libm-test.inc (j0_test): Add another test.
2588 (j1_test): Likewise.
2589 (y0_test): Likewise.
2590 (y1_test): Likewise.
2591 * sysdeps/i386/fpu/libm-test-ulps: Update.
2593 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2595 * Rules ($(objpfx)bench-%.c): Include code from a C source
2598 2013-03-21 Joseph Myers <joseph@codesourcery.com>
2601 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2602 imaginary part 1.0 and real part less than 0.5 specially.
2603 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2604 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2605 * math/libm-test.inc (cacos_test): Add more tests.
2606 (casin_test): Likewise.
2607 (casinh_test): Likewise.
2608 * sysdeps/i386/fpu/libm-test-ulps: Update.
2609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2611 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2613 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
2614 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
2616 2013-03-20 Joseph Myers <joseph@codesourcery.com>
2618 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
2619 * config.make.in (config-cflags-sse4): Remove variable.
2620 (config-cflags-avx): Likewise.
2621 (config-cflags-sse2avx): Likewise.
2622 (config-cflags-novzeroupper): Likewise.
2623 (config-asflags-i686): Likewise.
2624 (have-mfma4): Likewise.
2625 (have-as-vis3): Likewise.
2627 * configure.in (MIG): Do not AC_SUBST.
2628 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
2629 (libc_cv_cc_sse4): Do not AC_SUBST.
2630 (libc_cv_cc_avx): Likewise.
2631 (libc_cv_cc_sse2avx): Likewise.
2632 (libc_cv_cc_novzeroupper): Likewise.
2633 (libc_cv_cc_fma4): Likewise.
2634 (libc_cv_as_i686): Likewise.
2635 (libc_cv_sparc_as_vis3): Likewise.
2636 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
2638 (config-asflags-i686): Likewise.
2639 (config-cflags-avx): Likewise.
2640 (config-cflags-sse2avx): Likewise.
2641 (have-mfma4): Likewise.
2642 (config-cflags-novzeroupper): Likewise.
2643 * sysdeps/mach/configure.in (MIG): Likewise.
2644 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
2645 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
2647 (config-cflags-avx): Likewise.
2648 (config-cflags-sse2avx): Likewise.
2649 (have-mfma4): Likewise.
2650 (config-cflags-novzeroupper): Likewise.
2651 * configure: Regenerated.
2652 * sysdeps/i386/configure: Likewise.
2653 * sysdeps/mach/configure: Likewise.
2654 * sysdeps/sparc/configure: Likewise.
2655 * sysdeps/x86_64/configure: Likewise.
2657 2013-03-20 Roland McGrath <roland@hack.frob.com>
2660 * locale/programs/localedef.c (options): Put N_ translation marker
2661 on argument names, not just descriptions.
2663 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2665 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2667 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
2670 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2672 2013-03-19 Roland McGrath <roland@hack.frob.com>
2674 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2675 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2676 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2677 [!BEFORE_ABORT] (before_abort): New function.
2678 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2679 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2680 (writev_for_fatal): New function.
2681 (WRITEV_FOR_FATAL): New macro; call that.
2682 (backtrace_and_maps): New function.
2683 (BEFORE_ABORT): New macro; call that.
2684 (struct str_list): Type removed.
2685 (__libc_message, __libc_fatal): Functions removed.
2686 Include <sysdeps/posix/libc_fatal.c> instead.
2688 2013-03-19 Joseph Myers <joseph@codesourcery.com>
2690 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2692 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2695 2013-03-19 Andreas Schwab <schwab@suse.de>
2697 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2698 * sysdeps/gnu/configure: Regenerate.
2700 * configure.in: Substitute libc_cv_rtlddir.
2701 * configure: Regenerate.
2702 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2703 * Makeconfig (rtlddir, inst_rtlddir): New variables.
2704 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2705 * elf/Makefile (install-others, CFLAGS-interp.c)
2706 (ldso_install, common-ldd-rewrite): Likewise.
2707 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2708 $(inst_slibdir)/$(rtld-installed-name).
2709 * scripts/rellns-sh: Add -p option.
2710 * Makerules (make-shlib-link): Use rellns-sh to get relative name
2713 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2715 * manual/nptl.texi: Renamed to ...
2716 * manual/threads.texi: ... this.
2717 * manual/Makefile (chapters): Update.
2719 2013-03-18 Roland McGrath <roland@hack.frob.com>
2722 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2723 on argument names, not just descriptions.
2724 * malloc/memusagestat.c (options): Likewise.
2725 * nss/getent.c (options): Likewise.
2727 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
2730 * iconv/iconv_prog.c (options): Put N_ translation marker
2731 on argument names, not just descriptions.
2732 * iconv/iconvconfig.c (options): Likewise.
2734 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
2736 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2737 implementation which is faster on all x86_64 architectures.
2738 Tested on AMD, Intel Nehalem, SNB, IVB.
2739 * sysdeps/x86_64/strnlen.S: Likewise.
2741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2742 Remove all multiarch strlen and strnlen versions.
2743 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2744 Remove strlen and strnlen related parts.
2746 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2748 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2750 * sysdeps/x86_64/multiarch/strlen.S: Remove.
2751 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2752 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2753 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2754 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2755 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2757 2013-03-17 Carlos O'Donell <carlos@redhat.com>
2759 * manual/memory.texi (Malloc Tunable Parameters):
2760 Sort parameters alphabetically. Add comments for missing entries.
2762 2013-03-17 David S. Miller <davem@davemloft.net>
2764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2766 2013-03-16 Joseph Myers <joseph@codesourcery.com>
2769 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2770 for arguments at most half maximum finite value.
2771 * math/libm-test.inc (j0_test): Add more tests.
2772 (j1_test): Likewise.
2773 (y0_test): Likewise.
2774 (y1_test): Likewise.
2775 * sysdeps/i386/fpu/libm-test-ulps: Update.
2776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2779 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2780 1 / x and functions P and Q for arguments above 0x1p256L.
2781 (__ieee754_y0l): Likewise.
2782 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2783 (__ieee754_y1l): Likewise.
2784 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2785 (j1_test): Likewise.
2786 (y0_test): Likewise.
2787 (y1_test): Likewise.
2789 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2791 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2794 2013-03-15 Roland McGrath <roland@hack.frob.com>
2796 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2797 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2798 zero since it's initialized to EXEC_PAGESIZE.
2800 * sysdeps/unix/sysv/linux/ldsodefs.h
2801 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2802 * sysdeps/generic/ldsodefs.h: ... here.
2804 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2806 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2808 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2810 * math/test-snan.c: Renamed from
2811 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2812 * math/Makefile (tests): Add test-snan.
2813 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2816 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2817 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2819 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2820 __builtin_nan family of functions.
2821 * math/libm-test.inc (initialize): Initialize qnan_value with
2822 __builtin_nan family of functions.
2823 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2825 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2827 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2828 storage class. Initialize qNaN_var and sNaN_var with
2829 __builtin_nan and __builtin_nans families of functions,
2832 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2833 (sqrt_test): Remove duplicate test with qNaN input.
2834 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2835 (round_test, signbit_test, significand_test): Note missing +/-Inf
2836 as well as qNaN tests.
2838 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2839 qNaN_var. Fix a few strings, too.
2840 * math/libm-test.inc (nan_value): Rename to qnan_value.
2841 * math/gen-libm-test.pl (%beautify): Adjust to that.
2842 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2843 * math/test-misc.c (main): Likewise.
2844 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2845 to __qnan_bytes, and __qnan_union, respectively.
2846 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2848 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2849 and lqnanval, respectively.
2850 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2851 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2852 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2853 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2855 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2856 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2859 * math/test-misc.c (main): Fix copy'n'pastos.
2860 * misc/tst-efgcvt.c (special): Likewise.
2862 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2863 Remove declarations.
2865 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2867 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2868 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2869 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2870 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2872 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2874 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2875 macro to return vdso values correctly in IFUNC implementations.
2876 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2877 Optimization by using IFUNC.
2879 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2880 Richard Henderson <rth@redhat.com>
2881 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2883 * Makefile.in (bench): New target.
2884 * NEWS: Mention the benchmark framework.
2885 * Rules (bench): Likewise.
2886 (binaries-bench): Generate binaries for functions to
2888 * benchtests/Makefile: New makefile for benchmark tests.
2889 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2891 * benchtests/exp-inputs: New input file for EXP function.
2892 * benchtests/pow-inputs: New input file for POW function.
2893 * scripts/bench.pl: New script to generate source files for
2896 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2898 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2899 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2900 computations on mantissa. Use macros for rounding and
2903 (__dbl_mp): Likewise.
2904 (add_magnitudes): Likewise.
2905 (sub_magnitudes): Likewise.
2908 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2909 powers of two in terms of TWOPOW macro.
2910 (mp_no): Make type of mantissa as MANTISSA_T.
2911 [!RADIXI]: Define RADIXI.
2912 [!TWO52]: Define TWO52.
2913 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2915 * manual/nptl.texi (cindex): Modify threads to pthreads.
2917 2013-03-15 Joseph Myers <joseph@codesourcery.com>
2919 * sysdeps/x86_64/preconfigure: Regenerated.
2921 2013-03-14 Joseph Myers <joseph@codesourcery.com>
2924 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2926 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2927 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2929 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2930 * math/libm-test.inc (j0_test): Do not allow one spurious
2931 underflow exception.
2932 (y1_test): Likewise.
2934 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2936 * manual/Makefile (chapters): Add nptl.
2937 * manual/debug.texi (Debugging Support): Add link to Threads
2939 * manual/nptl.texi: New file.
2941 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2943 2013-03-14 Petr Baudis <pasky@ucw.cz>
2945 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2946 for non-NULL pointer before the memory validity test. Pointed
2947 out by Holger Brunck <holger.brunck@keymile.com>.
2949 2013-03-13 Andreas Schwab <schwab@suse.de>
2951 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2954 2013-03-13 Joseph Myers <joseph@codesourcery.com>
2956 * timezone/zic.c: Update from tzcode 2013b.
2958 2013-03-12 Carlos O'Donell <carlos@redhat.com>
2960 * manual/install.texi (Configuring and compiling):
2961 Mention i686 and i586.
2962 * INSTALL: Regenerate.
2964 2013-03-12 Roland McGrath <roland@hack.frob.com>
2966 * sysdeps/init_array/elf-init.c: New file.
2968 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2969 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2971 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2972 __gmon_start__ as global, but as static with a .preinit_array pointer.
2973 * sysdeps/init_array/gmon-start.c: New file. Use that.
2974 * sysdeps/init_array/crti.S: New file, empty except for comments.
2975 * sysdeps/init_array/crtn.S: Likewise.
2977 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
2979 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2982 Remove Prefer_SSE_for_memop.
2983 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2984 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2985 HAS_PREFER_SSE_FOR_MEMOP.
2986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2988 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2989 Remove bzero, memset ifunc support.
2990 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2991 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2992 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2993 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2995 2013-03-11 Andreas Schwab <schwab@suse.de>
2998 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3001 (GLIBC_2.16): Remove pthread_atfork.
3003 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3005 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3006 (ptestcases.h): Likewise.
3008 2013-03-08 Roland McGrath <roland@hack.frob.com>
3010 * Makeconfig ($(common-objpfx)config.status): Depend on
3011 sysdeps/*/preconfigure{,.in} too.
3013 2013-03-08 Joseph Myers <joseph@codesourcery.com>
3015 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3016 (__free_hook): Use void * instead of __malloc_ptr_t.
3017 (__malloc_hook): Likewise.
3018 (__realloc_hook): Likewise.
3019 (__memalign_hook): Likewise.
3020 (__after_morecore_hook): Likewise.
3021 * malloc/arena.c (save_malloc_hook): Likewise.
3022 (save_free_hook): Likewise.
3023 * malloc/hooks.c (malloc_hook_ini): Likewise.
3024 (realloc_hook_ini): Likewise.
3025 (memalign_hook_ini): Likewise.
3026 * malloc/malloc.c (malloc_hook_ini): Likewise.
3027 (realloc_hook_ini): Likewise.
3028 (memalign_hook_ini): Likewise.
3029 (__free_hook): Likewise.
3030 (__malloc_hook): Likewise.
3031 (__realloc_hook): Likewise.
3032 (__memalign_hook): Likewise.
3033 (__libc_malloc): Likewise.
3034 (__libc_free): Likewise.
3035 (__libc_realloc): Likewise.
3036 (__libc_memalign): Likewise.
3037 (__libc_valloc): Likewise.
3038 (__libc_pvalloc): Likewise.
3039 (__libc_calloc): Likewise.
3040 (__posix_memalign): Likewise.
3041 * malloc/morecore.c (__sbrk): Likewise.
3042 (__default_morecore): Likewise.
3044 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3046 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3047 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3050 * malloc/malloc.h (__malloc_size_t): Remove macro.
3051 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3053 (old_memalign_hook): Likewise.
3054 (old_realloc_hook): Likewise.
3055 (struct hdr): Likewise.
3057 (mallochook): Likewise.
3058 (memalignhook): Likewise.
3059 (reallochook): Likewise.
3060 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3061 (tr_old_realloc_hook): Likewise.
3062 (tr_old_memalign_hook): Likewise.
3063 (tr_mallochook): Likewise.
3064 (tr_reallochook): Likewise.
3065 (tr_memalignhook): Likewise.
3067 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3069 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3070 default_ldbl_pack and using as default implementation.
3071 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3073 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3074 redundant definition.
3075 (ldbl_insert_mantissa): Likewise.
3076 (ldbl_canonicalize): Likewise.
3077 (ldbl_nearbyint): Likewise.
3078 (ldbl_pack): Rename to ldbl_pack_ppc.
3079 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3080 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3081 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3083 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3086 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3087 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3088 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3090 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3091 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3092 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3094 2013-03-07 Andreas Jaeger <aj@suse.de>
3096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3099 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3101 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3102 Include mpa.h and declare __MPEXP.
3103 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3104 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3105 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3106 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3107 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3108 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3109 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3111 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3112 (__slowpow): Use long double EXPL and LOGL functions to
3114 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3115 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3116 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3117 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3118 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3119 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3122 intermediate variable to calculate exponent.
3124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3128 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3129 [!NO__SQR]: Define __sqr.
3130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3131 and NO__SQR. Remove all code except __mul and __sqr. Include
3132 sysdeps/ieee754/dbl-64/mpa.c.
3133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3136 * posix/Makefile (tests): Add tst-pathconf.
3137 * posix/tst-pathconf.c: New test case.
3138 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3140 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3142 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
3144 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3146 2013-03-06 Andreas Jaeger <aj@suse.de>
3148 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3149 definition via __MAP_ANONYMOUS.
3151 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3152 it's not part of Linux headers.
3154 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3155 (MAP_HUGE_MASK): Define.
3157 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3159 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3160 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3162 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3163 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3165 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3166 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3168 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3170 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3171 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3172 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3173 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3174 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3175 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3177 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3180 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3181 Handle f2fs and efivarfs.
3183 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3186 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3187 (EFIVARFS_MAGIC): Add.
3188 (F2FS_LINK_MAX): Add.
3190 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3192 * stdio-common/vfprintf.c: Replace __builtin_expect with
3195 2013-03-06 Joseph Myers <joseph@codesourcery.com>
3198 * sysdeps/generic/bp-sym.h: Remove file.
3199 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3200 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3201 <bp-sym.h> and <bp-asm.h>.
3202 (__longjmp): Don't use BP_SYM.
3203 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3205 (memcpy): Don't use BP_SYM.
3206 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3207 <bp-sym.h> and <bp-asm.h>.
3208 (memcpy): Don't use BP_SYM.
3209 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3211 (memcpy): Don't use BP_SYM.
3212 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3214 (memset): Don't use BP_SYM.
3215 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3216 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3217 (__bzero): Don't use BP_SYM.
3218 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3219 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3220 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3221 <bp-sym.h> and <bp-asm.h>.
3222 (memcmp): Don't use BP_SYM. Remove comment about bounded
3224 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3225 <bp-sym.h> and <bp-asm.h>.
3226 (memcpy): Don't use BP_SYM.
3227 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3228 <bp-sym.h> and <bp-asm.h>.
3229 (memset): Don't use BP_SYM.
3230 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3231 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3232 (__bzero): Don't use BP_SYM.
3233 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3234 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3235 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3236 <bp-sym.h> and <bp-asm.h>.
3237 (strncmp): Don't use BP_SYM. Remove comment about bounded
3239 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3240 <bp-sym.h> and <bp-asm.h>.
3241 (memcpy): Don't use BP_SYM.
3242 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3243 <bp-sym.h> and <bp-asm.h>.
3244 (memset): Don't use BP_SYM.
3245 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3246 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3247 (__bzero): Don't use BP_SYM.
3248 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3249 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3250 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3251 <bp-sym.h> and <bp-asm.h>.
3252 (__memchr): Don't use BP_SYM.
3253 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3254 <bp-sym.h> and <bp-asm.h>.
3255 (memcmp): Don't use BP_SYM. Remove comment about bounded
3257 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3258 <bp-sym.h> and <bp-asm.h>.
3259 (memcpy): Don't use BP_SYM.
3260 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3261 <bp-sym.h> and <bp-asm.h>.
3262 (__mempcpy): Don't use BP_SYM.
3263 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3264 <bp-sym.h> and <bp-asm.h>.
3265 (__memrchr): Don't use BP_SYM.
3266 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3267 <bp-sym.h> and <bp-asm.h>.
3268 (memset): Don't use BP_SYM.
3269 (__bzero): Likewise.
3270 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3271 <bp-sym.h> and <bp-asm.h>.
3272 (__rawmemchr): Don't use BP_SYM.
3273 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3274 <bp-sym.h> and <bp-asm.h>.
3275 (__STRCMP): Don't use BP_SYM.
3276 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3277 <bp-sym.h> and <bp-asm.h>.
3278 (strchr): Don't use BP_SYM.
3279 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3280 <bp-sym.h> and <bp-asm.h>.
3281 (__strchrnul): Don't use BP_SYM.
3282 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3283 <bp-sym.h> and <bp-asm.h>.
3284 (strlen): Don't use BP_SYM.
3285 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3286 <bp-sym.h> and <bp-asm.h>.
3287 (strncmp): Don't use BP_SYM. Remove comment about bounded
3289 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3290 <bp-sym.h> and <bp-asm.h>.
3291 (__strnlen): Don't use BP_SYM.
3292 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3293 <bp-sym.h> and <bp-asm.h>.
3294 (__GI__setjmp): Don't use BP_SYM.
3295 (_setjmp): Likewise.
3296 (__sigsetjmp): Likewise.
3297 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3298 (L(start_addresses)): Don't use BP_SYM.
3300 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3302 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3303 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3304 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3305 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3306 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3308 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3309 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3310 about bounded pointers.
3311 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3312 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3313 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3315 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3316 about bounded pointers. Remove GKM FIXME comments.
3317 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3318 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3320 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3321 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3322 Remove GKM FIXME comments.
3323 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3324 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3325 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3327 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3328 about bounded pointers. Remove GKM FIXME comment.
3329 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3331 (strncmp): Don't use BP_SYM. Remove comment about bounded
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3334 <bp-sym.h> and <bp-asm.h>.
3335 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3337 <bp-sym.h> and <bp-asm.h>.
3338 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3341 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3343 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3346 2013-03-05 David S. Miller <davem@davemloft.net>
3348 * po/es.po: Update from translation team.
3350 2013-03-05 Andreas Jaeger <aj@suse.de>
3352 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3353 <bits/mman-linux.h>.
3354 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3356 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3357 <bits/mman-linux.h> to end of file.
3358 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3360 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3361 <bits/mman-linux.h> to end of file.
3362 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3364 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3365 <bits/mman-linux.h> to end of file.
3367 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3368 (MCL_CURRENT, MCL_FUTURE): Define here.
3370 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3373 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3375 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3377 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3379 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3380 fourth parameter needed for rt_sigprocmask syscall.
3381 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3382 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3383 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3384 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3385 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3386 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3388 2013-03-04 Joseph Myers <joseph@codesourcery.com>
3391 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3392 comment about bounded pointers.
3393 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3394 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3396 2013-03-04 Andreas Jaeger <aj@suse.de>
3398 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3401 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3402 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3403 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3404 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3405 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3406 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3408 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3411 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3412 __ieee754_sqrl instead of __sqrl.
3414 2013-03-01 Joseph Myers <joseph@codesourcery.com>
3416 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3417 * sysdeps/powerpc/fpu_control.h: ... here.
3418 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3419 * sysdeps/powerpc/bits/fenvinline.h: ... here.
3420 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3421 * sysdeps/powerpc/bits/mathinline.h: ... here.
3423 2013-03-01 Roland McGrath <roland@hack.frob.com>
3425 * elf/dl-hwcaps.c (_dl_important_hwcaps):
3426 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
3427 to just [NEED_DL_SYSINFO_DSO].
3428 * elf/dl-support.c: Likewise.
3429 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3430 * elf/rtld.c (dl_main): Likewise.
3431 * elf/setup-vdso.h (setup_vdso): Likewise.
3432 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
3433 * sysdeps/unix/sysv/linux/dl-sysdep.c
3434 (_dl_discover_osversion): Likewise.
3436 2013-03-01 Carlos O'Donell <carlos@redhat.com>
3438 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
3439 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3441 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3443 * NEWS: Mention libm performance improvements and non-x86 PI
3446 * csu/libc-start.c (__pthread_initialize_minimal): Change
3448 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3450 2013-02-28 Joseph Myers <joseph@codesourcery.com>
3453 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
3454 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
3455 <bp-sym.h> and <bp-asm.h>.
3456 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3457 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
3459 (memcpy): Don't use BP_SYM.
3460 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
3462 (__mpn_add_n): Don't use BP_SYM.
3463 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
3464 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
3466 (__mpn_addmul_1): Don't use BP_SYM.
3467 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3468 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
3470 (_setjmp): Don't use BP_SYM.
3471 (__novmx_setjmp): Likewise.
3472 (__GI__setjmp): Likewise.
3473 (__vmx_setjmp): Likewise.
3474 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
3476 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
3477 (__bzero): Don't use BP_SYM.
3478 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3479 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3480 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
3481 <bp-sym.h> and <bp-asm.h>.
3482 (memcpy): Don't use BP_SYM.
3483 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
3484 <bp-sym.h> and <bp-asm.h>.
3485 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3486 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
3487 <bp-sym.h> and <bp-asm.h>.
3488 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3489 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
3491 (__mpn_lshift): Don't use BP_SYM.
3492 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3493 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
3495 (memset): Don't use BP_SYM.
3496 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3497 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3498 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
3500 (__mpn_mul_1): Don't use BP_SYM.
3501 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3502 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
3503 <bp-sym.h> and <bp-asm.h>.
3504 (memcmp): Don't use BP_SYM.
3505 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
3506 <bp-sym.h> and <bp-asm.h>.
3507 (memcpy): Don't use BP_SYM.
3508 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
3509 <bp-sym.h> and <bp-asm.h>.
3510 (memset): Don't use BP_SYM.
3511 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
3512 <bp-sym.h> and <bp-asm.h>.
3513 (strncmp): Don't use BP_SYM.
3514 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
3515 <bp-sym.h> and <bp-asm.h>.
3516 (memcpy): Don't use BP_SYM.
3517 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
3518 <bp-sym.h> and <bp-asm.h>.
3519 (memset): Don't use BP_SYM.
3520 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
3521 <bp-sym.h> and <bp-asm.h>.
3522 (__memchr): Don't use BP_SYM.
3523 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
3524 <bp-sym.h> and <bp-asm.h>.
3525 (memcmp): Don't use BP_SYM.
3526 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
3527 <bp-sym.h> and <bp-asm.h>.
3528 (memcpy): Don't use BP_SYM.
3529 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
3530 <bp-sym.h> and <bp-asm.h>.
3531 (__mempcpy): Don't use BP_SYM.
3532 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
3533 <bp-sym.h> and <bp-asm.h>.
3534 (__memrchr): Don't use BP_SYM.
3535 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
3536 <bp-sym.h> and <bp-asm.h>.
3537 (memset): Don't use BP_SYM.
3538 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
3539 <bp-sym.h> and <bp-asm.h>.
3540 (__rawmemchr): Don't use BP_SYM.
3541 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
3542 <bp-sym.h> and <bp-asm.h>.
3543 (__STRCMP): Don't use BP_SYM.
3544 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
3545 <bp-sym.h> and <bp-asm.h>.
3546 (strchr): Don't use BP_SYM.
3547 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
3548 <bp-sym.h> and <bp-asm.h>.
3549 (__strchrnul): Don't use BP_SYM.
3550 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
3551 <bp-sym.h> and <bp-asm.h>.
3552 (strlen): Don't use BP_SYM.
3553 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
3554 <bp-sym.h> and <bp-asm.h>.
3555 (strncmp): Don't use BP_SYM.
3556 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
3557 <bp-sym.h> and <bp-asm.h>.
3558 (__strnlen): Don't use BP_SYM.
3559 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
3561 (__mpn_rshift): Don't use BP_SYM.
3562 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3563 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
3564 <bp-sym.h> and <bp-asm.h>.
3565 (__sigsetjmp): Don't use BP_SYM.
3566 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
3567 (L(start_addresses)): Don't use BP_SYM.
3569 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
3571 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
3572 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3573 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3574 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
3576 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
3577 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3578 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3579 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
3581 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3583 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3584 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
3586 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
3588 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3589 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3590 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
3592 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3594 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
3596 (strncmp): Don't use BP_SYM,
3597 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
3599 (__mpn_sub_n): Don't use BP_SYM.
3600 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3601 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
3603 (__mpn_submul_1): Don't use BP_SYM.
3604 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
3606 <bp-sym.h> and <bp-asm.h>.
3607 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
3609 <bp-sym.h> and <bp-asm.h>.
3610 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3613 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
3616 Use ZK to minimize writes to Z.
3617 (sub_magnitudes): Simplify code a bit.
3618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
3619 Use ZK to minimize writes to Z.
3620 (sub_magnitudes): Simplify code a bit.
3622 2013-02-27 Roland McGrath <roland@hack.frob.com>
3624 * csu/gmon-start.c: Add special exception to license text.
3626 2013-02-27 Richard Henderson <rth@redhat.com>
3628 * scripts/config.guess: Update from config.git.
3629 * scripts/config.sub: Likewise.
3631 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
3635 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
3637 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
3639 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
3641 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
3643 2013-02-26 Roland McGrath <roland@hack.frob.com>
3645 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
3646 [$(build-shared = yes].
3648 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3650 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
3651 (__mul): Reduce iterations for calculating mantissa.
3653 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3655 (__mpranred): Likewise.
3658 * malloc/memusagestat.c (main): Draw graphs for heap and stack
3659 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3661 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
3663 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3664 Define __attribute__.
3666 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3668 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3670 * posix/regex_internal.h (__attribute): Remove.
3671 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3672 (re_string_context_at): Likewise.
3673 (bitset_not): Use __attribute__ and mark function as possibly
3675 (bitset_merge): Likewise.
3676 (bitset_mask): Likewise.
3677 (re_string_char_size_at): Likewise.
3678 (re_string_wchar_at): Likewise.
3679 (re_string_elem_size_at): Likewise.
3681 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3683 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3687 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3692 (__dbl_mp): Likewise.
3693 (add_magnitudes): Likewise.
3694 (sub_magnitudes): Likewise.
3698 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3701 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3704 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3708 up changes with default code.
3709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3712 2013-02-24 Allan McRae <allan@archlinux.org>
3714 * manual/socket.texi (The Internet Namespace): Order menu items
3715 to match that in the file.
3717 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3718 node listing of the info page menu.
3720 2013-02-21 Joseph Myers <joseph@codesourcery.com>
3723 * sysdeps/i386/bp-asm.h: Remove file.
3724 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3725 (PARMS): Do not use macros from bp-asm.h.
3729 (__mpn_add_n): Do not use BP_SYM
3730 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3732 (PARMS): Do not use macros from bp-asm.h.
3735 (__mpn_addmul_1): Do not use BP_SYM
3736 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3738 (PARMS): Do not use macros from bp-asm.h.
3740 (_setjmp): Likewise. Do not use BP_SYM.
3741 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3743 (PARMS): Do not use macros from bp-asm.h.
3745 (setjmp): Likewise. Do not use BP_SYM.
3746 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3748 (PARMS): Do not use macros from bp-asm.h.
3749 (__frexp): Do not use BP_SYM.
3751 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3753 (PARMS): Do not use macros from bp-asm.h.
3754 (__frexpf): Do not use BP_SYM.
3756 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3758 (PARMS): Do not use macros from bp-asm.h.
3759 (__frexpl): Do not use BP_SYM.
3761 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3763 (PARMS): Do not use macros from bp-asm.h.
3764 (__remquo): Do not use BP_SYM.
3766 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3768 (PARMS): Do not use macros from bp-asm.h.
3769 (__remquof): Do not use BP_SYM.
3770 (remquof): Likewise.
3771 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3773 (PARMS): Do not use macros from bp-asm.h.
3774 (__remquol): Do not use BP_SYM.
3775 (remquol): Likewise.
3776 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3778 (PARMS): Do not use macros from bp-asm.h.
3781 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3782 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3784 (PARMS): Do not use macros from bp-asm.h.
3785 (strlen): Do not use BP_SYM.
3786 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3788 (PARMS): Do not use macros from bp-asm.h.
3792 (__mpn_add_n): Do not use BP_SYM.
3793 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3795 (PARMS): Do not use macros from bp-asm.h.
3798 (__mpn_addmul_1): Do not use BP_SYM.
3799 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3802 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3804 (PARMS): Do not use macros from bp-asm.h.
3807 (__mpn_lshift): Do not use BP_SYM.
3808 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3810 (PARMS): Do not use macros from bp-asm.h.
3814 (memcpy): Likewise. Do not use BP_SYM.
3815 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3816 libc_hidden_def and weak_alias.
3817 (mempcpy): Do not use BP_SYM in weak_alias.
3818 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3820 (PARMS): Do not use macros from bp-asm.h.
3823 [!BZERO_P] (CHR): Likewise.
3824 (memset): Likewise. Do not use BP_SYM.
3825 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3827 (PARMS): Do not use macros from bp-asm.h.
3830 (__mpn_mul_1): Do not use BP_SYM.
3831 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3833 (PARMS): Do not use macros from bp-asm.h.
3836 (__mpn_rshift): Do not use BP_SYM.
3837 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3839 (PARMS): Do not use macros from bp-asm.h.
3842 (strchr): Likewise. Do not use BP_SYM.
3843 (index): Do not use BP_SYM in weak_alias.
3844 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3846 (PARMS): Do not use macros from bp-asm.h.
3849 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3850 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3852 (PARMS): Do not use macros from bp-asm.h.
3853 (strlen): Do not use BP_SYM.
3854 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3856 (PARMS): Do not use macros from bp-asm.h.
3860 (__mpn_sub_n): Do not use BP_SYM.
3861 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3863 (PARMS): Do not use macros from bp-asm.h.
3866 (__mpn_submul_1): Do not use BP_SYM.
3867 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3869 (PARMS): Do not use macros from bp-asm.h.
3873 (__mpn_add_n): Do not use BP_SYM.
3874 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3877 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3879 (PARMS): Do not use macros from bp-asm.h.
3882 (memcmp): Do not use BP_SYM.
3883 (bcmp): Do not use BP_SYM in weak_alias.
3884 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3886 (PARMS): Do not use macros from bp-asm.h.
3890 (memcpy): Likewise. Do not use BP_SYM.
3891 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3893 (PARMS): Do not use macros from bp-asm.h.
3897 (memmove): Likewise. Do not use BP_SYM.
3898 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3900 (PARMS): Do not use macros from bp-asm.h.
3904 (__mempcpy): Likewise. Do not use BP_SYM.
3905 (mempcpy): Do not use BP_SYM in weak_alias.
3906 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3908 (PARMS): Do not use macros from bp-asm.h.
3911 [!BZERO_P] (CHR): Likewise.
3912 (memset): Likewise. Do not use BP_SYM.
3913 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3915 (PARMS): Do not use macros from bp-asm.h.
3917 (strcmp): Do not use BP_SYM.
3918 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3920 (PARMS): Do not use macros from bp-asm.h.
3923 [USE_AS_STRTOK_R] (SAVE): Likewise.
3924 (FUNCTION): Likewise. Do not use BP_SYM.
3925 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3927 (strtok_r): Likewise.
3928 (__GI___strtok_r): Likewise.
3929 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3930 (PARMS): Do not use macros from bp-asm.h.
3933 (__mpn_lshift): Do not use BP_SYM.
3934 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3935 (PARMS): Do not use macros from bp-asm.h.
3938 (__memchr): Do not use BP_SYM.
3939 (memchr): Do not use BP_SYM in weak_alias.
3940 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3941 (PARMS): Do not use macros from bp-asm.h.
3944 (memcmp): Do not use BP_SYM.
3945 (bcmp): Do not use BP_SYM in weak_alias.
3946 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3947 (PARMS): Do not use macros from bp-asm.h.
3950 (__mpn_mul_1): Do not use BP_SYM.
3951 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3953 (PARMS): Do not use macros from bp-asm.h.
3956 (__rawmemchr): Do not use BP_SYM.
3957 (rawmemchr): Do not use BP_SYM in weak_alias.
3958 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3959 (PARMS): Do not use macros from bp-asm.h.
3962 (__mpn_rshift): Do not use BP_SYM.
3963 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3964 (PARMS): Do not use macros from bp-asm.h.
3966 (__sigsetjmp): Likewise. Do not use BP_SYM.
3967 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3968 (_start): Do not use BP_SYM.
3969 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3970 (PARMS): Do not use macros from bp-asm.h.
3973 (__stpcpy): Likewise. Do not use BP_SYM.
3974 (stpcpy): Do not use BP_SYM in weak_alias.
3975 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3977 (PARMS): Do not use macros from bp-asm.h.
3981 (__stpncpy): Likewise. Do not use BP_SYM.
3982 (stpncpy): Do not use BP_SYM in weak_alias.
3983 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3984 (PARMS): Do not use macros from bp-asm.h.
3987 (strchr): Likewise. Do not use BP_SYM.
3988 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3990 (PARMS): Do not use macros from bp-asm.h.
3993 (__strchrnul): Likewise. Do not use BP_SYM.
3994 (strchrnul): Do not use BP_SYM in weak_alias.
3995 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3997 (PARMS): Do not use macros from bp-asm.h.
3999 (strcspn): Do not use BP_SYM.
4000 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4002 (PARMS): Do not use macros from bp-asm.h.
4005 (strpbrk): Likewise. Do not use BP_SYM.
4006 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4008 (PARMS): Do not use macros from bp-asm.h.
4011 (strrchr): Likewise. Do not use BP_SYM.
4012 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4013 (PARMS): Do not use macros from bp-asm.h.
4015 (strspn): Do not use BP_SYM.
4016 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4017 (PARMS): Do not use macros from bp-asm.h.
4021 (FUNCTION): Likewise. Do not use BP_SYM.
4022 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4024 (strtok_r): Likewise.
4025 (__GI___strtok_r): Likewise.
4026 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4027 (PARMS): Do not use macros from bp-asm.h.
4031 (__mpn_sub_n): Do not use BP_SYM.
4032 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4034 (PARMS): Do not use macros from bp-asm.h.
4037 (__mpn_submul_1): Do not use BP_SYM.
4038 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4040 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4042 (PARMS): Do not use macros from bp-asm.h.
4047 (__clone): Do not use BP_SYM.
4048 (clone): Do not use BP_SYM in weak_alias.
4049 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4051 (PARMS): Do not use macros from bp-asm.h.
4053 (__mmap64): Do not use BP_SYM.
4054 (mmap64): Do not use BP_SYM in weak_alias.
4055 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4056 <bp-sym.h> and <bp-asm.h>.
4057 (PARMS): Do not use macros from bp-asm.h.
4058 (__posix_fadvise64_l64): Do not use BP_SYM.
4059 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4060 (PARMS): Do not use macros from bp-asm.h.
4062 (semtimedop): Do not use BP_SYM.
4063 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4066 2013-02-21 Allan McRae <allan@archlinux.org>
4068 * manual/message.texi (Charset conversion in gettext):
4069 Move @end statement to beginning of line.
4071 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4078 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4083 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4085 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4086 tail-call to the resolved function if pltexit isn't needed.
4088 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4091 or Y being zero as being unlikely.
4092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4095 2013-02-20 Carlos O'Donell <carlos@redhat.com>
4097 * manual/nss.texi (System Databases and Name Service Switch):
4098 Remove frobnicate @pxref.
4100 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4102 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4103 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4105 2013-02-20 Petr Machata <pmachata@redhat.com>
4107 * elf/elf.h (R_ARM_TARGET1): New macro.
4108 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4109 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4110 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4111 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4112 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4113 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4114 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4115 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4116 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4117 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4118 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4119 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4120 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4121 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4122 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4123 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4124 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4125 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4126 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4127 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4128 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4129 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4130 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4131 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4132 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4133 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4134 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4135 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4136 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4137 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4138 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4139 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4140 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4141 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4142 (R_ARM_THM_GOT_BREL12): Likewise.
4143 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4144 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4145 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4146 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4147 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4148 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4149 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4150 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4151 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4153 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4155 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4156 __attribute_used__ to __attribute__ ((unused)).
4158 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4160 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4166 2013-02-19 Joseph Myers <joseph@codesourcery.com>
4169 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4171 (ENTER): Remove both macro definitions.
4173 (CHECK_BOUNDS_LOW): Likewise.
4174 (CHECK_BOUNDS_HIGH): Likewise.
4175 (CHECK_BOUNDS_BOTH): Likewise.
4176 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4177 (RETURN_BOUNDED_POINTER): Likewise.
4178 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4179 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4180 (POP_ERRNO_LOCATION_RETURN): Likewise.
4181 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4182 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4183 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4185 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4186 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4187 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4188 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4189 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4190 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4191 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4192 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4193 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4194 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4195 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4196 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4197 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4198 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4200 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4201 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4203 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4204 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4205 * sysdeps/i386/i586/memset.S (memset): Likewise.
4206 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4207 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4208 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4210 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4211 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4212 Change uses of L(2) to L(out).
4213 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4214 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4215 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4216 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4217 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4219 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4220 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4222 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4223 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4224 (RETURN): Do not use macro LEAVE.
4225 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4226 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4227 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4228 * sysdeps/i386/i686/memset.S (memset): Likewise.
4229 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4230 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4231 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4232 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4234 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4235 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4236 L(1_2) and L(1_3) into L(1).
4237 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4238 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4239 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4240 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4241 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4242 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4243 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4244 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4245 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4247 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4248 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4249 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4250 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4251 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4252 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4253 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4254 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4255 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4256 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4257 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4258 * sysdeps/i386/strspn.S (strspn): Likewise.
4259 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4261 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4262 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4263 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4264 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4266 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4267 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4268 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4270 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4272 2013-02-19 Jakub Jelinek <jakub@redhat.com>
4274 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4277 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4279 * math/atest-exp.c (exp_mpn): Remove ROUND.
4280 * math/atest-exp2.c (exp_mpn): Likewise.
4281 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4283 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4284 * stdlib/tst-tls-atexit-lib.c: Likewise.
4285 * stdlib/tst-tls-atexit.c: Likewise.
4287 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4289 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4290 and __attribute_alloc_size__.
4292 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4294 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4295 __attribute_alloc_size__.
4296 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4297 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4299 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4301 * include/programs/xmalloc.h: New file.
4302 * catgets/gencat.c: Include it.
4303 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4304 * elf/pldd.c: Likewise.
4305 * iconv/iconv_charmap.c: Likewise.
4306 * iconv/iconvconfig.c: Likewise.
4307 * iconv/strtab.c: Likewise.
4308 * locale/programs/locale.c: Likewise.
4309 * locale/programs/localedef.h: Likewise.
4310 * locale/programs/simple-hash.c: Likewise.
4311 * nscd/nscd.h: Likewise.
4312 * nss/makedb.c: Likewise.
4313 * sysdeps/generic/ldconfig.h: Likewise.
4315 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4317 * Versions.def: Add GLIBC_2.18.
4318 * include/link.h (struct link_map): New member l_tls_dtor_count.
4319 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4320 (__call_tls_dtors): Likewise.
4321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4322 __cxa_thread_atexit_impl.
4323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4331 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4339 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4340 (tests): Add test case tst-tls-atexit.
4341 (modules-names): Add shared library for tst-tls-atexit.
4342 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4343 (GLIBC_PRIVATE): Add __call_tls_dtors.
4344 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4346 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4347 * stdlib/tst-tls-atexit.c: New test case.
4348 * stdlib/tst-tls-atexit-lib.c: New test case.
4350 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
4352 * elf/Versions (ld): Add _dl_find_dso_for_object.
4353 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4354 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4355 (dl_open_worker): Use _dl_find_dso_for_object.
4356 * elf/dl-sym.c (do_sym): Likewise.
4357 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4359 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4361 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4362 Syntactic changes only.
4363 (_dl_runtime_profile): Do a tail-call to the resolved function.
4365 2013-02-17 Joseph Myers <joseph@codesourcery.com>
4368 * sysdeps/x86_64/bp-asm.h: Remove file.
4369 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4370 <bp-sym.h> and <bp-asm.h>.
4371 (__clone): Do not use BP_SYM.
4372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4373 <bp-sym.h> and <bp-asm.h>.
4374 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4375 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4377 (_setjmp): Do not use BP_SYM.
4378 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4380 (setjmp): Do not use BP_SYM.
4381 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4383 (mempcpy): Do not use BP_SYM in weak_alias.
4384 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4386 (strchr): Do not use BP_SYM.
4387 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4389 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4390 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4391 (_start): Do not use BP_SYM.
4392 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4394 (strcat): Do not use BP_SYM.
4395 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4397 (STRCMP): Do not use BP_SYM.
4398 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4400 (STRCPY): Do not use BP_SYM.
4401 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4403 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4405 (FUNCTION): Do not use BP_SYM.
4406 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4408 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4410 2013-02-17 Andreas Jaeger <aj@suse.de>
4412 * time/Versions: Sort entries.
4413 * string/Versions: Likewise.
4414 * resolv/Versions: Likewise.
4415 * posix/Versions: Likewise.
4416 * iconv/Versions: Likewise.
4417 * elf/Versions: Likewise.
4418 * wcsmbs/Versions: Likewise.
4420 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4422 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
4423 loop termination condition.
4425 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4426 variable to calculate EZ.
4429 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4430 the lower precision input.
4432 2013-02-15 Joseph Myers <joseph@codesourcery.com>
4435 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
4436 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
4437 (run-via-rtld-prefix): Do not handle %-bp tests.
4438 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
4439 (all-object-suffixes): Remove .ob.
4440 (bppfx): Remove variable.
4441 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
4442 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
4443 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
4444 [$(build-bounded) = yes] (libtype.ob): Likewise.
4445 * Makerules (elide-routines.ob): Remove variable.
4446 (do-tests-clean): Do not handle *-bp.out.
4447 (common-mostlyclean): Do not handle *-bp and *-bp.out.
4448 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
4449 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
4450 (tests): Do not include $(tests-bp.out).
4451 (xtests): Do not include $(xtests-bp.out).
4452 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
4453 [$(build-bounded) = yes] ($(addprefix
4454 $(objpfx),$(binaries-bounded))): Remove rule.
4455 ($(objpfx)%-bp.out): Remove rule.
4456 * config.make.in (build-bounded): Remove variable.
4457 * crypt/Makefile [$(build-bounded) = yes]
4458 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
4459 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
4461 [$(build-bounded) = yes] (install-lib): Likewise.
4462 [$(build-bounded) = yes] (generated): Likewise.
4463 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
4465 * intl/Makefile [$(build-bounded) = yes]
4466 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
4467 * math/Makefile [$(build-bounded) = yes]
4468 ($(tests:%=$(objpfx)%-bp): Likewise.
4469 * misc/Makefile [$(build-bounded) = yes]
4470 ($(objpfx)tst-tsearch-bp): Likewise.
4471 * nptl/Makeconfig (bounded-thread-library): Remove variable.
4472 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
4474 * string/Makefile (o-objects.ob): Remove variable.
4475 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
4476 (CFLAGS-.ob): Remove variable.
4477 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
4478 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
4479 both definitions of variable.
4480 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
4481 (ASFLAGS-.ob): Remove variable.
4483 2013-02-14 Joseph Myers <joseph@codesourcery.com>
4486 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
4487 Remove __BOUNDED_POINTERS__ from condition.
4488 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
4489 * string/bits/string2.h [!__NO_STRING_INLINES &&
4490 !__BOUNDED_POINTERS__]: Likewise.
4491 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
4493 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
4494 Remove conditional code.
4495 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
4496 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
4497 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
4501 * csu/libc-start.c: Do not include <bp-sym.h>.
4502 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
4503 * elf/dl-open.c: Do not include <bp-sym.h>.
4504 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
4505 * math/fegetenv.c: Do not include <bp-sym.h>.
4506 (fegetenv): Do not use BP_SYM in versioned symbols.
4507 * nptl/sysdeps/pthread/bits/libc-lockP.h
4508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
4510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4511 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
4512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4513 (__pthread_mutex_destroy): Likewise.
4514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4515 (__pthread_mutex_lock): Likewise.
4516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4517 (__pthread_mutex_trylock): Likewise.
4518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4519 (__pthread_mutex_unlock): Likewise.
4520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4521 (__pthread_mutexattr_init): Likewise.
4522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4523 (__pthread_mutexattr_destroy): Likewise.
4524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4525 (__pthread_mutexattr_settype): Likewise.
4526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4527 (__pthread_rwlock_init): Likewise.
4528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4529 (__pthread_rwlock_destroy): Likewise.
4530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4531 (__pthread_rwlock_rdlock): Likewise.
4532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4533 (__pthread_rwlock_tryrdlock): Likewise.
4534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4535 (__pthread_rwlock_wrlock): Likewise.
4536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4537 (__pthread_rwlock_trywrlock): Likewise.
4538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4539 (__pthread_rwlock_unlock): Likewise.
4540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4541 (__pthread_key_create): Likewise.
4542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4543 (__pthread_setspecific): Likewise.
4544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4545 (__pthread_getspecific): Likewise.
4546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
4548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4549 (_pthread_cleanup_push_defer): Likewise.
4550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4551 (_pthread_cleanup_pop_restore): Likewise.
4552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4553 (pthread_setcancelstate): Likewise.
4554 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
4556 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
4557 (memchr): Do not use BP_SYM in weak_alias.
4558 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
4559 (fegetenv): Do not use BP_SYM in versioned symbols.
4560 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
4561 (fesetenv): Do not use BP_SYM in versioned symbols.
4562 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4563 (feupdateenv): Do not use BP_SYM in versioned symbols.
4564 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4565 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4566 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
4567 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
4568 (open64): Do not use BP_SYM in weak_alias.
4569 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
4570 (fegetenv): Do not use BP_SYM in versioned symbols.
4571 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
4572 (fesetenv): Do not use BP_SYM in versioned symbols.
4573 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4574 (feupdateenv): Do not use BP_SYM in versioned symbols.
4575 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
4576 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
4577 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
4578 (feraiseexcept): Do not use BP_SYM in versioned symbols.
4579 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4580 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4581 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
4583 (__libc_start_main): Do not use BP_SYM.
4585 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
4588 redundant return line.
4592 (sub_magnitudes): Likewise.
4598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
4602 (sub_magnitudes): Likewise.
4609 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
4611 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4612 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
4615 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
4616 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
4617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
4618 of __mul for squares.
4619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
4621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
4623 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
4624 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4626 2013-02-13 Joseph Myers <joseph@codesourcery.com>
4629 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
4631 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
4632 prototype or function definition. Rename ubp_* variables and
4633 parameters. Remove argv definitions conditional on
4634 [__BOUNDED_POINTERS__].
4635 * debug/backtrace.c (__backtrace): Do not use __unbounded.
4636 * elf/dl-runtime.c (_dl_fixup): Likewise.
4637 * include/set-hooks.h (RUN_HOOK): Likewise.
4638 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
4640 * string/strcpy.c (strcpy): Do not use __unbounded.
4641 * sysdeps/generic/frame.h (struct layout): Likewise.
4642 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
4643 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
4644 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
4645 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
4646 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
4647 (__backtrace): Likewise.
4648 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
4650 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4651 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4652 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4654 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4655 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4656 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4657 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4658 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4659 Do not use __unbounded.
4660 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4661 Rename __unboundedrlimits parameter to rlimits in prototype.
4662 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4663 Do not use __unbounded.
4664 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4666 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4667 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4668 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4669 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4670 __ptrvalue or __unbounded.
4671 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4672 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4674 (__new_msgctl): Do not use __ptrvalue.
4675 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4677 (__libc_msgrcv): Do not use __ptrvalue.
4678 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4679 startup_info): Do not use __unbounded.
4680 (__libc_start_main): Likewise. Rename ubp_* variables and
4681 parameters. Remove argv definitions conditional on
4682 [__BOUNDED_POINTERS__].
4683 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4685 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4687 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4689 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4691 (__new_shmctl): Do not use __ptrvalue.
4692 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4693 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4695 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4696 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4697 (__libc_sigaction): Likewise.
4698 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4699 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4701 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4703 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
4705 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
4707 * string/mempcpy.c: Implement by calling memcpy.
4709 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4716 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4717 values in the mantissa.
4719 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4720 minimize writes to Z.
4721 (sub_magnitudes): Simplify code a bit.
4723 2013-02-12 Roland McGrath <roland@hack.frob.com>
4725 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4726 from the message. The linker prefixes all warnings with that already.
4728 2013-02-12 Andreas Schwab <schwab@suse.de>
4731 * posix/regexec.c (extend_buffers): Add parameter min_len.
4732 (check_matching): Pass minimum needed length.
4733 (clean_state_log_if_needed): Likewise.
4734 (get_subexp): Likewise.
4735 * posix/Makefile (tests): Add bug-regex34.
4736 (bug-regex34-ENV): Define.
4737 * posix/bug-regex34.c: New file.
4740 * posix/regcomp.c (parse_bracket_exp): When looking up collating
4741 elements compare against the byte sequence of it, not its name.
4742 * posix/Makefile (tests): Add bug-regex35.
4743 (bug-regex35-ENV): Define.
4744 * posix/bug-regex35.c: New file.
4746 2013-02-11 Tom de Vries <tom@codesourcery.com>
4748 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
4750 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4751 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4752 (CHECK_EOL): Add undef.
4754 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
4756 * bits/stdlib-bsearch.h: New file.
4757 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
4758 * stdlib/stdlib.h: Likewise.
4760 2013-02-11 Roland McGrath <roland@hack.frob.com>
4762 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4763 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4765 * manual/search.texi (Array Search Function): Add missing const in
4767 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4768 declaration to use rlim_t.
4769 (Basic Scheduling Functions): Remove erroneous const from
4770 sched_getparam prototype. Remove erroneous * from
4771 sched_get_priority_max and sched_get_priority_min prototypes.
4772 (Resource Usage): Fix summary @comment on vtimes to refer to
4773 sys/vtimes.h rather than vtimes.h.
4774 Add missing *s in vtimes prototype.
4775 (Limits on Resources): Fix ulimit prototype to return long int.
4776 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4777 prototypes to use long int rather than double.
4778 (BSD Random): Fix initstate and setstate to use char *, not void *.
4779 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4780 prototype to make second argument 'struct aiocb64 *const[]'.
4781 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4782 (Status of AIO Operations): Remove erroneous const in aio_return and
4783 aio_return64 prototypes.
4784 (Synchronizing I/O): Fix sync prototype to return void.
4785 * manual/startup.texi (Suboptions): Remove an erroneous const in
4786 getsubopt prototype.
4787 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4788 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4789 use size_t rather than int.
4790 (Scanning All Users): Likewise for getpwent_r.
4791 (Setting Groups): Add missing const to setgroups prototype.
4792 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4793 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4794 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4795 'const void *' rather than 'const char *'.
4796 (Host Address Functions): Likewise for inet_ntop.
4797 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4798 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4799 ssize_t for return value.
4800 (Sending Data): Likewise for send, sendto, sendmsg.
4801 (Socket Option Functions): Add a missing const in setsockopt prototype.
4802 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4803 use wchar_t for the argument.
4804 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4805 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4807 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4808 double/float/long double for second argument.
4809 Fix return types of significand, significandf, significandl.
4810 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4811 argument in fchmod prototype.
4812 (File Owner): Use uid_t and gid_t in fchown prototype.
4813 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4814 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4815 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4816 use 'const struct dirent **' as argument types to CMP function pointer
4818 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4819 (File Times): Fix summary magic @comment for struct utimbuf and utime
4820 to refer to utime.h, not time.h.
4821 * manual/string.texi (Argz Functions): Add missing const in
4822 argz_extract and argz_next prototypes.
4823 (Finding Tokens in a String): Likewise for basename.
4824 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4825 (Copying and Concatenation): Fix typo in wmemmove prototype.
4826 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4827 (Signal Stack): Remove erroneous const in sigstack prototype.
4828 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4830 (Simple Calendar Time): Likewise for stime.
4831 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4833 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4834 say sys/sysctl.h instead.
4835 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4836 and vsyslog prototypes.
4838 2013-02-11 Tom de Vries <tom@codesourcery.com>
4840 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4843 2013-02-11 Roland McGrath <roland@hack.frob.com>
4845 * misc/sys/mman.h: Fix typo in mremap comment.
4847 2013-02-08 Roland McGrath <roland@hack.frob.com>
4849 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4850 the '\0' terminator.
4852 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4855 * debug/segfault.c: Don't include <bp-checks.h>.
4856 * sysdeps/generic/bp-checks.h: Remove file.
4857 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4858 (__GETDENTS): Don't use CHECK_N.
4859 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4860 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4861 (__getgroups): Don't use CHECK_N.
4862 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4863 (setgroups): Don't use CHECK_N.
4864 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4865 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4866 (__libc_msgrcv): Don't use CHECK_N.
4867 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4868 (__libc_msgsnd): Don't use CHECK_N.
4869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4871 (__libc_pread): Don't use CHECK_N.
4872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4873 include <bp-checks.h>.
4874 (__libc_pread64): Don't use CHECK_N.
4875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4876 include <bp-checks.h>.
4877 (__libc_pwrite): Don't use CHECK_N.
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4879 include <bp-checks.h>.
4880 (__libc_pwrite64): Don't use CHECK_N.
4881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4883 (__libc_pread): Don't use CHECK_N.
4884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4885 include <bp-checks.h>.
4886 (__libc_pread64): Don't use CHECK_N.
4887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4888 include <bp-checks.h>.
4889 (__libc_pwrite): Don't use CHECK_N.
4890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4891 include <bp-checks.h>.
4892 (__libc_pwrite64): Don't use CHECK_N.
4893 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4894 (do_pread): Don't use CHECK_N.
4895 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4896 (do_pread64): Don't use CHECK_N.
4897 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4898 (do_pwrite): Don't use CHECK_N.
4899 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4900 (do_pwrite64): Don't use CHECK_N.
4901 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4902 (__libc_readv): Don't use CHECK_N.
4903 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4904 (semop): Don't use CHECK_N.
4905 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4907 (semtimedop): Don't use CHECK_N.
4908 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4909 (__libc_pread): Don't use CHECK_N.
4910 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4912 (__libc_pread64): Don't use CHECK_N.
4913 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4915 (__libc_pwrite): Don't use CHECK_N.
4916 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4918 (__libc_pwrite64): Don't use CHECK_N.
4919 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4921 (__libc_msgrcv): Don't use CHECK_N.
4922 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4923 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4924 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4925 (__libc_writev): Don't use CHECK_N.
4927 2013-02-08 Roland McGrath <roland@hack.frob.com>
4929 * string/strcpy.c: Removed unused variable.
4931 * Makeconfig (+sysdep-includes): Define with := rather than =.
4932 Use an existing include/ subdir of each sysdeps dir before it.
4934 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4936 * nscd/connection.c (register_traced_file): Comment function.
4937 [HAVE_INOTIFY] (union __inev): Define.
4938 [HAVE_INOTIFY] (inotify_check_files): New function.
4939 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4940 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4942 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4944 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4946 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4947 loaded if not already and that a failure is permanent.
4949 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4952 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4953 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4955 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4958 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4959 (CHECK_1_NULL_OK): Likewise.
4960 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4961 (__fxstat): Do not use CHECK_1.
4962 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4964 (___fxstat64): Do not use CHECK_1.
4965 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4967 (__fxstatat): Do not use CHECK_1.
4968 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4970 (__fxstatat64): Do not use CHECK_1.
4971 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4973 (__fxstat): Do not use CHECK_1.
4974 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4976 (__fxstatat): Do not use CHECK_1.
4977 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4979 (__getresgid): Do not use CHECK_1.
4980 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4982 (__getresuid): Do not use CHECK_1.
4983 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4985 (__lxstat): Do not use CHECK_1.
4986 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4988 (__old_msgctl): Do not use CHECK_1.
4989 (__new_msgctl): Likewise.
4990 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4992 (__new_setrlimit): Do not use CHECK_1.
4993 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4995 (__old_shmctl): Do not use CHECK_1.
4996 (__new_shmctl): Likewise.
4997 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4999 (__xstat): Do not use CHECK_1.
5000 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5001 (__lxstat): Do not use CHECK_1.
5002 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5004 (___lxstat64): Do not use CHECK_1.
5005 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5006 (__old_msgctl): Do not use CHECK_1.
5007 (__new_msgctl): Likewise.
5008 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5010 (__gettimeofday): Do not use CHECK_1.
5011 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5012 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5013 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5015 (__gettimeofday): Do not use CHECK_1.
5016 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5017 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5018 (__new_shmctl): Do not use CHECK_1.
5019 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5021 (do_sigtimedwait): Do not use CHECK_1.
5022 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5024 (do_sigwaitinfo): Do not use CHECK_1.
5025 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5027 (msgctl): Do not use CHECK_1.
5028 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5030 (shmctl): Do not use CHECK_1.
5031 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5032 (ustat): Do not use CHECK_1.
5033 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5035 (__fxstat): Do not use CHECK_1.
5036 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5038 (__fxstatat): Do not use CHECK_1.
5039 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5041 (__lxstat): Do not use CHECK_1.
5042 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5044 (__xstat): Do not use CHECK_1.
5045 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5046 (__xstat): Do not use CHECK_1.
5047 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5048 (___xstat64): Do not use CHECK_1.
5051 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5053 (CHECK_BOUNDS_HIGH): Likewise.
5054 * string/strcpy.c: Do not include <bp-checks.h>.
5055 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5057 2013-02-07 Roland McGrath <roland@hack.frob.com>
5059 * nscd/nscd-client.h (__nscd_drop_map_ref):
5060 Add __attribute__ ((unused)).
5061 * nis/nss-nisplus.h (niserr2nss): Likewise.
5063 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5064 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5066 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5067 Remove inline keyword.
5068 * include/rounding-mode.h (round_away): Likewise.
5069 * libio/wfileops.c (adjust_wide_data): Likewise.
5070 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5071 (__m128i_strloadu_tolower): Likewise.
5072 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5073 (__m128i_strloadu_tolower): Likewise.
5074 * time/mktime.c (ydhms_diff): Likewise.
5075 * locale/elem-hash.h (elem_hash): Likewise.
5076 * locale/setlocale.c (setdata): Likewise.
5077 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5078 (re_string_wchar_at): Likewise.
5079 (bitset_not, bitset_merge, bitset_mask): Likewise.
5080 [!(__GNUC__ > 3)] (inline): Remove macro.
5081 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5082 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5083 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5084 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5085 * string/memcmp.c (memcmp_bytes): Likewise.
5086 * locale/programs/locarchive.c (compute_hashval): Likewise.
5087 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5088 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5089 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5090 * nss/getent.c (print_rpc, print_protocols): Likewise.
5091 (print_passwd, print_group, print_aliases): Likewise.
5092 * nis/nss-nisplus.h (niserr2nss): Likewise.
5093 * nscd/connections.c (restart_p): Likewise.
5094 Change return type to bool.
5096 2013-02-05 Roland McGrath <roland@hack.frob.com>
5098 * Makeconfig (all-Depend-files): Add existing
5099 $(sorted-subdirs:=/Depend) files.
5100 (all-subdirs): Remove nss.
5101 * sysdeps/unix/inet/Subdirs: Add it here instead.
5102 * hesiod/Depend: New file.
5104 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5105 instead of calling alloca.
5107 * io/lseek.c (__lseek): Rename to __libc_lseek.
5108 Define __lseek as an alias.
5110 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5112 2013-02-04 Carlos O'Donell <carlos@redhat.com>
5114 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5115 else clause and remove check for non-standard endianness.
5117 2013-02-04 David S. Miller <davem@davemloft.net>
5119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5121 2013-02-04 Joseph Myers <joseph@codesourcery.com>
5124 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5125 (__ubp_memchr): Remove prototype.
5126 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5127 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5128 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5129 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5130 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5132 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5133 (__ubp_memchr): Likewise.
5134 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5135 (__ubp_memchr): Likewise.
5136 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5137 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5138 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5139 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5141 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5142 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5143 (__getcwd): Do not use CHECK_STRING.
5144 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5146 (__real_chown): Do not use CHECK_STRING.
5147 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5149 (fchownat): Do not use CHECK_STRING.
5150 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5152 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5154 (__lchown): Do not use CHECK_STRING.
5155 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5156 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5157 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5158 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5160 include <bp-checks.h>.
5161 (truncate64): Do not use CHECK_STRING.
5162 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5164 (__real_chown): Do not use CHECK_STRING.
5165 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5167 (__lchown): Do not use CHECK_STRING.
5168 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5170 (__chown): Do not use CHECK_STRING.
5171 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5173 (truncate64): Do not use CHECK_STRING.
5174 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5176 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5177 (__xmknod): Do not use CHECK_STRING.
5178 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5180 (__xmknodat): Do not use CHECK_STRING.
5181 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5182 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5184 2013-02-04 Andreas Schwab <schwab@suse.de>
5187 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5188 * include/netdb.h: Likewise for h_errno.
5189 * elf/tst-stackguard1.c: Include <tls.h>.
5191 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5193 * elf/link.h (struct link_map): Extend the l_addr comment.
5194 * include/link.h (struct link_map): Likewise.
5196 2013-02-01 Joseph Myers <joseph@codesourcery.com>
5199 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5200 (BOUNDED_1): Remove macro.
5201 * debug/backtrace.c: Don't include <bp-checks.h>.
5202 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5203 (__backtrace): Likewise.
5204 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5206 (__backtrace): Don't use BOUNDED_1.
5207 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5209 (__backtrace): Don't use BOUNDED_1.
5210 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5211 (__backtrace): Don't use BOUNDED_1.
5212 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5213 (shmat): Don't use BOUNDED_N.
5215 2013-01-31 Joseph Myers <joseph@codesourcery.com>
5218 * sysdeps/generic/bp-start.h: Remove file.
5219 * csu/libc-start.c: Don't include <bp-start.h>.
5220 (LIBC_START_MAIN): Set up __environ directly instead of using
5221 INIT_ARGV_and_ENVIRON.
5222 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5226 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5228 (CHECK_FCNTL): Likewise.
5229 (CHECK_N_PAGES): Likewise.
5232 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5234 (CHECK_SIGSET_NULL_OK): Likewise.
5235 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5237 (sigpending): Don't use CHECK_SIGSET.
5238 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5240 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5241 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5243 (do_sigsuspend): Don't use CHECK_SIGSET.
5244 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5246 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5247 (do_sigwait): Don't use CHECK_SIGSET.
5248 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5250 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5251 include <bp-checks.h>.
5252 (sigpending): Don't use CHECK_SIGSET.
5253 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5254 include <bp-checks.h>.
5255 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5256 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5258 (sigpending): Don't use CHECK_SIGSET.
5259 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5261 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5264 * sysdeps/generic/bp-semctl.h: Remove file.
5265 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5266 <bp-checks.h> and <bp-semctl.h>.
5267 (__old_semctl): Don't use CHECK_SEMCTL.
5268 (__new_semctl): Likewise.
5269 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5271 (__old_semctl): Don't use CHECK_SEMCTL.
5272 (__new_semctl): Likewise.
5273 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5274 <bp-checks.h> and <bp-semctl.h>.
5275 (__old_semctl): Don't use CHECK_SEMCTL.
5276 (__new_semctl): Likewise.
5277 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5278 <bp-checks.h> and <bp-semctl.h>.
5279 (semctl): Don't use CHECK_SEMCTL.
5282 * Makerules (elide-bp-thunks): Remove variable.
5283 (elide-routines.oS): Don't use $(elide-bp-thunks).
5284 (elide-routines.os): Likewise.
5285 (elide-routines.o): Likewise.
5286 (elide-routines.op): Likewise.
5287 (elide-routines.og): Likewise.
5288 (objects): Don't use $(bp-thunks).
5289 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5291 (common-generated): Do not add s-proto-bp.d.
5292 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5295 Do not generate makefile rules for bounded-pointer thunks.
5296 * sysdeps/generic/bp-thunks.h: Remove file.
5297 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5298 * sysdeps/unix/s-proto-bp.S: Likewise.
5301 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5302 parts of result separately when argument is not close to line from
5303 -i to i and one part of argument is small.
5304 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5305 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5306 * math/libm-test.inc (cacos_test): Add more tests.
5307 (casin_test): Likewise.
5308 (casinh_test): Likewise.
5309 * sysdeps/i386/fpu/libm-test-ulps: Update.
5310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5312 2013-01-31 David S. Miller <davem@davemloft.net>
5314 * po/de.po: Update from translation team.
5316 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5318 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5320 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5322 * configure.in (_AC_PROG_CC_C89): New definition.
5323 * configure: Regenerate.
5325 * configure.in (AC_PROG_CPP): New definition.
5326 * configure: Regenerate.
5328 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5330 * debug/tst-backtrace.h: New file.
5331 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5332 (ret): Remove variable.
5334 (FAIL): Remove macro.
5335 (NO_INLINE): Likewise.
5336 (fn1): Use match function instead of strstr.
5337 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5338 (ret): Remove variable.
5340 (FAIL): Remove macro.
5341 (NO_INLINE): Likewise.
5342 (fn): Use match function instead of strstr.
5343 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5344 (ret): Remove variable.
5346 (FAIL): Remove macro.
5347 (NO_INLINE): Likewise.
5348 (handle_signal): Use match function instead of strstr.
5349 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5350 (ret): Remove variable.
5352 (FAIL): Remove macro.
5353 (NO_INLINE): Likewise.
5354 (handle_signal): Use match function instead of strstr.
5356 2013-01-23 Roland McGrath <roland@hack.frob.com>
5358 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5360 2013-01-23 David S. Miller <davem@davemloft.net>
5362 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5363 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5364 argument of CAS if possible.
5365 * sysdeps/sparc/sparc64/bits/atomic.h
5366 (__arch_compare_and_exchange_val_32_acq): Likewise.
5367 (__arch_compare_and_exchange_val_64_acq): Likewise.
5369 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5371 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5372 * sysdeps/posix/ulimit.c: ... this.
5374 * sysdeps/unix/bsd/ulimit.c: Remove file.
5376 2013-01-23 Adam Conrad <adconrad@0c3.net>
5378 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5379 (LDFLAGS-tst-array5): Likewise.
5381 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5384 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5385 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5386 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5387 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5389 2013-01-21 David S. Miller <davem@davemloft.net>
5391 * sysdeps/sparc/backtrace.c: New file.
5392 * sysdeps/sparc/sparc32/backtrace.h: New file.
5393 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5394 * sysdeps/sparc/sparc64/backtrace.h: New file.
5395 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5396 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5399 2013-01-21 Andreas Schwab <schwab@suse.de>
5402 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5405 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5411 2013-01-18 Joseph Myers <joseph@codesourcery.com>
5412 Mark Mitchell <mark@codesourcery.com>
5413 Tom de Vries <tom@codesourcery.com>
5414 Paul Pluzhnikov <ppluzhnikov@google.com>
5416 * debug/tst-backtrace2.c: New file.
5417 * debug/tst-backtrace3.c: Likewise.
5418 * debug/tst-backtrace4.c: Likewise.
5419 * debug/tst-backtrace5.c: Likewise.
5420 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5421 (CFLAGS-tst-backtrace3.c): Likewise.
5422 (CFLAGS-tst-backtrace4.c): Likewise.
5423 (CFLAGS-tst-backtrace5.c): Likewise.
5424 (LDFLAGS-tst-backtrace2): Likewise.
5425 (LDFLAGS-tst-backtrace3): Likewise.
5426 (LDFLAGS-tst-backtrace4): Likewise.
5427 (LDFLAGS-tst-backtrace5): Likewise.
5428 (tests): Add new tests tst-backtrace2, tst-backtrace3,
5429 tst-backtrace4 and tst-backtrace5.
5431 2013-01-18 Anton Blanchard <anton@samba.org>
5432 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5434 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
5435 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
5436 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
5437 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5439 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
5440 "+r" and remove output regs list as redundant. Add explicit inline
5441 asm to specify register of return val to work around compiler codegen
5442 bug. Remove (int) cast on return value. Add return type parameter to
5443 use in macro so that this macro does not truncate return value for
5445 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
5446 pass to INTERNAL_VSYSCALL_NCS.
5447 (INLINE_VSYSCALL): Add 'long int' as return type to
5448 INTERNAL_VSYSCALL_NCS macro invocation.
5449 (INTERNAL_VSYSCALL): Add 'long int' as return type to
5450 INTERNAL_VSYSCALL_NCS macro invocation.
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5453 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5456 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
5457 Fix application of SIMD FP exception mask.
5459 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
5460 mp_no from a power of two.
5461 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
5462 __mpexp_twomm1. Use __pow_mp.
5464 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
5467 2013-01-17 David S. Miller <davem@davemloft.net>
5469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5471 2013-01-17 Joseph Myers <joseph@codesourcery.com>
5474 * include/complex.h: Condition contents on [!_COMPLEX_H].
5475 (__kernel_casinhf): New prototype.
5476 (__kernel_casinh): Likewise.
5477 (__kernel_casinhl): Likewise.
5478 * math/Makefile (libm_calls): Add k_casinh.
5479 * math/k_casinh.c: New file.
5480 * math/k_casinhf.c: Likewise.
5481 * math/k_casinhl.c: Likewise.
5482 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
5483 finite nonzero arguments.
5484 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
5485 finite nonzero arguments.
5486 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
5487 finite nonzero arguments.
5488 * math/s_casinh.c: Do not include <float.h>.
5489 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
5490 * math/s_casinhf.c: Do not include <float.h>.
5491 (__casinhf): Move code for finite nonzero arguments to
5493 * math/s_casinhl.c: Do not include <float.h>.
5494 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
5496 (__casinhl): Move code for finite nonzero arguments to
5498 * math/libm-test.inc (cacos_test): Add more tests.
5499 * sysdeps/i386/fpu/libm-test-ulps: Update.
5500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5502 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
5504 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
5505 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
5506 [!HAVE_MREMAP]: Remove [defined linux] case.
5507 * malloc/arena.c: Do not include <malloc-sysdep.h>.
5509 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5511 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
5513 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
5515 * elf/elf.h (R_386_SIZE32): New relocation.
5516 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
5518 (elf_machine_rela): Likewise.
5519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5520 R_X86_64_SIZE64 and R_X86_64_SIZE32.
5522 2013-01-17 Joseph Myers <joseph@codesourcery.com>
5524 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
5525 (FP_FAST_FMA): Do not define.
5526 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
5527 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
5528 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
5529 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
5530 !_SOFT_FLOAT]: Likewise.
5531 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
5532 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
5534 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
5535 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
5536 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
5537 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
5538 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
5539 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
5542 2013-01-16 Andreas Schwab <schwab@suse.de>
5545 * include/stdlib.h (__mktemp): Add declaration.
5546 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
5547 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
5549 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5551 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
5553 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5554 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
5555 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
5557 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
5558 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
5560 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
5562 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
5563 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
5564 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
5566 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
5567 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
5569 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5571 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
5573 2013-01-15 David S. Miller <davem@davemloft.net>
5575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5576 trunc{,f} to libm-sysdep_routes.
5577 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
5580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
5581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
5583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
5585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
5586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
5587 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
5588 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
5589 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
5590 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
5591 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
5592 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
5594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5595 nearbyint{,f} to libm-sysdep_routes.
5596 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
5599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
5601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
5603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
5605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
5606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
5607 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
5609 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
5610 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
5612 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
5613 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
5614 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
5616 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5617 libc_feholdexcept and libc_fesetenv.
5619 2013-01-15 Mike Frysinger <vapier@gentoo.org>
5621 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
5623 2013-01-14 David S. Miller <davem@davemloft.net>
5625 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
5626 (SPARC_ASM_VIS2_IFUNC): Likewise.
5627 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
5628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
5629 use of 'siam' instruction.
5630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
5632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
5634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
5636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5637 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
5642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
5644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
5646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
5648 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
5649 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
5650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
5651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5660 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5663 routines to libm-sysdep_routines.
5664 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5667 fdim/fdimf to libm-sysdep_routines.
5668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5676 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5677 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5678 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5679 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5681 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5683 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5686 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5691 local variable MPTWO.
5692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5695 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5697 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5700 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5702 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5704 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5706 * manual/pattern.texi (glob_t): Document gl_flags.
5707 (glob64_t): Likewise.
5709 2013-01-11 David S. Miller <davem@davemloft.net>
5711 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5712 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5713 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
5714 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5715 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5716 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5717 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5718 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5719 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5720 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5721 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5722 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5723 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5725 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5726 sparc V9 rather than using V8 code.
5727 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5728 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5730 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5732 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5735 2013-01-11 Roland McGrath <roland@hack.frob.com>
5737 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5738 not in the main loop.
5739 * configure: Regenerated.
5741 2013-01-11 Joseph Myers <joseph@codesourcery.com>
5743 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5744 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5746 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
5747 [!__GLIBC_HAVE_LONG_LONG] case.
5748 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5749 condition to just #else.
5750 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5751 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5752 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5753 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5755 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5756 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5757 #elif condition to just #else.
5758 * sysdeps/unix/sysv/linux/sys/sysmacros.h
5759 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5760 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5761 #elif condition to just #else.
5763 2013-01-11 Steve Ellcey <sellcey@mips.com>
5765 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5766 (EF_MIPS_ARCH_64): Fix value.
5767 (EF_MIPS_ARCH_32R2): New.
5768 (EF_MIPS_ARCH_64R2): New.
5770 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5772 * Makeconfig (+link-pie-before-libc): New.
5773 (+link-pie-after-libc): Likewise.
5774 (+link-pie-tests): Likewise.
5775 (+link-pie): Rewritten.
5776 (link-before-libc): Remove $(config-LDFLAGS).
5777 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5778 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5779 (config-LDFLAGS): Renamed to ...
5780 (rtld-LDFLAGS): This.
5781 (rtld-tests-LDFLAGS): New macro.
5782 (link-libc-rpath-link): Likewise.
5783 (link-libc-tests-rpath-link): Likewise.
5784 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5785 (link-libc): Prepand $(link-libc-rpath-link).
5786 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5787 (test-program-prefix): New macro.
5788 (test-via-rtld-prefix): Likewise.
5789 (test-program-cmd): Likewise.
5790 (host-test-program-cmd): Likewise.
5791 * Makefile ($(common-objpfx)testrun.sh): Replace
5792 $(run-program-prefix) with $(test-program-prefix).
5793 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5795 ($(common-objpfx)shlib.lds): Likewise.
5796 (build-module-helper): Likewise.
5797 ($(common-objpfx)format.lds): Likewise.
5798 * Rules (binaries-pie-tests): New.
5799 (binaries-pie-notests): Likewise.
5800 (binaries-pie): Rewritten.
5801 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5802 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5803 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5804 (make-test-out): Replace $(host-built-program-cmd) with
5805 $(host-test-program-cmd).
5806 * config.make.in (build-hardcoded-path-in-tests): New variable.
5807 * configure.in (--enable-hardcoded-path-in-tests): New configure
5809 (hardcoded_path_in_tests): New AC_SUBST.
5810 * configure: Regenerated.
5811 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5812 $(built-program-cmd) with $(test-program-cmd).
5813 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5814 (test_program_cmd): This.
5815 * elf/Makefile ($(objpfx)order.out): Run test with
5816 $(test-program-prefix).
5817 ($(objpfx)order2.out): Likewise.
5818 ($(objpfx)tst-initorder.out): Likewise.
5819 ($(objpfx)tst-initorder2.out): Likewise.
5820 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5821 $(test-program-cmd).
5822 ($(objpfx)tst-array1-static.out): Likewise.
5823 ($(objpfx)tst-array2.out): Likewise.
5824 ($(objpfx)tst-array3.out): Likewise.
5825 ($(objpfx)tst-array4.out): Likewise.
5826 ($(objpfx)tst-array5.out): Likewise.
5827 ($(objpfx)tst-array5-static.out): Likewise.
5828 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5829 $(test-program-cmd).
5830 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5831 $(run-program-prefix) with $(test-program-prefix).
5832 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5833 (test_program_prefix): This.
5834 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5835 $(run-program-prefix) with $(test-program-prefix).
5836 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5837 (test_program_prefix): This.
5838 * iconvdata/tst-tables.sh: Likewise.
5839 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5840 $(run-program-prefix) with $(test-program-prefix).
5841 ($(objpfx)tst-translit.out): Likewise.
5842 ($(objpfx)tst-gettext2.out): Likewise.
5843 ($(objpfx)tst-gettext4.out): Likewise.
5844 ($(objpfx)tst-gettext6.out): Likewise.
5845 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5846 (test_program_prefix): This.
5847 * intl/tst-gettext2.sh: Likewise.
5848 * intl/tst-gettext4.sh Likewise.
5849 * intl/tst-gettext6.sh: Likewise.
5850 * intl/tst-translit.sh: Likewise.
5851 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5852 with $(test-program-cmd).
5853 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5854 $(run-program-prefix) with $(test-program-prefix).
5855 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5856 (test_program_prefix): This.
5857 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5858 $(run-program-prefix) with $(test-program-prefix).
5859 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5860 (test_program_prefix): This.
5861 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5862 * posix/Makefile ($(objpfx)globtest.out): Replace
5863 $(run-via-rtld-prefix) and $(test-wrapper) with
5864 $(test-program-prefix) and $(test-via-rtld-prefix).
5865 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5866 $(test-program-prefix).
5867 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5868 $(host-test-program-cmd).
5869 (tst-spawn-ARGS): Likewise.
5870 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5871 $(test-program-prefix).
5872 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5873 (test_via_rtld_prefix): This.
5874 (test_wrapper): Renamed to ...
5875 (test_program_prefix): This.
5876 (run_program_prefix): Replaced by test_program_prefix.
5877 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5878 (test_program_prefix): This.
5879 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5880 with $(host-test-program-cmd).
5881 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5882 $(run-program-prefix) with $(test-program-prefix).
5883 ($(objpfx)tst-printf.out): Likewise.
5884 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5885 $(test-program-cmd).
5886 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5887 (test_program_prefix): This.
5888 * stdio-common/tst-unbputc.sh: Likewise.
5889 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5890 $(run-program-prefix) with $(test-program-prefix).
5891 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5892 (test_program_prefix): This.
5893 * string/Makefile ($(objpfx)tst-svc.out): Replace
5894 $(built-program-cmd) with $(test-program-cmd).
5896 2013-01-11 Andreas Jaeger <aj@suse.de>
5899 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5900 value. Sync with Linux 3.7.
5902 2013-01-10 David S. Miller <davem@davemloft.net>
5904 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5905 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5906 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5908 2013-01-10 Roland McGrath <roland@hack.frob.com>
5910 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5912 * configure: Regenerated.
5914 2013-01-10 David S. Miller <davem@davemloft.net>
5916 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5917 sparc V9 rather than using V8 code.
5918 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5919 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5921 2013-01-10 Roland McGrath <roland@hack.frob.com>
5923 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5924 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5925 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5926 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5927 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5928 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5929 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5930 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5931 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5932 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5933 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5934 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5935 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5936 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5937 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5938 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5939 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5940 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5941 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5942 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5943 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5944 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5945 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5946 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5947 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5948 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5949 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5951 2013-01-10 David S. Miller <davem@davemloft.net>
5953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5955 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5957 * posix/Makefile (tests-static): New variable.
5958 (tests): Add $(tests-static).
5959 (tst-exec-static-ARGS): New variable.
5960 (tst-spawn-static-ARGS): Likewise.
5961 * posix/tst-exec-static.c: New file.
5962 * posix/tst-spawn-static.c: Likewise.
5963 * posix/tst-exec.c: Support run directly.
5964 * posix/tst-spawn.c: Likewise.
5966 2013-01-10 Joseph Myers <joseph@codesourcery.com>
5968 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5970 * math/bits/mathcalls.h (llrint): Likewise.
5971 (llround): Likewise.
5972 * stdlib/stdlib.h (struct drand48_data): Likewise.
5973 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5974 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5975 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5977 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5979 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5980 (elf_greg_t): Likewise.
5981 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5982 (__jmp_buf): Likewise.
5983 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5985 (llrint): Likewise, for all definitions.
5986 (llrintl): Likewise.
5988 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5989 Remove [__GNUC__] condition.
5990 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5991 condition to just [__USE_ISOC99].
5992 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5994 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5997 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5998 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6000 (_POSIX_V6_ILP32_OFF32): Likewise.
6001 (_XBS5_ILP32_OFF32): Likewise.
6002 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6003 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6005 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6007 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6010 doubles __mpexp_twomm1. Adjust usage.
6011 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6014 2013-01-10 Andreas Schwab <schwab@suse.de>
6017 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6018 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6020 2013-01-09 David S. Miller <davem@davemloft.net>
6023 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6024 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6025 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6026 TCP_FASTOPEN): Define.
6027 (tcp_repair_opt): New structure.
6028 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6030 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6031 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6032 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6033 (tcp_cookie_transactions): New structure.
6035 2013-01-09 Anton Blanchard <anton@samba.org>
6037 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6038 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6039 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6040 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6042 2013-01-09 Joseph Myers <joseph@codesourcery.com>
6044 * include/features.h (__USE_ANSI): Remove.
6046 2013-01-09 Roland McGrath <roland@hack.frob.com>
6048 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6050 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6052 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6054 * sysdeps/s390/fpu/libm-test-ulps: Update.
6056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6058 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6063 (__mp_dbl): Likewise.
6064 (__dbl_mp): Likewise.
6065 (add_magnitudes): Likewise.
6066 (sub_magnitudes): Likewise.
6072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6077 (__mp_dbl): Likewise.
6078 (__dbl_mp): Likewise.
6079 (add_magnitudes): Likewise.
6080 (sub_magnitudes): Likewise.
6086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6091 (__mp_dbl): Likewise.
6092 (__dbl_mp): Likewise.
6093 (add_magnitudes): Likewise.
6094 (sub_magnitudes): Likewise.
6101 2013-01-08 Joseph Myers <joseph@codesourcery.com>
6103 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6104 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6105 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6106 2 && __USE_EXTERN_INLINES]: Likewise.
6108 2013-01-08 Andreas Jaeger <aj@suse.de>
6111 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6113 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6114 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6116 2013-01-07 Anton Blanchard <anton@samba.org>
6118 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6119 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6120 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6121 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6122 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6123 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6124 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6125 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6127 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6128 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6129 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6130 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6131 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6132 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6133 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6134 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6135 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6136 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6137 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6138 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6139 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6140 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6141 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6142 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6143 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6144 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6145 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6146 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6147 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6148 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6150 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6151 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6152 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6153 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6154 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6155 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6156 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6157 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6158 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6159 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6160 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6162 2013-01-07 Joseph Myers <joseph@codesourcery.com>
6164 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6165 (__MALLOC_PMT): Likewise.
6166 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6167 [__GNUC__], only on [_LIBC].
6168 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6169 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6170 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6171 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6172 forward declaration.
6173 (realloc_hook_ini): Likewise.
6174 (memalign_hook_ini): Likewise.
6175 (__libc_memalign): Do not use __MALLOC_PMT in variable
6177 (__libc_valloc): Likewise.
6178 (__libc_pvalloc): Likewise.
6179 (__libc_calloc): Likewise.
6180 (__posix_memalign): Likewise.
6183 * math/s_casinh.c: Include <float.h>.
6184 (__casinh): Do not do computation with squaring and square root
6185 for large arguments.
6186 * math/s_casinhf.c: Include <float.h>.
6187 (__casinhf): Do not do computation with squaring and square root
6188 for large arguments.
6189 * math/s_casinhl.c: Include <float.h>.
6190 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6191 (__casinhl): Do not do computation with squaring and square root
6192 for large arguments.
6193 * math/libm-test.inc (casin_test): Add more tests.
6194 (casinh_test): Likewise.
6195 * sysdeps/i386/fpu/libm-test-ulps: Update.
6196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6198 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6200 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6201 (__x86_64_raw_data_cache_size): Likewise.
6202 (__x86_64_data_cache_size_half): Likewise.
6203 (__x86_64_raw_data_cache_size_half): Likewise.
6204 (__x86_64_shared_cache_size): Likewise.
6205 (__x86_64_raw_shared_cache_size): Likewise.
6206 (__x86_64_shared_cache_size_half): Likewise.
6207 (__x86_64_raw_shared_cache_size_half): Likewise.
6208 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6210 (__x86_data_cache_size): This.
6211 (__x86_64_raw_data_cache_size): Renamed to ...
6212 (__x86_raw_data_cache_size): This.
6213 (__x86_64_data_cache_size_half): Renamed to ...
6214 (__x86_data_cache_size_half): This.
6215 (__x86_64_raw_data_cache_size_half): Renamed to ...
6216 (__x86_raw_data_cache_size_half): This.
6217 (__x86_64_shared_cache_size): Renamed to ...
6218 (__x86_shared_cache_size): This.
6219 (__x86_64_raw_shared_cache_size): Renamed to ...
6220 (__x86_raw_shared_cache_size): This.
6221 (__x86_64_shared_cache_size_half): Renamed to ...
6222 (__x86_shared_cache_size_half): This.
6223 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6224 (__x86_raw_shared_cache_size_half): This.
6225 * sysdeps/x86_64/memcpy.S: Updated.
6226 * sysdeps/x86_64/memset.S: Likewise.
6227 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6228 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6229 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6231 2013-01-04 David S. Miller <davem@davemloft.net>
6233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6235 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6237 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6238 1 to avoid redefinition warning.
6239 (__USE_GNU): Don't define.
6240 (init_signaling_nan): Protoize.
6242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6244 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6246 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6248 (__cpymn): Likewise.
6249 (norm): Remove commented code.
6251 (__mp_dbl): Likewise.
6253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6254 (__cpymn): Likewise.
6255 (norm): Remove commented code.
6257 (__mp_dbl): Likewise.
6260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6261 mp_no value for 1.0 and 2.0.
6262 (norm): Use RADIXI instead of radixi.d.
6264 (__mul): Use 0.0 instead of zero.d.
6265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6266 mp_no value for 1.0 and 2.0.
6267 (norm): Use RADIXI instead of radixi.d.
6269 (__mul): Use 0.0 instead of zero.d.
6271 2013-01-04 Joseph Myers <joseph@codesourcery.com>
6274 * math/s_casinh.c (__casinh): Reduce finite argument to first
6275 quadrant then set signs of results at the end.
6276 * math/s_casinhf.c (__casinhf): Likewise.
6277 * math/s_casinhl.c (__casinhl): Likewise.
6278 * math/libm-test.inc (casin_test): Add more tests.
6279 (casinh_test): Likewise.
6280 * sysdeps/i386/fpu/libm-test-ulps: Update.
6281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6283 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6285 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6287 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6289 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6292 (__mp_dbl): Likewise.
6295 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6296 and adjust the header comment.
6298 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6299 variable name from declaration.
6301 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6304 Initialize COMMON_CPUID_INDEX_7 element.
6305 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6306 (CPUID_RTM): Likewise.
6307 (HAS_RTM): Likewise.
6308 (COMMON_CPUID_INDEX_7): New enum.
6310 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6313 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6314 size is zero, record memory as freed.
6316 2013-01-03 Andreas Jaeger <aj@suse.de>
6318 * po/ia.po: Add new Interlingua translation.
6320 2012-01-03 Allan McRae <allan@archlinux.org>
6322 * locale/programs/localedef.c: Fix description of '--posix' flag.
6324 2013-01-02 Joseph Myers <joseph@codesourcery.com>
6326 * NEWS: Update dates in second copyright notice.
6327 * README: Update copyright dates in example.
6328 * manual/libc.texinfo: Update copyright dates.
6329 * scripts/test-installation.pl: Update copyright date in --version
6332 * hurd/ctty-input.c: Fix copyright notice formatting.
6333 * hurd/ctty-output.c: Likewise.
6334 * hurd/dtable.c: Likewise.
6335 * hurd/hurd-raise.c: Likewise.
6336 * hurd/hurdprio.c: Likewise.
6337 * hurd/msgportdemux.c: Likewise.
6338 * misc/sys/file.h: Likewise.
6339 * misc/sys/ioctl.h: Likewise.
6340 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6341 * sysdeps/mach/hurd/chdir.c: Likewise.
6342 * sysdeps/mach/hurd/fchdir.c: Likewise.
6343 * sysdeps/mach/hurd/rename.c: Likewise.
6344 * sysdeps/mach/hurd/rmdir.c: Likewise.
6345 * sysdeps/mach/hurd/seekdir.c: Likewise.
6346 * sysdeps/mach/hurd/setsid.c: Likewise.
6347 * sysdeps/posix/wait3.c: Likewise.
6349 * All files with FSF copyright notices: Update copyright dates
6350 using scripts/update-copyrights.
6351 * intl/plural.c: Regenerated.
6352 * locale/programs/charmap-kw.h: Likewise.
6353 * locale/programs/locfile-kw.h: Likewise.
6355 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6357 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6360 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6361 calculation loop and add branch prediction.
6363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6364 check access beyond bounds of m1np.
6366 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6368 (__inv): Remove local variable MPTWO to use the global
6370 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6371 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6373 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6374 MP3HALFS static const.
6376 2013-01-01 David S. Miller <davem@davemloft.net>
6378 * po/ca.po: Update from translation team.
6380 2013-01-01 Joseph Myers <joseph@codesourcery.com>
6382 * scripts/update-copyrights: New file.
6383 * Makeconfig: Reformat copyright notice.
6384 * ctype/ctype.h: Likewise.
6385 * debug/swprintf_chk.c: Likewise.
6386 * elf/dl-cache.c: Likewise.
6387 * elf/dl-debug.c: Likewise.
6388 * elf/dl-object.c: Likewise.
6389 * grp/initgroups.c: Likewise.
6390 * hurd/Makefile: Likewise.
6391 * hurd/hurd/signal.h: Likewise.
6392 * hurd/hurdfault.c: Likewise.
6393 * hurd/hurdioctl.c: Likewise.
6394 * hurd/hurdlookup.c: Likewise.
6395 * hurd/intr-msg.c: Likewise.
6396 * iconv/gconv_open.c: Likewise.
6397 * libio/swprintf.c: Likewise.
6398 * locale/lc-ctype.c: Likewise.
6399 * locale/nl_langinfo.c: Likewise.
6400 * mach/Machrules: Likewise.
6401 * mach/Makefile: Likewise.
6402 * malloc/obstack.h: Likewise.
6403 * manual/Makefile: Likewise.
6404 * manual/tsort.awk: Likewise.
6405 * misc/bits/stab.def: Likewise.
6406 * nis/nis_print_group_entry.c: Likewise.
6407 * nis/nis_table.c: Likewise.
6408 * nis/nss_compat/compat-pwd.c: Likewise.
6409 * nis/nss_compat/compat-spwd.c: Likewise.
6410 * po/Makefile: Likewise.
6411 * posix/fnmatch.c: Likewise.
6412 * posix/regex.h: Likewise.
6413 * resolv/Makefile: Likewise.
6414 * resolv/nss_dns/dns-network.c: Likewise.
6415 * resolv/res_hconf.c: Likewise.
6416 * scripts/gen-sorted.awk: Likewise.
6417 * soft-fp/soft-fp.h: Likewise.
6418 * stdio-common/printf.h: Likewise.
6419 * stdlib/monetary.h: Likewise.
6420 * stdlib/random.c: Likewise.
6421 * stdlib/random_r.c: Likewise.
6422 * sysdeps/generic/Makefile: Likewise.
6423 * sysdeps/gnu/Makefile: Likewise.
6424 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6427 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6428 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6436 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6438 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6440 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6441 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6442 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6443 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6444 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6445 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6446 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
6452 * sysdeps/mach/hurd/errnos.awk: Likewise.
6453 * sysdeps/mach/hurd/fork.c: Likewise.
6454 * sysdeps/mach/hurd/getcwd.c: Likewise.
6455 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
6456 * sysdeps/mach/hurd/mmap.c: Likewise.
6457 * sysdeps/mach/hurd/utimes.c: Likewise.
6458 * sysdeps/mach/hurd/xmknod.c: Likewise.
6459 * sysdeps/posix/profil.c: Likewise.
6460 * sysdeps/posix/readdir_r.c: Likewise.
6461 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6462 * sysdeps/powerpc/bits/setjmp.h: Likewise.
6463 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
6464 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6466 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6467 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6468 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6470 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6471 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6472 * sysdeps/pthread/lio_listio.c: Likewise.
6473 * sysdeps/sparc/dl-procinfo.h: Likewise.
6474 * sysdeps/unix/i386/sysdep.S: Likewise.
6475 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6476 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
6477 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6478 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
6479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6480 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6481 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6482 * sysdeps/unix/sysv/linux/speed.c: Likewise.
6483 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6484 * sysdeps/wordsize-32/divdi3.c: Likewise.
6485 * time/sys/time.h: Likewise.
6486 * wcsmbs/Makefile: Likewise.
6488 2013-01-01 David S. Miller <davem@davemloft.net>
6490 * po/fr.po: Update from translation team.
6492 * catgets/gencat.c: Update copyright year.
6493 * csu/version.c: Likewise.
6494 * debug/catchsegv.sh: Likewise.
6495 * debug/pcprofiledump.c: Likewise.
6496 * debug/xtrace.sh: Likewise.
6497 * elf/ldconfig.c: Likewise.
6498 * elf/ldd.bash.in: Likewise.
6499 * elf/pldd.c: Likewise.
6500 * elf/sotruss.ksh: Likewise.
6501 * elf/sprof.c: Likewise.
6502 * iconv/iconv_prog.c: Likewise.
6503 * iconv/iconvconfig.c: Likewise.
6504 * locale/programs/locale.c: Likewise.
6505 * locale/programs/localedef.c: Likewise.
6506 * login/programs/pt_chown.c: Likewise.
6507 * malloc/memusage.sh: Likewise.
6508 * malloc/memusagestat.c: Likewise.
6509 * malloc/mtrace.pl: Likewise.
6510 * nscd/nscd.c: Likewise.
6511 * nss/getent.c: Likewise.
6512 * nss/makedb.c: Likewise.
6513 * posix/getconf.c: Likewise.
6515 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6517 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
6520 2012-12-30 Mike Frysinger <vapier@gentoo.org>
6522 * math/bits/mathcalls.h (modf): Use __nonnull.
6524 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6526 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
6527 (split): Use macro CN instead of the bare value.
6528 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
6530 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
6531 instead of the bare value.
6534 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6536 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
6538 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6540 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
6542 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6543 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6544 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
6545 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6547 2012-12-28 Andreas Jaeger <aj@suse.de>
6549 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
6550 values are from Linux 3.7.
6552 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
6553 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
6555 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6557 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
6560 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
6562 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
6563 variables with preprocessor constants.
6564 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6565 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6566 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6568 2012-12-27 Bruno Haible <bruno@clisp.org>
6571 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
6574 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
6577 and use variable directly.
6578 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
6580 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6582 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
6583 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6585 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6586 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6587 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
6588 include directive. Remove local variable MPONE.
6589 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
6590 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
6591 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6593 2012-12-25 David S. Miller <davem@davemloft.net>
6595 * version.h (RELEASE): Set to "development".
6596 (VERSION): Set to "2.17.90".
6597 * NEWS: Add 2.18 section.
6599 2012-12-21 David S. Miller <davem@davemloft.net>
6601 * po/hr.po: Update from translation team.
6603 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6605 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
6607 2012-12-19 Steve Ellcey <sellcey@mips.com>
6609 * NEWS: Mention new memcpy for MIPS.
6611 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6613 * manual/contrib.texi (Contributors): Spelling correction.
6615 2012-12-15 David S. Miller <davem@davemloft.net>
6617 * po/ru.po: Update from translation team.
6619 2012-12-13 David S. Miller <davem@davemloft.net>
6621 * NEWS: Mention IFUNC testsuite enhancements.
6623 * po/pl.po: Update from translation team.
6624 * po/bg.po: Likewise.
6626 * manual/contrib.texi (Contributors): Update entries for Hongjiu
6627 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
6629 2012-12-11 David S. Miller <davem@davemloft.net>
6631 * po/sv.po: Update from translation team.
6633 * po/vi.po: Update from translation team.
6635 * po/cs.po: Update from translation team.
6637 * po/de.po: Update from translation team.
6638 * po/eo.po: Likewise.
6639 * po/nl.po: Likewise.
6641 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6644 * manual/argp.texi (Argp Helper Functions): Move node to follow
6648 * manual/conf.texi (Limits on File System Capacity): Mention if
6649 terminating null is included in the max size.
6651 2012-12-10 Andreas Jaeger <aj@suse.de>
6653 * po/cs.po: Update from translation team.
6655 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6657 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6658 void pointer and cast to uintptr_t.
6659 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6661 * sysdeps/s390/s390-64/memcpy.S: Likewise.
6662 * sysdeps/s390/s390-64/memset.S: Likewise.
6664 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
6667 * menual/message.texi (Message Translation): Fix typos.
6668 (Helper programs for gettext): Likewise.
6670 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
6673 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6676 2012-12-07 David S. Miller <davem@davemloft.net>
6678 * po/libc.pot: Update.
6680 2012-12-07 Richard Henderson <rth@redhat.com>
6683 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6684 normal/normal case to before the switch.
6685 (_FP_DIV): Likewise.
6687 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
6688 Mike Frysinger <vapier@gentoo.org>
6690 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6691 check for __NR_fadvise64_64.
6693 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
6695 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6696 0, not just to plain "0" as a statement.
6697 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6700 2012-12-06 Joseph Myers <joseph@codesourcery.com>
6702 * NEWS: Use sourceware.org in Bugzilla URL.
6704 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6707 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6709 * stdio-common/tst-put-error.c (do_test): Add newline to the
6710 padded test to ensure flush.
6712 2012-12-05 Jeff Law <law@redhat.com>
6714 * sunrpc/etc.rpc (fedfs_admin): Add entry.
6716 2012-12-05 Joseph Myers <joseph@codesourcery.com>
6718 * README: Don't refer to ports add-on as distributed separately.
6719 Mention AArch64 in list of systems supported in the ports add-on.
6721 * LICENSES: Add more non-FSF copyright and license notices.
6723 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6726 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6728 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6729 10000 as width of padded output.
6731 2012-12-04 Joseph Myers <joseph@codesourcery.com>
6733 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6735 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6736 variable LX with __attribute__ ((unused)).
6737 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6739 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6740 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6741 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6742 with __attribute__ ((unused)).
6744 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
6746 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6748 2012-12-04 Joseph Myers <joseph@codesourcery.com>
6750 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6751 (CFLAGS-nldbl-acos.c): New variable.
6752 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6753 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6754 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6755 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6756 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6757 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6758 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6759 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6760 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6761 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6762 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6763 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6764 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6765 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6766 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6767 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6768 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6769 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6770 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6771 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6772 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6773 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6774 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6775 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6776 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6777 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6778 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6779 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6780 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6781 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6782 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6783 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6784 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6785 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6786 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6787 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6788 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6789 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6790 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6791 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6792 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6793 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6794 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6795 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6796 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6797 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6798 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6799 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6800 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6801 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6802 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6803 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6804 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6805 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6806 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6807 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6808 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6809 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6810 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6811 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6812 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6813 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6814 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6815 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6816 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6817 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6818 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6819 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6820 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6821 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6822 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6823 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6824 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6825 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6826 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6827 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6828 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6829 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6830 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6831 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6832 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6833 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6834 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6835 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6836 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6837 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6838 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6839 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6840 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6841 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6842 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6843 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6844 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6845 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6846 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6847 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6848 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6851 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6854 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6855 whole low double instead of just low 47 bits when splitting values
6858 2012-12-03 Allan McRae <allan@archlinux.org>
6860 * manual/stdio.texi (Predefined Printf Handlers): Remove
6861 @hsep and @vsep usage.
6863 2012-12-03 Mike Frysinger <vapier@gentoo.org>
6865 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6866 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6868 2012-12-03 Jeff Law <law@redhat.com>
6870 * time/sys/time.h (settimeofday): Do not mark TV argument
6873 2012-12-01 Mike Frysinger <vapier@gentoo.org>
6875 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6876 when currently writing and seek to current position when not.
6877 * libio/Makefile (tests): Remove bug-fclose1.
6878 * libio/bug-fclose1.c: Delete.
6880 2012-12-01 Joseph Myers <joseph@codesourcery.com>
6882 * manual/arith.texi (feenableexcept): Fix typo.
6883 (fedisableexcept): Likewise.
6885 2012-11-30 Roland McGrath <roland@hack.frob.com>
6887 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6888 second, differently-typed declaration, rather than a cast.
6890 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6892 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6893 * include/rpc/svc.h: ... here.
6895 2012-11-30 Aurelien Jarno <aurel32@debian.org>
6898 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6899 depending n and resplen2 to catch cases where answer
6902 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6904 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6905 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6907 2012-11-29 Mike Frysinger <vapier@gentoo.org>
6909 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6911 2012-11-29 Roland McGrath <roland@hack.frob.com>
6913 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6915 2012-11-28 Jeff Law <law@redhat.com>
6918 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6919 dataset_temporary. Track alloca usage into alloca_used.
6920 If dataset is large allocate and release it via malloc/free.
6922 2012-06-04 Florian Weimer <fweimer@redhat.com>
6925 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6927 2012-11-28 David S. Miller <davem@davemloft.net>
6929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6931 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6934 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6935 of pi/2 rounded to nearest to 64 bits.
6936 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6938 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6941 2012-11-28 Jeff Law <law@redhat.com>
6942 Martin Osvald <mosvald@redhat.com>
6945 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6946 * sunrpc/svc.c: Include time.h.
6947 (__svc_accept_failed): New function.
6948 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6949 any reason other than EINTR, call __svc_accept_failed.
6950 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6951 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6953 2012-11-28 Andreas Schwab <schwab@suse.de>
6955 * scripts/abilist.awk: Also handle indirect functions in .opd
6958 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6961 * sysdeps/x86/fpu/powl_helper.c: New file.
6962 * sysdeps/x86/fpu/Makefile: Likewise.
6963 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6965 (__ieee754_powl): Use __powl_helper for finite arguments except
6966 integer exponents below 8.
6967 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6969 (__ieee754_powl): Use __powl_helper for finite arguments except
6970 integer exponents below 8.
6971 * math/libm-test.inc (pow_test): Add more tests and enable some
6972 previously disabled tests.
6973 * sysdeps/i386/fpu/libm-test-ulps: Update.
6974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6976 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6977 Carlos O'Donell <carlos_odonell@mentor.com>
6979 * nss/makedb.c (is_prime): Assert that input is odd and greater
6980 than 4. Note that fact in a comment too.
6981 (next_prime): Add 4 to input.
6983 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6986 * libio/Makefile (tests): Add test case tst-fwrite-error.
6987 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6988 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6989 * libio/tst-fwrite-error.c: New test case.
6991 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6993 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6994 before casting to void *.
6995 * include/libc-internal.h (__pointer_type): New macro.
6996 (__integer_if_pointer_type_sub): Likewise.
6997 (__integer_if_pointer_type): Likewise.
6998 (cast_to_integer): Likewise.
6999 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7000 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7001 before casting to atomic64_t.
7002 (atomic_exchange_acq): Likewise.
7003 (__arch_exchange_and_add_body): Likewise.
7004 (__arch_add_body): Likewise.
7005 (atomic_add_negative): Likewise.
7006 (atomic_add_zero): Likewise.
7008 2012-11-26 Joseph Myers <joseph@codesourcery.com>
7010 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7011 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7012 (add_fdes): Likewise.
7013 (linear_search_fdes): Likewise.
7014 (binary_search_unencoded_fdes): Likewise.
7016 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7018 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7020 2012-11-24 Adam Conrad <adconrad@0c3.net>
7022 * configure.in: Autodetect C++ header directories.
7023 * configure: Regenerated.
7025 2012-11-23 Mike Frysinger <vapier@gentoo.org>
7027 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7029 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7033 2012-11-22 Joseph Myers <joseph@codesourcery.com>
7035 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7036 LDBL_MANT_DIG == 106]: Disable some tests.
7037 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7039 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7043 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7044 input for small inputs. Return +/- pi/2 for large inputs.
7045 * math/libm-test.inc (atan_test): Add more tests.
7047 * sysdeps/generic/unwind-dw2-fde-glibc.c
7048 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7049 __attribute__ ((unused)).
7052 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7053 x * y if x and y are nonzero and z is zero.
7056 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7057 nonzero exponents with absolute value below 0x1p-117 to +/-
7061 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7062 up arguments below 2**-450, not just those below 2**-500.
7063 * math/libm-test.inc (hypot_test): Add another test.
7066 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7067 Return a+b for ratio over 2**120, not 2**60.
7068 * math/libm-test.inc (hypot_test): Add another test.
7070 * math/libm-test.inc (clog_test): Use
7071 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7072 (clog10_test): Likewise.
7075 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7077 2012-11-22 Andreas Schwab <schwab@suse.de>
7079 * sysdeps/i386/fpu/libm-test-ulps: Update.
7081 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7083 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7084 printf output with newline.
7086 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7089 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7090 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7091 -z nodlopen, -z initfirst and -z execstack support.
7092 * configure: Regenerated.
7094 * elf/elf.h (DF_1_NODIRECT): New macro.
7095 (DF_1_IGNMULDEF): Likewise.
7096 (DF_1_NOKSYMS): Likewise.
7097 (DF_1_NOHDR): Likewise.
7098 (DF_1_EDITED): Likewise.
7099 (DF_1_NORELOC): Likewise.
7100 (DF_1_SYMINTPOSE): Likewise.
7101 (DF_1_GLOBAUDIT): Likewise.
7102 (DF_1_SINGLETON): Likewise.
7103 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7104 DT_1_SUPPORTED_MASK bits.
7105 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7107 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7109 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7111 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7113 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7116 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7117 (sendmmsg): Move declarations...
7118 * socket/sys/socket.h: ... here.
7119 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7120 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7122 * socket/recvmmsg.c: ... this new file.
7123 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7124 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7125 definition of __sendmmsg hidden.
7126 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7127 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7128 Move ENOSYS stub into and include it from...
7129 * socket/sendmmsg.c: ... this new file.
7130 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7131 (sysdep_routines): Move recvmmsg and sendmmsg...
7132 * socket/Makefile (routines): ... here.
7133 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7134 (GLIBC_PRIVATE): Add __sendmmsg.
7135 * include/sys/socket.h (__sendmmsg): Add declarations.
7136 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7139 2012-11-20 Joseph Myers <joseph@codesourcery.com>
7141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7142 variable I1 with __attribute__ ((unused)).
7143 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7145 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7147 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7148 DUMMY variables with __attribute__ ((unused)).
7150 * bits/byteswap.h: Include <bits/types.h>.
7151 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7153 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7155 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7156 string_t. Do not manually set errno.
7157 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7158 length with __strnlen. Make sure to both set errno and return it on
7161 2012-11-19 David S. Miller <davem@davemloft.net>
7163 With help from Joseph Myers.
7164 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7165 very large arguments properly.
7166 * math/libm-test.inc (atan_test): New tests.
7167 (atan2_test): New tests.
7168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7171 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7174 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7177 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7178 [POSIX] (EADDRNOTAVAIL): Likewise.
7179 [POSIX] (EAFNOSUPPORT): Likewise.
7180 [POSIX] (EALREADY): Likewise.
7181 [POSIX] (ECONNABORTED): Likewise.
7182 [POSIX] (ECONNREFUSED): Likewise.
7183 [POSIX] (ECONNRESET): Likewise.
7184 [POSIX] (EDESTADDRREQ): Likewise.
7185 [POSIX] (EDQUOT): Likewise.
7186 [POSIX] (EHOSTUNREACH): Likewise.
7187 [POSIX] (EIDRM): Likewise.
7188 [POSIX] (EISCONN): Likewise.
7189 [POSIX] (ELOOP): Likewise.
7190 [POSIX] (EMULTIHOP): Likewise.
7191 [POSIX] (ENETDOWN): Likewise.
7192 [POSIX] (ENETUNREACH): Likewise.
7193 [POSIX] (ENOBUFS): Likewise.
7194 [POSIX] (ENODATA): Likewise.
7195 [POSIX] (ENOLINK): Likewise.
7196 [POSIX] (ENOMSG): Likewise.
7197 [POSIX] (ENOPROTOOPT): Likewise.
7198 [POSIX] (ENOSR): Likewise.
7199 [POSIX] (ENOSTR): Likewise.
7200 [POSIX] (ENOTCONN): Likewise.
7201 [POSIX] (ENOTSOCK): Likewise.
7202 [POSIX] (EOPNOTSUPP): Likewise.
7203 [POSIX] (EOVERFLOW): Likewise.
7204 [POSIX] (EPROTO): Likewise.
7205 [POSIX] (EPROTONOSUPPORT): Likewise.
7206 [POSIX] (EPROTOTYPE): Likewise.
7207 [POSIX] (ESTALE): Likewise.
7208 [POSIX] (ETIME): Likewise.
7209 [POSIX] (ETXTBSY): Likewise.
7210 [POSIX] (EWOULDBLOCK): Likewise.
7211 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7212 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7213 [POSIX] (SEEK_CUR): Likewise.
7214 [POSIX] (SEEK_END): Likewise.
7215 [POSIX || UNIX98] (mode_t): Do not require.
7216 [POSIX] (off_t): Likewise.
7217 [POSIX] (pid_t): Likewise.
7218 [POSIX] (sys/stat.h): Do not allow header.
7219 [POSIX] (unistd.h): Likewise.
7220 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7221 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7222 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7223 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7225 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7226 sigevent): Specify elements.
7227 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7229 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7230 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7232 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7233 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7234 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7235 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7236 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7237 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7238 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7239 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7240 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7241 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7242 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7243 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7244 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7245 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7247 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7249 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7251 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7253 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7254 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7255 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7256 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7257 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7258 Specify lower bound on value.
7259 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7260 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7261 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7262 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7263 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7264 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7265 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7266 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7268 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7270 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7271 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7272 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7273 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7274 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7275 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7276 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7277 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7278 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7279 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7280 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7281 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7282 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7283 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7284 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7285 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7287 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7289 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7290 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7291 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7292 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7293 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7294 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7296 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7297 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7298 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7299 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7300 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7301 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7302 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7304 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7305 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7306 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7307 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7308 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7309 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7310 specify as optional.
7311 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7312 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7313 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7314 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7315 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7316 [XPG3] (NL_LANGMAX): Likewise.
7317 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7318 [POSIX || XPG3] (NL_NMAX): Likewise.
7319 [POSIX || XPG3] (NL_SETMAX): Likewise.
7320 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7321 [XPG3] (NZERO): Likewise.
7322 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7323 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7324 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7325 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7326 (REG_ERANGE): Expect.
7327 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7329 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7330 Use (void) in prototype.
7331 [POSIX] (*_t): Allow.
7332 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7333 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7334 (WRDE_BADVAL): Expect.
7336 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7338 [XPG3 || XPG4] (O_RSYNC): Likewise.
7339 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7341 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7342 [XPG3 || XPG4] (sigqueue): Likewise.
7343 [XPG3 || XPG4] (sigtimedwait): Likewise.
7344 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7345 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7346 [XPG3 || XPG4] (vsnprintf): Likewise.
7347 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7349 [XPG3 || XPG4] (blksize_t): Likewise.
7350 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7352 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7353 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7354 [XPG3 || XPG4] (struct itimerspec): Likewise.
7355 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7356 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7357 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7358 [XPG3 || XPG4] (clockid_t): Likewise.
7359 [XPG3 || XPG4] (timer_t): Likewise.
7360 [XPG3 || XPG4] (clock_getres): Likewise.
7361 [XPG3 || XPG4] (clock_gettime): Likewise.
7362 [XPG3 || XPG4] (clock_settime): Likewise.
7363 [XPG3 || XPG4] (nanosleep): Likewise.
7364 [XPG3 || XPG4] (timer_create): Likewise.
7365 [XPG3 || XPG4] (timer_delete): Likewise.
7366 [XPG3 || XPG4] (timer_gettime): Likewise.
7367 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7368 [XPG3 || XPG4] (timer_settime): Likewise.
7369 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7370 [XPG3 || XPG4] (getlogin_r): Likewise.
7371 [XPG3 || XPG4] (pread): Likewise.
7372 [XPG3 || XPG4] (pthread_atfork): Likewise.
7373 [XPG3 || XPG4] (pwrite): Likewise.
7376 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7379 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7381 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7382 finalizing MALLSTREAM.
7384 * sysdeps/mach/hurd/syncfs.c: New file.
7386 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7389 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7390 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7391 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7392 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7393 (_nss_dns_gethostbyname4_r): Likewise.
7394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7395 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7397 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7400 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7402 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7404 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7405 * elf/cache.c (print_entry): Print ",AArch64" for
7408 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7409 * elf/cache.c (print_entry): Print ",hard-float" for
7412 2012-11-18 David S. Miller <davem@davemloft.net>
7414 With help from Joseph Myers.
7415 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7417 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7419 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7420 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7422 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7423 * math/libm-test.inc (y0_test): New tests.
7424 (y1_test): New tests.
7425 * sysdeps/i386/fpu/libm-test-ulps: Update.
7426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7429 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
7431 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
7433 * configure: Regenerated.
7435 2012-11-17 David S. Miller <davem@davemloft.net>
7438 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
7439 nonzero exponents with absolute value below 0x1p-128 to +/-
7442 2012-11-17 Joseph Myers <joseph@codesourcery.com>
7444 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
7446 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
7448 * posix/getconf-speclist.c: New file.
7449 * posix/posix-envs.def: Likewise.
7450 * posix/confstr.c (START_ENV_GROUP): New macro.
7451 (END_ENV_GROUP): Likewise.
7452 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7453 (KNOWN_PRESENT_ENV_STRING): Likewise.
7454 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7455 (UNKNOWN_ENVIRONMENT): Likewise.
7456 (confstr): Include posix-envs.def instead of handling
7457 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
7458 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
7459 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
7460 (END_ENV_GROUP): Likewise.
7461 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7462 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7463 (UNKNOWN_ENVIRONMENT): Likewise.
7464 (__sysconf): Include posix-envs.def instead of handling associated
7465 cases directly here.
7466 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
7467 preprocessing getconf-speclist.c rather than running getconf or
7468 generating empty file.
7470 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
7472 * scripts/check-local-headers.sh: Ignore 'mach' headers.
7474 2012-11-16 Andrej Lajovic <natrij@gmail.com>
7477 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
7479 2012-11-16 David S. Miller <davem@davemloft.net>
7481 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
7482 smaller than LDBL_EPSILON/2.0L, just return xm1.
7484 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
7486 * elf/tst-array1.c (init): Set constructor priority to 1000.
7487 (fini): Set destructor priority to 1000.
7488 * elf/tst-array2dep.c: Likewise.
7490 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7493 * libio/fileops.c (_IO_new_file_write): Correctly return error.
7494 (_IO_new_file_xsputn): Also return EOF if none of the input
7495 data was written when overflow failed.
7496 * libio/iopadn.c (_IO_padn): Likewise.
7497 * libio/iowpadn.c (_IO_wpadn): Likewise.
7498 * stdio-common/tst-put-error.c: Add copyright notice.
7499 (do_test): Add case for printing padded string.
7500 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
7501 _IO_padn returned error.
7502 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
7503 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
7506 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7508 * libio/libioP.h: Add comment note that the references to C++
7509 bits are now obsolete.
7511 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7513 * math/libm-test.inc (check_complex): Use asprintf.
7515 2012-11-14 Joseph Myers <joseph@codesourcery.com>
7517 * debug/pcprofiledump.c (print_version): Update copyright year.
7518 * malloc/memusagestat.c (print_version): Likewise.
7520 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
7523 * elf/Makefile (tests): Add tst-audit8.
7524 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
7525 ($(objpfx)tst-audit8.out): New target.
7526 (tst-audit8-ENV): New variable.
7527 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
7528 audit if l_reloc_result is NULL.
7529 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
7530 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
7531 * elf/tst-audit8.c: New file.
7533 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7535 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
7536 * misc/Makefile (CFLAGS-select.c): Define.
7537 * posix/Makefile (CFLAGS-pause.c): Define.
7539 2012-11-13 David S. Miller <davem@davemloft.net>
7541 * crypt/Makefile: Move test targets after toplevel Rules
7542 inclusion. Grab any necessary sysdep routines when linking.
7543 * crypt/md5.c (md5_process_block): Remove define, we will always
7544 name it __md5_process_block.
7545 (md5_finish_ctx): Update md5_process_block call.
7546 (md5_stream): Likewise.
7547 (md5_process_bytes): Likewise.
7548 (md5_process_block): Rename to __md5_process_block and move to ...
7549 * crypt/md5-block.c: ... here.
7550 * crypt/sha256.c (sha256_process_block): Move to ...
7551 * crypt/sha256-block.c: ... here.
7552 * crypt/sha512.c (sha512_process_block): Move to ...
7553 * crypt/sha512-block.c: ... here.
7554 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
7556 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
7557 * sysdeps/sparc/sparc64/multiarch/Makefile
7558 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
7560 (localedef-aux): Add md5 crypto assembler when in locale subdir.
7561 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
7563 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
7564 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
7565 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
7566 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
7567 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
7568 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
7569 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
7570 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
7571 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
7573 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
7574 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
7576 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
7578 2012-11-13 Joseph Myers <joseph@codesourcery.com>
7580 * timezone/tzselect.ksh: Update from tzcode git revision
7581 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
7582 * timezone/zdump.c: Likewise.
7583 * timezone/zic.c: Likewise.
7584 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
7585 in TZVERSION setting, not $(PKGVERSION).
7586 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
7587 REPORT_BUGS_TO settings.
7590 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
7593 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7595 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
7596 detection to immediately after _FP_ROUND().
7597 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
7600 2012-11-11 David S. Miller <davem@davemloft.net>
7602 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
7604 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
7605 __close rather than their public counterparts.
7607 2012-11-10 Joseph Myers <joseph@codesourcery.com>
7609 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
7611 [UNIX98] (sem_timedwait): Do not expect.
7612 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
7613 [XPG4 || UNIX98] (sockatmark): Do not expect.
7614 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
7615 (clock_getcpuclockid): Do not expect.
7616 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
7617 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
7619 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
7620 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
7621 [UNIX98] (vwscanf): Likewise.
7622 [UNIX98] (vswscanf): Likewise.
7624 2012-11-09 Joseph Myers <joseph@codesourcery.com>
7626 * timezone/version.h: Remove file.
7627 * timezone/README: Do not refer to version.h.
7628 * timezone/Makefile ($(objpfx)zic.o): New dependency on
7630 ($(objpfx)zdump.o): Likewise.
7631 ($(objpfx)version.h): New target.
7633 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
7635 * timezone/README: Don't mention modification to tzselect.ksh.
7636 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
7637 work on unmodified tzselect.ksh. Substitute version numbers in
7640 * Makefile (format-me): Remove.
7641 (INSTALL): Adjust indentation. Use commands directly instead of
7644 * aclocal.m4 (ACX_PKGVERSION): New macro.
7645 (ACX_BUGURL): Likewise.
7646 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
7647 (PKGVERSION): New AC_DEFINE_UNQUOTED.
7648 (REPORT_BUGS_TO): Likewise.
7649 * configure: Regenerated.
7650 * config.h.in (PKGVERSION): New macro.
7651 (REPORT_BUGS_TO): Likewise.
7652 * config.make.in (PKGVERSION): New variable.
7653 (PKGVERSION_TEXI): Likewise.
7654 (REPORT_BUGS_TO): Likewise.
7655 (REPORT_BUGS_TEXI): Likewise.
7656 * Makefile (format-me): Use -I$(common-objpfx)manual.
7657 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7658 ($(common-objpfx)manual/%): New target.
7659 (manual/%): Remove target.
7660 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7661 (print_version): Use PKGVERSION.
7662 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7663 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7665 ($(objpfx)xtrace): Likewise.
7666 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7667 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7668 (print_version): Use PKGVERSION.
7669 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7670 (do_version): Use PKGVERSION.
7671 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7673 (common-ldd-rewrite): Likewise.
7674 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7675 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7676 (print_version): Use PKGVERSION.
7677 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7678 * elf/pldd.c (argp_program_bug_address): Remove variable.
7679 (more_help): New function.
7680 (argp): Use more_help.
7681 (print_version): Use PKGVERSION.
7682 * elf/sln.c (main): Use PKGVERSION.
7683 (usage): Use REPORT_BUGS_TO.
7684 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7685 (top level): Use PKGVERSION.
7686 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7687 (print_version): Use PKGVERSION.
7688 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7689 (print_version): Use PKGVERSION.
7690 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7691 (print_version): Use PKGVERSION.
7692 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7693 (print_version): Use PKGVERSION.
7694 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7695 (print_version): Use PKGVERSION.
7696 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7697 (print_version): Use PKGVERSION.
7698 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7700 ($(objpfx)memusage): Likewise.
7701 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7702 (do_version): Use PKGVERSION.
7703 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7704 (print_version): Use PKGVERSION.
7705 * malloc/mtrace.pl ($PACKAGE): Remove variable.
7706 ($PKGVERSION): New variable.
7707 ($REPORT_BUGS_TO): Likewise.
7708 (usage): Use $REPORT_BUGS_TO.
7709 (top level): Use $PKGVERSION.
7710 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7711 ($(objpfx)pkgvers.texi): New rule.
7712 ($(objpfx)stamp-pkgvers): Likewise.
7713 * manual/install.texi: Include pkgvers.texi.
7714 (--with-pkgversion): Document new configure option.
7715 (--with-bugurl): Likewise.
7716 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7717 than necessarily for this particular distribution. Use
7718 REPORT_BUGS_TO for where to report bugs.
7719 * INSTALL: Regenerated.
7720 * manual/libc.texinfo: Include pkgvers.texi.
7721 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7722 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7723 (print_version): Use PKGVERSION.
7724 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7725 (print_version): Use PKGVERSION.
7726 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7727 (print_version): Use PKGVERSION.
7728 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7729 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7731 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7732 (print_version): Use PKGVERSION.
7733 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7734 (print_version): Use PKGVERSION.
7735 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7738 * timezone/checktab.awk: Update from tzcode 2012i.
7739 * timezone/ialloc.c: Likewise.
7740 * timezone/private.h: Likewise.
7741 * timezone/scheck.c: Likewise.
7742 * timezone/tzfile.h: Likewise.
7743 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7744 (TZVERSION): Hardcode tzcode version number.
7745 * timezone/zdump.c: Update from tzcode 2012i.
7746 * timezone/zic.c: Likewise.
7747 * timezone/version.h: New file.
7748 * timezone/README: Describe version.h. Update upstream location.
7751 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7752 (mktemp): Enable declaration.
7753 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7754 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7755 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7756 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7758 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7760 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7762 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7764 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7766 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7770 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7771 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7772 for copies of such integer values.
7773 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7774 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7776 2012-11-09 Andreas Jaeger <aj@suse.de>
7778 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7779 definitions and declarations that are provided by
7780 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7782 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7784 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
7785 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7786 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7789 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7791 * elf/elf.h: Update comment before AArch64 relocations.
7793 2012-11-07 David S. Miller <davem@davemloft.net>
7795 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7796 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7797 (__start_context): Declare.
7798 (__makecontext_ret): Delete.
7799 (__makecontext): Hook up __start_context instead of
7801 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7802 (sysdep_routines): Add __start_context when in stdlib.
7804 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7806 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7807 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7808 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7810 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7811 (READELF): New variable. Use it instead of hardcoded "readelf".
7813 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7815 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7816 * sysdeps/x86/Makefile: Here.
7817 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7818 * sysdeps/x86/tst-xmmymm.sh: This.
7820 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7822 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7824 [UNIX98] (pthread_barrier_t): Do not expect.
7825 [UNIX98] (pthread_barrierattr_t): Likewise.
7826 [UNIX98] (pthread_spinlock_t): Likewise.
7827 [UNIX98] (pthread_barrier_destroy): Likewise.
7828 [UNIX98] (pthread_barrier_init): Likewise.
7829 [UNIX98] (pthread_barrier_wait): Likewise.
7830 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7831 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7832 [UNIX98] (pthread_barrierattr_init): Likewise.
7833 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7834 [UNIX98] (pthread_getcpuclockid): Likewise.
7835 [UNIX98] (pthread_mutex_timedlock): Likewise.
7836 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7837 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7838 [UNIX98] (pthread_sigmask): Likewise.
7839 [UNIX98] (pthread_spin_destroy): Likewise.
7840 [UNIX98] (pthread_spin_init): Likewise.
7841 [UNIX98] (pthread_spin_lock): Likewise.
7842 [UNIX98] (pthread_spin_trylock): Likewise.
7843 [UNIX98] (pthread_spin_unlock): Likewise.
7844 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7846 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7847 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7848 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7849 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7850 [XPG3 || XPG4] (pthread_key_t): Likewise.
7851 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7852 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7853 [XPG3 || XPG4] (pthread_once_t): Likewise.
7854 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7855 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7856 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7857 [XPG3 || XPG4] (pthread_t): Likewise.
7859 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7861 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7863 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7864 Change function return type to int.
7866 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7867 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7868 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7869 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7870 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7871 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7872 [!POSIX] (posix_madvise): Likewise.
7873 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7875 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7876 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7878 (posix_mem_offset): Likewise.
7879 (posix_typed_mem_get_info): Likewise.
7880 (posix_typed_mem_open): Likewise.
7882 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7883 Change condition to [XOPEN2K8].
7885 * conform/conformtest.pl: Preprocess allow-header data with -x c
7886 instead of from stdin.
7887 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7888 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7889 [C99-based standards] (cerfc): Likewise.
7890 [C99-based standards] (cexp2): Likewise.
7891 [C99-based standards] (cexpm1): Likewise.
7892 [C99-based standards] (clog10): Likewise.
7893 [C99-based standards] (clog1p): Likewise.
7894 [C99-based standards] (clog2): Likewise.
7895 [C99-based standards] (clgamma): Likewise.
7896 [C99-based standards] (ctgamma): Likewise.
7897 [C99-based standards] (cerff): Likewise.
7898 [C99-based standards] (cerfcf): Likewise.
7899 [C99-based standards] (cexp2f): Likewise.
7900 [C99-based standards] (cexpm1f): Likewise.
7901 [C99-based standards] (clog10f): Likewise.
7902 [C99-based standards] (clog1pf): Likewise.
7903 [C99-based standards] (clog2f): Likewise.
7904 [C99-based standards] (clgammaf): Likewise.
7905 [C99-based standards] (ctgammaf): Likewise.
7906 [C99-based standards] (cerfl): Likewise.
7907 [C99-based standards] (cerfcl): Likewise.
7908 [C99-based standards] (cexp2l): Likewise.
7909 [C99-based standards] (cexpm1l): Likewise.
7910 [C99-based standards] (clog10l): Likewise.
7911 [C99-based standards] (clog1pl): Likewise.
7912 [C99-based standards] (clog2l): Likewise.
7913 [C99-based standards] (clgammal): Likewise.
7914 [C99-based standards] (ctgammal): Likewise.
7915 * conform/data/inttypes.h-data [C99-based standards]: Include
7916 stdint.h-data. Remove all expectations for stdint.h contents.
7917 [C99-based standards] (PRI*): Do not allow.
7918 [C99-based standards] (SCN*): Likewise.
7919 [C99-based standards] (*_t): Likewise.
7920 [C99-based-standards] (PRId8): Expect macro.
7921 [C99-based-standards] (PRIi8): Likewise.
7922 [C99-based-standards] (PRIo8): Likewise.
7923 [C99-based-standards] (PRIu8): Likewise.
7924 [C99-based-standards] (PRIx8): Likewise.
7925 [C99-based-standards] (PRIX8): Likewise.
7926 [C99-based-standards] (SCNd8): Likewise.
7927 [C99-based-standards] (SCNi8): Likewise.
7928 [C99-based-standards] (SCNo8): Likewise.
7929 [C99-based-standards] (SCNu8): Likewise.
7930 [C99-based-standards] (SCNx8): Likewise.
7931 [C99-based-standards] (PRIdLEAST8): Likewise.
7932 [C99-based-standards] (PRIiLEAST8): Likewise.
7933 [C99-based-standards] (PRIoLEAST8): Likewise.
7934 [C99-based-standards] (PRIuLEAST8): Likewise.
7935 [C99-based-standards] (PRIxLEAST8): Likewise.
7936 [C99-based-standards] (PRIXLEAST8): Likewise.
7937 [C99-based-standards] (SCNdLEAST8): Likewise.
7938 [C99-based-standards] (SCNiLEAST8): Likewise.
7939 [C99-based-standards] (SCNoLEAST8): Likewise.
7940 [C99-based-standards] (SCNuLEAST8): Likewise.
7941 [C99-based-standards] (SCNxLEAST8): Likewise.
7942 [C99-based-standards] (PRIdFAST8): Likewise.
7943 [C99-based-standards] (PRIiFAST8): Likewise.
7944 [C99-based-standards] (PRIoFAST8): Likewise.
7945 [C99-based-standards] (PRIuFAST8): Likewise.
7946 [C99-based-standards] (PRIxFAST8): Likewise.
7947 [C99-based-standards] (PRIXFAST8): Likewise.
7948 [C99-based-standards] (SCNdFAST8): Likewise.
7949 [C99-based-standards] (SCNiFAST8): Likewise.
7950 [C99-based-standards] (SCNoFAST8): Likewise.
7951 [C99-based-standards] (SCNuFAST8): Likewise.
7952 [C99-based-standards] (SCNxFAST8): Likewise.
7953 [C99-based-standards] (PRId16): Likewise.
7954 [C99-based-standards] (PRIi16): Likewise.
7955 [C99-based-standards] (PRIo16): Likewise.
7956 [C99-based-standards] (PRIu16): Likewise.
7957 [C99-based-standards] (PRIx16): Likewise.
7958 [C99-based-standards] (PRIX16): Likewise.
7959 [C99-based-standards] (SCNd16): Likewise.
7960 [C99-based-standards] (SCNi16): Likewise.
7961 [C99-based-standards] (SCNo16): Likewise.
7962 [C99-based-standards] (SCNu16): Likewise.
7963 [C99-based-standards] (SCNx16): Likewise.
7964 [C99-based-standards] (PRIdLEAST16): Likewise.
7965 [C99-based-standards] (PRIiLEAST16): Likewise.
7966 [C99-based-standards] (PRIoLEAST16): Likewise.
7967 [C99-based-standards] (PRIuLEAST16): Likewise.
7968 [C99-based-standards] (PRIxLEAST16): Likewise.
7969 [C99-based-standards] (PRIXLEAST16): Likewise.
7970 [C99-based-standards] (SCNdLEAST16): Likewise.
7971 [C99-based-standards] (SCNiLEAST16): Likewise.
7972 [C99-based-standards] (SCNoLEAST16): Likewise.
7973 [C99-based-standards] (SCNuLEAST16): Likewise.
7974 [C99-based-standards] (SCNxLEAST16): Likewise.
7975 [C99-based-standards] (PRIdFAST16): Likewise.
7976 [C99-based-standards] (PRIiFAST16): Likewise.
7977 [C99-based-standards] (PRIoFAST16): Likewise.
7978 [C99-based-standards] (PRIuFAST16): Likewise.
7979 [C99-based-standards] (PRIxFAST16): Likewise.
7980 [C99-based-standards] (PRIXFAST16): Likewise.
7981 [C99-based-standards] (SCNdFAST16): Likewise.
7982 [C99-based-standards] (SCNiFAST16): Likewise.
7983 [C99-based-standards] (SCNoFAST16): Likewise.
7984 [C99-based-standards] (SCNuFAST16): Likewise.
7985 [C99-based-standards] (SCNxFAST16): Likewise.
7986 [C99-based-standards] (PRId32): Likewise.
7987 [C99-based-standards] (PRIi32): Likewise.
7988 [C99-based-standards] (PRIo32): Likewise.
7989 [C99-based-standards] (PRIu32): Likewise.
7990 [C99-based-standards] (PRIx32): Likewise.
7991 [C99-based-standards] (PRIX32): Likewise.
7992 [C99-based-standards] (SCNd32): Likewise.
7993 [C99-based-standards] (SCNi32): Likewise.
7994 [C99-based-standards] (SCNo32): Likewise.
7995 [C99-based-standards] (SCNu32): Likewise.
7996 [C99-based-standards] (SCNx32): Likewise.
7997 [C99-based-standards] (PRIdLEAST32): Likewise.
7998 [C99-based-standards] (PRIiLEAST32): Likewise.
7999 [C99-based-standards] (PRIoLEAST32): Likewise.
8000 [C99-based-standards] (PRIuLEAST32): Likewise.
8001 [C99-based-standards] (PRIxLEAST32): Likewise.
8002 [C99-based-standards] (PRIXLEAST32): Likewise.
8003 [C99-based-standards] (SCNdLEAST32): Likewise.
8004 [C99-based-standards] (SCNiLEAST32): Likewise.
8005 [C99-based-standards] (SCNoLEAST32): Likewise.
8006 [C99-based-standards] (SCNuLEAST32): Likewise.
8007 [C99-based-standards] (SCNxLEAST32): Likewise.
8008 [C99-based-standards] (PRIdFAST32): Likewise.
8009 [C99-based-standards] (PRIiFAST32): Likewise.
8010 [C99-based-standards] (PRIoFAST32): Likewise.
8011 [C99-based-standards] (PRIuFAST32): Likewise.
8012 [C99-based-standards] (PRIxFAST32): Likewise.
8013 [C99-based-standards] (PRIXFAST32): Likewise.
8014 [C99-based-standards] (SCNdFAST32): Likewise.
8015 [C99-based-standards] (SCNiFAST32): Likewise.
8016 [C99-based-standards] (SCNoFAST32): Likewise.
8017 [C99-based-standards] (SCNuFAST32): Likewise.
8018 [C99-based-standards] (SCNxFAST32): Likewise.
8019 [C99-based-standards] (PRId64): Likewise.
8020 [C99-based-standards] (PRIi64): Likewise.
8021 [C99-based-standards] (PRIo64): Likewise.
8022 [C99-based-standards] (PRIu64): Likewise.
8023 [C99-based-standards] (PRIx64): Likewise.
8024 [C99-based-standards] (PRIX64): Likewise.
8025 [C99-based-standards] (SCNd64): Likewise.
8026 [C99-based-standards] (SCNi64): Likewise.
8027 [C99-based-standards] (SCNo64): Likewise.
8028 [C99-based-standards] (SCNu64): Likewise.
8029 [C99-based-standards] (SCNx64): Likewise.
8030 [C99-based-standards] (PRIdLEAST64): Likewise.
8031 [C99-based-standards] (PRIiLEAST64): Likewise.
8032 [C99-based-standards] (PRIoLEAST64): Likewise.
8033 [C99-based-standards] (PRIuLEAST64): Likewise.
8034 [C99-based-standards] (PRIxLEAST64): Likewise.
8035 [C99-based-standards] (PRIXLEAST64): Likewise.
8036 [C99-based-standards] (SCNdLEAST64): Likewise.
8037 [C99-based-standards] (SCNiLEAST64): Likewise.
8038 [C99-based-standards] (SCNoLEAST64): Likewise.
8039 [C99-based-standards] (SCNuLEAST64): Likewise.
8040 [C99-based-standards] (SCNxLEAST64): Likewise.
8041 [C99-based-standards] (PRIdFAST64): Likewise.
8042 [C99-based-standards] (PRIiFAST64): Likewise.
8043 [C99-based-standards] (PRIoFAST64): Likewise.
8044 [C99-based-standards] (PRIuFAST64): Likewise.
8045 [C99-based-standards] (PRIxFAST64): Likewise.
8046 [C99-based-standards] (PRIXFAST64): Likewise.
8047 [C99-based-standards] (SCNdFAST64): Likewise.
8048 [C99-based-standards] (SCNiFAST64): Likewise.
8049 [C99-based-standards] (SCNoFAST64): Likewise.
8050 [C99-based-standards] (SCNuFAST64): Likewise.
8051 [C99-based-standards] (SCNxFAST64): Likewise.
8052 [C99-based-standards] (PRIdMAX): Likewise.
8053 [C99-based-standards] (PRIiMAX): Likewise.
8054 [C99-based-standards] (PRIoMAX): Likewise.
8055 [C99-based-standards] (PRIuMAX): Likewise.
8056 [C99-based-standards] (PRIxMAX): Likewise.
8057 [C99-based-standards] (PRIXMAX): Likewise.
8058 [C99-based-standards] (SCNdMAX): Likewise.
8059 [C99-based-standards] (SCNiMAX): Likewise.
8060 [C99-based-standards] (SCNoMAX): Likewise.
8061 [C99-based-standards] (SCNuMAX): Likewise.
8062 [C99-based-standards] (SCNxMAX): Likewise.
8063 [C99-based-standards] (PRIdPTR): Likewise.
8064 [C99-based-standards] (PRIiPTR): Likewise.
8065 [C99-based-standards] (PRIoPTR): Likewise.
8066 [C99-based-standards] (PRIuPTR): Likewise.
8067 [C99-based-standards] (PRIxPTR): Likewise.
8068 [C99-based-standards] (PRIXPTR): Likewise.
8069 [C99-based-standards] (SCNdPTR): Likewise.
8070 [C99-based-standards] (SCNiPTR): Likewise.
8071 [C99-based-standards] (SCNoPTR): Likewise.
8072 [C99-based-standards] (SCNuPTR): Likewise.
8073 [C99-based-standards] (SCNxPTR): Likewise.
8074 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8076 * conform/data/stdint.h-data: Update comments to clarify
8078 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8080 [C99-based standards] (INT8_MAX): Likewise.
8081 [C99-based standards] (INT16_MIN): Likewise.
8082 [C99-based standards] (INT16_MAX): Likewise.
8083 [C99-based standards] (INT32_MIN): Likewise.
8084 [C99-based standards] (INT32_MAX): Likewise.
8085 [C99-based standards] (INT64_MIN): Likewise.
8086 [C99-based standards] (INT64_MAX): Likewise.
8087 [C99-based standards] (UINT8_MAX): Likewise.
8088 [C99-based standards] (UINT16_MAX): Likewise.
8089 [C99-based standards] (UINT32_MAX): Likewise.
8090 [C99-based standards] (UINT64_MAX): Likewise.
8091 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8092 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8093 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8094 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8095 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8096 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8097 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8098 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8099 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8100 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8101 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8102 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8103 [C99-based standards] (INT_FAST8_MIN): Likewise.
8104 [C99-based standards] (INT_FAST8_MAX): Likewise.
8105 [C99-based standards] (INT_FAST16_MIN): Likewise.
8106 [C99-based standards] (INT_FAST16_MAX): Likewise.
8107 [C99-based standards] (INT_FAST32_MIN): Likewise.
8108 [C99-based standards] (INT_FAST32_MAX): Likewise.
8109 [C99-based standards] (INT_FAST64_MIN): Likewise.
8110 [C99-based standards] (INT_FAST64_MAX): Likewise.
8111 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8112 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8113 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8114 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8115 [C99-based standards] (INTPTR_MIN): Likewise.
8116 [C99-based standards] (INTPTR_MAX): Likewise.
8117 [C99-based standards] (UINTPTR_MAX): Likewise.
8118 [C99-based standards] (INTMAX_MIN): Likewise.
8119 [C99-based standards] (INTMAX_MAX): Likewise.
8120 [C99-based standards] (UINTMAX_MAX): Likewise.
8121 [C99-based standards] (PTRDIFF_MIN): Likewise.
8122 [C99-based standards] (PTRDIFF_MAX): Likewise.
8123 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8124 [C99-based standards] (SIZE_MAX): Likewise.
8125 [C99-based standards] (WCHAR_MAX): Likewise.
8126 [C99-based standards] (WINT_MAX): Likewise.
8127 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8128 constraint on value.
8129 [C99-based standards] (WCHAR_MIN): Likewise.
8130 [C99-based standards] (WINT_MIN): Likewise.
8131 [C99-based standards] (*_t): Allow.
8132 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8133 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8134 Include math.h-data and complex.h-data. Remove all expectations
8135 of math.h and complex.h contents.
8136 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8138 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8139 (struct tm): Expect tag.
8140 [C99-based-standards] (wcstof): Expect function.
8141 [C99-based-standards] (wcstold): Likewise.
8142 [C99-based-standards] (wcstoll): Likewise.
8143 [C99-based-standards] (wcstoull): Likewise.
8144 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8145 macro-int-constant. Specify type.
8146 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8147 constraint on value.
8148 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8150 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8152 [ISO C standards]: Do not allow headers.
8153 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8154 wcs[abcdefghijklmnopqrstuvwxyz]*.
8155 [ISO C standards] (*_t): Do not allow.
8156 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8158 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8159 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8161 [ISO C standards]: Do not allow headers.
8162 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8163 is[abcdefghijklmnopqrstuvwxyz]*.
8164 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8165 to[abcdefghijklmnopqrstuvwxyz]*.
8166 [ISO C standards] (*_t): Do not allow.
8167 * conform/data/stdalign.h-data: New file.
8168 * conform/data/stdbool.h-data: Likewise.
8169 * conform/data/stdnoreturn.h-data: Likewise.
8171 2012-11-07 Roland McGrath <roland@hack.frob.com>
8174 * manual/filesys.texi (Directory Entries): Typo fix.
8175 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8177 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8179 * elf/elf.h (EM_AARCH64): New macro.
8180 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8181 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8182 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8183 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8184 (R_AARCH64_TLSDESC): Likewise.
8185 (NT_ARM_TLS): Likewise.
8186 (NT_ARM_HW_BREAK): Likewise.
8187 (NT_ARM_HW_WATCH): Likewise.
8189 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8192 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8193 (__ieee754_powl): Saturate nonzero exponents with absolute value
8194 below 0x1p-79 to +/- 0x1p-79.
8195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8196 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8197 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8198 nonzero exponents with absolute value below 0x1p-32 to +/-
8200 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8201 (__ieee754_powl): Saturate nonzero exponents with absolute value
8202 below 0x1p-79 to +/- 0x1p-79.
8203 * math/libm-test.inc (pow_test): Add more tests.
8205 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8207 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8208 _dl_s390_cap_flags with kernel. Increase string length.
8209 (_dl_s390_platforms): Add z196 and zEC12.
8211 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8213 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8214 Change XOPEN21K to XOPEN2K.
8216 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8218 * string/memmove.c: Use memcpy when possible.
8220 2012-11-06 Andreas Jaeger <aj@suse.de>
8222 * po/eo.po: Update from translation team.
8224 2012-11-06 Joseph Myers <joseph@codesourcery.com>
8227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8228 exponent and small x and y exponents, scale x or y up. Increase
8229 by 2 the exponent used in scaling up.
8230 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8231 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8232 * math/libm-test.inc (fma_test): Add more tests.
8233 (fma_test_towardzero): Likewise.
8234 (fma_test_downward): Likewise.
8235 (fma_test_upward): Likewise.
8237 2012-11-05 Joseph Myers <joseph@codesourcery.com>
8240 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8244 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8245 namespace for names of struct fields.
8246 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8248 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8249 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8251 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8254 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8256 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8258 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8262 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8265 2012-11-04 Joseph Myers <joseph@codesourcery.com>
8268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8269 definitely overflow as x * y not x * y + z.
8270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8271 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8272 * math/libm-test.inc (fma_test): Add more tests.
8273 (fma_test_towardzero): Likewise.
8274 (fma_test_downward): Likewise.
8275 (fma_test_upward): Likewise.
8277 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8281 * include/stub-tag.h: Remove file.
8282 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8284 * manual/maint.texi (Porting): Don't reference it.
8285 * Makerules ($(objpfx)stubs): Likewise.
8286 * dirent/closedir.c: Don't include <stub-tag.h>.
8287 * dirent/dirfd.c: Likewise.
8288 * dirent/fdopendir.c: Likewise.
8289 * dirent/getdents.c: Likewise.
8290 * dirent/getdents64.c: Likewise.
8291 * dirent/opendir.c: Likewise.
8292 * dirent/readdir.c: Likewise.
8293 * dirent/readdir64.c: Likewise.
8294 * dirent/readdir64_r.c: Likewise.
8295 * dirent/readdir_r.c: Likewise.
8296 * dirent/rewinddir.c: Likewise.
8297 * dirent/seekdir.c: Likewise.
8298 * dirent/telldir.c: Likewise.
8299 * gmon/profil.c: Likewise.
8300 * grp/setgroups.c: Likewise.
8301 * inet/if_index.c: Likewise.
8302 * io/access.c: Likewise.
8303 * io/chdir.c: Likewise.
8304 * io/chmod.c: Likewise.
8305 * io/chown.c: Likewise.
8306 * io/close.c: Likewise.
8307 * io/dup.c: Likewise.
8308 * io/dup2.c: Likewise.
8309 * io/dup3.c: Likewise.
8310 * io/euidaccess.c: Likewise.
8311 * io/faccessat.c: Likewise.
8312 * io/fchdir.c: Likewise.
8313 * io/fchmod.c: Likewise.
8314 * io/fchmodat.c: Likewise.
8315 * io/fchown.c: Likewise.
8316 * io/fchownat.c: Likewise.
8317 * io/fcntl.c: Likewise.
8318 * io/flock.c: Likewise.
8319 * io/fstatfs.c: Likewise.
8320 * io/fstatfs64.c: Likewise.
8321 * io/fstatvfs.c: Likewise.
8322 * io/fstatvfs64.c: Likewise.
8323 * io/futimens.c: Likewise.
8324 * io/fxstat.c: Likewise.
8325 * io/fxstat64.c: Likewise.
8326 * io/fxstatat.c: Likewise.
8327 * io/fxstatat64.c: Likewise.
8328 * io/getcwd.c: Likewise.
8329 * io/isatty.c: Likewise.
8330 * io/lchmod.c: Likewise.
8331 * io/lchown.c: Likewise.
8332 * io/link.c: Likewise.
8333 * io/linkat.c: Likewise.
8334 * io/lseek.c: Likewise.
8335 * io/lseek64.c: Likewise.
8336 * io/lxstat64.c: Likewise.
8337 * io/mkdir.c: Likewise.
8338 * io/mkdirat.c: Likewise.
8339 * io/mkfifo.c: Likewise.
8340 * io/mkfifoat.c: Likewise.
8341 * io/open.c: Likewise.
8342 * io/open64.c: Likewise.
8343 * io/openat.c: Likewise.
8344 * io/openat64.c: Likewise.
8345 * io/pipe.c: Likewise.
8346 * io/pipe2.c: Likewise.
8347 * io/poll.c: Likewise.
8348 * io/posix_fadvise.c: Likewise.
8349 * io/posix_fadvise64.c: Likewise.
8350 * io/posix_fallocate.c: Likewise.
8351 * io/posix_fallocate64.c: Likewise.
8352 * io/read.c: Likewise.
8353 * io/readlink.c: Likewise.
8354 * io/readlinkat.c: Likewise.
8355 * io/rmdir.c: Likewise.
8356 * io/sendfile.c: Likewise.
8357 * io/sendfile64.c: Likewise.
8358 * io/statfs.c: Likewise.
8359 * io/statfs64.c: Likewise.
8360 * io/statvfs.c: Likewise.
8361 * io/statvfs64.c: Likewise.
8362 * io/symlink.c: Likewise.
8363 * io/symlinkat.c: Likewise.
8364 * io/ttyname.c: Likewise.
8365 * io/ttyname_r.c: Likewise.
8366 * io/umask.c: Likewise.
8367 * io/unlink.c: Likewise.
8368 * io/unlinkat.c: Likewise.
8369 * io/utime.c: Likewise.
8370 * io/utimensat.c: Likewise.
8371 * io/write.c: Likewise.
8372 * io/xmknod.c: Likewise.
8373 * io/xmknodat.c: Likewise.
8374 * io/xstat.c: Likewise.
8375 * io/xstat64.c: Likewise.
8376 * login/getpt.c: Likewise.
8377 * login/grantpt.c: Likewise.
8378 * login/unlockpt.c: Likewise.
8379 * math/e_acoshl.c: Likewise.
8380 * math/e_acosl.c: Likewise.
8381 * math/e_asinl.c: Likewise.
8382 * math/e_atan2l.c: Likewise.
8383 * math/e_atanhl.c: Likewise.
8384 * math/e_coshl.c: Likewise.
8385 * math/e_expl.c: Likewise.
8386 * math/e_fmodl.c: Likewise.
8387 * math/e_gammal_r.c: Likewise.
8388 * math/e_hypotl.c: Likewise.
8389 * math/e_j0l.c: Likewise.
8390 * math/e_j1l.c: Likewise.
8391 * math/e_jnl.c: Likewise.
8392 * math/e_lgammal_r.c: Likewise.
8393 * math/e_log10l.c: Likewise.
8394 * math/e_log2l.c: Likewise.
8395 * math/e_logl.c: Likewise.
8396 * math/e_powl.c: Likewise.
8397 * math/e_rem_pio2l.c: Likewise.
8398 * math/e_sinhl.c: Likewise.
8399 * math/e_sqrtl.c: Likewise.
8400 * math/fclrexcpt.c: Likewise.
8401 * math/fedisblxcpt.c: Likewise.
8402 * math/feenablxcpt.c: Likewise.
8403 * math/fegetenv.c: Likewise.
8404 * math/fegetexcept.c: Likewise.
8405 * math/fegetround.c: Likewise.
8406 * math/feholdexcpt.c: Likewise.
8407 * math/fesetenv.c: Likewise.
8408 * math/fesetround.c: Likewise.
8409 * math/feupdateenv.c: Likewise.
8410 * math/fgetexcptflg.c: Likewise.
8411 * math/fraiseexcpt.c: Likewise.
8412 * math/fsetexcptflg.c: Likewise.
8413 * math/ftestexcept.c: Likewise.
8414 * math/k_cosl.c: Likewise.
8415 * math/k_rem_pio2l.c: Likewise.
8416 * math/k_sinl.c: Likewise.
8417 * math/k_tanl.c: Likewise.
8418 * math/s_asinhl.c: Likewise.
8419 * math/s_atanl.c: Likewise.
8420 * math/s_cbrtl.c: Likewise.
8421 * math/s_erfl.c: Likewise.
8422 * math/s_expm1l.c: Likewise.
8423 * math/s_log1pl.c: Likewise.
8424 * math/s_tanhl.c: Likewise.
8425 * misc/acct.c: Likewise.
8426 * misc/brk.c: Likewise.
8427 * misc/chflags.c: Likewise.
8428 * misc/chroot.c: Likewise.
8429 * misc/fchflags.c: Likewise.
8430 * misc/fgetxattr.c: Likewise.
8431 * misc/flistxattr.c: Likewise.
8432 * misc/fremovexattr.c: Likewise.
8433 * misc/fsetxattr.c: Likewise.
8434 * misc/fsync.c: Likewise.
8435 * misc/ftruncate.c: Likewise.
8436 * misc/futimes.c: Likewise.
8437 * misc/futimesat.c: Likewise.
8438 * misc/getdomain.c: Likewise.
8439 * misc/getdtsz.c: Likewise.
8440 * misc/gethostid.c: Likewise.
8441 * misc/gethostname.c: Likewise.
8442 * misc/getloadavg.c: Likewise.
8443 * misc/getpagesize.c: Likewise.
8444 * misc/getsysstats.c: Likewise.
8445 * misc/getxattr.c: Likewise.
8446 * misc/gtty.c: Likewise.
8447 * misc/ioctl.c: Likewise.
8448 * misc/lgetxattr.c: Likewise.
8449 * misc/listxattr.c: Likewise.
8450 * misc/llistxattr.c: Likewise.
8451 * misc/lremovexattr.c: Likewise.
8452 * misc/lsetxattr.c: Likewise.
8453 * misc/lutimes.c: Likewise.
8454 * misc/madvise.c: Likewise.
8455 * misc/mincore.c: Likewise.
8456 * misc/mlock.c: Likewise.
8457 * misc/mlockall.c: Likewise.
8458 * misc/mmap.c: Likewise.
8459 * misc/mprotect.c: Likewise.
8460 * misc/msync.c: Likewise.
8461 * misc/munlock.c: Likewise.
8462 * misc/munlockall.c: Likewise.
8463 * misc/munmap.c: Likewise.
8464 * misc/preadv.c: Likewise.
8465 * misc/preadv64.c: Likewise.
8466 * misc/ptrace.c: Likewise.
8467 * misc/pwritev.c: Likewise.
8468 * misc/pwritev64.c: Likewise.
8469 * misc/readv.c: Likewise.
8470 * misc/reboot.c: Likewise.
8471 * misc/remap_file_pages.c: Likewise.
8472 * misc/removexattr.c: Likewise.
8473 * misc/revoke.c: Likewise.
8474 * misc/select.c: Likewise.
8475 * misc/setdomain.c: Likewise.
8476 * misc/setegid.c: Likewise.
8477 * misc/seteuid.c: Likewise.
8478 * misc/sethostid.c: Likewise.
8479 * misc/sethostname.c: Likewise.
8480 * misc/setregid.c: Likewise.
8481 * misc/setreuid.c: Likewise.
8482 * misc/setxattr.c: Likewise.
8483 * misc/sstk.c: Likewise.
8484 * misc/stty.c: Likewise.
8485 * misc/swapoff.c: Likewise.
8486 * misc/swapon.c: Likewise.
8487 * misc/sync.c: Likewise.
8488 * misc/syncfs.c: Likewise.
8489 * misc/syscall.c: Likewise.
8490 * misc/truncate.c: Likewise.
8491 * misc/ualarm.c: Likewise.
8492 * misc/usleep.c: Likewise.
8493 * misc/ustat.c: Likewise.
8494 * misc/utimes.c: Likewise.
8495 * misc/vhangup.c: Likewise.
8496 * misc/writev.c: Likewise.
8497 * posix/_exit.c: Likewise.
8498 * posix/alarm.c: Likewise.
8499 * posix/execve.c: Likewise.
8500 * posix/fexecve.c: Likewise.
8501 * posix/fork.c: Likewise.
8502 * posix/fpathconf.c: Likewise.
8503 * posix/getaddrinfo.c: Likewise.
8504 * posix/getegid.c: Likewise.
8505 * posix/geteuid.c: Likewise.
8506 * posix/getgid.c: Likewise.
8507 * posix/getgroups.c: Likewise.
8508 * posix/getlogin.c: Likewise.
8509 * posix/getlogin_r.c: Likewise.
8510 * posix/getpgid.c: Likewise.
8511 * posix/getpid.c: Likewise.
8512 * posix/getppid.c: Likewise.
8513 * posix/getresgid.c: Likewise.
8514 * posix/getresuid.c: Likewise.
8515 * posix/getsid.c: Likewise.
8516 * posix/getuid.c: Likewise.
8517 * posix/glob64.c: Likewise.
8518 * posix/nanosleep.c: Likewise.
8519 * posix/pathconf.c: Likewise.
8520 * posix/pause.c: Likewise.
8521 * posix/posix_madvise.c: Likewise.
8522 * posix/pread.c: Likewise.
8523 * posix/pread64.c: Likewise.
8524 * posix/pwrite.c: Likewise.
8525 * posix/pwrite64.c: Likewise.
8526 * posix/sched_getaffinity.c: Likewise.
8527 * posix/sched_getp.c: Likewise.
8528 * posix/sched_gets.c: Likewise.
8529 * posix/sched_primax.c: Likewise.
8530 * posix/sched_primin.c: Likewise.
8531 * posix/sched_rr_gi.c: Likewise.
8532 * posix/sched_setaffinity.c: Likewise.
8533 * posix/sched_setp.c: Likewise.
8534 * posix/sched_sets.c: Likewise.
8535 * posix/sched_yield.c: Likewise.
8536 * posix/setgid.c: Likewise.
8537 * posix/setlogin.c: Likewise.
8538 * posix/setpgid.c: Likewise.
8539 * posix/setresgid.c: Likewise.
8540 * posix/setresuid.c: Likewise.
8541 * posix/setsid.c: Likewise.
8542 * posix/setuid.c: Likewise.
8543 * posix/sleep.c: Likewise.
8544 * posix/spawni.c: Likewise.
8545 * posix/sysconf.c: Likewise.
8546 * posix/times.c: Likewise.
8547 * posix/wait.c: Likewise.
8548 * posix/wait3.c: Likewise.
8549 * posix/wait4.c: Likewise.
8550 * posix/waitpid.c: Likewise.
8551 * resolv/gai_sigqueue.c: Likewise.
8552 * resource/getpriority.c: Likewise.
8553 * resource/getrlimit.c: Likewise.
8554 * resource/getrusage.c: Likewise.
8555 * resource/nice.c: Likewise.
8556 * resource/setpriority.c: Likewise.
8557 * resource/setrlimit.c: Likewise.
8558 * resource/ulimit.c: Likewise.
8559 * rt/aio_cancel.c: Likewise.
8560 * rt/aio_fsync.c: Likewise.
8561 * rt/aio_read.c: Likewise.
8562 * rt/aio_sigqueue.c: Likewise.
8563 * rt/aio_suspend.c: Likewise.
8564 * rt/aio_write.c: Likewise.
8565 * rt/clock_getres.c: Likewise.
8566 * rt/clock_gettime.c: Likewise.
8567 * rt/clock_nanosleep.c: Likewise.
8568 * rt/clock_settime.c: Likewise.
8569 * rt/lio_listio.c: Likewise.
8570 * rt/mq_close.c: Likewise.
8571 * rt/mq_getattr.c: Likewise.
8572 * rt/mq_notify.c: Likewise.
8573 * rt/mq_open.c: Likewise.
8574 * rt/mq_receive.c: Likewise.
8575 * rt/mq_send.c: Likewise.
8576 * rt/mq_setattr.c: Likewise.
8577 * rt/mq_timedreceive.c: Likewise.
8578 * rt/mq_timedsend.c: Likewise.
8579 * rt/mq_unlink.c: Likewise.
8580 * rt/shm_open.c: Likewise.
8581 * rt/shm_unlink.c: Likewise.
8582 * rt/timer_create.c: Likewise.
8583 * rt/timer_delete.c: Likewise.
8584 * rt/timer_getoverr.c: Likewise.
8585 * rt/timer_gettime.c: Likewise.
8586 * rt/timer_settime.c: Likewise.
8587 * setjmp/__longjmp.c: Likewise.
8588 * setjmp/setjmp.c: Likewise.
8589 * signal/kill.c: Likewise.
8590 * signal/killpg.c: Likewise.
8591 * signal/raise.c: Likewise.
8592 * signal/sigaction.c: Likewise.
8593 * signal/sigaltstack.c: Likewise.
8594 * signal/sigblock.c: Likewise.
8595 * signal/sigignore.c: Likewise.
8596 * signal/sigintr.c: Likewise.
8597 * signal/signal.c: Likewise.
8598 * signal/sigpause.c: Likewise.
8599 * signal/sigpending.c: Likewise.
8600 * signal/sigqueue.c: Likewise.
8601 * signal/sigreturn.c: Likewise.
8602 * signal/sigset.c: Likewise.
8603 * signal/sigsetmask.c: Likewise.
8604 * signal/sigstack.c: Likewise.
8605 * signal/sigsuspend.c: Likewise.
8606 * signal/sigtimedwait.c: Likewise.
8607 * signal/sigvec.c: Likewise.
8608 * signal/sigwait.c: Likewise.
8609 * signal/sigwaitinfo.c: Likewise.
8610 * signal/sysv_signal.c: Likewise.
8611 * socket/accept.c: Likewise.
8612 * socket/accept4.c: Likewise.
8613 * socket/bind.c: Likewise.
8614 * socket/connect.c: Likewise.
8615 * socket/getpeername.c: Likewise.
8616 * socket/getsockname.c: Likewise.
8617 * socket/getsockopt.c: Likewise.
8618 * socket/isfdtype.c: Likewise.
8619 * socket/listen.c: Likewise.
8620 * socket/recv.c: Likewise.
8621 * socket/recvfrom.c: Likewise.
8622 * socket/recvmsg.c: Likewise.
8623 * socket/send.c: Likewise.
8624 * socket/sendmsg.c: Likewise.
8625 * socket/sendto.c: Likewise.
8626 * socket/setsockopt.c: Likewise.
8627 * socket/shutdown.c: Likewise.
8628 * socket/sockatmark.c: Likewise.
8629 * socket/socket.c: Likewise.
8630 * socket/socketpair.c: Likewise.
8631 * stdio-common/ctermid.c: Likewise.
8632 * stdio-common/cuserid.c: Likewise.
8633 * stdio-common/remove.c: Likewise.
8634 * stdio-common/rename.c: Likewise.
8635 * stdio-common/renameat.c: Likewise.
8636 * stdio-common/tempname.c: Likewise.
8637 * stdlib/getcontext.c: Likewise.
8638 * stdlib/makecontext.c: Likewise.
8639 * stdlib/setcontext.c: Likewise.
8640 * stdlib/swapcontext.c: Likewise.
8641 * stdlib/system.c: Likewise.
8642 * streams/fattach.c: Likewise.
8643 * streams/fdetach.c: Likewise.
8644 * streams/getmsg.c: Likewise.
8645 * streams/getpmsg.c: Likewise.
8646 * streams/putmsg.c: Likewise.
8647 * streams/putpmsg.c: Likewise.
8648 * sysdeps/unix/bsd/getpt.c: Likewise.
8649 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
8650 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
8651 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8654 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8655 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8656 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8657 * sysvipc/msgctl.c: Likewise.
8658 * sysvipc/msgget.c: Likewise.
8659 * sysvipc/msgrcv.c: Likewise.
8660 * sysvipc/msgsnd.c: Likewise.
8661 * sysvipc/semctl.c: Likewise.
8662 * sysvipc/semget.c: Likewise.
8663 * sysvipc/semop.c: Likewise.
8664 * sysvipc/semtimedop.c: Likewise.
8665 * sysvipc/shmat.c: Likewise.
8666 * sysvipc/shmctl.c: Likewise.
8667 * sysvipc/shmdt.c: Likewise.
8668 * sysvipc/shmget.c: Likewise.
8669 * termios/tcdrain.c: Likewise.
8670 * termios/tcflow.c: Likewise.
8671 * termios/tcflush.c: Likewise.
8672 * termios/tcgetattr.c: Likewise.
8673 * termios/tcgetpgrp.c: Likewise.
8674 * termios/tcsendbrk.c: Likewise.
8675 * termios/tcsetattr.c: Likewise.
8676 * termios/tcsetpgrp.c: Likewise.
8677 * time/adjtime.c: Likewise.
8678 * time/clock.c: Likewise.
8679 * time/getitimer.c: Likewise.
8680 * time/gettimeofday.c: Likewise.
8681 * time/setitimer.c: Likewise.
8682 * time/settimeofday.c: Likewise.
8683 * time/stime.c: Likewise.
8684 * time/time.c: Likewise.
8686 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
8688 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8691 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8693 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8695 2012-11-03 Joseph Myers <joseph@codesourcery.com>
8698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8699 FE_TONEAREST before applying Dekker multiplication and Knuth
8700 addition. Clear inexact exceptions and check for exact zero
8702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8703 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8704 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8705 * math/libm-test.inc (fma_test): Add more tests.
8706 (fma_test_towardzero): Likewise.
8707 (fma_test_downward): Likewise.
8708 (fma_test_upward): Likewise.
8709 * sysdeps/generic/math_private.h (default_libc_fesetround): New
8711 (libc_fesetround): New macro.
8712 (libc_fesetroundf): Likewise.
8713 (libc_fesetroundl): Likewise.
8714 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8716 (libc_fesetround_387): Likewise.
8717 (libc_fesetroundf): New macro.
8718 (libc_fesetround): Likewise.
8719 (libc_fesetroundl): Likewise.
8720 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8722 (libc_fesetroundf): New macro.
8723 (libc_fesetround): Likewise.
8724 (libc_fesetroundl): Likewise.
8725 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8726 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8727 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8729 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8730 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8732 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8733 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8735 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8739 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8740 integer constant usable in #if and use that to give value to enum
8742 (FE_DIVBYZERO): Likewise.
8743 (FE_UNDERFLOW): Likewise.
8744 (FE_OVERFLOW): Likewise.
8745 (FE_INVALID): Likewise.
8746 (FE_INVALID_SNAN): Likewise.
8747 (FE_INVALID_ISI): Likewise.
8748 (FE_INVALID_IDI): Likewise.
8749 (FE_INVALID_ZDZ): Likewise.
8750 (FE_INVALID_IMZ): Likewise.
8751 (FE_INVALID_COMPARE): Likewise.
8752 (FE_INVALID_SOFTWARE): Likewise.
8753 (FE_INVALID_SQRT): Likewise.
8754 (FE_INVALID_INTEGER_CONVERSION): Likewise.
8755 (FE_TONEAREST): Likewise.
8756 (FE_TOWARDZERO): Likewise.
8757 (FE_UPWARD): Likewise.
8758 (FE_DOWNWARD): Likewise.
8759 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8760 (FE_DIVBYZERO): Likewise.
8761 (FE_OVERFLOW): Likewise.
8762 (FE_UNDERFLOW): Likewise.
8763 (FE_INEXACT): Likewise.
8764 (FE_TONEAREST): Likewise.
8765 (FE_DOWNWARD): Likewise.
8766 (FE_UPWARD): Likewise.
8767 (FE_TOWARDZERO): Likewise.
8768 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8769 (FE_UNDERFLOW): Likewise.
8770 (FE_OVERFLOW): Likewise.
8771 (FE_DIVBYZERO): Likewise.
8772 (FE_INVALID): Likewise.
8773 (FE_TONEAREST): Likewise.
8774 (FE_TOWARDZERO): Likewise.
8775 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8776 (FE_OVERFLOW): Likewise.
8777 (FE_UNDERFLOW): Likewise.
8778 (FE_DIVBYZERO): Likewise.
8779 (FE_INEXACT): Likewise.
8780 (FE_TONEAREST): Likewise.
8781 (FE_TOWARDZERO): Likewise.
8782 (FE_UPWARD): Likewise.
8783 (FE_DOWNWARD): Likewise.
8784 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8785 (FE_DIVBYZERO): Likewise.
8786 (FE_OVERFLOW): Likewise.
8787 (FE_UNDERFLOW): Likewise.
8788 (FE_INEXACT): Likewise.
8789 (FE_TONEAREST): Likewise.
8790 (FE_DOWNWARD): Likewise.
8791 (FE_UPWARD): Likewise.
8792 (FE_TOWARDZERO): Likewise.
8794 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8796 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8798 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8800 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8801 commands. Quote $PWD.
8802 (blacklist_exports): Don't use remove_newlines. Replace "declare
8804 (remove_newlines): Remove.
8806 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8808 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8809 * stdlib/stdlib.h (atof): Moved to ...
8810 * include/bits/stdlib-float.h: Here. New file.
8811 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8812 * stdlib/bits/stdlib-float.h: New file.
8813 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8815 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8818 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8820 * conform/conformtest.pl (@headers): Add fenv.h.
8821 * conform/data/fenv.h-data: New file.
8822 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8823 include of <math/fenv.h>.
8825 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8826 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8827 && !UNIX98]. Enables tests for XOPEN2K8.
8828 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8829 POSIX2008]: Likewise.
8831 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8832 (struct rusage): Do not expect type or its members.
8835 * math/math.h (FP_NAN): Define macro to integer constant usable in
8836 #if and use that to give value to enum constant.
8837 (FP_INFINITE): Likewise.
8838 (FP_ZERO): Likewise.
8839 (FP_SUBNORMAL): Likewise.
8840 (FP_NORMAL): Likewise.
8842 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8844 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8845 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8848 2012-11-02 Roland McGrath <roland@hack.frob.com>
8850 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8851 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8852 autoconf-time if not.
8853 * configure.in: Remove AC_PREREQ.
8855 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8857 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8858 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8859 of the internal implementation.
8861 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8863 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8864 except include of <misc/sys/syslog.h>.
8866 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8869 function returns with a NULL context exit with zero.
8871 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8873 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8875 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8877 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8878 (run_program_cmd): This.
8879 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8880 (tst_langinfo): New variable. Use it.
8882 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8884 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8885 floating point opcodes.
8887 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8889 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8892 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8894 * sysdeps/mach/hurd/powerpc: Remove directory.
8895 * sysdeps/mach/powerpc: Likewise.
8897 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8899 * scripts/check-local-headers.sh: Ignore c++ headers.
8901 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8903 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8904 __libc_cleanup_region_start argument.
8906 2012-11-01 Joseph Myers <joseph@codesourcery.com>
8910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8911 x * y using scaling, not as x * y + z.
8912 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8913 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8914 * math/libm-test.inc (fma_test): Add more tests.
8915 (fma_test_towardzero): Likewise.
8916 (fma_test_downward): Likewise.
8917 (fma_test_upward): Likewise.
8919 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8921 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8923 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8925 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8928 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8930 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8932 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8939 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8942 Fix the order of the list for glibc 2.17.
8943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8946 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8950 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8953 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8954 for low part of x being zero before using __atanl (y).
8955 * math/libm-test.inc (atan2_test): Add another test.
8957 * manual/install.texi (Configuring and compiling): Document
8958 general use of test-wrapper and test-wrapper-env.
8959 * INSTALL: Regenerated.
8961 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8962 (__fma): Do not extract and scale down low bits on after-rounding
8963 systems when result rounded to normal precision would have normal
8965 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8966 (__fmal): Do not extract and scale down low bits on after-rounding
8967 systems when result rounded to normal precision would have normal
8969 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8970 (__fmal): Do not extract and scale down low bits on after-rounding
8971 systems when result rounded to normal precision would have normal
8973 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8975 (fma_test): Add more tests.
8976 (fma_test_towardzero): Likewise.
8977 (fma_test_downward): Likewise.
8978 (fma_test_upward): Likewise.
8980 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8982 * sysdeps/i386/tininess.h: Renamed to ...
8983 * sysdeps/x86/tininess.h: This.
8984 * sysdeps/x86_64/tininess.h: Removed.
8986 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8988 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8989 input. Use $(build-program-cmd).
8990 ($(objpfx)tst-array1-static.out): Likewise.
8991 ($(objpfx)tst-array2.out): Likewise.
8992 ($(objpfx)tst-array3.out): Likewise.
8993 ($(objpfx)tst-array4.out): Likewise.
8994 ($(objpfx)tst-array5.out): Likewise.
8995 ($(objpfx)tst-array5-static.out): Likewise.
8997 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8999 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9002 * nss/nsswitch.h (nss_interface_function): Provide new
9003 macro for use with NSS functions.
9004 * grp/initgroups.c: Use new macro.
9005 * nss/getXXbyYY.c: Likewise.
9006 * nss/getXXbyYY_r.c: Likewise.
9007 * nss/getXXent.c: Likewise.
9008 * nss/getXXent_r.c: Likewise.
9009 * sysdeps/posix/getaddrinfo.c: Likewise.
9011 2012-10-30 Andreas Jaeger <aj@suse.de>
9013 * po/ru.po: Update Russion translation from translation project.
9015 2012-10-30 Joseph Myers <joseph@codesourcery.com>
9019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9020 result and shift together with sticky bit instead of replicating
9021 round-to-nearest rounding.
9022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9023 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9024 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9025 missing underflow exceptions.
9026 (fma_test_towardzero): Add more tests.
9027 (fma_test_downward): Likewise.
9028 (fma_test_upward): Likewise.
9031 * sysdeps/generic/tininess.h: New file.
9032 * sysdeps/i386/tininess.h: Likewise.
9033 * sysdeps/sh/tininess.h: Likewise.
9034 * sysdeps/x86_64/tininess.h: Likewise.
9035 * stdlib/tst-strtod-underflow.c: Likewise.
9036 * stdlib/tst-tininess.c: Likewise.
9037 * stdlib/strtod_l.c: Include <tininess.h>.
9038 (round_and_return): Do not set errno for exact underflow cases.
9039 Force an underflow exception when setting errno for underflow.
9040 Determine underflow based on rounding to normal precision if
9041 TININESS_AFTER_ROUNDING.
9042 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9043 ERANGE for exact underflow cases.
9044 * stdlib/Makefile (tests): Add tst-tininess and
9045 tst-strtod-underflow.
9046 ($(objpfx)tst-tininess): Use $(link-libm).
9047 ($(objpfx)tst-strtod-underflow): Likewise.
9049 2012-10-30 Andreas Jaeger <aj@suse.de>
9052 * elf/Makefile (tests): Remove conditional for have-initfini-array
9053 since this is now always required and the variable does not exist
9055 (tests-static): Likewise.
9056 (modules-names): Likewise.
9058 * po/eo.po: Add Esperanto translation from translation project.
9060 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9061 merged with constructor/destructor.
9062 (init_array): Likewise.
9063 * elf/tst-array2dep.c (fini_array): Likewise.
9064 (init_array): Likewise.
9066 2012-10-29 Mike Frysinger <vapier@gentoo.org>
9068 * manual/message.texi: Delete @cartouche tags.
9070 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9072 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9074 * sysdeps/mach/hurd/fsync.c: Likewise.
9076 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9077 [_POSIX_REALTIME_SIGNALS]: Change condition to
9078 [_POSIX_REALTIME_SIGNALS > 0].
9080 2012-10-27 Andreas Jaeger <aj@suse.de>
9082 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9083 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9085 [__WORDSIZE != 64]: Likewise.
9087 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9089 * iconvdata/tst-table.sh: Remove ${SHELL}.
9090 * iconvdata/tst-tables.sh: Likewise.
9092 2012-10-25 David S. Miller <davem@davemloft.net>
9094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9095 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9100 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9101 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9102 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9105 2012-10-25 Roland McGrath <roland@hack.frob.com>
9107 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9108 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9111 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9112 Jim Blandy <jimb@codesourcery.com>
9114 * scripts/cross-test-ssh.sh: New file.
9115 * manual/install.texi (Configuring and compiling): Document use of
9117 * INSTALL: Regenerated.
9119 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9121 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9124 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9126 * Makeconfig (run-program-prefix): Fix comment.
9128 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9129 Jim Blandy <jimb@codesourcery.com>
9131 * Makeconfig (test-wrapper): New variable,
9132 (test-wrapper-env): Likewise.
9133 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9134 (run-built-tests): Define to yes.
9135 (run-program-prefix): Use $(test-wrapper).
9136 (built-program-cmd): Likewise.
9137 * Rules (make-test-out): Use $(test-wrapper-env) and
9138 $(host-built-program-cmd).
9139 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9140 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9142 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9143 $(test-wrapper-env) to tst-rtld-load-self.sh.
9144 ($(objpfx)order2.out): Use $(test-wrapper).
9145 ($(objpfx)tst-initorder.out): Likewise.
9146 ($(objpfx)tst-initorder2.out): Likewise.
9147 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9148 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9149 (test_wrapper_env): New variable. Use it to run ld.so.
9150 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9151 Use it to run ld.so.
9152 (test_wrapper_env): Likewise.
9153 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9154 $(test-wrapper) to run-iconv-test.sh.
9155 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9156 (ICONV): Use $test_wrapper.
9157 * posix/Makefile ($(objpfx)globtest.out): Pass
9158 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9159 globtest.sh, not $(run-program-prefix).
9160 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9161 (test_wrapper): Likewise.
9162 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9163 set together with run_via_rtld_prefix.
9164 (run_program_prefix): Define in terms of test_wrapper and
9165 run_via_rtld_prefix.
9167 2012-10-24 Roland McGrath <roland@hack.frob.com>
9169 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9170 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9174 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9175 Declare __clock_getres, __clock_gettime, __clock_settime,
9176 __clock_nanosleep, and __clock_getcpuclockid.
9177 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9178 Remove librt_hidden_def (clock_gettime).
9179 * sysdeps/unix/clock_gettime.c: Likewise.
9180 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9181 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9182 * rt/clock_getres.c: Define __clock_getres as an alias.
9183 * sysdeps/posix/clock_getres.c: Likewise.
9184 * rt/clock_settime.c: Define __clock_settime as an alias.
9185 * sysdeps/unix/clock_settime.c: Likewise.
9186 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9187 * sysdeps/unix/clock_nanosleep.c: Likewise.
9188 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9189 * rt/clock-compat.c: New file.
9190 * rt/Makefile (librt-routines): Add clock-compat and move
9191 $(clock-routines) to ...
9192 (routines): ... here, new variable.
9193 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9194 Don't add get_clockfreq here.
9195 * rt/Versions (libc: GLIBC_2.17): New version set.
9196 Add clock_* symbols here.
9197 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9198 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9199 (GLIBC_2.17): Add clock_* symbols.
9200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9211 * NEWS: Mention the move.
9213 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9214 Use __open, __read, __close rather than their public counterparts.
9215 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9216 (__get_clockfreq_via_cpuinfo): Likewise.
9217 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9218 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9220 * config.h.in (HAVE_IFUNC): New #undef.
9221 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9223 * configure: Regenerated.
9225 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9227 * configure.in: Move READELF check to start of file.
9228 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9229 libc_cv_asm_gnu_indirect_function in the process.
9230 * configure: Regenerated.
9232 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9234 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9235 send the output to /dev/null.
9236 (libc_cv_cc_with_libunwind): Likewise.
9237 (libc_cv_as_noexecstack): Likewise.
9238 * configure: Regenerate.
9240 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9242 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9244 * posix/globtest.sh (TMPDIR): Do not set.
9245 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9246 (testout): Likewise.
9248 2012-10-24 Andreas Jaeger <aj@suse.de>
9250 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9251 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9252 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9253 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9254 posix_fadvise64, posix_fallocate64.
9256 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9257 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9258 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9260 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9262 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9265 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9266 <bits/fcntl-linux.h>.
9267 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9269 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9270 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9271 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9272 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9273 [__WORDSIZE != 64]: Likewise.
9275 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9277 * Makeconfig (run-built-tests): New variable.
9278 * Rules [$(cross-compiling) = yes]: Change condition to
9279 [$(run-built-tests) = no].
9280 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9281 to [$(run-built-tests) = yes].
9282 * elf/Makefile [$(cross-compiling) = no]: Likewise
9283 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9284 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9285 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9286 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9287 * io/Makefile [$(cross-compiling) = no]: Likewise.
9288 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9289 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9290 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9291 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9292 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9293 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9294 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9295 * string/Makefile [$(cross-compiling) = no]: Likewise.
9297 * posix/Makefile ($(objpfx)globtest.out): Pass
9298 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9299 $(rtld-installed-name).
9300 * posix/globtest.sh (elf_objpfx): Remove variable.
9301 (rtld_installed_name): Likewise.
9302 (library_path): Likewise.
9303 (run_program_prefix): New variable. Use for running globtest
9306 2012-10-23 Jim Blandy <jimb@codesourcery.com>
9307 Joseph Myers <joseph@codesourcery.com>
9309 * Makeconfig (host-built-program-cmd): New variable.
9310 * elf/Makefile (tst-stackguard1-ARGS): Use
9311 $(host-built-program-cmd).
9312 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9313 (tst-spawn-ARGS): Likewise.
9314 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9316 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9317 Jim Blandy <jimb@codesourcery.com>
9319 * Makeconfig (run-via-rtld-prefix): New variable.
9320 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9321 (built-program-cmd): Likewise.
9323 2012-10-22 Andreas Jaeger <aj@suse.de>
9325 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9326 __O_RSYNC if it exists, otherwise to O_SYNC.
9328 2012-10-22 Jim Blandy <jimb@codesourcery.com>
9329 Joseph Myers <joseph@codesourcery.com>
9331 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9333 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9335 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9338 2012-10-22 Andreas Jaeger <aj@suse.de>
9340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9347 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9348 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9350 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9355 2012-10-21 Jim Blandy <jimb@codesourcery.com>
9356 Joseph Myers <joseph@codesourcery.com>
9358 * config.make.in (NM): New variable.
9360 2012-10-21 Andreas Jaeger <aj@suse.de>
9362 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9363 definitions and declarations that are provided by
9364 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9366 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9369 * elf/Makefile (tests-static): Add tst-leaks1-static.
9370 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9371 ($(objpfx)tst-leaks1-static): New rule.
9372 ($(objpfx)tst-leaks1-static-mem): Likewise.
9373 (tst-leaks1-static-ENV): New macro.
9374 * elf/dl-open.c (dl_open_worker): Check the main application
9375 only if SHARED is defined.
9376 * elf/tst-leaks1-static.c: New file.
9378 2012-10-20 Andreas Jaeger <aj@suse.de>
9380 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9381 generic values for Linux.
9382 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9383 and declarations that are provided by <bits/fcntl-linux.h> and
9384 include <bits/fcntl-linux.h>.
9385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9388 2012-10-20 Roland McGrath <roland@hack.frob.com>
9390 * io/fcntl.h: Move include of <bits/types.h> to the top and
9391 include it unconditionally.
9393 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9395 * wcsmbs/Makefile (tests-ifunc): New variable.
9396 (tests): Add $(tests-ifunc).
9397 * wcsmbs/test-wcschr-ifunc.c: New file.
9398 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9399 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9400 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9401 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9402 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9404 * string/Makefile (tests-ifunc): New variable.
9405 (tests): Add $(tests-ifunc).
9406 * string/test-memccpy.c (TEST_NAME): New macro.
9407 * string/test-memchr.c (TEST_NAME): Likewise.
9408 * string/test-memcmp.c (TEST_NAME): Likewise.
9409 * string/test-memcpy.c (TEST_NAME): Likewise.
9410 * string/test-memmem.c (TEST_NAME): Likewise.
9411 * string/test-memmove.c (TEST_NAME): Likewise.
9412 * string/test-memset.c (TEST_NAME): Likewise.
9413 * string/test-rawmemchr.c (TEST_NAME): Likewise.
9414 * string/test-stpcpy.c (TEST_NAME): Likewise.
9415 * string/test-stpncpy.c (TEST_NAME): Likewise.
9416 * string/test-strcasecmp.c (TEST_NAME): Likewise.
9417 * string/test-strcasestr.c (TEST_NAME): Likewise.
9418 * string/test-strcat.c (TEST_NAME): Likewise.
9419 * string/test-strchr.c (TEST_NAME): Likewise.
9420 * string/test-strcmp.c(TEST_NAME): Likewise.
9421 * string/test-strcpy.c (TEST_NAME): Likewise.
9422 * string/test-strcspn.c (TEST_NAME): Likewise.
9423 * string/test-strlen.c (TEST_NAME): Likewise.
9424 * string/test-strncasecmp.c (TEST_NAME): Likewise.
9425 * string/test-strncmp.c (TEST_NAME): Likewise.
9426 * string/test-strncpy.c (TEST_NAME): Likewise.
9427 * string/test-strnlen.c (TEST_NAME): Likewise.
9428 * string/test-strpbrk.c (TEST_NAME): Likewise.
9429 * string/test-strrchr.c (TEST_NAME): Likewise.
9430 * string/test-strspn.c (TEST_NAME): Likewise.
9431 * string/test-strstr.c (TEST_NAME): Likewise.
9432 * string/test-bcopy-ifunc.c: New file.
9433 * string/test-bzero-ifunc.c: Likewise.
9434 * string/test-memccpy-ifunc.c: Likewise.
9435 * string/test-memchr-ifunc.c: Likewise.
9436 * string/test-memcmp-ifunc.c: Likewise.
9437 * string/test-memcpy-ifunc.c: Likewise.
9438 * string/test-memmem-ifunc.c: Likewise.
9439 * string/test-memmove-ifunc.c: Likewise.
9440 * string/test-mempcpy-ifunc.c: Likewise.
9441 * string/test-memset-ifunc.c: Likewise.
9442 * string/test-rawmemchr-ifunc.c: Likewise.
9443 * string/test-stpcpy-ifunc.c: Likewise.
9444 * string/test-stpncpy-ifunc.c: Likewise.
9445 * string/test-strcasecmp-ifunc.c: Likewise.
9446 * string/test-strcasestr-ifunc.c: Likewise.
9447 * string/test-strcat-ifunc.c: Likewise.
9448 * string/test-strchr-ifunc.c: Likewise.
9449 * string/test-strchrnul-ifunc.c: Likewise.
9450 * string/test-strcmp-ifunc.c: Likewise.
9451 * string/test-strcpy-ifunc.c: Likewise.
9452 * string/test-strcspn-ifunc.c: Likewise.
9453 * string/test-strlen-ifunc.c: Likewise.
9454 * string/test-strncasecmp-ifunc.c: Likewise.
9455 * string/test-strncat-ifunc.c: Likewise.
9456 * string/test-strncmp-ifunc.c: Likewise.
9457 * string/test-strncpy-ifunc.c: Likewise.
9458 * string/test-strnlen-ifunc.c: Likewise.
9459 * string/test-strpbrk-ifunc.c: Likewise.
9460 * string/test-strrchr-ifunc.c: Likewise.
9461 * string/test-strspn-ifunc.c: Likewise.
9462 * string/test-strstr-ifunc.c: Likewise.
9464 * debug/Makefile (tests-ifunc): New variable.
9465 (tests): Add $(tests-ifunc).
9466 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
9467 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
9468 * debug/test-stpcpy_chk-ifunc.c: New file.
9469 * debug/test-strcpy_chk-ifunc.c: Likewise.
9471 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9474 * elf/dl-load.c (open_verify): Retry read if the entire ELF
9475 header is not read in.
9477 2012-10-19 Joseph Myers <joseph@codesourcery.com>
9479 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
9480 script to $(SHELL) as $<. Pass $(common-objpfx) to script
9481 directly. Pass built executable to script as
9482 $(built-program-cmd).
9483 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
9484 $testprogram without using LD_LIBRARY_PATH and $ldso.
9486 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
9487 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
9488 $(rtld-installed-name).
9489 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
9490 (rtld_installed_name): Likewise.
9491 (library_path): Likewise.
9492 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
9493 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
9494 $(run-program-prefix) to tst-tables.sh.
9495 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
9496 it to run tst-table-from and tst-table-to.
9497 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
9498 Pass it to tst-table.sh.
9499 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
9500 $(run-program-prefix) to tst-gettext.sh.
9501 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
9503 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
9505 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
9507 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
9508 to run tst-gettext2.
9509 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
9510 to run tst-translit.
9511 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
9512 $(run-program-prefix) to tst-mtrace.sh.
9513 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
9515 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
9516 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
9517 $(rtld-installed-name).
9518 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
9519 (rtld_installed_name): Likewise.
9520 (run_program_prefix): New variable. Use it to run wordexp-test.
9522 * Makeconfig (ARCH): Remove all definitions.
9523 (machine): Likewise.
9524 [ARCH]: Remove conditional code.
9525 [!objdir]: Give error.
9526 [!objdir] (objpfx): Remove.
9527 [!objdir] (common-objpfx): Likewise.
9528 [!objdir] (common-objdir): Likewise.
9529 * configure.in (config_makefile): Remove. Hardcode Makefile in
9530 AC_CONFIG_FILES call.
9531 * configure: Regenerated.
9534 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
9536 (testout): Likewise.
9538 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
9539 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
9540 $(rtld-installed-name).
9541 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
9542 (rtld_installed_name): Likwise.
9543 (runit): Remove function.
9544 (run_getconf): New variable, Use it for running getconf binary.
9546 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
9549 * string/test-memmem.c (check_result): New function.
9550 (do_one_test): Use it.
9551 (check1): New function.
9552 (test_main): Use it.
9554 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
9556 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
9558 2012-10-18 Joseph Myers <joseph@codesourcery.com>
9560 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
9561 (_G_LSEEK64): Likewise.
9562 (_G_MMAP64): Likewise.
9563 (_G_FSTAT64): Likewise.
9564 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
9565 (_G_LSEEK64): Likewise.
9566 (_G_MMAP64): Likewise.
9567 (_G_FSTAT64): Likewise.
9568 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
9569 unconditional. Call __mmap64 directly.
9570 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
9571 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
9573 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
9574 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
9576 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
9577 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
9579 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
9580 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
9582 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
9583 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
9585 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
9586 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
9587 __fxstat64 directly.
9588 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
9589 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
9591 (freopen64) [!_G_OPEN64]: Remove conditional code.
9592 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
9594 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
9595 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
9597 (ftello64) [!_G_LSEEK64]: Remove conditional code.
9598 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
9600 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9601 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
9603 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
9604 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
9606 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9607 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
9609 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9610 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
9612 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9614 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9617 * manual/memory.texi (Malloc Tunable Parameters): Add note
9618 about free list pointers overwriting some perturb bytes.
9619 Wording suggested by Roland McGrath.
9621 2012-10-17 Joseph Myers <joseph@codesourcery.com>
9623 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
9624 (lgamma_test): Likewise.
9625 (tgamma_test): Likewise.
9627 2012-10-16 Florian Weimer <fweimer@redhat.com>
9630 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
9631 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
9633 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
9635 * NEWS: Mention BZ #14716.
9636 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
9637 when removing AVAILABLE1_USES_J macro.
9639 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
9641 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
9642 (__bswap_64): __uint64_t for unsigned 64-bit int.
9644 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
9646 * include/string.h (memmem): Declare libc hidden alias.
9647 * string/memmem.c (memmem): Define libc hidden alias.
9648 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
9649 __read, __close instead of open, read, close.
9651 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
9653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9654 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9656 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9657 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9658 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9660 (__rawmemchr_sse2): Likewise.
9661 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9662 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9663 (__strchr_sse2): Likewise.
9664 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9665 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9666 (__strcasecmp_sse2): Likewise.
9667 (__strncasecmp_sse2): Likewise.
9668 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9669 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9670 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9671 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9672 (__strrchr_sse2): Likewise.
9673 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9675 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9676 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9677 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9678 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9679 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9680 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9681 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9682 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9683 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9684 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9685 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9686 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9687 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9688 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9689 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9690 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9691 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9692 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9693 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9694 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9695 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9696 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9697 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9698 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9699 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9700 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9701 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9702 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9703 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9704 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9706 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9708 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9709 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9710 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9711 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9713 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9715 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9716 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9717 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9718 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9720 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9721 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9722 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9723 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9724 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9725 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9726 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9727 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9728 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9729 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9730 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9731 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9732 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9733 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9734 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9735 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9736 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9737 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9738 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9739 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9740 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9741 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9742 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9743 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9744 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9745 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9746 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9747 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9748 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9749 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9750 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9751 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9752 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9753 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9754 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9755 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9756 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9757 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9758 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9759 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9760 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9762 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9763 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9764 * include/ifunc-impl-list.h: New file.
9765 * misc/ifunc-impl-list.c: Likewise.
9766 * misc/Makefile (routines): Add ifunc-impl-list.
9767 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9768 * string/test-string.h: Include <ifunc-impl-list.h>.
9769 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9770 impl_array): New variables.
9771 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9773 (test_init): Call __libc_ifunc_impl_list to initialize
9774 func_list if TEST_IFUNC and TEST_NAME are defined.
9776 * string/Makefile (strop-tests): Add bcopy and bzero.
9777 * string/test-bcopy.c: New file.
9778 * string/test-bzero.c: Likewise.
9779 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9781 * string/test-memset.c: Support bzero test if TEST_BZERO is
9783 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9785 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9787 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9790 2012-10-10 Joseph Myers <joseph@codesourcery.com>
9792 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9793 * configure: Regenerated.
9795 * Makeconfig (+link-static-before-libc): Don't include
9796 $(link-static-libc).
9798 * libio/libio.h (_IO_pos_t): Remove.
9800 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9802 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9805 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9807 * crypt/crypt-entry.c: Include fips-private.h.
9808 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9809 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9810 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9811 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9813 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9815 * crypt/crypt-private.h: Include stdbool.h.
9816 (_ufc_setup_salt_r): Return bool.
9817 * crypt/crypt-entry.c: Include errno.h.
9818 (__crypt_r): Return NULL with EINVAL for bad salt.
9819 * crypt/crypt_util.c (bad_for_salt): New.
9820 (_ufc_setup_salt_r): Check that salt is long enough and within
9821 the specified alphabet.
9822 * crypt/badsalttest.c: New file.
9823 * crypt/Makefile (tests): Add it.
9824 ($(objpfx)badsalttest): New.
9826 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9828 * NEWS: Add entry for BZ #14602.
9830 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9832 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9834 * math/libm-test.inc: Update comment listing what functions and
9836 (isgreater_test): New function.
9837 (isgreaterequal_test): Likewise.
9838 (isless_test): Likewise.
9839 (islessequal_test): Likewise.
9840 (islessgreater_test): Likewise.
9841 (isunordered_test): Likewise.
9842 (main): Call the new functions.
9844 2012-10-09 Roland McGrath <roland@hack.frob.com>
9846 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9847 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9848 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9849 * sysdeps/i386/configure: Regenerated.
9850 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9851 * sysdeps/mach/configure: Regenerated.
9852 * sysdeps/mach/hurd/configure: Regenerated.
9853 * sysdeps/powerpc/configure: Regenerated.
9854 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9855 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9856 * sysdeps/s390/s390-32/configure: Regenerated.
9857 * sysdeps/s390/s390-64/configure: Regenerated.
9858 * sysdeps/sh/configure: Regenerated.
9859 * sysdeps/sparc/configure: Regenerated.
9860 * sysdeps/unix/sysv/linux/configure: Regenerated.
9861 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9862 * sysdeps/x86_64/configure: Regenerated.
9864 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9865 defined. Don't check if MAP is NULL.
9867 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9869 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9870 (_G_stat64): Likewise.
9871 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9872 (_G_stat64): Likewise.
9873 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9874 instead of struct _G_stat64.
9875 * libio/fileops.c (mmap_remap_check): Likewise.
9876 (decide_maybe_mmap): Likewise.
9877 (_IO_new_file_seekoff): Likewise.
9878 (_IO_file_stat): Likewise.
9879 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9881 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9882 instead of struct _G_stat64.
9883 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9885 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9888 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9890 (CHECK_EOL): New macro.
9891 (two_way_short_needle): Check beginning of haystack for EOL. Use
9893 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9894 Replace with CHECK_EOL.
9895 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9896 Replace with CHECK_EOL.
9898 2012-10-08 Joseph Myers <joseph@codesourcery.com>
9900 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9902 * math/libm-test.inc: Update comment listing what functions and
9904 (finite_test): New function.
9905 (isinf_test): Likewise.
9906 (isnan_test): Likewise.
9907 (fpclassify_test): Test subnormal input.
9908 (isfinite_test): Likewise.
9909 (isnormal_test): Likewise.
9910 (main): Call the new functions.
9912 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9915 * Makerules (%.dynsym): Force C locale when running
9916 $(OBJDUMP) --dynamic-syms.
9918 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9920 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9923 2012-10-06 David S. Miller <davem@davemloft.net>
9925 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9926 upper 32-bits of the length value in %o2 since we use branch-on-register
9927 tests which consider the entire 64-bit register.
9929 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9931 * string/test-strstr.c (check2): Add a test for page boundary.
9933 2012-10-05 David S. Miller <davem@davemloft.net>
9935 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9936 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9938 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9940 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9941 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9942 and bzero when HWCAP_SPARC_CRYPTO is present.
9944 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9947 * string/test-strstr.c (check2): New function.
9948 (test_main): Call check2.
9950 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9952 * string/bug-strcasestr1.c (do_test): Moved to ...
9953 * string/test-strcasestr.c (check1): Here. New function.
9954 (do_one_test): Break out result checking code into ...
9955 (check_result): This. New function.
9956 (do_one_test): Call check_result.
9957 (test_main): Call check1.
9958 * string/bug-strchr1.c (do_test): Moved to ...
9959 * string/test-strchr.c (check1): Here. New function.
9960 (do_one_test): Break out result checking code into ...
9961 (check_result): This. New function.
9962 (do_one_test): Call check_result.
9963 (test_main): Call check1.
9964 * string/bug-strstr1.c (main): Moved to ...
9965 * string/test-strstr.c (check1): Here. New function.
9966 (do_one_test): Break out result checking code into ...
9967 (check_result): This. New function.
9968 (do_one_test): Call check_result.
9969 (test_main): Call check1.
9970 * string/bug-strcasestr1.c: Removed.
9971 * string/bug-strchr1.c: Likewise.
9972 * string/bug-strstr1.c: Likewise.
9974 * elf/Makefile (dl-routines): Add hwcaps.
9975 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9976 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9977 (_dl_important_hwcaps): Moved to ...
9978 * elf/dl-hwcaps.c: Here. New file.
9979 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9982 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9983 if IS_IN_rtld isn't defined.
9985 * elf/dl-support.c (_dl_sysinfo_map): New.
9986 Include "get-dynamic-info.h" and "setup-vdso.h".
9987 (_dl_non_dynamic_init): Call setup_vdso.
9988 * elf/dynamic-link.h: Don't include <assert.h>.
9989 (elf_get_dynamic_info): Moved to ...
9990 * elf/get-dynamic-info.h: Here. New file.
9991 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9992 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9993 * elf/setup-vdso.h: Here. New file.
9994 * elf/rtld.c: Include "setup-vdso.h".
9995 (dl_main): Call setup_vdso.
9997 2012-10-05 Joseph Myers <joseph@codesourcery.com>
9999 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10000 creal in comment listing functions tested. List finite, isinf,
10001 isnan, isless, islessequal, isgreater, isgreaterequal,
10002 islessgreater, isunordered, lgamma_r and pow10 as functions and
10003 macros not tested. Mention which functions not tested are aliases
10004 for other functions. Fix typo. Note that signs of NaNs are not
10007 * scripts/config.guess: Update from config.git.
10008 * scripts/config.sub: Likewise.
10010 2012-10-04 Roland McGrath <roland@hack.frob.com>
10012 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10013 * misc/madvise.c (madvise): Renamed to __madvise.
10014 Make madvise a weak alias.
10015 * include/sys/mman.h: Declare __madvise.
10016 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10017 * sysdeps/unix/syscalls.list
10018 (madvise): Make __madvise the strong name, and madvise a weak alias.
10019 * sysdeps/unix/sysv/linux/syscalls.list
10020 (madvise, mmap): Remove redundant entries.
10021 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10022 * malloc/malloc.c (mtrim): Likewise.
10023 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10025 2012-10-03 Roland McGrath <roland@hack.frob.com>
10027 * sysdeps/mach/hurd/dl-cache.c: File removed.
10028 * config.h.in (USE_LDCONFIG): New #undef.
10029 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10030 * configure: Regenerated.
10031 * elf/Makefile (dl-routines): Add dl-cache only under
10032 [$(use-ldconfig) = yes].
10033 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10034 cache on [USE_LDCONFIG].
10035 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10037 * elf/rtld.c (dl_main): Likewise.
10039 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10041 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10042 _SC_LEVEL4_CACHE_LINESIZE.
10044 2012-10-03 Roland McGrath <roland@hack.frob.com>
10046 * sysdeps/unix/bsd/confstr.h: File removed.
10048 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
10050 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10053 2012-10-02 Roland McGrath <roland@hack.frob.com>
10055 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10056 Make 'mapoff' field ElfW(Off) rather than off_t.
10058 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10060 * nscd/Makefile: Remove nscd-cflags and all its users.
10061 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10062 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10065 * malloc.c (malloc_printerr): Clarify error message.
10067 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10071 Set bit_FMA_Usable if FMA is supported.
10072 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10074 (bit_FMA4_Usable): Updated.
10075 (index_FMA_Usable): New macro.
10076 (CPUID_FMA): Likewise
10077 (HAS_FMA): Defined with bit_FMA_Usable.
10079 2012-10-01 Roland McGrath <roland@hack.frob.com>
10081 * bits/types.h (__swblk_t): Type removed.
10082 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10083 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10085 (__SWBLK_T_TYPE): Likewise.
10086 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10087 (__SWBLK_T_TYPE): Likewise.
10088 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10089 (__SWBLK_T_TYPE): Likewise.
10090 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10091 (__SWBLK_T_TYPE): Likewise.
10093 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
10094 Honza Horak <hhorak@redhat.com>
10096 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10097 (xdr_mapname): Use YPMAXMAP as maxsize.
10098 (xdr_peername): Use YPMAXPEER as maxsize.
10099 (xdr_keydat): Use YPAXRECORD as maxsize.
10100 (xdr_valdat): Use YPMAXRECORD as maxsize.
10102 2012-10-01 Roland McGrath <roland@hack.frob.com>
10104 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10106 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10107 * csu/init-first.c: ... here.
10108 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10109 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10110 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10111 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10112 * sysdeps/i386/init-first.c: File removed.
10113 * sysdeps/sh/init-first.c: File removed.
10115 2012-10-01 Joseph Myers <joseph@codesourcery.com>
10118 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10119 if x * y might underflow to zero and z is zero.
10120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10121 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10122 * math/libm-test.inc (min_subnorm_value): New variable.
10123 (fma_test): Add more tests.
10124 (fma_test_towardzero): Likewise.
10125 (fma_test_downward): Likewise
10126 (fma_test_upward): Likewise.
10127 (initialize): Set min_subnorm_value.
10129 2012-09-29 Joseph Myers <joseph@codesourcery.com>
10132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10134 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10135 mode for addition resulting in exact zero.
10136 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10139 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10141 * math/libm-test.inc (fma_test): Add more tests.
10142 (fma_test_towardzero): New function.
10143 (fma_test_downward): Likewise.
10144 (fma_test_upward): Likewise.
10145 (main): Call the new functions.
10147 2012-09-28 David S. Miller <davem@davemloft.net>
10149 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10151 2012-09-28 Roland McGrath <roland@hack.frob.com>
10153 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10154 instead of SIGALRM.
10156 * sysdeps/gnu/_G_config.h: Moved to ...
10157 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10158 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10159 * sysdeps/generic/_G_config.h: ... here.
10161 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10163 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10165 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10166 Conditionalize target on [libnss_test1.so-version].
10168 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10170 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10171 (elfobjdir): Move out of conditionals.
10173 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10174 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10175 (__nss_lookup_function): Conditionalize label remove_from_tree on
10176 [!DO_STATIC_NSS || SHARED], matching its only use.
10178 2012-09-28 David S. Miller <davem@davemloft.net>
10180 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10181 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10183 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10185 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10186 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10187 when HWCAP_SPARC_CRYPTO is present.
10189 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10191 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10193 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10196 * stdio-common/vfprintf.c (process_string_arg): Revert
10199 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10201 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10203 * stdio-common/tst-sprintf.c: Include <locale.h>
10204 (main): Test sprintf's handling of incomplete multibyte
10207 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10209 * elf/dl-runtime.c (VERSYMIDX): Removed.
10210 * elf/dl-version.c (VERSYMIDX): Likewise.
10211 * elf/do-rel.h (VERSYMIDX): Likewise.
10212 (VALIDX): Likewise.
10213 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10214 * elf/rtld.c (VALIDX): Likewise.
10215 (ADDRIDX): Likewise.
10216 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10217 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10218 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
10219 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10220 (VALIDX): Likewise.
10221 (ADDRIDX): Likewise.
10223 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10225 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10227 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10230 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10232 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10233 addresses are in the same scope as 192.0.2/24.
10234 * posix/gai.conf: Document new scope table defaults.
10236 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10239 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10240 for ftell. Compute offsets from write pointers instead.
10241 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10243 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10246 * libio/Makefile (tests): New test case tst-fseek.
10247 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10248 combination works in wide mode.
10249 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10250 state when the external buffer state changes.
10252 2012-09-27 David S. Miller <davem@davemloft.net>
10255 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10256 pass reloc->r_addend in as the 'high' argument to
10257 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10261 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10263 * rt/tst-aio2.c: Include <pthread.h>.
10264 * rt/tst-aio3.c: Likewise.
10266 2012-09-27 Steve Ellcey <sellcey@mips.com>
10268 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10270 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10272 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10273 contents on [SHARED].
10275 2012-09-26 Marek Polacek <polacek@redhat.com>
10279 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10280 for C++ and GCC <4.3 as well as for non GCC compilers.
10282 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10286 2012-09-25 Roland McGrath <roland@hack.frob.com>
10288 * Makefile.in (all, install): Declare with .PHONY.
10289 Reported by Michael Hope <michael.hope@linaro.org>.
10291 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10293 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10294 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10296 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10298 (sydep_routines): Add the new and the internal functions.
10299 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10300 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10302 (GLIBC_2.17): Add the new function.
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10304 (GLIBC_2.17): Likewise.
10305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10306 (GLIBC_2.17): Likewise.
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10308 (GLIBC_2.17): Likewise.
10309 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10311 2012-09-25 Alan Modra <amodra@gmail.com>
10313 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10314 Add release barrier before setting once_control to say
10315 initialisation is done. Add hints on lwarx. Use macro in
10317 (clear_once_control): Add release barrier.
10319 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10322 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10324 * math/s_clog10.c (__clog10): Likewise.
10325 * math/s_clog10f.c (__clog10f): Likewise.
10326 * math/s_clog10l.c (__clog10l): Likewise.
10327 * math/s_clogf.c (__clogf): Likewise.
10328 * math/s_clogl.c (__clogl): Likewise.
10329 * math/Makefile (libm-calls): Add x2y2m1.
10330 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10331 (__x2y2m1): Likewise.
10332 (__x2y2m1l): Likewise.
10333 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10334 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10335 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10336 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10337 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10338 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10339 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10340 * sysdeps/i386/fpu/libm-test-ulps: Update.
10341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10344 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10345 int as type of variable DEPTH.
10346 (glob): Use size_t instead of int as type of variables NEWCOUNT
10349 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10351 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10352 Add s_sincosf-sse2.
10353 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10354 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10355 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10356 macros for using routine as __sincosf_ia32.
10357 Use macro for function declaration and weak_alias.
10358 * sysdeps/i386/fpu/libm-test-ulps: Update.
10360 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10363 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
10364 subnormal argument.
10365 * math/s_cexpf.c (__cexpf): Likewise.
10366 * math/s_csinf.c (__csinf): Likewise.
10367 * math/s_csinhf.c (__csinhf): Likewise.
10368 * math/s_ctanf.c (__ctanf): Likewise.
10369 * math/s_ctanhf.c (__ctanhf): Likewise.
10370 * math/s_ccosh.c (__ccoshf): Likewise.
10371 * math/s_cexp.c (__cexpl): Likewise.
10372 * math/s_csin.c (__csin): Likewise.
10373 * math/s_csinh.c (__csinh): Likewise.
10374 * math/s_ctan.c (__ctan): Likewise.
10375 * math/s_ctanh.c (ctanh): Likewise.
10376 * math/s_ccoshl.c (__ccoshl): Likewise.
10377 * math/s_cexpl.c (__cexpl): Likewise.
10378 * math/s_csinl.c (__csinl): Likewise.
10379 * math/s_csinhl.c (__csinhl): Likewise.
10380 * math/s_ctanl.c (__ctanl): Likewise.
10381 * math/s_ctanhl.c (__ctanhl): Likewise.
10383 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10385 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10386 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10387 (_IO_off_t): Define to __off_t, not _G_off_t.
10388 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10389 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10390 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10391 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10392 type of __dummy and __dummy2 fields.
10393 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10394 (_G_ssize_t): Likewise.
10395 (_G_off_t): Likewise.
10396 (_G_pid_t): Likewise.
10397 (_G_uid_t): Likewise.
10398 (_G_wchar_t): Likewise.
10399 (_G_wint_t): Likewise.
10400 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10401 (_G_ssize_t): Likewise.
10402 (_G_off_t): Likewise.
10403 (_G_pid_t): Likewise.
10404 (_G_uid_t): Likewise.
10405 (_G_wchar_t): Likewise.
10406 (_G_wint_t): Likewise.
10407 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10408 (_G_ssize_t): Likewise.
10409 (_G_off_t): Likewise.
10410 (_G_pid_t): Likewise.
10411 (_G_uid_t): Likewise.
10412 (_G_wchar_t): Likewise.
10413 (_G_wint_t): Likewise.
10415 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10417 * malloc/arena.c: Include malloc-sysdep.h.
10418 (shrink_heap): Use check_may_shrink_heap to decide if madvise
10419 is sufficient to shrink the heap or an unmap is needed.
10420 * sysdeps/generic/malloc-sysdep.h: New file. Define
10421 new function check_may_shrink_heap.
10422 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
10423 new function check_may_shrink_heap.
10425 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10427 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
10430 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
10432 * catgets/test-gencat.sh: Add "set -e".
10433 * elf/tst-pathopt.sh: Likewise.
10434 * grp/tst_fgetgrent.sh: Likewise.
10435 * iconvdata/run-iconv-test.sh: Likewise.
10436 * intl/tst-gettext.sh: Likewise.
10437 * intl/tst-gettext2.sh: Likewise.
10438 * intl/tst-gettext4.sh: Likewise.
10439 * intl/tst-gettext6.sh: Likewise.
10440 * intl/tst-translit.sh: Likewise.
10441 * io/ftwtest-sh: Likewise.
10442 * libio/test-freopen.sh: Likewise.
10443 * malloc/tst-mtrace.sh: Likewise.
10444 * posix/globtest.sh: Likewise.
10445 * posix/tst-getconf.sh: Likewise.
10446 * posix/wordexp-tst.sh: Likewise.
10447 * stdio-common/tst-printf.sh: Likewise.
10448 * stdio-common/tst-unbputc.sh: Likewise.
10449 * stdlib/tst-fmtmsg.sh: Likewise.
10450 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10451 * catgets/Makefile: Do not specify -e option when running
10452 testsuite shell scripts.
10453 * elf/Makefile: Likewise.
10454 * grp/Makefile: Likewise.
10455 * iconvdata/Makefile: Likewise.
10456 * intl/Makefile: Likewise.
10457 * io/Makefile: Likewise.
10458 * libio/Makefile: Likewise.
10459 * malloc/Makefile: Likewise.
10460 * posix/Makefile: Likewise.
10461 * stdio-common/Makefile: Likewise.
10462 * stdlib/Makefile: Likewise.
10463 * sysdeps/x86_64/Makefile: Likewise.
10465 * io/ftwtest-sh: Add copyright header.
10466 * posix/globtest.sh: Likewise.
10467 * posix/tst-getconf.sh: Likewise.
10468 * posix/wordexp-tst.sh: Likewise.
10469 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10471 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
10474 * Makeconfig (+link): Defined as $(+link-static) if
10475 $(build-shared) isn't yes.
10476 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
10478 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
10480 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
10483 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
10484 new chunk size with MALLOC_ALIGN_MASK.
10486 2012-09-24 Joseph Myers <joseph@codesourcery.com>
10489 * stdio-common/printf_fphex.c: Include <stdbool.h> and
10491 (__printf_fphex): Determine rounding using get_rounding_mode and
10493 * stdio-common/tst-printf-round.c (struct hex_test): New
10495 (hex_tests): New variable.
10496 (test_hex_in_one_mode): New function.
10497 (do_test): Also run tests for hex float output.
10499 2012-09-21 Joseph Myers <joseph@codesourcery.com>
10501 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10502 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10503 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
10504 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10505 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10506 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
10507 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10508 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10510 2012-09-20 Joseph Myers <joseph@codesourcery.com>
10512 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
10513 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
10514 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
10515 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
10517 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
10520 * elf/rtld.c (dl_main): Limit the check for self loading to normal
10522 * elf/tst-rtld-load-self.sh: New test.
10523 * elf/Makefile: Run it.
10525 2012-09-18 Joseph Myers <joseph@codesourcery.com>
10527 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
10528 (tst-writev-ENV): Remove.
10529 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
10531 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
10533 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
10535 2012-09-17 Joseph Myers <joseph@codesourcery.com>
10537 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
10539 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
10541 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
10542 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
10543 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
10546 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
10549 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
10550 * config.make.in (have-cpp-asm-debuginfo): Removed.
10551 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
10552 * configure: Regenerated.
10554 2012-09-14 Joseph Myers <joseph@codesourcery.com>
10557 * stdio-common/printf_fp.c: Include <stdbool.h> and
10559 (___printf_fp): Determine rounding using get_rounding_mode and
10561 * stdio-common/tst-printf-round.c: New file.
10562 * stdio-common/Makefile (tests): Add tst-printf-round.
10563 (link-libm): New variable.
10564 ($(objpfx)tst-printf-round): Depend in $(link-libm).
10566 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
10569 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
10570 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
10572 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
10575 2012-09-13 Joseph Myers <joseph@codesourcery.com>
10577 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
10578 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10579 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10580 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10582 2012-09-12 Joseph Myers <joseph@codesourcery.com>
10585 * include/rounding-mode.h: New file.
10586 * sysdeps/generic/get-rounding-mode.h: Likewise.
10587 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
10588 * stdlib/strtod_l.c: Include <rounding-mode.h>.
10589 (MAX_VALUE): New macro.
10590 (MIN_VALUE): Likewise.
10591 (overflow_value): New function.
10592 (underflow_value): Likewise.
10593 (round_and_return): Use overflow_value and underflow_value to
10594 determine return values in overflow and underflow cases. Use
10595 round_away to determine rounding depending on rounding mode.
10596 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
10597 determine return values in overflow and underflow cases.
10598 * stdlib/tst-strtod-round.c: Include <fenv.h>.
10599 (struct test_results): New structure.
10600 (struct test): Use struct test_results to store expected results
10601 for all rounding modes.
10602 (TEST): Include expected results for all rounding modes.
10603 (test_in_one_mode): New function.
10604 (do_test): Use test_in_one_mode to compute and check results.
10605 Check results for all rounding modes.
10606 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
10609 2012-12-09 Allan McRae <allan@archlinux.org>
10611 * sysdeps/i386/fpu/libm-test-ulps: Update
10613 2012-09-11 Joseph Myers <joseph@codesourcery.com>
10615 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
10616 (_G_int32_t): Likewise.
10617 (_G_uint16_t): Likewise.
10618 (_G_uint32_t): Likewise.
10619 (_G_HAVE_BOOL): Likewise.
10620 (_G_HAVE_ATEXIT): Likewise.
10621 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10622 (_G_HAVE_IO_FILE_OPEN): Likewise.
10623 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
10624 (_G_int32_t): Likewise.
10625 (_G_uint16_t): Likewise.
10626 (_G_uint32_t): Likewise.
10627 (_G_HAVE_BOOL): Likewise.
10628 (_G_HAVE_ATEXIT): Likewise.
10629 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10630 (_G_HAVE_IO_FILE_OPEN): Likewise.
10631 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
10632 (_G_int32_t): Likewise.
10633 (_G_uint16_t): Likewise.
10634 (_G_uint32_t): Likewise.
10635 (_G_HAVE_BOOL): Likewise.
10636 (_G_HAVE_ATEXIT): Likewise.
10637 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10638 (_G_HAVE_IO_FILE_OPEN): Likewise.
10640 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
10642 * csu/libc-tls.c: Update copyright years.
10644 2012-09-10 Joseph Myers <joseph@codesourcery.com>
10646 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
10647 [!_G_USING_THUNKS]: Remove conditional code.
10648 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10649 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
10651 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10652 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10653 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10654 (_G_VTABLE_LABEL_PREFIX): Likewise.
10655 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10656 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10657 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10658 (_G_VTABLE_LABEL_PREFIX): Likewise.
10659 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10660 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10661 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10662 (_G_VTABLE_LABEL_PREFIX): Likewise.
10663 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10665 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
10667 * libio/Makefile: Include ../Makeconfig before tests.
10668 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10669 only if $(build-shared) is yes.
10671 * iconv/gconv_db.c: Update copyright years.
10673 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10675 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10676 unwind info if defined PIC. Fix special cases description.
10677 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10679 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10681 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10683 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
10685 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10687 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10690 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10691 (LDLIBS-tst-chk4): This.
10692 (LDFLAGS-tst-chk5): Renamed to ...
10693 (LDLIBS-tst-chk5): This.
10694 (LDFLAGS-tst-chk6): Renamed to ...
10695 (LDLIBS-tst-chk6): This.
10696 (LDFLAGS-tst-lfschk4): Renamed to ...
10697 (LDLIBS-tst-lfschk4): This.
10698 (LDFLAGS-tst-lfschk5): Renamed to ...
10699 (LDLIBS-tst-lfschk5): This.
10700 (LDFLAGS-tst-lfschk6): Renamed to ...
10701 (LDLIBS-tst-lfschk6): This.
10703 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10704 on $(common-objpfx)soversions.mk.
10706 2012-09-07 Joseph Myers <joseph@codesourcery.com>
10709 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10712 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10714 * malloc/arena.c (arena_get_retry): New function that gets
10715 another arena for the caller to try its request on.
10716 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10717 current arena cannot fulfill the request.
10718 (__libc_memalign): Likewise.
10719 (__libc_memalign): Likewise.
10720 (__libc_pvalloc): Likewise.
10721 (__libc_calloc): Likewise.
10723 2012-09-05 John Tobey <john.tobey@gmail.com>
10726 * manual/arith.texi (Operations on Complex): Fix description
10727 of carg branch cut.
10729 2012-09-06 Joseph Myers <joseph@codesourcery.com>
10732 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10736 * manual/memory.texi (Memory): Make order of menu items match
10739 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10741 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10742 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
10743 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10745 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10747 * csu/libc-tls.c (static_dtv): Renamed to ...
10748 (_dl_static_dtv): This. Make it global.
10749 (_dl_initial_dtv): Removed.
10750 (__libc_setup_tls): Updated.
10751 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10752 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10755 2012-09-06 Petr Machata <pmachata@redhat.com>
10757 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10758 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10759 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10760 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10762 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10765 * csu/libc-tls.c (_dl_initial_dtv): New variable.
10766 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10769 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10772 * Makeconfig (link-static-before-libc): Replace $(+prector)
10774 (link-static-after-libc): Replace $(+postctor) with
10776 (link-bounded): Replace $(+prector)/$(+postctor) with
10777 $(+prectorT)/$(+postctorT).
10778 (+prectorT): New macro.
10779 (+postctorT): Likewise.
10781 2012-09-06 Joseph Myers <joseph@codesourcery.com>
10783 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10784 (round_str): Handle values above the maximum for IBM long double
10786 * stdlib/tst-strtod-round.c (tests): Regenerated.
10788 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10790 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10792 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10793 zarch_nohighgprs around the zarch optimized routines.
10794 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10795 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10796 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10799 2012-09-05 David S. Miller <davem@davemloft.net>
10801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10803 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10804 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10805 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10806 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10809 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10811 * malloc/arena.c: Fold copyright years.
10812 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10814 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10816 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10818 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10820 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10822 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10824 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10825 change internal state upon failure.
10827 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10829 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10830 * malloc/memusage.c (mmap): Likewise.
10831 (mmap64, mremap): Likewise. Adjust name in comment.
10833 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10835 * libio/fileops.c: Fix typos in comments.
10836 * libio/oldfileops.c: Likewise.
10837 * libio/wfileops.c: Likewise.
10839 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10842 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10843 (tst-malloc-usable-ENV): Set environment for test case.
10844 * malloc/hooks.c (malloc_check_get_size): New function to get
10846 * malloc/malloc.c (musable): Use malloc_check_get_size.
10847 * malloc/tst-malloc-usable.c: New test case.
10849 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10851 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10853 2012-09-05 Allan McRae <allan@archlinux.org>
10856 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10857 determine header location.
10858 * configure: Regenerated.
10860 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10862 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10864 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
10865 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10867 (test): Regenerate.
10869 2012-09-04 David S. Miller <davem@davemloft.net>
10871 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10872 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10873 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10875 2012-09-04 Florian Weimer <fweimer@redhat.com>
10877 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10880 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10882 2012-09-04 Joseph Myers <joseph@codesourcery.com>
10885 * libio/iogetdelim.c: Include <limits.h>.
10886 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10887 + len + 1 would overflow.
10889 2012-09-03 Andreas Jaeger <aj@suse.de>
10891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10892 * sysdeps/i386/fpu/libm-test-ulps: Update.
10894 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10896 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10897 Add s_sinf-sse2, s_conf-sse2.
10899 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10900 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10901 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10902 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10904 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10905 for using routine as __sinf_ia32.
10906 Use macro for function declaration and weak_alias.
10907 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10908 for using routine as __cosf_ia32.
10909 Use macro for function declaration and weak_alias.
10911 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10912 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10914 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10915 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10918 * math/libm-test.inc (cos_test): Add more test cases.
10919 (sin_test): Likewise.
10920 (sincos_test): Likewise.
10922 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10924 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10925 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10927 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10929 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10932 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10933 first element of the GOT.
10934 (elf_machine_load_address): Return the difference between
10935 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10937 2012-09-01 Allan McRae <allan@archlinux.org>
10940 * configure.in (AWK): Require gawk version 3.0 or later.
10941 * configure: Regenerated.
10943 2012-09-01 Joseph Myers <joseph@codesourcery.com>
10945 * sysdeps/unix/sysv/linux/kernel-features.h
10946 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10947 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10948 [__NR_clock_getres]: Make code unconditional.
10949 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10950 (clock_getcpuclockid): Remove code left unreachable by removal of
10952 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10953 code unconditional.
10954 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10955 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10956 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10957 Make code unconditional.
10958 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10959 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10960 * sysdeps/unix/sysv/linux/clock_settime.c
10961 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10963 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10964 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10966 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10969 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10970 scripts/test-installation.pl.
10972 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10973 and $ld_so_version if it is set.
10975 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10978 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10979 failure if reading from procfs failed.
10980 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10982 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10984 * sysdeps/unix/sysv/linux/kernel-features.h
10985 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10986 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10987 Remove conditional code.
10988 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10989 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10990 Remove conditional code.
10991 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10992 * sysdeps/unix/sysv/linux/i386/fxstat.c
10993 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10994 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10995 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10996 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10997 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10998 * sysdeps/unix/sysv/linux/i386/lxstat.c
10999 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11000 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11001 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11002 Remove conditional code.
11003 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11004 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11005 Remove conditional code.
11006 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11007 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11008 <kernel-features.h>.
11009 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11011 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11012 Remove conditional code.
11013 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11014 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11015 Remove conditional.
11017 2012-08-27 Mike Frysinger <vapier@gentoo.org>
11020 * NEWS: Add fixed bug number.
11022 2012-08-27 Joseph Myers <joseph@codesourcery.com>
11025 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11026 underflowing exponent in case of negative sign.
11027 * stdlib/tst-strtod-round-data: Add more tests.
11028 * stdlib/tst-strtod-round.c (tests): Regenerated.
11031 * stdlib/strtod_l.c (NDIG): Remove.
11032 (HEXNDIG): Likewise.
11033 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11034 smallest representable value.
11035 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11036 lie within an exact representation of 1/2 ulp of the result.
11037 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11039 (TENS_P9_IDX): Define unconditionally.
11040 (TENS_P9_SIZE): Likewise.
11041 (TENS_P10_IDX): Likewise.
11042 (TENS_P10_SIZE): Likewise.
11043 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11044 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11045 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11046 entries for 10^2^13 and 10^2^14.
11047 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11048 (TENS_P13_IDX): Define.
11049 (TENS_P13_SIZE): Likewise.
11050 (TENS_P14_IDX): Likewise.
11051 (TENS_P14_SIZE): Likewise.
11052 (_fpioconst_pow10): Change array size to
11053 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11055 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11056 1024]: Add entries for 10^2^13 and 10^2^14.
11057 [LAST_POW10 > _LAST_POW10]: Remove #error.
11058 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11059 (_fpioconst_pow10): Change array size to
11060 FPIOCONST_POW10_ARRAY_SIZE.
11061 * stdlib/gen-fpioconst.c: New file.
11062 * stdlib/gen-tst-strtod-round.c: Likewise.
11063 * stdlib/tst-strtod-round-data: Likewise.
11064 * stdlib/tst-strtod-round.c: Likewise.
11065 * stdlib/Makefile (tests): Add tst-strtod-round.
11068 * stdlib/strtod_l.c: Include <stdint.h>.
11069 (NDEBUG): Do not define.
11070 (round_and_return): Change EXPONENT parameter to type intmax_t.
11071 Rearrange calculations to avoid internal overflow possibilities.
11072 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11073 Rearrange calculations to avoid internal overflow possibilities.
11074 Assert that number fits inside MPNSIZE limbs.
11075 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11076 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11077 calculations and add assertions to avoid internal overflow
11078 possibilities. Add casts to avoid signed/unsigned operations.
11079 * stdlib/tst-strtod-overflow.c: New file.
11080 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11082 2012-08-25 Marek Polacek <polacek@redhat.com>
11084 * time/time.h: Fix some typos in comments.
11086 2012-08-23 Roland McGrath <roland@hack.frob.com>
11088 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11089 * posix/tst-rfc3484-2.c: Likewise.
11090 * posix/tst-rfc3484-3.c: Likewise.
11092 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11094 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11095 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11097 2012-08-23 Joseph Myers <joseph@codesourcery.com>
11099 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11100 #include of fxstatat64.c.
11102 2012-08-22 Roland McGrath <roland@hack.frob.com>
11104 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11105 * shadow/getspent_r.c: Likewise.
11106 * shadow/getspnam.c: Likewise.
11107 * shadow/getspnam_r.c: Likewise.
11108 * gshadow/getsgent.c: Likewise.
11109 * gshadow/getsgent_r.c: Likewise.
11110 * gshadow/getsgnam.c: Likewise.
11111 * gshadow/getsgnam_r.c: Likewise.
11112 * inet/getnetbyad.c: Likewise.
11113 * inet/getnetbyad_r.c: Likewise.
11114 * inet/getnetbynm.c: Likewise.
11115 * inet/getnetbynm_r.c: Likewise.
11116 * inet/getnetent.c: Likewise.
11117 * inet/getnetent_r.c: Likewise.
11118 * inet/getproto.c: Likewise.
11119 * inet/getproto_r.c: Likewise.
11120 * inet/getprtent.c: Likewise.
11121 * inet/getprtent_r.c: Likewise.
11122 * inet/getprtname.c: Likewise.
11123 * inet/getprtname_r.c: Likewise.
11124 * inet/getrpcbyname.c: Likewise.
11125 * inet/getrpcbyname_r.c: Likewise.
11126 * inet/getrpcbynumber.c: Likewise.
11127 * inet/getrpcbynumber_r.c: Likewise.
11128 * inet/getrpcent.c: Likewise.
11129 * inet/getrpcent_r.c: Likewise.
11130 * inet/getaliasent.c: Likewise.
11131 * inet/getaliasent_r.c: Likewise.
11132 * inet/getaliasname.c: Likewise.
11133 * inet/getaliasname_r.c: Likewise.
11134 * nscd/getgrgid_r.c: Likewise.
11135 * nscd/getgrnam_r.c: Likewise.
11136 * nscd/gethstbyad_r.c: Likewise.
11137 * nscd/gethstbynm3_r.c: Likewise.
11138 * nscd/getpwnam_r.c: Likewise.
11139 * nscd/getpwuid_r.c: Likewise.
11140 * nscd/getsrvbynm_r.c: Likewise.
11141 * nscd/getsrvbypt_r.c: Likewise.
11142 * nscd/gai.c: Likewise.
11144 * configure.in (build_nscd): New substituted variable, set
11145 by --disable-build-nscd and defaults to $use_nscd.
11146 * configure: Regenerated.
11147 * config.make.in (build-nscd): New substituted variable.
11148 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11149 Change conditional to require [$(build-nscd) = yes] as well.
11150 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11153 * configure.in (use_nscd): New substituted variable, set by
11154 --disable-nscd. If enabled, define USE_NSCD.
11155 * configure: Regenerated.
11156 * config.h.in: Add USE_NSCD.
11157 * config.make.in (use-nscd): New substituted variable.
11158 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11159 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11160 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11161 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11162 (CFLAGS-getgrnam_r.c): Likewise.
11163 (CFLAGS-initgroups.c): Likewise.
11164 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11165 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11167 * inet/getnetgrent_r.c
11168 (nscd_setnetgrent): New function, broken out of ...
11169 (setnetgrent): ... here. Call it.
11170 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11171 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11172 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11173 * nscd/Makefile (routines, aux): Move definitions after include of
11174 Makeconfig. Conditionalize on [$(use-nscd) != no].
11175 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11176 Conditionalize on [USE_NSCD].
11177 (is_nscd, nscd_init_cb): Likewise.
11178 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11179 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11180 * nss/nss_db/db-init.c: Likewise.
11181 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11183 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11184 (make_request): Use it.
11185 (cache_valid_p): New function.
11186 (__check_pf): Use it.
11187 * NEWS: Add item for --disable-nscd.
11189 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11191 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11192 to support sed >= 4.2.1-20-ga9bf076.
11193 * configure: Regenerated.
11195 2012-08-22 Roland McGrath <roland@hack.frob.com>
11197 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11198 Conditionalize whole body on [IREL].
11200 2012-08-22 Jeff Law <law@redhat.com>
11203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11204 if the family is PF_UNSPEC.
11206 2012-08-22 Mike Frysinger <vapier@gentoo.org>
11208 * Makerules (lib-version): Rename from V.
11209 (install-lib-nosubdir): Change V to lib-version.
11211 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11214 * powerpc32/power6/wcschr.c: New file.
11215 * powerpc32/power6/wcscpy.c: New file.
11216 * powerpc32/power6/wcsrchr.c: New file.
11217 * powerpc64/power6/wcschr.c: New file.
11218 * powerpc64/power6/wcscpy.c: New file.
11219 * powerpc64/power6/wcsrchr.c: New file.
11221 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11223 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11224 (two_way_short_needle): Use it.
11225 * string/strstr.c (AVAILABLE1_USES_J): Define.
11226 * string/strcasestr.c: Likewise.
11228 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11230 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11233 * NEWS: Add an entry.
11234 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11235 define their defaults.
11236 (two_way_short_needle): Detect end-of-string on-the-fly.
11237 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11238 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11239 * string/bug-strcasestr1.c: New test.
11240 * string/Makefile: Run it.
11242 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11245 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11246 the first character.
11248 2012-08-21 Roland McGrath <roland@hack.frob.com>
11250 * csu/elf-init.c (__libc_csu_irel): Function removed.
11251 * csu/libc-start.c (apply_irel): New function.
11252 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11254 2012-08-21 Joseph Myers <joseph@codesourcery.com>
11256 * sysdeps/unix/sysv/linux/kernel-features.h
11257 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11258 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11259 <kernel-features.h>.
11260 [__NR_fadvise64_64]: Make code unconditional.
11261 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11262 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11263 !__NR_fadvise64_64)]: Likewise.
11264 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11265 !__NR_fadvise64_64))]: Likewise.
11266 [__NR_fadvise64]: Make code unconditional.
11267 [!__NR_fadvise64]: Remove conditional code.
11268 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11269 <kernel-features.h>.
11270 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11272 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11275 not include <kernel-features.h>.
11276 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11278 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11280 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11281 include <kernel-features.h>.
11282 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11284 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11287 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11289 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11290 slight instruction rearrangements per scrollpipe analysis.
11291 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11293 2012-08-20 Roland McGrath <roland@hack.frob.com>
11295 * manual/syslog.texi (syslog; vsyslog, closelog):
11296 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11297 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11299 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11300 DSOCAPS to match condition on defining it.
11302 2012-08-20 Joseph Myers <joseph@codesourcery.com>
11304 * sysdeps/unix/sysv/linux/kernel-features.h
11305 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11307 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11308 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11310 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11311 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11313 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11314 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11316 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11317 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11319 * sysdeps/unix/sysv/linux/kernel-features.h
11320 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11321 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11323 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11324 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11325 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11326 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11327 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11328 Make code unconditional.
11329 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11330 (__mmap64) [!__NR_mmap2]: Likewise.
11331 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11332 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11333 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11334 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11335 [__NR_mmap2]: Make code unconditional.
11336 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11337 (__mmap64) [!__NR_mmap2]: Likewise.
11339 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11341 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11343 2012-08-18 Andreas Jaeger <aj@suse.de>
11345 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11347 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11349 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11350 * include/unistd.h (__have_sock_cloexec): Likewise.
11351 (__have_pipe2): Likewise.
11352 (__have_dup3): Likewise.
11354 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11357 * include/unistd.h (__have_pipe2): Change define into an extern int.
11358 (__have_dup3): Likewise.
11359 * socket/have_sock_cloexec.c: Include fcntl.h.
11360 (__have_pipe2): New variable.
11361 (__have_dup3): Likewise.
11363 2012-08-17 Mike Frysinger <vapier@gentoo.org>
11365 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11367 2012-08-17 Marek Polacek <polacek@redhat.com>
11369 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11370 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11372 2012-08-17 Roland McGrath <roland@hack.frob.com>
11374 * configure.in: Add AC_SUBST for sysheaders.
11375 * configure: Regenerated.
11376 * config.make.in (sysheaders): New substituted variable.
11378 * sysdeps/unix/mkfifo.c: Moved ...
11379 * sysdeps/posix/mkfifo.c: ... here.
11380 * sysdeps/unix/mkfifoat.c: Moved ...
11381 * sysdeps/posix/mkfifoat.c: ... here.
11383 * sysdeps/unix/utime.c: Moved ...
11384 * sysdeps/posix/utime.c: ... here.
11386 * sysdeps/unix/time.c: Moved ...
11387 * sysdeps/posix/time.c: ... here.
11388 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11389 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
11391 * sysdeps/unix/nice.c: Moved ...
11392 * sysdeps/posix/nice.c: ... here.
11394 * sysdeps/unix/alarm.c: Moved ...
11395 * sysdeps/posix/alarm.c: ... here.
11397 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11399 2012-08-17 Jeff Law <law@redhat.com>
11401 * intl/Makefile (codeset_mo): New variable.
11402 ($(codeset_mo)): New target.
11403 (tst-codeset.out): Depend on that. Remove explicit rule.
11404 (tst-gettext3.out, tst-gettext5.out): Likewise.
11405 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11406 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11407 * intl/tst-codeset.sh: Remove.
11408 * intl/tst-gettext3.sh: Likewise.
11409 * intl/tst-gettext5.sh: Likewise.
11411 2012-08-17 Roland McGrath <roland@hack.frob.com>
11413 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
11414 * sysdeps/unix/syscalls.list: ... here.
11416 * sysdeps/posix/getaddrinfo.c
11417 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11418 (gaiconf_init, gaiconf_reload): Use them.
11419 [!_STATBUF_ST_NSEC]
11420 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11421 Define using time_t rather than struct timespec.
11423 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11424 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
11426 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
11428 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
11429 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
11432 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
11433 __libc_cleanup_push argument.
11435 * bits/param.h: New file.
11436 * misc/sys/param.h: New file.
11437 * include/sys/param.h: New file.
11438 * misc/Makefile (headers): Add bits/param.h.
11439 * sysdeps/generic/sys/param.h: File removed.
11440 * sysdeps/unix/sysv/linux/bits/param.h: New file.
11441 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
11442 * sysdeps/mach/hurd/bits/param.h: New file.
11443 * sysdeps/mach/hurd/sys/param.h: File removed.
11445 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
11448 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
11450 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
11451 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
11454 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
11455 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
11456 rather than -D_IO_MTSAFE_IO conditionally.
11457 * stdio-common/Makefile (CPPFLAGS): Likewise.
11458 * wcsmbs/Makefile (CPPFLAGS): Likewise.
11459 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
11460 Use $(libio-mtsafe).
11461 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
11462 of -D_IO_MTSAFE_IO.
11463 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
11464 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
11465 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
11466 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
11467 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
11468 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
11469 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
11470 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
11471 (CFLAGS-fread_u_chk.c): Likewise.
11472 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
11473 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
11474 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
11475 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
11476 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
11477 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
11478 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
11479 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
11480 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
11482 * libio/Makefile: Test [$(libc-reentrant) = yes]
11483 instead of [$(filter %REENTRANT, $(defines)) nonempty].
11486 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
11487 * sysdeps/pthread/configure: File removed.
11488 * sysdeps/pthread/Makeconfig: New file.
11489 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
11490 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
11492 2012-08-16 Gary Benson <gbenson@redhat.com>
11494 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
11495 unmapping the first object in a namespace.
11497 2012-08-16 Roland McGrath <roland@hack.frob.com>
11499 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
11500 (__internal_setnetgrent): ... this. Add internal_function to
11501 definition. Add libc_hidden_def.
11502 (setnetgrent): Update caller.
11503 (internal_endnetgrent): Renamed to ...
11504 (__internal_endnetgrent): ... this. Add internal_function to
11505 definition. Add libc_hidden_def.
11506 (endnetgrent): Update caller.
11507 (internal_getnetgrent_r): Renamed to ...
11508 (__internal_getnetgrent_r): ... this. Add internal_function to
11509 definition. Add libc_hidden_def.
11510 (__getnetgrent_r): Update caller.
11511 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
11513 2012-08-16 Joseph Myers <joseph@codesourcery.com>
11515 * stdlib/longlong.h: Update from GCC.
11517 2012-08-16 Roland McGrath <roland@hack.frob.com>
11519 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
11520 on _QL, which is set by umul_ppmm but never used.
11521 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
11522 variables, which are set by GMP macros but never used.
11523 * stdio-common/_itowa.c (_itowa): Likewise.
11524 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
11525 * stdlib/mod_1.c (mpn_mod_1): Likewise.
11527 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
11529 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
11530 struct La_sh_regs is not constant.
11531 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
11532 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
11533 and struct La_sparc64_regs are not constant.
11535 2012-08-16 Joseph Myers <joseph@codesourcery.com>
11537 * sysdeps/unix/sysv/linux/kernel-features.h
11538 (__ASSUME_POSIX_TIMERS): Remove.
11539 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11540 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11541 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
11542 Make code unconditional.
11543 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11544 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
11545 Make code unconditional.
11546 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11547 * sysdeps/unix/sysv/linux/clock_nanosleep.c
11548 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
11549 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11550 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
11551 Make code unconditional.
11552 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11553 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
11554 (__libc_missing_posix_timers): Remove.
11556 2012-08-15 Roland McGrath <roland@hack.frob.com>
11558 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
11559 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
11561 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
11563 * elf/dl-sym.c: Include <stdlib.h>.
11565 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
11566 constants, which avoids warnings in 32-bit builds.
11568 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
11569 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
11571 * misc/lseek.c: File moved to ...
11572 * io/lseek.c: ... here.
11574 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
11576 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
11577 shifting LEN more than 31 bits at once.
11579 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11582 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
11583 segmentation fault for a case of two empty input strings.
11584 * string/test-strncasecmp.c (check1): Renamed to...
11585 (bz12205): ...this.
11586 (bz14195): Add new testcase for two empty input strings and N > 0.
11587 (test_main): Call new testcase, adapt for renamed function.
11589 2012-08-15 Andreas Jaeger <aj@suse.de>
11592 * crypt/md5test2.c: New test, based on test supplied by Serge
11593 Belyshev <belyshev@depni.sinp.msu.ru>.
11594 * crypt/Makefile (xtests): Add md5test-giant..
11595 * crypt/Makefile ($(objpfx)md5test-giant): Add.
11597 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
11600 * crypt/md5.c (md5_process_block): Don't assume the buffer
11601 length is less than 2**32.
11602 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
11603 length is less than 2**64.
11605 2012-08-15 Roland McGrath <roland@hack.frob.com>
11607 * string/str-two-way.h: Include <sys/param.h>.
11608 (MAX): Macro removed.
11610 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
11611 Move #define and #undef of memmove to just before and after
11612 including <string.h>.
11614 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
11615 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
11616 and after including <string.h>. Move declarations of
11617 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
11618 to before #include "string/memmove.c".
11620 * include/dirent.h: Declare __getdirentries.
11622 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
11623 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
11625 2012-08-14 Mike Frysinger <vapier@gentoo.org>
11627 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
11628 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
11629 * sysdeps/i386/configure: Regenerated.
11630 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
11631 STABS_CURRENT_FILE, and STABS_FUN.
11632 (END): Remove call to STABS_FUN_END.
11633 (STABS_CURRENT_FILE1): Delete.
11634 (STABS_CURRENT_FILE): Likewise.
11635 (STABS_FUN): Likewise.
11636 (STABS_FUN_END): Likewise.
11637 (STABS_FUN2): Likewise.
11638 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
11639 * sysdeps/x86_64/configure: Regenerated.
11641 2012-08-14 Roland McGrath <roland@hack.frob.com>
11643 * elf/dl-open.c: Include <atomic.h>.
11644 * elf/dl-lookup.c: Likewise.
11646 2012-08-14 Joseph Myers <joseph@codesourcery.com>
11648 * sysdeps/unix/sysv/linux/kernel-features.h
11649 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
11650 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11652 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11654 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11655 condition on __ASSUME_CLONE_THREAD_FLAGS.
11657 2012-08-14 Andreas Jaeger <aj@suse.de>
11659 * sysdeps/i386/fpu/libm-test-ulps: Update.
11661 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
11663 * include/atomic.h (atomic_exchange_and_add): Split into ...
11664 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11667 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
11669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11671 2012-08-13 Jeff Law <law@redhat.com>
11673 * manual/stdio.texi (snprintf): Clarify handling of the trailing
11674 null byte in the output string.
11676 2012-08-10 Joseph Myers <joseph@codesourcery.com>
11678 * sysdeps/unix/sysv/linux/kernel-features.h
11679 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11680 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11681 (__ASSUME_ARG_MAX_STACK_BASED): Define.
11682 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11683 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11684 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
11685 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11687 2012-08-09 Jeff Law <law@redhat.com>
11690 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11691 When avoid_arena is set, don't retry in the that arena. Pick the
11692 next one, whatever it might be.
11693 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11694 (arena_lock): Pass in new parameter to arena_get2.
11695 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11697 (__libc_malloc): Unify retrying after main arena failure with
11698 __libc_memalign version.
11699 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11701 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
11704 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11705 to __redirect_strstr.
11706 (__strstr_sse42): Use typeof __redirect_strstr.
11707 (__strstr_ia32): Likewise.
11708 (__libc_strstr): New prototype.
11709 (strstr): Renamed to ...
11710 (__libc_strstr): This.
11711 (strstr): New strong alias of __libc_strstr.
11712 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11713 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11716 (__libc_time): New prototype.
11717 (time_ifunc): Replace time with __libc_time.
11718 (time): New strong alias and hidden definition of __libc_time.
11719 (__GI_time): Remove strong alias.
11720 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11721 Include <stddef.h>.
11722 (memmove): Redefined to __redirect_memmove.
11723 (__memmove_sse2): Use typeof __redirect_memmove.
11724 (__memmove_ssse3): Likewise.
11725 (__memmove_ssse3_back): Likewise.
11726 (__libc_memmove): New prototype.
11727 (memmove): Renamed to ...
11728 (__libc_memmove): This.
11729 (memmove): New strong alias of __libc_memmove.
11731 2012-08-08 Mark Salter <msalter@redhat.com>
11734 (R_MN10300_TLS_GD): Define.
11735 (R_MN10300_TLS_LD): Likewise.
11736 (R_MN10300_TLS_LDO): Likewise.
11737 (R_MN10300_TLS_GOTIE): Likewise.
11738 (R_MN10300_TLS_IE): Likewise.
11739 (R_MN10300_TLS_LE): Likewise.
11740 (R_MN10300_TLS_DTPMOD): Likewise.
11741 (R_MN10300_TLS_DTPOFF): Likewise.
11742 (R_MN10300_TLS_TPOFF): Likewise.
11743 (R_MN10300_SYM_DIFF): Likewise.
11744 (R_MN10300_ALIGN): Likewise.
11745 (R_MN10300_NUM): Update.
11747 2012-08-08 Joseph Myers <joseph@codesourcery.com>
11749 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11752 2012-08-08 Roland McGrath <roland@hack.frob.com>
11754 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11756 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11757 sysdeps/unix -> sysdeps/posix move.
11758 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11760 2012-08-07 Allan McRae <allan@archlinux.org>
11763 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11764 (SUNOS_CPP): Likewise.
11765 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11767 (open_input): Call CPP using execvp.
11769 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11771 * sysdeps/unix/sysv/linux/kernel-features.h
11772 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11773 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11774 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11775 (__ASSUME_WAITID_SYSCALL): Likewise.
11776 * sysdeps/unix/sysv/linux/dl-execstack.c
11777 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11778 code unconditional.
11779 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11781 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11782 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11783 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11785 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11787 [__ASSUME_WAITID_SYSCALL]: Likewise.
11788 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11790 2012-08-07 Roland McGrath <roland@hack.frob.com>
11792 * sysdeps/unix/closedir.c: Renamed to ...
11793 * sysdeps/posix/closedir.c: ... here.
11794 * sysdeps/unix/dirfd.c: Renamed to ...
11795 * sysdeps/posix/dirfd.c: ... here.
11796 * sysdeps/unix/dirstream.h: Renamed to ...
11797 * sysdeps/posix/dirstream.h: ... here.
11798 * sysdeps/unix/fdopendir.c: Renamed to ...
11799 * sysdeps/posix/fdopendir.c: ... here.
11800 * sysdeps/unix/opendir.c: Renamed to ...
11801 * sysdeps/posix/opendir.c: ... here.
11802 * sysdeps/unix/readdir.c: Renamed to ...
11803 * sysdeps/posix/readdir.c: ... here.
11804 * sysdeps/unix/readdir_r.c: Renamed to ...
11805 * sysdeps/posix/readdir_r.c: ... here.
11806 * sysdeps/unix/rewinddir.c: Renamed to ...
11807 * sysdeps/posix/rewinddir.c: ... here.
11808 * sysdeps/unix/seekdir.c: Renamed to ...
11809 * sysdeps/posix/seekdir.c: ... here.
11810 * sysdeps/unix/telldir.c: Renamed to ...
11811 * sysdeps/posix/telldir.c: ... here.
11812 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11813 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11814 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11815 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11817 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11818 * bits/fcntl.h: ... here.
11820 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11822 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11823 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11824 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11825 (struct flock): Move l_start, l_len to the beginning.
11826 Use __pid_t for l_pid.
11827 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11828 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11829 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11830 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11831 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11832 [__USE_LARGEFILE64] (struct flock64): New type.
11833 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11835 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11836 * bits/dirent.h: ... here.
11838 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11839 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11841 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11843 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11844 Change from 2.6.0 to 2.6.16.
11845 * sysdeps/unix/sysv/linux/configure: Regenerated.
11846 * sysdeps/unix/sysv/linux/kernel-features.h
11847 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11848 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11850 (__ASSUME_UTIMES): Likewise.
11851 (__ASSUME_CLONE_STOPPED): Remove.
11852 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11853 architectures, not kernel version.
11854 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11855 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11856 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11857 (__ASSUME_WAITID_SYSCALL): Likewise.
11858 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11859 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11860 * README: State 2.6.16 as minimum Linux kernel version. Do not
11861 refer to older versions.
11863 2012-08-06 Roland McGrath <roland@hack.frob.com>
11865 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11866 Define alphasort64 as an alias.
11867 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11868 Define versionsort64 as an alias.
11869 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11870 Define scandir64 as an alias.
11871 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11872 Define scandirat64 as an alias.
11873 * dirent/alphasort64.c (alphasort64):
11874 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11875 * dirent/versionsort64.c: Likewise.
11876 * dirent/scandir64.c: Likewise.
11877 * dirent/scandirat64.c: Likewise.
11878 * sysdeps/wordsize-64/alphasort.c: File removed.
11879 * sysdeps/wordsize-64/alphasort64.c: File removed.
11880 * sysdeps/wordsize-64/scandir.c: File removed.
11881 * sysdeps/wordsize-64/scandir64.c: File removed.
11882 * sysdeps/wordsize-64/scandirat.c: File removed.
11883 * sysdeps/wordsize-64/scandirat64.c: File removed.
11884 * sysdeps/wordsize-64/versionsort.c: File removed.
11885 * sysdeps/wordsize-64/versionsort64.c: File removed.
11886 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11887 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11888 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11889 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11890 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11891 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11892 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11893 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11895 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11896 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11897 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11898 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11899 [defined __arch64__ || defined __sparcv9]
11900 (__INO_T_MATCHES_INO64_T): New macro.
11901 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11902 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11903 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11904 * sysdeps/unix/sysv/linux/bits/dirent.h
11905 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11906 (_DIRENT_MATCHES_DIRENT64): New macro.
11908 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11909 Define lockf64 as an alias.
11910 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11911 Define fseeko64 as an alias.
11912 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11913 Define ftello64 as an alias.
11914 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11915 Define _IO_fgetpos64 and fgetpos64 as aliases.
11916 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11917 Define _IO_fsetpos64 and fsetpos64 as aliases.
11918 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11919 Conditionalize body on this.
11920 * libio/fseeko64.c: Likewise.
11921 * libio/ftello64.c: Likewise.
11922 * libio/iofgetpos64.c: Likewise.
11923 * libio/iofsetpos64.c: Likewise.
11924 * sysdeps/wordsize-64/lockf.c: File removed.
11925 * sysdeps/wordsize-64/lockf64.c: File removed.
11926 * sysdeps/wordsize-64/fseeko.c: File removed.
11927 * sysdeps/wordsize-64/fseeko64.c: File removed.
11928 * sysdeps/wordsize-64/ftello.c: File removed.
11929 * sysdeps/wordsize-64/ftello64.c: File removed.
11930 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11931 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11932 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11933 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11934 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11935 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11936 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11937 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11938 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11939 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11940 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11941 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11942 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11943 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11945 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11947 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11948 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11949 [defined __arch64__ || defined __sparcv9]
11950 (__OFF_T_MATCHES_OFF64_T): New macro.
11951 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11952 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11954 (__OFF_T_MATCHES_OFF64_T): New macro.
11956 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11958 * stdlib/secure-getenv.c (__secure_getenv): Replace
11959 GLIBC_2_16 with GLIBC_2_17.
11961 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11963 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11964 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11966 2012-08-03 David S. Miller <davem@davemloft.net>
11968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11970 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11972 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11974 (__ASSUME_CORRECT_SI_PID): Likewise.
11975 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11976 (__ASSUME_TMPFS_NAME): Likewise.
11977 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11978 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11979 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11980 (HAVE_AUX_SECURE): Make definition unconditional.
11981 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11982 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11984 2012-08-03 Roland McGrath <roland@hack.frob.com>
11986 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11987 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11988 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11989 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11990 __eloop_threshold instead of SYMLOOP_MAX.
11992 * sysdeps/generic/eloop-threshold.h: New file.
11993 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11995 * elf/chroot_canon.c (chroot_canon): Likewise.
11997 2012-08-03 Joseph Myers <joseph@codesourcery.com>
12000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12001 Change to 2.6.0 everywhere.
12002 * sysdeps/unix/sysv/linux/configure: Regenerated.
12003 * sysdeps/unix/sysv/linux/kernel-features.h
12004 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12005 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12007 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12008 (__ASSUME_FUTEX_REQUEUE): Remove.
12009 (__ASSUME_STATFS64): Define unconditionally.
12010 (__ASSUME_AT_SECURE): Likewise.
12011 (__ASSUME_CORRECT_SI_PID): Likewise.
12012 (__ASSUME_TGKILL): Define without depending on kernel version for
12014 (__ASSUME_UTIMES): Likewise.
12015 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12017 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12018 (__ASSUME_TMPFS_NAME): Likewise.
12019 * README: Update reference to Linux kernel versions.
12021 2012-08-02 Marek Polacek <polacek@redhat.com>
12024 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12025 libc_cv_asm_type_prefix with %.
12026 * configure: Regenerated.
12027 * include/libc-symbols.h: Remove comment about
12028 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12029 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12030 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12031 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12032 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12033 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12034 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12035 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12036 * elf/tst-unique2mod1.c: Likewise.
12037 * elf/tst-unique1mod2.c: Likewise.
12038 * elf/tst-unique1mod1.c: Likewise.
12039 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12040 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12041 Replace ASM_TYPE_DIRECTIVE with .type.
12042 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12043 * sysdeps/i386/sysdep.h: Likewise.
12044 * sysdeps/x86_64/sysdep.h: Likewise.
12045 * sysdeps/sh/sysdep.h: Likewise.
12046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12047 Do not define ASM_TYPE_DIRECTIVE.
12048 * sysdeps/powerpc/sysdep.h: Likewise.
12049 * sysdeps/powerpc/powerpc32/sysdep.h:
12050 Replace ASM_TYPE_DIRECTIVE with .type.
12051 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12052 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12053 * sysdeps/i386/fpu/e_powf.S: Likewise.
12054 * sysdeps/i386/fpu/e_expl.S: Likewise.
12055 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12056 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12057 * sysdeps/i386/fpu/e_pow.S: Likewise.
12058 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12059 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12060 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12061 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12062 * sysdeps/i386/fpu/e_log2.S: Likewise.
12063 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12064 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12065 * sysdeps/i386/fpu/e_powl.S: Likewise.
12066 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12067 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12068 * sysdeps/i386/fpu/e_logl.S: Likewise.
12069 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12070 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12071 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12072 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12073 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12074 * sysdeps/i386/fpu/e_log.S: Likewise.
12075 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12076 * sysdeps/i386/fpu/e_logf.S: Likewise.
12077 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12078 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12079 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12080 * sysdeps/i386/fpu/e_log10.S: Likewise.
12081 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12082 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12083 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12084 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12085 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12086 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12087 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12088 * sysdeps/i386/i686/strtok.S: Likewise.
12089 * sysdeps/i386/i386-mcount.S: Likewise.
12090 * sysdeps/i386/strtok.S: Likewise.
12091 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12092 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12093 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12094 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12095 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12096 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12097 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12098 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12099 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12100 * sysdeps/x86_64/_mcount.S: Likewise.
12101 * sysdeps/x86_64/strtok.S: Likewise.
12102 * sysdeps/sh/_mcount.S: Likewise.
12104 2012-08-01 Roland McGrath <roland@hack.frob.com>
12106 * libio/iofopen.c: Include <fcntl.h>.
12107 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12108 (_IO_fopen64, fopen64): Define as aliases.
12109 * libio/iofopen64.c: Include <fcntl.h>.
12110 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12111 Conditionalize body on this.
12112 * sysdeps/wordsize-64/iofopen.c: File removed.
12113 * sysdeps/wordsize-64/iofopen64.c: File removed.
12115 2012-08-01 Marek Polacek <polacek@redhat.com>
12117 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12118 Use dlfcn directly instead of a variable.
12119 (binfmt-subdir): Do not define.
12122 2012-08-01 Joseph Myers <joseph@codesourcery.com>
12124 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12125 Remove all definitions.
12126 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12127 <kernel-features.h>.
12128 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12129 (miss_F_GETOWN_EX): Remove all definitions.
12130 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12132 [!__ASSUME_FCNTL64]: Remove conditional code.
12133 [__ASSUME_FCNTL64]: Make code unconditional.
12134 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12135 <kernel-features.h>.
12136 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12137 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12138 (lockf64) [__NR_fcntl64]: Make code unconditional.
12139 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12141 * sysdeps/unix/sysv/linux/kernel-features.h
12142 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12143 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12144 Make code unconditional.
12145 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12146 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12148 [__NR_vfork]: Make code unconditional.
12149 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12150 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12152 [__NR_vfork]: Make code unconditional.
12153 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12154 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12156 2012-08-01 Roland McGrath <roland@hack.frob.com>
12158 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12159 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12161 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12162 Define mkstemp64 as an alias.
12163 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12164 Define mkstemps64 as an alias.
12165 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12166 Define mkostemp64 as an alias.
12167 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12168 Define mkostemps64 as an alias.
12169 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12170 Conditionalize body on this.
12171 * misc/mkostemp64.c: Likewise.
12172 * misc/mkostemps64.c: Likewise.
12173 * misc/mkstemps64.c: Likewise.
12174 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12175 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12176 * sysdeps/wordsize-64/mkostemp.c: File removed.
12177 * sysdeps/wordsize-64/mkstemp.c: File removed.
12178 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12179 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12180 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12181 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12184 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12185 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12186 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12187 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12189 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12190 compat_symbol macros from <shlib-compat.h> rather than the underlying
12191 default_symbol_version and symbol_version macros, so that DEFAULT
12192 lines in shlib-versions are respected.
12193 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12195 2012-08-01 Florian Weimer <fweimer@redhat.com>
12197 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12198 Declare with warn_unused_result.
12199 (setgid, setregid, setegid, setresgid): Likewise.
12200 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12202 * WUR-REPORT: Remove set*id functions.
12204 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12206 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12208 2012-07-31 Roland McGrath <roland@hack.frob.com>
12211 * include/sys/socket.h (__libc_accept, __libc_accept4):
12212 Add attribute_hidden.
12213 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12215 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12217 * inet/getnetgrent_r.c (setup): Likewise.
12219 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12221 2012-07-31 David S. Miller <davem@davemloft.net>
12223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12225 2012-07-31 Joseph Myers <joseph@codesourcery.com>
12228 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12229 value between 1.0 and 2.0 and smaller part has absolute value less
12231 * math/s_clog10.c (__clog10): Likewise.
12232 * math/s_clog10f.c (__clog10f): Likewise.
12233 * math/s_clog10l.c (__clog10l): Likewise.
12234 * math/s_clogf.c (__clogf): Likewise.
12235 * math/s_clogl.c (__clogl): Likewise.
12236 * math/libm-test.inc (clog_test): Add more tests.
12237 (clog10_test): Likewise.
12238 * sysdeps/i386/fpu/libm-test-ulps: Update.
12239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12241 2012-07-31 Florian Weimer <fweimer@redhat.com>
12243 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12244 Exit with zero in case no suitable GID is found, and write a
12245 message to standard error.
12247 2012-07-30 Roland McGrath <roland@hack.frob.com>
12249 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12251 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12252 (MAXPATHLEN): Removed.
12253 (NOGROUP, NODEV): New macros.
12254 (setbit, clrbit, isset, isclr): New macros.
12255 (howmany, roundup, powerof2): New macros.
12256 (DEV_BSIZE): New macro.
12258 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12259 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12261 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12262 definition on [!__NO_LONG_DOUBLE_MATH].
12264 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12265 PTR_MANGLE and PTR_DEMANGLE.
12267 * socket/accept4.c (accept4): Rename to __libc_accept4.
12268 Define accept4 as a weak alias.
12270 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12271 on [_DIRENT_HAVE_D_TYPE].
12272 * io/ftw.c (ftw_dir): Likewise.
12274 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12276 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12278 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12279 Use the BSD numbers rather than the arbitrary ones we had.
12280 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12281 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12282 (SIGXCPU, SIGXFSZ): New macros.
12285 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12286 initializer on [_LIBC_REENTRANT].
12288 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12289 definitions inside [_POSIX_MAPPED_FILES].
12291 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12293 * dirent/opendir.c: Include <fcntl.h>.
12295 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12296 (__libc_getspecific): Likewise.
12297 (__libc_key_create): Likewise.
12299 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12300 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12301 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12302 (tmpfile64): Define as alias.
12303 * sysdeps/wordsize-64/tmpfile.c: File removed.
12304 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12305 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12306 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12308 * stdio-common/vfscanf.c: Include <stdbool.h>.
12309 * nss/makedb.c: Likewise.
12310 * stdio-common/_i18n_number.h: Likewise.
12311 * argp/argp-help.c: Likewise.
12312 * posix/wordexp.c: Likewise.
12313 * sysdeps/posix/spawni.c: Likewise.
12314 * nss/nss_files/files-initgroups.c: Likewise.
12315 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12316 * nss/nss_files/files-initgroups.c: Likewise.
12317 * nss/nss_db/db-netgrp.c: Likewise.
12318 * nss/nss_db/db-initgroups.c: Likewise.
12319 * io/fchmodat.c: Include <sys/stat.h>.
12321 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12322 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12324 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12327 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12328 Add multiple inclusion protection.
12330 2012-07-27 David S. Miller <davem@davemloft.net>
12332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12334 2012-07-27 Gary Benson <gbenson@redhat.com>
12337 * elf/rtld.c: Include <stap-probe.h>.
12338 (dl_main): Added static probes "init_start" and "init_complete".
12339 * elf/dl-load.c: Include <stap-probe.h>.
12340 (lose): Take new parameter "nsid".
12341 Added static probe "map_failed".
12342 (_dl_map_object_from_fd): Pass namespace id to lose.
12343 Added static probe "map_start".
12344 (open_verify): Pass namespace id to lose.
12345 * elf/dl-open.c: Include <stap-probe.h>.
12346 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12347 and "reloc_complete".
12348 * elf/dl-close.c: Include <stap-probe.h>.
12349 (_dl_close_worker): Added static probes "unmap_start" and
12351 * elf/rtld-debugger-interface.txt: New file documenting the above.
12353 2012-07-26 Roland McGrath <roland@hack.frob.com>
12355 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12356 rather than a string variable.
12357 * sunrpc/rpc_main.c (h_output): Likewise.
12358 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12360 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12362 * inet/check_native.c: New file.
12364 2012-07-26 Joseph Myers <joseph@codesourcery.com>
12367 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12368 if larger part has absolute value 1.0.
12369 * math/s_clog10.c (__clog10): Likewise.
12370 * math/s_clog10f.c (__clog10f): Likewise.
12371 * math/s_clog10l.c (__clog10l): Likewise.
12372 * math/s_clogf.c (__clogf): Likewise.
12373 * math/s_clogl.c (__clogl): Likewise.
12374 * math/libm-test.inc (clog_test): Add more tests.
12375 (clog10_test): Likewise.
12376 * sysdeps/i386/fpu/libm-test-ulps: Update.
12377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12379 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12380 (pltexit): Likewise.
12381 (La_regs): Likewise.
12382 (La_retval): Likewise.
12383 (int_retval): Likewise.
12384 Update #error for removed macros to refer only to definitions in
12386 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12388 (pltexit): Likewise.
12389 (La_regs): Likewise.
12390 (La_retval): Likewise.
12391 (int_retval): Likewise.
12392 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12394 (pltexit): Likewise.
12395 (La_regs): Likewise.
12396 (La_retval): Likewise.
12397 (int_retval): Likewise.
12398 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12400 (pltexit): Likewise.
12401 (La_regs): Likewise.
12402 (La_retval): Likewise.
12403 (int_retval): Likewise.
12404 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12406 (pltexit): Likewise.
12407 (La_regs): Likewise.
12408 (La_retval): Likewise.
12409 (int_retval): Likewise.
12410 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12412 (pltexit): Likewise.
12413 (La_regs): Likewise.
12414 (La_retval): Likewise.
12415 (int_retval): Likewise.
12416 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12418 (pltexit): Likewise.
12419 (La_regs): Likewise.
12420 (La_retval): Likewise.
12421 (int_retval): Likewise.
12422 * sysdeps/generic/tst-audit.h: Update comment to refer only to
12423 macro definitions in tst-audit.h.
12424 * sysdeps/i386/tst-audit.h: New file.
12425 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
12426 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
12427 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
12428 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
12429 * sysdeps/sh/tst-audit.h: Likewise.
12430 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
12431 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
12432 * sysdeps/x86_64/tst-audit.h: Likewise.
12434 2012-07-26 Andreas Jaeger <aj@suse.de>
12436 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
12439 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
12440 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
12441 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
12443 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
12444 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
12445 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
12447 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
12450 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
12452 (si_call_addr, si_syscall, si_arch): Define new macro.
12453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
12455 (si_call_addr, si_syscall, si_arch): Define new marcro.
12456 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
12458 (si_call_addr, si_syscall, si_arch): Define new macro.
12459 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
12461 (si_call_addr, si_syscall, si_arch): Define new macro.
12463 2012-07-25 Joseph Myers <joseph@codesourcery.com>
12466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12467 Change to 2.4.21 where previously 2.4.1.
12468 * sysdeps/unix/sysv/linux/configure: Regenerated.
12469 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
12470 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
12471 Linux kernel version.
12472 (__ASSUME_STD_AUXV): Remove.
12473 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
12475 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
12476 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
12477 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
12478 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
12479 (__ASSUME_NETLINK_SUPPORT): Likewise.
12480 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
12481 (__no_netlink_support): Remove conditional definition.
12482 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
12484 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12485 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
12486 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
12487 (if_nameindex_ioctl): Remove.
12488 (if_nameindex_netlink): Do not handle __no_netlink_support.
12489 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12491 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
12492 Remove conditional code.
12493 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12495 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
12497 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12498 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
12499 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
12501 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
12502 [!__ASSUME_STD_AUXV]: Remove conditional code.
12503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
12504 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
12505 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
12506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
12507 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
12508 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12510 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12512 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
12513 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12515 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12517 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12520 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
12523 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12524 code unconditional.
12525 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12527 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12529 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12532 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12534 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12537 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12538 code unconditional.
12539 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12541 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12543 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12546 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12547 code unconditional.
12548 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12550 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12552 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12555 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
12557 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
12558 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
12559 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12560 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
12561 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
12562 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12563 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12564 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12565 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
12566 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12567 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
12568 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
12569 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
12570 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12571 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12572 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
12573 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
12574 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
12575 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
12576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
12577 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
12578 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12579 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12581 2012-07-25 Florian Weimer <fweimer@redhat.com>
12583 * Versions.def: Add GLIBC_2.17.
12584 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
12585 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
12586 Introduce __libc_secure_getenv.
12587 * stdlib/Versions (2.17): Add secure_getenv
12588 (GLIBC_PRIVATE): Add __libc_secure_getenv.
12589 * stdlib/secure-getenv.c: Rename __secure_getenv to
12590 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
12591 symbol __secure_getenv for GLIBC_2.0.
12592 * stdlib/tst-secure-getenv.c: New.
12593 * stdlib/Makefile (tests): Add testcase.
12594 * manual/startup.texi (Environment Access): Document
12596 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
12597 __libc_secure_getenv.
12598 * inet/ruserpass.c (ruserpass): Likewise.
12599 * malloc/mtrace.c (mtrace): Likewise.
12600 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
12601 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12602 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
12603 * sysdeps/posix/tempname.c: Likewise. Evaluate
12604 HAVE_SECURE_GETENV.
12605 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
12606 __secure_getenv to __libc_secure_getenv.
12607 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
12608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12620 2012-07-25 Joseph Myers <joseph@codesourcery.com>
12622 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
12623 (struct La_i86_retval): Likewise.
12624 (struct La_x86_64_regs): Likewise.
12625 (struct La_x86_64_retval): Likewise.
12626 (struct La_x32_regs): Likewise.
12627 (struct La_x32_retval): Likewise.
12628 (struct La_ppc32_regs): Likewise.
12629 (struct La_ppc32_retval): Likewise.
12630 (struct La_ppc64_regs): Likewise.
12631 (struct La_ppc64_retval): Likewise.
12632 (struct La_sh_regs): Likewise.
12633 (struct La_sh_retval): Likewise.
12634 (struct La_s390_32_regs): Likewise.
12635 (struct La_s390_32_retval): Likewise.
12636 (struct La_s390_64_regs): Likewise.
12637 (struct La_s390_64_retval): Likewise.
12638 (struct La_sparc32_regs): Likewise.
12639 (struct La_sparc32_retval): Likewise.
12640 (struct La_sparc64_regs): Likewise.
12641 (struct La_sparc64_retval): Likewise.
12642 (struct audit_ifaces): Remove architecture-specific pltenter and
12644 * sysdeps/i386/ldsodefs.h: New file.
12645 * sysdeps/powerpc/ldsodefs.h: Likewise.
12646 * sysdeps/s390/ldsodefs.h: Likewise.
12647 * sysdeps/sh/ldsodefs.h: Likewise.
12648 * sysdeps/sparc/ldsodefs.h: Likewise.
12649 * sysdeps/x86_64/ldsodefs.h: Likewise.
12651 2012-07-25 Marek Polacek <polacek@redhat.com>
12654 * math/libm-test.inc (yn_test): Add another test.
12655 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12656 to ERANGE when the result is +-Inf.
12657 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12658 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12659 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12660 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12662 2012-07-24 Joseph Myers <joseph@codesourcery.com>
12664 * conform/data/time.h-data (NULL): Use macro-constant. Require
12666 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
12668 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
12670 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
12672 * configure.in <sysdeps resolving>: Correct printing
12674 * configure: Regenerate.
12676 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
12678 * math/w_ilogb.c: Include <limits.h>.
12679 * math/w_ilogbl.c: Likewise.
12681 2012-07-20 Joseph Myers <joseph@codesourcery.com>
12683 * manual/lang.texi (__va_copy): Document primarily as ISO C99
12684 va_copy. Document allowing for unavailable va_copy only as
12685 pre-C99 compatibility.
12686 * manual/string.texi (Copying and Concatenation): Use va_copy
12687 instead of __va_copy in concat example.
12689 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
12691 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12692 (__sendto): Use create_address_port. Initialize APORT and deallocate
12695 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12696 with O_NOLINK passed to __file_name_lookup.
12698 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12699 with O_NOLINK passed to __file_name_lookup.
12701 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12702 negative N or less than NGIDS.
12704 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12705 type to string_t. Set ERANGE as errno and return it if NAME is not big
12706 enough. Use memcpy instead of strncpy.
12708 2012-07-20 Joseph Myers <joseph@codesourcery.com>
12710 * elf/Makefile (check-data): Remove.
12711 (localplt.data): New vpath directive.
12712 ($(objpfx)check-localplt.out): Use localplt.data from vpath
12713 instead of $(check-data).
12714 * scripts/data/localplt-generic.data: Move to ...
12715 * sysdeps/generic/localplt.data: ... here.
12716 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12717 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12718 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12721 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12724 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12727 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12730 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12733 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12737 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12739 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12740 PPC32 and PPC64 files.
12741 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12742 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12744 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12746 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12747 __makecontext_ret to ...
12748 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12749 ... here and call exit if uc_link is NULL. New file.
12750 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12751 __makecontext_ret.S.
12752 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12753 __makecontext_ret to ...
12754 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12755 ... here and call exit if uc_link is NULL. New file.
12756 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12757 __makecontext_ret.S.
12759 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12761 * elf/elf.h (R_390_IRELATIVE): New definition.
12762 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12763 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
12764 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12765 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12766 (elf_machine_lazy_rel): Likewise.
12767 * sysdeps/s390/dl-irel.h: New file.
12768 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12769 * sysdeps/s390/s390-64/memset.S: New asm code.
12770 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12771 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12772 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12773 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12774 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12775 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12776 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12777 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12778 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12779 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12780 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12781 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12782 * sysdeps/s390/s390-32/memset.S: New asm code.
12783 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12785 2012-07-17 Marek Polacek <polacek@redhat.com>
12788 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12789 * sysdeps/s390/s390-64/configure.in: Likewise.
12790 * sysdeps/sparc/configure.in: Likewise.
12791 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12792 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12793 * sysdeps/i386/configure.in: Likewise.
12794 * sysdeps/x86_64/configure.in: Likewise.
12795 * sysdeps/sh/configure.in: Likewise.
12796 * sysdeps/s390/s390-32/configure: Regenerated.
12797 * sysdeps/s390/s390-64/configure: Likewise.
12798 * sysdeps/x86_64/configure: Likewise.
12799 * sysdeps/sh/configure: Likewise.
12800 * sysdeps/powerpc/powerpc64/configure: Likewise.
12801 * sysdeps/powerpc/powerpc32/configure: Likewise.
12802 * sysdeps/sparc/configure: Likwise.
12803 * sysdeps/i386/configure: Likewise.
12805 * elf/dl-open.c: Comment fixes.
12807 2012-07-17 Joseph Myers <joseph@codesourcery.com>
12809 * Makefile [CXX] (check-data): Remove.
12810 [CXX] (c++-types.data): New vpath directive.
12811 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12812 vpath. Do not allow for C++ type data being missing.
12813 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12814 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12815 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12816 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12817 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12818 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12819 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12822 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12825 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12828 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12831 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12834 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12837 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12840 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12843 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12844 definitions to architecture-specific files.
12845 (TLS_IE): Likewise.
12846 (TLS_LD): Likewise.
12847 (TLS_GD): Likewise.
12848 * sysdeps/i386/tls-macros.h: New file.
12849 * sysdeps/powerpc/tls-macros.h: Likewise.
12850 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12851 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12852 * sysdeps/sh/tls-macros.h: Likewise.
12853 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12854 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12855 * sysdeps/x86_64/tls-macros.h: Likewise.
12857 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12859 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12860 zero value for regular exit case.
12862 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12863 (__start_context): Preserve zero value for regular exit case.
12865 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12866 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12868 * manual/setjmp.texi (setcontext): Clarify normal process
12869 termination when uc_link is the null pointer.
12870 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12873 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12875 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12876 preprocessor. Test for each exception mask separately.
12878 2012-07-16 Andreas Jaeger <aj@suse.de>
12880 * po/ru.po: Update from translation team.
12882 2012-07-15 Joseph Myers <joseph@codesourcery.com>
12884 * conform/data/string.h-data (NULL): Use macro-constant. Require
12886 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12887 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12888 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12889 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12892 2012-07-13 Andreas Jaeger <aj@suse.de>
12894 * po/fr.po: Update from translation team.
12896 2012-07-12 Marek Polacek <polacek@redhat.com>
12899 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12900 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12903 2012-07-12 Joseph Myers <joseph@codesourcery.com>
12906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12907 Change to 2.4.1 where previously 2.4.0.
12908 * sysdeps/unix/sysv/linux/configure: Regenerated.
12909 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12910 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12912 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12913 (__ASSUME_AT_CLKTCK): Remove.
12914 (__ASSUME_AT_PAGESIZE): Likewise.
12915 (__ASSUME_AT_XID): Likewise.
12916 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12917 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12918 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12920 (HAVE_AUX_PAGESIZE): Likewise.
12921 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12922 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12923 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12925 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12929 the temporary buffer used to invoke __gethostbyname2_r,
12930 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12931 host_data / struct gaih_addrtuple.
12932 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12933 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12934 header file nss/nsswitch.h.
12935 * nss/nsswitch.h (global scope): Add definition of implementation
12936 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12937 resolv/nss_dns/dns-host.c).
12939 2012-07-11 Andreas Jaeger <aj@suse.de>
12941 * po/fr.po: Update from translation team.
12943 * po/sv.po: Update from translation team
12944 * po/fr.po: Another update from translation team.
12946 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12948 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12949 for subnormals or multiply small sinh result by itself.
12950 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12953 2012-07-11 David S. Miller <davem@davemloft.net>
12955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12957 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12960 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12961 (INTERNAL_MARK): Shift it here.
12963 2012-07-10 Marek Polacek <polacek@redhat.com>
12966 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12967 libc_cv_asm_global_directive with .globl.
12968 * configure: Regenerated.
12969 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12971 * sysdeps/i386/configure: Regenerated.
12972 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12974 * sysdeps/x86_64/configure: Regenerated.
12975 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12976 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12977 * elf/tst-unique2mod2.c: Likewise.
12978 * elf/tst-unique2mod1.c: Likewise.
12979 * elf/tst-unique1mod2.c: Likewise.
12980 * elf/tst-unique1mod1.c: Likewise.
12981 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12982 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12983 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12984 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12985 * sysdeps/mach/sysdep.h: Likewise.
12986 * sysdeps/i386/sysdep.h: Likewise.
12987 * sysdeps/i386/i386-mcount.S: Likewise.
12988 * sysdeps/x86_64/_mcount.S: Likewise.
12989 * sysdeps/x86_64/sysdep.h: Likewise.
12990 * sysdeps/sh/_mcount.S: Likewise.
12991 * sysdeps/sh/sysdep.h: Likewise.
12992 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12993 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12994 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12995 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12996 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12997 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12998 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12999 * locale/localeinfo.h: Likewise.
13000 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13001 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13003 2012-07-09 Roland McGrath <roland@hack.frob.com>
13006 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13008 * manual/message.texi (The Uniforum approach): Likewise.
13009 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13010 (glibc iconv Implementation): Likewise.
13012 2012-07-09 Joseph Myers <joseph@codesourcery.com>
13015 * math/s_clog.c (__clog): Avoid scaling a value down where that
13016 could result in underflow.
13017 * math/s_clog10.c (__clog10): Likewise.
13018 * math/s_clog10f.c (__clog10f): Likewise.
13019 * math/s_clog10l.c (__clog10l): Likewise.
13020 * math/s_clogf.c (__clogf): Likewise.
13021 * math/s_clogl.c (__clogl): Likewise.
13022 * math/libm-test.inc (clog_test): Add more tests.
13023 (clog10_test): Likewise.
13024 * sysdeps/i386/fpu/libm-test-ulps: Update.
13025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13027 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13030 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13031 by 7 not 8 to examine high bit of fractional part.
13034 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13035 for call to __mcount_internal.
13036 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13037 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13038 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13040 2012-07-06 Joseph Myers <joseph@codesourcery.com>
13043 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13044 approximation for values within 0x1p-13f of an odd multiple of
13046 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13047 exception. Add more tests.
13048 * sysdeps/i386/fpu/libm-test-ulps: Update.
13051 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13052 inputs and return -1 for them. Do not check for +Inf in case not
13053 reachable for +Inf.
13054 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13055 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13056 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13057 and return -1 for them. Do not check for +Inf in case not
13058 reachable for +Inf.
13059 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13061 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13062 and return -1 for them. Do not check for +Inf in case not
13063 reachable for +Inf.
13064 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13065 spurious underflow.
13066 * sysdeps/i386/fpu/libm-test-ulps: Update.
13067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13069 2012-07-06 Mike Frysinger <vapier@gentoo.org>
13071 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13073 2012-07-05 Joseph Myers <joseph@codesourcery.com>
13077 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13078 could result in spurious underflow. Scale down values above
13079 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13080 * math/s_csqrtf.c (__csqrtf): Likewise.
13081 * math/s_csqrtl.c (__csqrtl): Likewise.
13082 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13083 spurious underflow.
13084 * sysdeps/i386/fpu/libm-test-ulps: Update.
13085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13087 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13089 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13091 * catgets/xopen-msg.awk: New file.
13092 * catgets/xopen-msg.sed: Removed.
13094 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13096 * intl/po2test.awk: New file.
13097 * intl/po2test.sed: Removed.
13099 2012-07-04 Joseph Myers <joseph@codesourcery.com>
13102 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13103 or multiply small sinh result by itself.
13104 * math/s_ctanf.c (__ctanf): Likewise.
13105 * math/s_ctanh.c (__ctanh): Likewise.
13106 * math/s_ctanhf.c (__ctanhf): Likewise.
13107 * math/s_ctanhl.c (__ctanhl): Likewise.
13108 * math/s_ctanl.c (__ctanl): Likewise.
13109 * math/libm-test.inc (ctan_test_tonearest): New function.
13110 (ctan_test_towardzero): Likewise.
13111 (ctan_test_downward): Likewise.
13112 (ctan_test_upward): Likewise.
13113 (ctanh_test_tonearest): Likewise.
13114 (ctanh_test_towardzero): Likewise.
13115 (ctanh_test_downward): Likewise.
13116 (ctanh_test_upward): Likewise.
13117 (main): Call these new functions.
13118 * sysdeps/i386/fpu/libm-test-ulps: Update.
13119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13121 2012-07-03 Mike Frysinger <vapier@gentoo.org>
13123 * .gitignore: Delete /ports entry.
13125 2012-07-03 Andreas Jaeger <aj@suse.de>
13127 * po/bg.po: Update from translation team.
13128 * po/cs.po: Likewise.
13129 * po/de.po: Likewise.
13130 * po/hr.po: Likewise.
13131 * po/nl.pl: Likewise.
13132 * po/pl.po: Likewise.
13133 * po/vi.po: Likewise.
13135 2012-07-03 Joseph Myers <joseph@codesourcery.com>
13137 * Makeconfig [!+link] (+link-before-libc): New variable.
13138 [!+link] (+link-after-libc): Likewise.
13139 [!+link] (+link-tests): Likewise.
13140 [!+link] (+link): Define in terms of $(+link-before-libc) and
13141 $(+link-after-libc).
13142 [!+link-static] (+link-static-before-libc): New variable.
13143 [!+link-static] (+link-static-after-libc): Likewise.
13144 [!+link-static] (+link-static-tests): Likewise.
13145 [!+link-static] (+link-static): Define in terms of
13146 $(+link-static-before-libc) and $(+link-static-after-libc).
13147 [build-shared] (link-libc-before-gnulib): New variable.
13148 [build-shared] (link-libc-tests): Likewise.
13149 [build-shared] (link-libc): Define in terms of
13150 $(link-libc-before-gnulib).
13151 [!build-shared] (link-libc-tests): New variable.
13152 (link-libc-static-tests): New variable.
13153 [!gnulib] (gnulib-arch): New variable.
13154 [!gnulib] (gnulib-tests): Likewise.
13155 [!gnulib] (static-gnulib-arch): Likewise.
13156 [!gnulib] (static-gnulib-tests): Likewise.
13157 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13158 Define with "=" instead of ":=".
13159 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13160 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13161 * Rules (binaries-all-notests): New variable.
13162 (binaries-all-tests): Likewise.
13163 (binaries-static-notests): Likewise.
13164 (binaries-static-tests): Likewise.
13165 (binaries-all): Define using $(binaries-all-notests) and
13166 $(binaries-all-tests).
13167 (binaries-static): Define using $(binaries-static-notests) and
13168 $(binaries-static-tests).
13169 (binaries-shared-tests): New variable.
13170 (binaries-shared-notests): Likewise.
13171 (binaries-shared): Remove variable.
13172 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13173 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13174 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13175 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13176 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13177 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13178 * elf/Makefile (sln-modules): New variable.
13179 (extra-objs): Add $(sln-modules:=.o).
13180 (ldconfig-modules): Add static-stubs.
13181 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13182 * elf/static-stubs.c: New file.
13185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13186 by 7 not 8 to examine high bit of fractional part. Use volatile
13187 variables when splitting into final array of floats if
13188 __FLT_EVAL_METHOD__ != 0.
13189 * math/libm-test.inc (cos_test): Add another test.
13190 (sin_test): Likewise.
13191 * sysdeps/i386/fpu/libm-test-ulps: Update.
13194 * math/libm-test.inc (cosh_test): Add more tests.
13196 * version.h (RELEASE): Set to "development".
13197 (VERSION): Set to "2.16.90".
13199 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13201 * NEWS: Update copyright. Remove last-updated date.
13202 Mention math library bug fixes and timezone data changes.
13203 * README: Mention GNU/Hurd, x32, and HPPA support status.
13205 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13207 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13209 2012-06-27 Andreas Jaeger <aj@suse.de>
13211 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13213 2012-06-25 Andreas Jaeger <aj@suse.de>
13215 * sysdeps/s390/fpu/libm-test-ulps: Update.
13217 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13218 Thomas Schwinge <thomas@codesourcery.com>
13220 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13221 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13222 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13225 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13227 * sysdeps/mach/start.c: Remove file.
13228 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13229 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13230 * sysdeps/sh/init-first.c: Likewise.
13232 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13233 registers for frame unwinding purposes, add CFI directives.
13234 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13235 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13236 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13239 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13240 __fortify_fail returning.
13241 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13243 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13244 sysdeps/sh/____longjmp_chk.S.
13245 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13246 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13247 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13248 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13250 * sysdeps/sh/abort-instr.h: New file.
13251 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13252 process in case exit returns.
13254 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13255 initialize the GOT register before use.
13257 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13258 calculation of ARGC > 4.
13260 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13261 meaningful names to some local labels.
13263 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13264 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13266 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13267 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13268 (__arch_compare_and_exchange_val_16_acq): Likewise.
13269 (__arch_compare_and_exchange_val_32_acq): Likewise.
13270 (atomic_exchange_and_add): Fix gUSA sequence.
13271 (atomic_add): Likewise.
13272 (atomic_add_negative): Likewise.
13273 (atomic_add_zero): Likewise.
13274 (atomic_bit_test_set): Likewise.
13276 2012-06-22 Andreas Schwab <schwab@redhat.com>
13279 * include/link.h (struct link_map): Add l_free_initfini.
13280 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13282 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13283 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13284 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13287 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13289 * configure.in: Use AC_LANG_SOURCE.
13290 * configure: Regenerate.
13292 2012-06-22 Roland McGrath <roland@hack.frob.com>
13294 * configure.in (libc_cv_localstatedir): New substituted variable.
13295 * configure: Regenerated.
13296 * config.make.in (localstatedir): New variable, substituted from
13297 libc_cv_localstatedir.
13298 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13299 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13300 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13301 * sysdeps/gnu/configure: Regenerated.
13303 2012-06-21 Jeff Law <law@redhat.com>
13306 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13307 free. Simplify list management for _LIBC case.
13309 2012-06-21 Joseph Myers <joseph@codesourcery.com>
13312 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13313 Clear sign bit of 64-bit integer value before comparing against
13316 * sysdeps/mach/configure: Regenerated.
13318 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13321 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13323 2012-06-21 Jeff Law <law@redhat.com>
13326 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13327 uint16_t for elements in the "seen" array to avoid char overflows.
13328 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13329 * elf/dl-open.c (dl_open_worker): Likewise.
13331 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13333 * scripts/list-sources.sh: Scan PORTS for translations.
13334 * po/libc.pot: Regenerated.
13336 2012-06-21 Andreas Jaeger <aj@suse.de>
13339 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13341 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13342 * bits/byteswap-16.h (__bswap_16): Likewise.
13343 * bits/byteswap.h (__bswap_constant_16): Likewise.
13345 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13348 * sysdeps/i386/fpu_control.h: Removed.
13349 * sysdeps/x86_64/fpu_control.h: Moved to ...
13350 * sysdeps/x86/fpu_control.h: Here.
13352 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13353 (_FPU_SETCW): Likewise.
13355 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13358 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13359 * sysdeps/x86/fpu/bits/mathinline.h: This.
13360 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13364 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13365 functions if __x86_64__ is defined.
13367 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13369 * string/endian.h: Add !__ASSEMBLER__ condition for including
13370 conversion interfaces.
13372 2012-06-15 Joseph Myers <joseph@codesourcery.com>
13375 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13376 of ABS(x) in calculating zero to negative powers other than odd
13378 * math/libm-test.inc (pow_test): Add more tests.
13380 2012-06-15 Andreas Jaeger <aj@suse.de>
13382 * manual/contrib.texi (Contributors): Update entry of Liubov
13383 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13386 2012-06-15 Cyril Hrubis <metan@ucw.cz>
13388 * string/string.h: Add __wur to GNU version of strerror_r.
13390 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13393 * string/Makefile (tests): Add tst-strtok_r.
13394 * string/tst-strtok_r.c: New file.
13395 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13396 RAX_LP/RDX_LP on SAVE_PTR.
13398 2012-06-14 Roland McGrath <roland@hack.frob.com>
13400 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13402 2012-06-14 Joseph Myers <joseph@codesourcery.com>
13404 * libm_test.inc (csqrt_test): Allow more spurious underflow
13406 (j0_test): Likewise.
13407 (j1_test): Likewise.
13408 (y0_test): Likewise.
13409 (y1_test): Likewise.
13411 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13413 * po/Makefile (libc.pot): Use UTF-8 charset.
13415 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13418 Suppress sign-conversion warning from FD_SET.
13419 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13420 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13421 not unsigned long int.
13422 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
13424 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
13428 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
13429 __extern_always_inline instead of __extern_inline.
13430 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
13431 (__signbit): Likewise.
13432 (__signbitl): Support C++ namespace.
13433 (lrintf): New inline function.
13435 (llrintf): Likewise.
13436 (llrint): Likewise.
13446 (floorf): Likewise.
13447 (nearbyint): Likewise.
13448 (nearbyintf): Likewise.
13450 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
13452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
13453 non-default versions.
13455 2012-06-11 Roland McGrath <roland@hack.frob.com>
13458 * manual/argp.texi (Argp): Reword argp_parse description slightly.
13460 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
13462 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
13463 (FE_UPWARD, FE_DOWNWARD): Don't define.
13464 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
13465 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13467 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
13469 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13470 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13472 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13474 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
13476 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
13477 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
13479 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
13482 * sysdeps/i386/fpu/bits/fenv.h: Removed.
13483 * sysdeps/i386/fpu/Implies: New file.
13484 * sysdeps/x86_64/fpu/Implies: Likewise.
13485 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
13486 * sysdeps/x86/fpu/bits/fenv.h: This.
13488 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
13491 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13494 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
13495 character 0xffff that matches the last element of the
13498 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13500 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
13503 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
13506 values higher than 25.6283.
13508 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13510 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
13511 subnormal exponent extraction and add some __builtin_expect.
13512 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
13513 Fix for subnormal mantissa calculation.
13515 2012-06-04 Mike Frysinger <vapier@gentoo.org>
13517 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
13518 cpu2 is -1 and errno is not ENOSYS.
13520 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
13523 * sysdeps/i386/i486/bits/string.h: Renamed to ...
13524 * sysdeps/x86/bits/string.h: This.
13525 * sysdeps/x86_64/bits/string.h: Removed.
13527 * sysdeps/i386/i486/bits/string.h: Define inline functions only
13528 if not compiling for x86-64, but compiling for >= i486.
13530 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
13531 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
13533 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
13534 New macro from Linux kernel 3.4.0.
13535 (FP_XSTATE_MAGIC2): Likewise.
13536 (FP_XSTATE_MAGIC2_SIZE): Likewise.
13537 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
13538 (struct _fpx_sw_bytes): New struct.
13539 (struct _xsave_hdr): Likewise.
13540 (struct _ymmh_state): Likewise.
13541 (struct _xstate): Likewise.
13543 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
13544 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
13545 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
13546 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
13547 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
13548 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
13550 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
13551 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
13552 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
13553 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
13554 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
13555 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
13557 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13560 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
13561 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
13562 (sysdep_headers): Include sys/platform/ppc.h.
13563 * sysdeps/powerpc/test-gettimebase.c: Test for
13564 __ppc_get_timebase() to catch future ISA opcode/insn changes.
13565 * manual/Makefile (appendices): Include platform.texi.
13566 * manual/contrib.texi (Contributors): Update @node pointers.
13567 * manual/maint.texi (Maintenance): Likewise.
13568 (Platform): New node.
13569 * manual/platform.texi: New file. Document the new features.
13571 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13572 Jakub Jelinek <jakub@redhat.com>
13575 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
13576 where __builtin_expect is unavailable.
13578 2012-06-03 David S. Miller <davem@davemloft.net>
13580 * stdlib/longlong.h: Updated from GCC.
13582 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
13585 * sysdeps/powerpc/powerpc32/mcount.c: New file.
13586 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
13588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13589 (GLIBC_2.16): Likewise.
13591 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13593 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
13595 2012-06-01 Joseph Myers <joseph@codesourcery.com>
13597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13598 (default-abi): New variable.
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
13600 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
13602 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
13604 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
13606 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
13609 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
13610 definition. Document in comment.
13612 2012-06-01 David S. Miller <davem@davemloft.net>
13614 * stdlib/longlong.h: Updated from GCC.
13616 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13619 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
13620 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
13621 sys/debugreg.h sys/io.h here.
13622 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
13623 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
13625 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
13626 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
13627 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
13628 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
13629 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
13630 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
13632 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
13633 Define only if __x86_64__ is defined.
13635 2012-06-01 Joseph Myers <joseph@codesourcery.com>
13638 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
13639 Use int64_t for variable i.
13640 * math/libm-test.inc (fmod_test): Add more tests.
13642 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
13643 z computation is not scheduled after fetestexcept.
13644 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
13645 Use math_force_eval instead of asm to ensure calculation scheduled
13646 before exception test.
13647 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
13648 Ensure a1 + u.d computation is not scheduled after fetestexcept.
13650 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
13652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13653 computation is not scheduled after fetestexcept.
13655 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13658 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13659 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13661 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13663 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13664 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13666 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13669 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13671 (__WCHAR_MIN): Support __WORDSIZE == 64.
13672 (__WCHAR_MAX): Likewise.
13674 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13675 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13678 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13679 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13682 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13683 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13685 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13686 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13688 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13689 Defined to 1 if __x86_64__ isn't defined.
13690 (_STAT_VER_LINUX_OLD): New.
13691 (st_atime): Remove duplicate.
13692 (st_mtime): Likewise.
13693 (st_ctime): Likewise.
13695 2012-05-31 David S. Miller <davem@davemloft.net>
13697 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13700 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
13702 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13706 * elf/dl-reloc.c: Include <_itoa.h>.
13707 (_dl_reloc_bad_type): Remove use of INTUSE.
13708 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13709 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13710 * stdio-common/psiginfo.c (psiginfo): Likewise.
13711 * stdio-common/psignal.c (psignal): Likewise.
13712 * string/strsignal.c (strsignal): Likewise.
13713 * include/signal.h (_sys_siglist): Declare hidden proto.
13714 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
13715 INTVARDEF with libc_hidden_data_def.
13716 * stdio-common/itoa-udigits.c: Likewise.
13717 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13718 (_itoa_lower_digits_internal): Remove declaration.
13719 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13720 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13721 (_sys_sigabbrev_internal): Remove aliases.
13722 (_sys_siglist): Define hidden alias.
13724 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
13726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13729 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13732 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13733 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13735 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13736 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13737 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13738 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13739 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13740 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13742 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13743 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13744 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13746 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13754 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13755 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13756 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13758 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13759 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13760 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13761 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13762 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13763 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13765 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13766 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13768 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13769 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13771 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13772 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13773 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13775 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13776 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13778 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13780 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13781 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13782 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13784 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13786 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13788 2012-05-31 Joseph Myers <joseph@codesourcery.com>
13790 * math/math.h (M_El): Use two more decimal places.
13791 (M_LOG2El): Likewise.
13792 (M_LOG10El): Likewise.
13793 (M_LN2l): Likewise.
13794 (M_LN10l): Likewise.
13796 (M_PI_2l): Likewise.
13797 (M_PI_4l): Likewise.
13798 (M_1_PIl): Likewise.
13799 (M_2_PIl): Likewise.
13800 (M_2_SQRTPIl): Likewise.
13801 (M_SQRT2l): Likewise.
13802 (M_SQRT1_2l): Likewise.
13804 2012-05-31 David S. Miller <davem@davemloft.net>
13806 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13807 values between float registers.
13808 * sysdeps/sparc/sparc64/memset.S: Likewise.
13809 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13811 2012-05-31 Mike Frysinger <vapier@gentoo.org>
13813 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13814 -D_FORTIFY_SOURCE=1.
13815 (CPPFLAGS-tst-longjmp_chk.c): Define.
13816 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13817 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13818 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13819 CFLAGS-tst-wchar-h.c.
13821 2012-05-31 Marek Polacek <polacek@redhat.com>
13824 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13825 __endmntent_internal): Remove declaration.
13826 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13827 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13828 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13830 2012-05-30 David S. Miller <davem@davemloft.net>
13832 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13833 (___Q_simulate_exceptions): Use real FP ops rather than writing
13835 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13838 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13841 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13842 * sysdeps/x86/bits/xtitypes.h: This.
13844 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13845 * sysdeps/x86/bits/wordsize.h: This.
13847 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13848 * sysdeps/x86/bits/huge_vall.h: This.
13850 * sysdeps/i386/bits/select.h: Removed.
13851 * sysdeps/x86_64/bits/select.h: Renamed to ...
13852 * sysdeps/x86/bits/select.h: This.
13854 * sysdeps/i386/bits/setjmp.h: Removed.
13855 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13856 * sysdeps/x86/bits/setjmp.h: This.
13858 * sysdeps/i386/bits/mathdef.h: Removed.
13859 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13860 * sysdeps/x86/bits/mathdef.h: This.
13862 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13865 * include/sys/socket.h (__connect_internal)
13866 (__libc_sa_len_internal): Remove declaration.
13867 (__connect, __libc_sa_len): Declare hidden_proto.
13868 (SA_LEN): Remove use of INTUSE.
13869 * socket/connect.c: Add libc_hidden_def.
13870 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13871 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13872 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13874 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13875 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13876 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13877 of adding _internal alias.
13879 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13882 * sysdeps/i386/bits/link.h: Removed.
13883 * sysdeps/i386/bits/linkmap.h: Likewise.
13884 * sysdeps/x86_64/bits/link.h: Renamed to ...
13885 * sysdeps/x86/bits/link.h: This.
13886 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13887 * sysdeps/x86/bits/linkmap.h: This.
13889 * sysdeps/i386/bits/endian.h: Removed.
13890 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13891 * sysdeps/x86/bits/endian.h: This.
13893 * sysdeps/i386/bits/byteswap.h: Removed.
13894 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13895 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13896 * sysdeps/x86/bits/byteswap.h: This.
13897 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13898 * sysdeps/x86/bits/byteswap-16.h: This.
13899 * sysdeps/i386/Implies: Add x86.
13900 * sysdeps/x86_64/Implies: Likewise.
13902 2012-05-30 David S. Miller <davem@davemloft.net>
13904 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13905 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13906 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13907 (FP_TRAPPING_EXCEPTIONS): Define.
13908 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13909 (FP_TRAPPING_EXCEPTIONS): Define.
13910 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13911 subnormals only when inexact has been signalled or underflow
13912 exceptions are enabled.
13913 (_FP_PACK_CANONICAL): Likewise.
13915 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13918 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13919 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13921 2012-05-30 Richard Henderson <rth@twiddle.net>
13923 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13924 with #ifndef NOT_IN_libc.
13926 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13927 marked to avoid plt entry.
13929 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13932 * Makeconfig (default-abi): New macro.
13933 (abi-includes): Likewise.
13934 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13935 $(abi-$(default-abi)-lib-soname) for soname if defined.
13936 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13938 * Makefile (installed-stubs): Likewise.
13939 * include/stubs-biarch.h: Removed.
13940 * scripts/lib-names.awk: Only handle one library at a time.
13941 * scripts/soversions.awk: Remove WORDSIZE support.
13942 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13944 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13946 (syscall-list-default-condition): Likewise.
13947 (syscall-list-default-condition): Likewise.
13948 (syscall-list-includes): Likewise.
13949 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13950 syscall-list-* with abi-*. Handle undefined abi-variants.
13951 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13952 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13953 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13954 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13955 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13956 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13958 (syscall-list-32-options): Likewise.
13959 (syscall-list-32-condition): Likewise.
13960 (syscall-list-64-options): Likewise.
13961 (syscall-list-64-condition): Likewise.
13962 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13964 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13967 (abi-64-ld-soname): New macro.
13968 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13969 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13972 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13973 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13975 2012-05-30 Joseph Myers <joseph@codesourcery.com>
13977 * sysdeps/unix/sysv/linux/kernel-features.h
13978 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13979 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13980 include <kernel-features.h>.
13981 [!__NR_ftruncate64]: Remove conditional code.
13982 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13983 [__NR_ftruncate64]: Make code unconditional.
13984 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13985 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13986 include <kernel-features.h>.
13987 [!__NR_ftruncate64]: Remove conditional code.
13988 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13989 [__NR_ftruncate64]: Make code unconditional.
13990 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13992 include <kernel-features.h>.
13993 [!__NR_ftruncate64]: Remove conditional code.
13994 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13995 [__NR_ftruncate64]: Make code unconditional.
13996 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13998 include <kernel-features.h>.
13999 [!__NR_ftruncate64]: Remove conditional code.
14000 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14001 [__NR_ftruncate64]: Make code unconditional.
14002 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14004 * configure.in (libc_cv_fpie): Weaken to a compile test using
14005 LIBC_TRY_CC_OPTION.
14006 * configure: Regenerated.
14008 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14023 2012-05-27 David S. Miller <davem@davemloft.net>
14025 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14027 (__Q_simulate_exceptions): Return void. Change to simulate
14028 exceptions by writing into the %fsr.
14029 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14030 (__Qp_handle_exceptions): Likewise.
14032 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14033 __Qp_handle_exceptions.
14034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14035 __Qp_handle_exceptions.
14036 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14037 as unused and give dummy FP_RND_NEAREST initializer.
14038 (FP_INHIBIT_RESULTS): Define.
14039 (___Q_simulate_exceptions): Update declaration.
14040 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14042 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14043 as unused and give dummy FP_RND_NEAREST initializer.
14044 (__Qp_handle_exceptions): Update declaration.
14045 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14048 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14050 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14051 the temporary FPU control word.
14052 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14053 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14054 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14055 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14056 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14057 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14058 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14059 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14060 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14061 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14062 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14064 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14066 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14069 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14071 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14072 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14073 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14074 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14076 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14077 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14080 2012-05-27 Ulrich Drepper <drepper@gmail.com>
14082 * po/h.po: Update from translation team.
14084 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14086 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14088 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14089 handling of denormals.
14090 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14091 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14092 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14093 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14094 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14099 2012-05-26 Marek Polacek <polacek@redhat.com>
14102 * math/libm-test.inc (fma_test): Don't always expect underflow
14105 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14108 * elf/tst-execstack.c: Include stackinfo.h.
14109 (do_test): Adjust test case to ensure that pthread_getattr_np
14110 behaviour remains the same after marking stack executable.
14112 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14114 * sysdeps/unix/sysv/linux/kernel-features.h
14115 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14116 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14118 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14119 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14120 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14122 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14123 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14125 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14127 * configure.in: Define the default includes to being none.
14128 * configure: Regenerated.
14130 2012-05-25 Roland McGrath <roland@hack.frob.com>
14132 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14133 * sysdeps/x86_64/setjmp.S: Likewise.
14134 * sysdeps/i386/bsd-setjmp.S: Likewise.
14135 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14136 * sysdeps/i386/setjmp.S: Likewise.
14137 * sysdeps/i386/__longjmp.S: Likewise.
14138 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14139 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14141 * include/stap-probe.h: New file.
14142 * configure.in: Handle --enable-systemtap.
14143 * configure: Regenerated.
14144 * config.h.in (USE_STAP_PROBE): New #undef.
14145 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14146 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14147 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14149 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14152 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14153 to 2.4.0 where earlier.
14154 * sysdeps/unix/sysv/linux/configure: Regenerated.
14155 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14156 <kernel-features.h>.
14157 [__ASSUME_32BITUIDS]: Make code unconditional.
14158 [!__ASSUME_32BITUIDS]: Remove conditional code.
14159 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14160 <kernel-features.h>.
14161 [__ASSUME_32BITUIDS]: Make code unconditional.
14162 [!__ASSUME_32BITUIDS]: Remove conditional code.
14163 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14164 [__ASSUME_32BITUIDS]: Make code unconditional.
14165 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14166 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14167 <kernel-features.h>.
14168 [__ASSUME_32BITUIDS]: Make code unconditional.
14169 [!__ASSUME_32BITUIDS]: Remove conditional code.
14170 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14171 <kernel-features.h>.
14172 [__ASSUME_32BITUIDS]: Make code unconditional.
14173 [!__ASSUME_32BITUIDS]: Remove conditional code.
14174 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14175 <kernel-features.h>.
14176 [__ASSUME_32BITUIDS]: Make code unconditional.
14177 [!__ASSUME_32BITUIDS]: Remove conditional code.
14178 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14179 <kernel-features.h>.
14180 [__ASSUME_32BITUIDS]: Make code unconditional.
14181 [!__ASSUME_32BITUIDS]: Remove conditional code.
14182 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14183 <kernel-features.h>.
14184 [__ASSUME_32BITUIDS]: Make code unconditional.
14185 [!__ASSUME_32BITUIDS]: Remove conditional code.
14186 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14187 <kernel-features.h>.
14188 [__ASSUME_32BITUIDS]: Make code unconditional.
14189 [!__ASSUME_32BITUIDS]: Remove conditional code.
14190 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14191 <kernel-features.h>.
14192 [__ASSUME_32BITUIDS]: Make code unconditional.
14193 [!__ASSUME_32BITUIDS]: Remove conditional code.
14194 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14195 <kernel-features.h>.
14196 [__ASSUME_32BITUIDS]: Make code unconditional.
14197 [!__ASSUME_32BITUIDS]: Remove conditional code.
14198 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14199 <kernel-features.h>.
14200 [__ASSUME_32BITUIDS]: Make code unconditional.
14201 [!__ASSUME_32BITUIDS]: Remove conditional code.
14202 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14203 <kernel-features.h>.
14204 [__ASSUME_32BITUIDS]: Make code unconditional.
14205 [!__ASSUME_32BITUIDS]: Remove conditional code.
14206 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14207 <kernel-features.h>.
14208 [__NR_setresgid] (__setresgid): Do not declare.
14209 [__ASSUME_32BITUIDS]: Make code unconditional.
14210 [!__ASSUME_32BITUIDS]: Remove conditional code.
14211 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14212 <kernel-features.h>.
14213 [__NR_setresuid] (__setresuid): Do not declare.
14214 [__ASSUME_32BITUIDS]: Make code unconditional.
14215 [!__ASSUME_32BITUIDS]: Remove conditional code.
14216 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14217 <kernel-features.h>.
14218 [__ASSUME_32BITUIDS]: Make code unconditional.
14219 [!__ASSUME_32BITUIDS]: Remove conditional code.
14220 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14221 <kernel-features.h>.
14222 [__ASSUME_32BITUIDS]: Make code unconditional.
14223 [!__ASSUME_32BITUIDS]: Remove conditional code.
14224 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14225 <kernel-features.h>.
14226 [__ASSUME_32BITUIDS]: Make code unconditional.
14227 [!__ASSUME_32BITUIDS]: Remove conditional code.
14228 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14229 <kernel-features.h>.
14230 [__ASSUME_32BITUIDS]: Make code unconditional.
14231 [!__ASSUME_32BITUIDS]: Remove conditional code.
14232 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14233 <kernel-features.h>.
14234 [__ASSUME_32BITUIDS]: Make code unconditional.
14235 [!__ASSUME_32BITUIDS]: Remove conditional code.
14236 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14237 <kernel-features.h>.
14238 [__ASSUME_32BITUIDS]: Make code unconditional.
14239 [!__ASSUME_32BITUIDS]: Remove conditional code.
14240 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14241 <kernel-features.h>.
14242 [__ASSUME_32BITUIDS]: Make code unconditional.
14243 [!__ASSUME_32BITUIDS]: Remove conditional code.
14244 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14245 <kernel-features.h>.
14246 [__ASSUME_32BITUIDS]: Make code unconditional.
14247 [!__ASSUME_32BITUIDS]: Remove conditional code.
14248 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14249 <kernel-features.h>.
14250 [__ASSUME_32BITUIDS]: Make code unconditional.
14251 [!__ASSUME_32BITUIDS]: Remove conditional code.
14252 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14253 <kernel-features.h>.
14254 [__ASSUME_32BITUIDS]: Make code unconditional.
14255 [!__ASSUME_32BITUIDS]: Remove conditional code.
14256 * sysdeps/unix/sysv/linux/kernel-features.h
14257 (__ASSUME_SETRESUID_SYSCALL): Remove.
14258 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14259 (__ASSUME_32BITUIDS): Likewise.
14260 (__ASSUME_LDT_WORKS): Likewise.
14261 (__ASSUME_O_DIRECTORY): Likewise.
14262 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14263 architecture but not kernel version.
14264 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14265 (__ASSUME_MMAP2_SYSCALL): Likewise.
14266 (__ASSUME_STAT64_SYSCALL): Likewise.
14267 (__ASSUME_IPC64): Likewise.
14268 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14269 <kernel-features.h>.
14270 [__ASSUME_32BITUIDS]: Make code unconditional.
14271 [!__ASSUME_32BITUIDS]: Remove conditional code.
14272 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14273 <kernel-features.h>.
14274 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14275 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14276 132096]: Remove conditional code.
14277 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14278 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14279 <kernel-features.h>.
14280 [__ASSUME_32BITUIDS]: Make code unconditional.
14281 [!__ASSUME_32BITUIDS]: Remove conditional code.
14282 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14283 <kernel-features.h>.
14284 [__ASSUME_32BITUIDS]: Make code unconditional.
14285 [!__ASSUME_32BITUIDS]: Remove conditional code.
14286 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14287 <kernel-features.h>.
14288 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14290 (__setresgid): Do not declare.
14291 [__ASSUME_32BITUIDS]: Make code unconditional.
14292 [!__ASSUME_32BITUIDS]: Remove conditional code.
14293 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14294 <kernel-features.h>.
14295 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14297 (__setresuid): Do not declare.
14298 [__ASSUME_32BITUIDS]: Make code unconditional.
14299 [!__ASSUME_32BITUIDS]: Remove conditional code.
14300 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14301 <kernel-features.h>.
14302 [__ASSUME_32BITUIDS]: Make code unconditional.
14303 [!__ASSUME_32BITUIDS]: Remove conditional code.
14304 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14305 <kernel-features.h>.
14306 [__ASSUME_32BITUIDS]: Make code unconditional.
14307 [!__ASSUME_32BITUIDS]: Remove conditional code.
14309 2012-05-25 Richard Henderson <rth@twiddle.net>
14311 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14312 dl_hwcap to ifunc resolver.
14313 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14315 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14316 dl_hwcap to ifunc resolver.
14317 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14319 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14322 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14323 for |x| <= 2**-26, not 2**-57.
14324 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14327 2012-05-24 Jeff Law <law@redhat.com>
14329 * stdio-common/Makefile (tests): Add bug25.
14330 * stdio-common/bug25.c: New test.
14332 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14335 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14336 multiple of MALLOC_ALIGNMENT in size.
14337 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14339 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14341 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14343 (FILENAME_MAX): Use macro-int-constant.
14344 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14345 (_IOFBF): Use macro-int-constant.
14346 (_IOLBF): Likewise.
14347 (_IONBF): Likewise.
14348 (SEEK_CUR): Likewise.
14349 (SEEK_END): Likewise.
14350 (SEEK_SET): Likewise.
14351 (TMP_MAX): Likewise.
14352 (EOF): Use macro-int-constant. Require < 0.
14353 (NULL): Use macro-constant. Require == 0.
14354 (stdin): Require type to be FILE *.
14355 (stdout): Likewise.
14356 (stderr): Likewise.
14357 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14358 macro-int-constant.
14359 (EXIT_SUCCESS): Likewise.
14360 (NULL): Use macro-constant. Require == 0.
14361 (RAND_MAX): Use macro-int-constant.
14362 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14363 [C99-based standards] (strtof): Require function.
14364 [C99-based standards] (strtold): Likewise.
14365 [C99-based standards] (strtoll): Likewise.
14366 [C99-based standards] (strtoull): Likewise.
14367 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14368 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14369 [ISO || ISO99 || ISO11] (math.h): Likewise.
14370 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14371 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14374 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14377 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14378 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14379 * intl/dgettext.c (DCGETTEXT): Likewise.
14380 * intl/gettext.c (DCGETTEXT): Likewise.
14381 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14382 * posix/regex_internal.h (gettext): Likewise.
14383 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14384 Remove declaration.
14385 * include/argz.h (__argz_count_internal)
14386 (__argz_stringify_internal): Remove declaration.
14387 (__argz_count, __argz_stringify): Declare hidden proto.
14388 * intl/dcgettext.c: Remove use of INTDEF.
14389 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14390 * string/argz-stringify.c: Likewise.
14391 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14392 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14393 Declare hidden proto.
14394 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14395 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14396 Declare hidden proto.
14397 * include/stdio.h (__asprintf_internal): Don't declare.
14398 (__asprintf): Don't define as macro. Declare hidden proto.
14399 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14400 (__fsetlocking): Declare hidden proto.
14401 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14402 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14404 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14405 (_IO_setlinebuf): Remove use of INTUSE.
14406 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14407 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14408 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14409 Remove declaration.
14410 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14411 (_IO_do_flush): Remove use of INTUSE.
14412 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14413 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14414 (_IO_adjust_column, _IO_least_wmarker)
14415 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14416 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14417 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14418 (_IO_default_doallocate, _IO_wdefault_doallocate)
14419 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14420 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14421 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
14422 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
14423 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
14424 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
14425 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
14426 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
14427 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
14428 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
14429 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
14430 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
14431 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
14433 (_IO_flush_all_internal, _IO_adjust_column_internal)
14434 (_IO_default_uflow_internal, _IO_default_finish_internal)
14435 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
14436 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
14437 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
14438 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
14439 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
14440 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
14441 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
14442 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
14443 (_IO_file_close_internal, _IO_file_close_it_internal)
14444 (_IO_file_underflow_internal, _IO_file_overflow_internal)
14445 (_IO_file_init_internal, _IO_file_attach_internal)
14446 (_IO_file_fopen_internal, _IO_file_read_internal)
14447 (_IO_file_sync_internal, _IO_file_seek_internal)
14448 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
14449 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
14450 (_IO_str_underflow_internal, _IO_str_overflow_internal)
14451 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
14452 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
14453 (_IO_list_all_internal, _IO_link_in_internal)
14454 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
14455 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
14456 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
14457 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
14458 (_IO_do_write_internal, _IO_padn_internal)
14459 (_IO_getline_info_internal, _IO_getline_internal)
14460 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
14461 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
14462 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
14463 (_IO_vfscanf_internal, _IO_vfprintf_internal)
14464 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
14465 (_IO_init_internal, _IO_un_link_internal): Don't declare.
14466 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
14467 with libc_hidden_ver, remove use of INTUSE.
14468 * libio/genops.c: Likewise.
14469 * libio/freopen.c: Likewise.
14470 * libio/freopen64.c: Likewise.
14471 * libio/iofclose.c: Likewise.
14472 * libio/iofdopen.c: Likewise.
14473 * libio/iofflush.c: Likewise.
14474 * libio/iofflush_u.c: Likewise.
14475 * libio/iofgets.c: Likewise.
14476 * libio/iofgets_u.c: Likewise.
14477 * libio/iofopen.c: Likewise.
14478 * libio/iofopncook.c: Likewise.
14479 * libio/iofread.c: Likewise.
14480 * libio/iofread_u.c: Likewise.
14481 * libio/ioftell.c: Likewise.
14482 * libio/iofwrite.c: Likewise.
14483 * libio/iogetline.c: Likewise.
14484 * libio/iogets.c: Likewise.
14485 * libio/iogetwline.c: Likewise.
14486 * libio/iopadn.c: Likewise.
14487 * libio/iopopen.c: Likewise.
14488 * libio/ioseekoff.c: Likewise.
14489 * libio/ioseekpos.c: Likewise.
14490 * libio/iosetbuffer.c: Likewise.
14491 * libio/iosetvbuf.c: Likewise.
14492 * libio/ioungetc.c: Likewise.
14493 * libio/ioungetwc.c: Likewise.
14494 * libio/iovdprintf.c: Likewise.
14495 * libio/iovsprintf.c: Likewise.
14496 * libio/iovsscanf.c: Likewise.
14497 * libio/memstream.c: Likewise.
14498 * libio/obprintf.c: Likewise.
14499 * libio/oldfileops.c: Likewise.
14500 * libio/oldiofclose.c: Likewise.
14501 * libio/oldiofdopen.c: Likewise.
14502 * libio/oldiofopen.c: Likewise.
14503 * libio/oldiopopen.c: Likewise.
14504 * libio/oldstdfiles.c: Likewise.
14505 * libio/putc.c: Likewise.
14506 * libio/setbuf.c: Likewise.
14507 * libio/setlinebuf.c: Likewise.
14508 * libio/stdfiles.c: Likewise.
14509 * libio/strops.c: Likewise.
14510 * libio/vasprintf.c: Likewise.
14511 * libio/vscanf.c: Likewise.
14512 * libio/vsnprintf.c: Likewise.
14513 * libio/vswprintf.c: Likewise.
14514 * libio/wfiledoalloc.c: Likewise.
14515 * libio/wfileops.c: Likewise.
14516 * libio/wgenops.c: Likewise.
14517 * libio/wmemstream.c: Likewise.
14518 * libio/wstrops.c: Likewise.
14519 * libio/__fpurge.c: Likewise.
14520 * libio/__fsetlocking.c: Likewise.
14521 * assert/assert.c: Likewise.
14522 * debug/fgets_chk.c: Likewise.
14523 * debug/fgets_u_chk.c: Likewise.
14524 * debug/fread_chk.c: Likewise.
14525 * debug/fread_u_chk.c: Likewise.
14526 * debug/gets_chk.c: Likewise.
14527 * debug/obprintf_chk.c: Likewise.
14528 * debug/vasprintf_chk.c: Likewise.
14529 * debug/vdprintf_chk.c: Likewise.
14530 * debug/vsnprintf_chk.c: Likewise.
14531 * debug/vsprintf_chk.c: Likewise.
14532 * malloc/mtrace.c: Likewise.
14533 * misc/error.c: Likewise.
14534 * misc/syslog.c: Likewise.
14535 * stdio-common/asprintf.c: Likewise.
14536 * stdio-common/fxprintf.c: Likewise.
14537 * stdio-common/getw.c: Likewise.
14538 * stdio-common/isoc99_fscanf.c: Likewise.
14539 * stdio-common/isoc99_scanf.c: Likewise.
14540 * stdio-common/isoc99_vfscanf.c: Likewise.
14541 * stdio-common/isoc99_vscanf.c: Likewise.
14542 * stdio-common/isoc99_vsscanf.c: Likewise.
14543 * stdio-common/printf-prs.c: Likewise.
14544 * stdio-common/printf_fp.c: Likewise.
14545 * stdio-common/printf_fphex.c: Likewise.
14546 * stdio-common/printf_size.c: Likewise.
14547 * stdio-common/putw.c: Likewise.
14548 * stdio-common/scanf.c: Likewise.
14549 * stdio-common/sprintf.c: Likewise.
14550 * stdio-common/tmpfile.c: Likewise.
14551 * stdio-common/vfprintf.c: Likewise.
14552 * stdio-common/vfscanf.c: Likewise.
14553 * stdlib/strfmon_l.c: Likewise.
14554 * sunrpc/openchild.c: Likewise.
14555 * sunrpc/xdr_stdio.c: Likewise.
14556 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14557 * sysdeps/mach/hurd/tmpfile.c: Likewise.
14559 2012-05-24 Roland McGrath <roland@hack.frob.com>
14561 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14563 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
14564 in the third column, to generate for the shared library an IFUNC
14565 that uses _dl_vdso_vsym.
14566 * Makerules (COMPILE.c, compile-stdin.c): New variables.
14567 * Makeconfig (object-suffixes-noshared): New variable.
14569 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
14570 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
14571 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
14572 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
14575 * include/sys/time.h (__gettimeofday): Remove macro.
14576 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
14577 * time/gettimeofday.c (__gettimeofday): Remove #undef.
14579 (__gettimeofday): Add libc_hidden_def.
14580 (gettimeofday): Add libc_hidden_weak.
14581 * sysdeps/mach/gettimeofday.c: Likewise.
14582 * sysdeps/posix/gettimeofday.c: Likewise.
14583 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14584 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14585 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
14586 (__gettimeofday_internal): Remove strong_alias.
14587 (__gettimeofday): Add libc_hidden_def.
14588 (gettimeofday): Add libc_hidden_weak.
14589 * sysdeps/unix/syscalls.list (gettimeofday):
14590 Remove __gettimeofday_internal alias.
14592 2012-05-24 Daniel Jacobowitz <drow@false.org>
14593 H.J. Lu <hongjiu.lu@intel.com>
14596 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
14597 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
14598 (largebin_index_32_big): New.
14599 (largebin_index): Use it for 16-byte alignment.
14600 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
14601 correction with front_misalign.
14603 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
14606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
14610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
14614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
14616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
14618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
14620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
14624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
14626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
14631 * scripts/data/c++-types-x32-linux-gnu.data: New file.
14632 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
14634 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14638 * math/libm-test.inc (exp_test): Add test from bug 14036.
14639 (pow_test): Add test from bug 10846.
14641 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
14643 (special_function): Do not include flags in test name.
14644 (parse_args): Likewise.
14645 * sysdeps/i386/fpu/libm-test-ulps: Update.
14646 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14647 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14648 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14651 * math/gen-libm-test.pl (%beautify): Add entries for underflow
14653 * math/libm-test.inc ("Philosophy"): Update comment about
14655 (UNDERFLOW_EXCEPTION): New macro.
14656 (UNDERFLOW_EXCEPTION_OK): Likewise.
14657 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14658 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14659 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14660 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14661 (INVALID_EXCEPTION_OK): Update value.
14662 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14663 (OVERFLOW_EXCEPTION_OK): Likewise.
14664 (IGNORE_ZERO_INF_SIGN): Likewise.
14665 (test_exceptions): Handle underflow exceptions.
14666 (acos_test): Update for underflow exception expectations.
14667 (cexp_test): Likewise.
14668 (clog_test): Likewise.
14669 (clog10_test): Likewise.
14670 (csqrt_test): Likewise.
14671 (ctan_test): Likewise.
14672 (ctanh_test): Likewise.
14673 (exp_test): Likewise.
14674 (exp10_test): Likewise.
14675 (exp2_test): Likewise.
14676 (expm1_test): Likewise.
14677 (fma_test): Likewise.
14678 (j0_test): Likewise.
14679 (jn_test): Likewise.
14680 (nexttoward_test): Likewise.
14681 (pow_test): Likewise.
14682 (scalbn_test): Likewise.
14683 (scalbln_test): Likewise.
14684 (tan_test): Likewise.
14685 (y1_test): Likewise.
14686 * sysdeps/i386/fpu/libm-test-ulps: Update.
14687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14689 2012-05-23 David S. Miller <davem@davemloft.net>
14691 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14692 (__libc_sigaction): Remove unused local variables.
14694 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14696 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14698 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
14700 mktime: avoid signed integer overflow
14701 * time/mktime.c (__mktime_internal): Do not mishandle the case
14702 where diff == INT_MIN.
14704 mktime: simplify computation of average
14705 * time/mktime.c (ranged_convert): Use new time_t_avg function
14706 instead of rolling our own (probably-slower) code.
14708 mktime: do not assume signed right shift propagates sign bit
14709 * time/mktime.c (isdst_differ): New static function.
14710 (__mktime_internal): No need to normalize tm_isdst now.
14711 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14714 mktime: merge another wrapv change from gnulib
14715 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14716 from some compilers.
14718 mktime: remove incorrect attempt at unusual arithmetics
14719 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14720 The code didn't really work on such machines anyway.
14721 (TYPE_MINIMUM): Assume two's complement.
14722 (twos_complement_arithmetic): Verify that long_int and time_t
14723 are two's complement (or unsigned, in the latter case).
14725 mktime: check signed shifts on long_int and time_t, too
14726 * time/mktime.c (SHR): Check that shifts work as desired
14727 on the types long_int and time_t too, as SHR is used on
14730 mktime: do not assume 'long' is wide enough
14731 * time/mktime.c (verify): Move decl up.
14732 (long_int): New type.
14733 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14734 to remove assumption in the code that 'long' is wide enough to
14735 store year values. This assumption is not true on x32 and on
14736 some non-glibc platforms.
14738 mktime: merge wrapv change from gnulib
14739 * time/mktime.c (WRAPV): New macro.
14740 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14741 (guess_time_tm, __mktime_internal): Do not assume that signed
14742 integer overflow wraps around; modern compilers generate code
14743 where this assumption is no longer valid.
14745 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14747 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14748 Replace "jmp L(pseudo_end)" with "ret".
14749 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14752 2012-05-23 Andreas Jaeger <aj@suse.de>
14754 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14755 * sysdeps/unix/sysv/linux/poll.c: Remove file.
14757 2012-05-23 Andreas Jaeger <aj@suse.de>
14758 Maximilian Attems <max@stro.at>
14760 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14763 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14766 code so that pseudo_end is just ret and the stack pointer is
14767 correct also for static library in error case.
14769 2012-05-23 Joseph Myers <joseph@codesourcery.com>
14771 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14772 move to syscalls.list.
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14778 * manual/install.texi (Running make install): Do not mention Linux
14779 kernel version for which pt_chown is not needed.
14780 (Linux): Do not mention problems with nscd with 2.0 kernels.
14781 * INSTALL: Regenerated.
14783 2012-05-23 Andreas Jaeger <aj@suse.de>
14785 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14786 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14788 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14789 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14790 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14791 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14792 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14793 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14794 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14795 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14796 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14797 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14798 * sysdeps/unix/sysv/linux/bits/in.h
14799 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14801 2012-05-22 Roland McGrath <roland@hack.frob.com>
14803 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14804 (PREPARE_VERSION): Just use assert instead, it will be elided
14805 under [NDEBUG] anyway.
14807 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14809 * sysdeps/unix/sysv/linux/Makefile: Include
14810 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
14811 (sysdep_routines): Remove sysctl.
14812 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14813 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14814 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14815 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14816 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14818 2012-05-22 Andreas Jaeger <aj@suse.de>
14820 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14821 that pseudo_end is just ret and the stack pointer is correct also
14822 for static library in error case.
14824 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14827 * nss/nsswitch.c (defconfig_entries): New variable.
14828 (__nss_database_lookup): Don't leak defconfig entries.
14829 (nss_parse_service_list): Don't leak on error paths.
14830 (free_database_entries): New function.
14831 (free_defconfig): New function.
14832 (free_mem): Move common code to free_database_entries.
14834 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14836 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14838 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14840 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14841 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14844 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14845 (INTERNAL_SYSCALL_TYPES): Likewise.
14846 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14847 (LOAD_REGS_TYPES_[1-6]): Likewise.
14848 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14849 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14851 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14853 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14854 copysignl for GLIBC_2_0.
14855 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14856 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14857 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14858 logbl for GLIBC_2_0.
14859 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14860 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14862 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14865 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14867 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14870 * time/mktime.c: Update copyright years.
14872 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14874 mktime: merge comment-quoting-style change from gnulib
14875 * time/mktime.c: Quote 'like this' in comments.
14876 The GNU coding standards suggest that we no longer quote `like this',
14877 as "`" and "'" are typically rendered asymmetrically nowadays.
14878 The typical gnulib style is to quote 'like this' when quoting
14879 code, and "like this" when quoting English.
14881 * time/mktime.c (compile-command): Add "-I.".
14883 mktime: merge mktime-internal.h change from gnulib
14884 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14886 mktime: merge time_r change from gnulib
14887 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14889 mktime: merge DEBUG change from gnulib
14890 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14891 case system <time.h> has a #define.
14893 mktime: merge <sys/types.h> change from gnulib
14894 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14895 since <time.t> is now guaranteed to define time_t.
14897 mktime: merge HAVE_CONFIG_H change from gnulib
14898 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14900 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14905 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14907 (struct rusage): Use anonymous union to pad each field to
14910 2012-05-21 David S. Miller <davem@davemloft.net>
14912 * Makefules (o-iterator): Remove .s cases.
14913 (compile-command.s): Delete.
14914 (COMPILE.s): Delete.
14915 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14917 2012-05-21 Joseph Myers <joseph@codesourcery.com>
14919 * configure.in (libc_cv_predef_stack_protector): Only consider
14920 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14921 * configure: Regenerated.
14923 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14926 New macro. Use R*LP on int and pointer.
14927 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14928 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14929 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14930 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14932 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14933 [__WORDSIZE_TIME64_COMPAT32] instead of
14934 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14935 (struct utmp): Likewise.
14936 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14937 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14939 (__WORDSIZE_TIME64_COMPAT32): This.
14940 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14941 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14942 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14943 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14944 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14945 (__WORDSIZE_TIME64_COMPAT32): New macro.
14947 2012-05-21 Andreas Jaeger <aj@suse.de>
14949 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14950 only if [SHARED]. Add prototype for __wcschr_ia32.
14952 2012-05-21 Roland McGrath <roland@hack.frob.com>
14954 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14955 of %rbp unmolested in the jmp_buf while mangling the low bits.
14956 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14957 unmolested high bits of %rbp while demangling the low bits.
14958 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14960 2012-05-21 Andreas Jaeger <aj@suse.de>
14962 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14963 * sunrpc/svc_simple.c: Use it for registerrpc.
14964 * sunrpc/xcrypt.c: Use it for passwd2des.
14966 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14968 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14970 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14971 Don't define if [__SYSCALL_WORDSIZE != 32].
14972 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14975 2012-05-21 Bruno Haible <bruno@clisp.org>
14976 Andreas Jaeger <aj@suse.de>
14978 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14979 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14980 inptr and inend for must_buffer_ch.
14981 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14982 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14983 * stdio-common/Makefile (tests): Remove bug15.
14984 (bug15-ENV): Remove macro.
14985 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14988 2012-05-19 Andreas Jaeger <aj@suse.de>
14989 Roland McGrath <roland@hack.frob.com>
14991 * manual/contrib.texi: Completely rewritten. It contains now an
14992 alphabetical list of contributors and their contributions.
14994 2012-05-21 Richard Henderson <rth@twiddle.net>
14996 * misc/getauxval.c (__getauxval): Use unsigned long int.
14997 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14998 (getauxval): Use unsigned long int.
15000 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15002 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15004 2012-05-21 Roland McGrath <roland@hack.frob.com>
15006 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15007 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15008 __alignof__ (long double).
15010 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15014 2012-05-20 Richard Henderson <rth@twiddle.net>
15016 * misc/getauxval.c: New file.
15017 * misc/sys/auxv.h: New file.
15018 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15019 (routines): Add getauxval.
15020 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15021 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15022 * elf/dl-sysdep.c (_dl_auxv): Remove.
15023 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15024 * elf/dl-support.c (_dl_auxv): New variable.
15025 (_dl_aux_init): Initialize it.
15026 * manual/startup.texi (Auxiliary Vector): New node.
15027 * sysdeps/generic/bits/hwcap.h: New file.
15028 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15029 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15030 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15031 * sysdeps/sparc/sysdep.h: ... here. Include it.
15032 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15033 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
15034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15039 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15045 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15049 2012-05-19 David S. Miller <davem@davemloft.net>
15051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15053 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15056 * math/s_ccosh.c: Include <float.h>
15057 (__ccosh): Avoid internal overflow calculating sinh and cosh
15058 values before multiplying by sin and cos values.
15059 * math/s_ccoshf.c: Likewise.
15060 * math/s_ccoshl.c: Likewise.
15061 * math/s_csin.c: Likewise.
15062 * math/s_csinf.c: Likewise.
15063 * math/s_csinl.c: Likewise.
15064 * math/s_csinh.c: Likewise.
15065 * math/s_csinhf.c: Likewise.
15066 * math/s_csinhl.c: Likewise.
15067 * math/libm-test.inc (ccos_test): Add more tests.
15068 (ccosh_test): Likewise.
15069 (csin_test): Likewise.
15070 (csinh_test): Likewise.
15071 * sysdeps/i386/fpu/libm-test-ulps: Update.
15072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15074 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15076 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15077 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15079 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15081 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15083 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15084 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15085 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15086 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15087 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15088 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15089 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15090 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15091 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15092 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15093 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15094 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15095 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15096 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15097 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15098 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15099 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15100 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15101 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15102 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15103 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15104 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15105 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15106 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15107 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15108 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15109 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15110 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15111 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15112 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15113 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15115 2012-05-18 Andreas Jaeger <aj@suse.de>
15117 * csu/.gitignore: Delete.
15119 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15121 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15122 (timex): Use __syscall_slong_t.
15124 2012-05-18 Andreas Jaeger <aj@suse.de>
15125 Carlos O'Donell <carlos_odonell@mentor.com>
15127 * manual/install.texi (Configuring and compiling): Update
15128 description about files modified in the source directory.
15129 * INSTALL: Regenerated.
15131 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15133 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15134 value. Use "or" to set return value to -1.
15135 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15136 negate return value.
15138 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15140 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15141 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15142 failure if the compiler has Graphite support disabled.
15143 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15145 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15146 CFLAGS-memmove.c): Likewise.
15147 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15150 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15152 * sysdeps/x86_64/x32/_itoa.h: New file.
15154 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15155 getdents system call only if kernel and user dirents have the
15156 same d_ino and d_off.
15158 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15159 LLONG_MAX != LONG_MAX.
15160 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15161 (_fitoa_word): Likewise.
15163 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15165 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15166 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15167 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15169 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15170 include <bits/wordsize.h>. Check __x86_64__ instead of
15172 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15173 if __x86_64__ is defined. Use anonymous union on fpstate.
15175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15178 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15180 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15181 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15182 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15183 Refer to _rtld_local_ro instead of _rtld_global_ro.
15184 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15186 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15188 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15190 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15191 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15192 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15194 * sysdeps/powerpc/powerpc32/dl-machine.c
15195 (__elf_machine_runtime_setup) [PROF]: Don't reference
15198 2012-05-18 Andreas Jaeger <aj@suse.de>
15200 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15201 function only available for GCCs before 3.4 since GCC 3.4
15202 introduced a builtin.
15204 (llrintf): Likewise.
15205 (llrint): Likewise.
15212 (nearbyint): Likewise.
15213 (nearbyintf): Likewise.
15217 (floorf): Likewise.
15219 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15221 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15222 on both fields and cast pointer to __syscall_ulong_t.
15224 * bits/types.h (__fsword_t): New type.
15225 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15226 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15227 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15228 (__FSWORD_T_TYPE): Likewise.
15229 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15230 (__FSWORD_T_TYPE): Likewise.
15231 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15232 (__FSWORD_T_TYPE): Likewise.
15233 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15234 (__FSWORD_T_TYPE): Likewise.
15235 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15236 __SWORD_TYPE with __fsword_t.
15237 (statfs64): Likewise.
15239 2012-05-17 David S. Miller <davem@davemloft.net>
15241 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15243 2012-05-17 Andreas Jaeger <aj@suse.de>
15245 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15248 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15250 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15252 2012-05-17 Andreas Jaeger <aj@suse.de>
15254 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15257 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15259 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15261 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15263 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15264 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15266 2012-05-17 Andreas Jaeger <aj@suse.de>
15267 Carlos O'Donell <carlos_odonell@mentor.com>
15270 * sysdeps/x86_64/multiarch/init-arch.h
15271 (bit_YMM_Usable): Rename to...
15272 (bit_AVX_Usable): ... this.
15273 (bit_FMA4_Usable): New macro.
15274 (bit_XMM_state): New macro.
15275 (bit_YMM_state): New macro.
15276 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15277 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15278 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15279 (CPUID_OSXSAVE): New macro.
15280 (CPUID_AVX): New macro.
15281 (CPUID_FMA4): New macro.
15282 (index_YMM_Usable): Rename to...
15283 (index_AVX_Usable): ... this.
15284 (HAS_AVX): Use HAS_ARCH_FEATURE.
15285 (HAS_FMA4): Likewise.
15286 (HAS_YMM_USABLE): Remove.
15287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15288 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15290 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15291 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15292 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15293 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15294 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15296 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15298 * math/libm-test.c: Support platforms without multiple rounding modes.
15299 * math/bug-nextafter.c: Support platforms without FP exceptions.
15300 * math/bug-nexttoward.c: Likewise.
15301 * math/test-fenv.c: Likewise.
15302 * math/test-misc.c: Likewise.
15303 * stdlib/bug-getcontext.c: Likewise.
15305 2012-05-17 Andreas Jaeger <aj@suse.de>
15307 * manual/examples/search.c (critter_cmp): Change signature to
15309 * manual/string.texi (Collation Functions): Likewise.
15311 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15313 * bits/types.h: Fold copyright years.
15314 * bits/typesizes.h: Likewise.
15315 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15316 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15318 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15319 * time/time.h: Likewise.
15321 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15324 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15325 in instead of returning them. Return void.
15326 (__libc_mallinfo): Accumulate over all arenas.
15327 (__malloc_stats): Adjust for change in int_mallinfo interface.
15329 2012-05-16 Roland McGrath <roland@hack.frob.com>
15332 * configure.in (NM): Add AC_CHECK_TOOL for it.
15333 (libc_extra_cflags): New substituted variable.
15334 Check for -fstack-protector being used implicitly.
15335 * configure: Regenerated.
15336 * config.make.in (config-extra-cflags): New variable,
15337 gets @libc_extra_cflags@.
15338 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15341 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15342 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15343 * configure: Regenerated.
15344 * config.make.in (CPPUNDEFS): New substituted variable.
15345 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15346 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15347 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15349 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15351 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15352 (mq_attr): Use __syscall_slong_t.
15354 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15356 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15357 Check __x86_64__ instead of __WORDSIZE.
15358 (_STAT_VER_LINUX): Likewise.
15359 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15360 __syscall_ulong_t and __syscall_slong_t.
15361 (stat64): Likewise.
15363 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15365 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15367 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15369 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15371 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15373 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15376 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15377 include <bits/wordsize.h>. Check __x86_64__ instead of
15379 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15381 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15383 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15384 include <bits/wordsize.h>. Check __x86_64__ instead of
15386 (user_regs_struct): Use "__extension__ unsigned long long"
15387 instead of "unsigned long" if __x86_64__ is defined.
15388 (user): Likewise. Pad after pointer field if __ILP32__ is
15391 2012-05-16 Joseph Myers <joseph@codesourcery.com>
15393 * configure.in (makeinfo): Require version 4.5 or later. Allow
15395 * configure: Regenerated.
15396 * manual/install.texi (texinfo): Increase version requirement to
15398 * INSTALL: Regenerated.
15400 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15402 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15404 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15406 * sysdeps/x86_64/x32/ffs.c: New file.
15408 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15410 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15411 defined. Use __syscall_ulong_t.
15412 (shminfo): Use __syscall_ulong_t.
15413 (shm_info): Likewise.
15415 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15418 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15420 (msgqnum_t): Use __syscall_ulong_t.
15421 (msglen_t): Likewise.
15422 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
15425 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
15426 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15428 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
15430 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
15431 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
15433 * sysvipc/sys/msg.h (msgbuf): Replace long int with
15436 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
15437 include <bits/wordsize.h>. Check __x86_64__ instead of
15440 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
15441 "unsigned long long int" if __x86_64__ is defined.
15442 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
15444 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
15445 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15446 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
15448 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
15450 (GET_PC): Cast to uintptr_t first.
15451 (GET_FRAME): Likewise.
15452 (GET_STACK): Likewise.
15454 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
15455 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
15456 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
15457 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
15458 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
15459 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
15460 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
15461 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
15462 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15463 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
15464 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
15465 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
15466 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15467 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
15468 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
15469 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
15470 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
15471 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
15472 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
15473 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
15474 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
15475 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
15476 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
15477 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
15478 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
15479 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
15480 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
15481 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
15482 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
15484 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
15486 * Makerules (+depfiles): Also collect depfiles from .oS in
15488 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
15489 .oS, $(libnldbl-routines)).
15491 * Makerules (native-compile-mkdep-flags): Define.
15492 * sunrpc/Makefile (extra-objs): Add $(addprefix
15493 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
15494 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
15495 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
15496 calling $(make-target-directory).
15498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15500 * bits/types.h (__snseconds_t): Removed.
15501 * time/time.h (struct timespec): Replace __snseconds_t with
15503 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
15504 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
15506 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15507 (__SNSECONDS_T_TYPE): Likewise.
15508 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15509 (__SNSECONDS_T_TYPE): Likewise.
15510 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15511 (__SNSECONDS_T_TYPE): Likewise.
15513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15515 * sysdeps/mach/hurd/bits/typesizes.h
15516 (__SYSCALL_SLONG_TYPE): New macro.
15517 (__SYSCALL_ULONG_TYPE): Likewise.
15519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15521 * bits/types.h (__syscall_slong_t): New type.
15522 (__syscall_ulong_t): Likewise.
15524 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
15525 (__SYSCALL_ULONG_TYPE): Likewise.
15526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15527 (__SYSCALL_SLONG_TYPE): Likewise.
15528 (__SYSCALL_ULONG_TYPE): Likewise.
15529 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15530 (__SYSCALL_SLONG_TYPE): Likewise.
15531 (__SYSCALL_ULONG_TYPE): Likewise.
15532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15533 (__SYSCALL_SLONG_TYPE): Likewise.
15534 (__SYSCALL_ULONG_TYPE): Likewise.
15536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15538 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
15539 Add sigaltstack-offsets.sym.
15540 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15541 <sigaltstack-offsets.h>.
15542 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
15543 longjmp_msg pointer.
15544 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
15545 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
15547 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
15549 2012-05-15 Joseph Myers <joseph@codesourcery.com>
15551 * elf/stackguard-macros.h: Remove file.
15552 * sysdeps/generic/stackguard-macros.h: New file.
15553 * sysdeps/i386/stackguard-macros.h: Likewise.
15554 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15555 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15556 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15557 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15558 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15559 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15560 * sysdeps/x86_64/stackguard-macros.h: Likewise.
15561 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
15562 <elf/stackguard-macros.h>.
15565 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
15566 __aligned__ in attribute.
15567 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
15568 (gregset_t): Likewise.
15570 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15572 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
15573 * sysdeps/x86_64/64/Implies-after: Here. New file.
15574 * sysdeps/x86_64/x32/Implies-after: New file.
15576 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15578 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
15579 and access return value for _dl_profile_fixup. Use R10_LP to
15582 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15584 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
15586 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15588 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
15589 * sysdeps/x86_64/x32/sysdep.h: New file.
15591 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15593 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
15594 * sysdeps/x86_64/setjmp.S: Likewise.
15596 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15598 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
15599 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
15600 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
15601 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
15602 remove unused global constant.
15604 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
15606 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
15607 include of <not-cancel.h>.
15609 2012-05-15 Roland McGrath <roland@hack.frob.com>
15611 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
15613 2012-05-15 Jeff Law <law@redhat.com>
15614 Andreas Jaeger <aj@suse.de>
15617 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
15619 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
15620 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
15621 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
15622 code changing __hst_map_handle.map.
15624 2012-05-15 Roland McGrath <roland@hack.frob.com>
15626 * configure.in (sysnames): Look for Implies-before and Implies-after
15628 * configure: Regenerated.
15630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15632 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
15633 8-byte data alignment with LP_SIZE alignment.
15635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15637 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
15640 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15642 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
15644 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15646 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
15647 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
15648 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15650 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15654 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15655 (stackinfo_sub_sp): Likewise.
15657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15664 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15667 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15669 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15672 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15674 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15676 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15678 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15679 into R11_LP and load __x86_64_shared_cache_size_half into
15682 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15684 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15687 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15689 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15693 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15695 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15696 powerpc32/power7/fpu/s_logb.c via #include.
15697 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15698 powerpc32/power7/fpu/s_logbf.c via #include.
15699 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15700 powerpc32/power7/fpu/s_logbl.c via #include.
15702 2012-05-15 Joseph Myers <joseph@codesourcery.com>
15704 * README.libm: Remove file.
15706 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15708 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15709 count for x32. Use R*_LP and omit operand-size suffix.
15711 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15713 * shlib-versions: Move x86_64-.*-linux.* entries to ...
15714 * sysdeps/x86_64/64/shlib-versions: Here. New file.
15715 * sysdeps/x86_64/x32/shlib-versions: New file.
15717 2012-05-14 Roland McGrath <roland@hack.frob.com>
15719 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15720 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15721 Use _dl_fatal_printf instead.
15723 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15725 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15726 set if not set by the user. Do not allow for being unset.
15727 * sysdeps/unix/sysv/linux/configure: Regenerated.
15729 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15731 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15732 the `q' suffix from lea and replace .quad with ASM_ADDR.
15734 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15737 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
15739 (PTR_DEMANGLE): Likewise.
15741 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15743 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15745 (ASM_ADDR): Likewise.
15746 (RAX_LP): Likewise.
15747 (RBP_LP): Likewise.
15748 (RBX_LP): Likewise.
15749 (RCX_LP): Likewise.
15750 (RDI_LP): Likewise.
15751 (RSI_LP): Likewise.
15752 (RSP_LP): Likewise.
15755 (R10_LP): Likewise.
15756 (R10_LP): Likewise.
15757 (R11_LP): Likewise.
15758 (R12_LP): Likewise.
15759 (R13_LP): Likewise.
15760 (R14_LP): Likewise.
15761 (R15_LP): Likewise.
15763 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15765 * sysdeps/x86_64/x32/dl-machine.h: New file.
15767 2012-05-14 Andreas Jaeger <aj@suse.de>
15769 * manual/Makefile (subdir): Remove export of subdir.
15770 (all): Remove target.
15771 (.PHONY): Remove all from list.
15772 (mkinstalldirs): Remove.
15773 (.PHONY): Remove installdirs from list.
15774 ($(inst_infodir)/libc.info): Use make-target-directory.
15775 (installdirs): Remove.
15776 (subdir_%): Remove.
15777 (glibc-targets): Remove.
15780 ($(objpfx)stubs ../po/manual.pot): Remove.
15781 ($(objpfx)stamp%): Remove.
15782 (make-target-directory): Remove.
15783 (subdir_install): Remove.
15784 (routines): Remove.
15791 * manual/.gitignore: Remove, it's not needed anymore.
15792 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15794 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15796 (texis): Renamed to $(objpfx)texis.
15797 (texis-path): New, contains path to generated files.
15798 (chapters.%): Use texis-path for complete path, add extra argument
15800 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15801 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15802 (summary,texi, stamp-summary): Use complete path of
15803 files. Generate files in build dir.
15804 (dir-add.texi): Build in build dir.
15805 (libm-err.texi,stamp-libm-err): Likewise.
15806 (version.texi, stamp-version): Likewise.
15807 (.%c.texi): Likewise.
15808 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15809 (mostlyclean): Remove target.
15810 (realclean): Remove target.
15811 (generated): Add new variable with contents from mostlyclean and
15812 realclean, remove entries duplicated in common-mostlyclean, add
15813 stamp-libm-err and stamp-version.
15814 (generated-dirs): Add libc directory.
15815 ($(inst_infodir)/libc.info): Install files from build dir.
15817 * manual/install.texi (Configuring and compiling): Adjust since
15818 the info files are not part of the tar ball anymore.
15820 2012-05-14 Andreas Jaeger <aj@suse.de>
15822 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15825 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15829 to 2.2.0 where earlier.
15830 * sysdeps/unix/sysv/linux/configure: Regenerated.
15831 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15832 Remove conditional code.
15833 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15834 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15835 Remove conditional code.
15836 [!__NR_lchown]: Likewise.
15837 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15838 [__NR_lchown]: Likewise.
15839 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15840 comment referencing __ASSUME_LCHOWN_SYSCALL.
15841 * sysdeps/unix/sysv/linux/i386/sigaction.c
15842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15844 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15845 Remove conditional code.
15846 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15847 (__protocol_available): Remove #if 0 code.
15848 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15850 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15851 * sysdeps/unix/sysv/linux/kernel-features.h
15852 (__ASSUME_GETCWD_SYSCALL): Don't define.
15853 (__ASSUME_REALTIME_SIGNALS): Likewise.
15854 (__ASSUME_PREAD_SYSCALL): Likewise.
15855 (__ASSUME_PWRITE_SYSCALL): Likewise.
15856 (__ASSUME_POLL_SYSCALL): Likewise.
15857 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15858 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15860 (__ASSUME_SIOCGIFNAME): Don't define.
15861 (__ASSUME_MSG_NOSIGNAL): Likewise.
15862 (__ASSUME_SENDFILE): Define unconditionally.
15863 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15864 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15866 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15867 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15868 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15869 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15870 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15871 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15872 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15874 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15875 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15877 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15880 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15883 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15886 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15887 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15889 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15892 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15893 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15895 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15897 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15898 Remove conditional code.
15899 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15900 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15901 Remove conditional code.
15902 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15903 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15904 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15905 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15906 Remove conditional code.
15907 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15908 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15909 Remove conditional code.
15910 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15911 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15912 Remove conditional code.
15913 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15914 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15915 Remove conditional code.
15916 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15917 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15918 Remove conditional code.
15919 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15920 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15921 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15922 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15923 * sysdeps/unix/sysv/linux/sigaction.c
15924 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15925 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15926 * sysdeps/unix/sysv/linux/sigpending.c
15927 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15928 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15929 * sysdeps/unix/sysv/linux/sigprocmask.c
15930 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15931 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15932 * sysdeps/unix/sysv/linux/sigsuspend.c
15933 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15934 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15935 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15936 (__libc_missing_rt_sigs): Remove.
15937 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15938 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15939 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15940 Remove conditional code.
15941 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15942 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15944 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15945 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15946 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15947 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15949 2012-05-14 Andreas Jaeger <aj@suse.de>
15951 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15952 it's not used in glibc.
15953 (__coshm1): Likewise.
15954 (__acosh1p): Likewise.
15957 * manual/string.texi (Copying and Concatenation): Add missing
15958 variable in concat example.
15959 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15961 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15965 __builtin_clzl with __builtin_clzll.
15967 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15970 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15973 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15975 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15976 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15977 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15978 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15980 2012-05-14 Mike Frysinger <vapier@gentoo.org>
15982 * NEWS: Update ia64 info.
15984 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15986 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15989 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15991 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15992 * sysdeps/unix/syscalls.list (dup3): Likewise.
15993 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15994 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15996 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15998 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15999 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16001 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16003 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16005 (TLS_IE): Use mov/add instead of movq/addq to load thread
16007 (TLS_GD_PREFIX): New.
16010 2012-05-11 David S. Miller <davem@davemloft.net>
16012 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16013 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16014 (_FPU_SETCW): Likewise.
16016 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16018 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16019 is 32-byte aligned.
16021 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16024 * iconvdata/gb18030.c: Update tables.
16025 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16026 characters specially.
16027 (BODY for TO_LOOP): Add encoding of missing ranges.
16029 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16032 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16033 * sysdeps/mach/hurd/dup3.c: Likewise.
16034 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16035 * sysdeps/powerpc/memmove.c:: Likewise.
16037 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16040 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16042 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16044 * elf/elf.h (R_X86_64_RELATIVE64): New.
16045 (R_X86_64_NUM): Updated.
16046 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16047 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16048 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16049 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16050 tst-quad1pie tst-quad2pie
16051 (modules-names): Add tst-quadmod1 tst-quadmod2.
16052 ($(objpfx)tst-quad1): New dependency.
16053 ($(objpfx)tst-quad2): Likewise.
16054 ($(objpfx)tst-quad1pie): Likewise.
16055 ($(objpfx)tst-quad2pie): Likewise.
16056 * sysdeps/x86_64/tst-quad1.c: New file.
16057 * sysdeps/x86_64/tst-quad1pie.c: New file.
16058 * sysdeps/x86_64/tst-quad2.c: Likewise.
16059 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16060 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16061 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16062 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16063 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16065 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16067 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16068 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16069 * streams/stropts.h (t_scalar_t): Define type.
16071 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16072 (_PATH_PRESERVE): Set to "/var/lib".
16073 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16075 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16078 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16079 if __dir_mkfile succeeded.
16081 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16082 checking for _hurd_dtablesize. Unlock it right after having
16083 finished _hurd_dtable allocation.
16085 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16087 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16088 * sysdeps/mach/hurd/configure: Regenerated.
16089 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16090 special-casing to...
16091 * sysdeps/gnu/configure.in: ... this new file.
16092 * sysdeps/unix/sysv/linux/configure: Regenerated.
16093 * sysdeps/gnu/configure: New generated file.
16095 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16096 for Linux: use nsec instead of usec, as well as:
16097 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16098 members of type struct timespec.
16099 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16101 (struct stat64): Likewise.
16102 (_STATBUF_ST_NSEC): New macro.
16103 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16105 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16106 __strtoul_internal rather than strtoul.
16108 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16110 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16113 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16115 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16116 which preserves existing values.
16117 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16119 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16121 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16122 TIMEOUT values. Return EINVAL for NFDS values either negative or
16123 greater than FD_SETSIZE.
16125 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16127 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16128 allocated, call __vm_protect to finish enabling the existing space, and
16129 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16130 allocate the remainder.
16132 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16134 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16135 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16137 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16139 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16140 sysdeps/mach/hurd/readlink.c.
16142 * posix/tst-sysconf.c (posix_options): Only use
16143 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16144 _POSIX_SYNCHRONIZED_IO when they are defined
16145 * sysdeps/mach/hurd/bits/posix_opt.h:
16146 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16147 (_XOPEN_REALTIME): Undefine macro.
16148 (_XOPEN_REALTIME_THREADS): Undefine macro.
16149 (_XOPEN_SHM): Undefine macro.
16150 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16152 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16154 (_POSIX_ASYNC_IO): Undefine macro.
16155 (_POSIX_PRIORITIZED_IO): Undefine macro.
16156 (_POSIX_SPIN_LOCKS): Define macro to -1.
16158 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16159 SA_NODEFER, SA_RESETHAND.
16160 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16161 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16164 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16166 * elf/Makefile (pldd-modules): Define unconditionally.
16168 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16170 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16172 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16174 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16175 Return ENOENT when name is empty.
16176 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16178 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16180 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16182 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16184 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16186 Fix mlock in all cases except non-readable pages.
16187 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16188 instead of VM_PROT_ALL as parameter to __vm_wire function.
16190 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16191 (__mkdir): When path is `/', just fail with EEXIST.
16192 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16194 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16196 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16197 <sys/uio.h> (for writev).
16198 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16199 and <sys/param.h> (for MIN).
16201 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16203 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16204 REQUESTED_TIME. Properly set the remaining time and return EINTR
16207 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16209 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16210 Depend on against $(link-rpcuserlibs).
16212 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16214 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16215 (__libc_stack_end): Do not use attribute_relro.
16216 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16217 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
16218 to libthread-provided value.
16219 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16222 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16225 * bits/libc-lock.h (__libc_once_get): New macro.
16226 * sysdeps/mach/bits/libc-lock.h: Likewise.
16227 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16228 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16229 instead of using implementation details.
16231 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16232 * libio/freopen.c: Likewise.
16233 * libio/freopen64.c: Likewise.
16234 * misc/syslog.c: Likewise.
16235 * nscd/connections.c: Likewise.
16236 * nscd/netgroupcache.c: Likewise.
16237 * sysdeps/posix/getcwd.c: Likewise.
16239 2012-05-10 Roland McGrath <roland@hack.frob.com>
16241 * math/w_ilogbf.c: Add #include <limits.h>.
16243 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16245 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
16246 path instead of returning without unlocking.
16248 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16249 immediate-write ioctls.
16250 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16252 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16254 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16255 __builtin_frame_address instead of making assumptions about the
16256 location of the return address relative to DATA. Force early load of
16257 the return address.
16258 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16259 __builtin_frame_address.
16262 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16263 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16264 implement dup3 and do some further code clean-ups.
16265 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16266 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16268 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16270 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16272 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16273 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16274 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16275 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16276 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16279 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16280 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16281 when handler == SIG_ERR, not when handler != SIG_ERR.
16283 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16285 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16286 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16289 accept4 for GNU Hurd.
16290 * include/sys/socket.h (__libc_accept4): New prototype.
16291 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16292 to implement __libc_accept4.
16293 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16295 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16297 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16298 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16299 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16300 signal-defines.sym.
16302 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16304 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
16306 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16308 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16309 assertion on O_CLOEXEC flag.
16310 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16311 * hurd/intern-fd.c: Likewise.
16312 * hurd/port2fd.c: Likewise.
16314 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16317 * bits/in.h (IPV6_PKTINFO): Define new macro.
16318 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16320 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16325 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16326 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16327 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16328 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16329 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16330 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16331 * math/libm-test.inc (logb_test) : Additional logb tests.
16333 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16334 Andreas Jaeger <aj@suse.de>
16336 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16337 * configure: Regenerated.
16338 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16339 * config.make.in (link-obsolete-rpc): New substituted variable.
16340 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16341 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16342 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16343 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16344 so that libc.a contains the symbols.
16345 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16346 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16347 * sunrpc/auth_none.c: Likewise.
16348 * sunrpc/auth_unix.c: Likewise.
16349 * sunrpc/authdes_prot.c: Likewise.
16350 * sunrpc/authuxprot.c: Likewise.
16351 * sunrpc/clnt_gen.c: Likewise.
16352 * sunrpc/clnt_perr.c: Likewise.
16353 * sunrpc/clnt_raw.c: Likewise.
16354 * sunrpc/clnt_simp.c: Likewise.
16355 * sunrpc/clnt_tcp.c: Likewise.
16356 * sunrpc/clnt_udp.c: Likewise.
16357 * sunrpc/clnt_unix.c: Likewise.
16358 * sunrpc/des_crypt.c: Likewise.
16359 * sunrpc/des_soft.c: Likewise.
16360 * sunrpc/get_myaddr.c: Likewise.
16361 * sunrpc/key_call.c: Likewise.
16362 * sunrpc/key_prot.c: Likewise.
16363 * sunrpc/netname.c: Likewise.
16364 * sunrpc/pm_getmaps.c: Likewise.
16365 * sunrpc/pm_getport.c: Likewise.
16366 * sunrpc/pmap_clnt.c: Likewise.
16367 * sunrpc/pmap_prot.c: Likewise.
16368 * sunrpc/pmap_prot2.c: Likewise.
16369 * sunrpc/pmap_rmt.c: Likewise.
16370 * sunrpc/publickey.c: Likewise.
16371 * sunrpc/rpc_cmsg.c: Likewise.
16372 * sunrpc/rpc_common.c: Likewise.
16373 * sunrpc/rpc_dtable.c: Likewise.
16374 * sunrpc/rpc_prot.c: Likewise.
16375 * sunrpc/rpc_thread.c: Likewise.
16376 * sunrpc/rtime.c: Likewise.
16377 * sunrpc/svc.c: Likewise.
16378 * sunrpc/svc_auth.c: Likewise.
16379 * sunrpc/svc_raw.c: Likewise.
16380 * sunrpc/svc_run.c: Likewise.
16381 * sunrpc/svc_tcp.c: Likewise.
16382 * sunrpc/svc_udp.c: Likewise.
16383 * sunrpc/svc_unix.c: Likewise.
16384 * sunrpc/svcauth_des.c: Likewise.
16385 * sunrpc/xcrypt.c: Likewise.
16386 * sunrpc/xdr.c: Likewise.
16387 * sunrpc/xdr_array.c: Likewise.
16388 * sunrpc/xdr_float.c: Likewise.
16389 * sunrpc/xdr_intXX_t.c: Likewise.
16390 * sunrpc/xdr_mem.c: Likewise.
16391 * sunrpc/xdr_rec.c: Likewise.
16392 * sunrpc/xdr_ref.c: Likewise.
16393 * sunrpc/xdr_sizeof.c: Likewise.
16394 * sunrpc/xdr_stdio.c: Likewise.
16396 2012-05-10 Roland McGrath <roland@hack.frob.com>
16398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16399 change. Update copyright years.
16401 2012-05-10 Joseph Myers <joseph@codesourcery.com>
16403 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16405 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16406 Joseph Myers <joseph@codesourcery.com>
16407 Paul Pluzhnikov <ppluzhnikov@google.com>
16410 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16412 [cross-compiling] (extra-libs): Likewise.
16413 [cross-compiling] (extra-libs-others): Likewise.
16414 [cross-compiling] (librpcsvc-routines): Likewise.
16415 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16416 [cross-compiling] (omit-deps): Likewise.
16417 (sunrpc-CPPFLAGS): New variable.
16418 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16419 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16420 (cross-rpcgen-objs): New variable.
16421 (extra-objs): Append $(cross-rpcgen-objs).
16422 ($(cross-rpcgen-objs)): New rule.
16423 ($(objpfx)cross-rpcgen): Likewise.
16424 (rpcgen-cmd): Define to use $(built-program-file). Expand
16426 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
16427 ($(objpfx)x%.stmp): Likewise.
16428 * sunrpc/proto.h [IS_IN_build] (_): Define.
16429 [IS_IN_build] (_libc_intl_domainname): Likewise.
16431 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
16434 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
16435 and R_X86_64_TPOFF64.
16437 2012-05-10 Joseph Myers <joseph@codesourcery.com>
16439 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
16440 sysdeps/unix/sysv/syscalls.list.
16443 * sysdeps/unix/sysv/syscalls.list: Remove file.
16445 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
16448 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
16449 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
16450 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
16451 (__LC_IDENTIFICATION): Make these macros useful in #if
16452 expressions, as required by C99.
16454 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
16456 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
16457 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
16460 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
16462 * stdlib/longlong.h: Updated from GCC.
16464 2012-05-09 Andreas Jaeger <aj@suse.de>
16466 * nscd/nscd.c (run_modes): Make named enum, reorder so that
16467 default is first entry.
16468 (run_mode): Set type.
16469 (main): Remove informal message about syslog.
16470 (options): Fix typo.
16473 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
16476 (llrintf): Likewise.
16477 (llrint): Likewise.
16480 (nearbyint): Likewise.
16481 (nearbyintf): Likewise.
16483 2012-05-09 Andreas Jaeger <aj@suse.de>
16484 Pedro Alves <palves@redhat.com>
16486 * nscd/nscd.c (run_mode): Use enum.
16487 (main): Cleanup coding style issue.
16489 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
16490 Andreas Jaeger <aj@suse.de>
16492 * nscd/nscd.c (go_background): Replaced with...
16493 (run_mode): ... this.
16494 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
16495 (options): Add -F --foreground.
16496 (main): Implement it.
16497 (parse_opt): Parse it.
16499 2012-05-09 Andreas Jaeger <aj@suse.de>
16502 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
16503 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
16504 -Wconversion warning.
16505 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
16508 2012-05-09 Joseph Myers <joseph@codesourcery.com>
16510 * conform/data/locale.h-data (NULL): Use macro-constant. Require
16512 (LC_ALL): Use macro-int-constant.
16513 (LC_COLLATE): Likewise.
16514 (LC_CTYPE): Likewise.
16515 (LC_MESSAGES): Likewise.
16516 (LC_MONETARY): Likewise.
16517 (LC_NUMERIC): Likewise.
16518 (LC_TIME): Likewise.
16519 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
16520 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16522 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
16524 [C99-based standards] (float_t): Expect type.
16525 [C99-based standards] (double_t): Expect type.
16526 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
16528 [C99-based standards] (HUGE_VALL): Likewise.
16529 [C99-based standards] (INFINITY): Likewise.
16530 [C99-based standards] (NAN): Likewise.
16531 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
16532 [C99-based standards] (FP_NAN): Likewise.
16533 [C99-based standards] (FP_NORMAL): Likewise.
16534 [C99-based standards] (FP_SUBNORMAL): Likewise.
16535 [C99-based standards] (FP_ZERO): Likewise.
16536 [C99-based standards] (FP_FAST_FMA): Use
16537 optional-macro-int-constant. Specify type. Require == 1.
16538 [C99-based standards] (FP_FAST_FMAF): Likewise.
16539 [C99-based standards] (FP_FAST_FMAL): Likewise.
16540 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
16541 [C99-based standards] (FP_ILOGBNAN): Likewise.
16542 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
16544 [C99-based standards] (MATH_ERREXCEPT): Likewise.
16545 [C99-based standards] (math_errhandling): Specify type.
16546 [ISO99 || ISO11] (signgam): Do not allow.
16547 [non-C99-based standards] (copysignf): Do not allow.
16548 [non-C99-based standards] (exp2f): Likewise.
16549 [non-C99-based standards] (log2f): Likewise.
16550 [non-C99-based standards] (modff): Allow.
16551 [non-C99-based standards] (erff): Do not allow.
16552 [non-C99-based standards] (erfcf): Likewise.
16553 [non-C99-based standards] (gammaf): Likewise.
16554 [non-C99-based standards] (hypotf): Likewise.
16555 [non-C99-based standards] (j0f): Likewise.
16556 [non-C99-based standards] (j1f): Likewise.
16557 [non-C99-based standards] (jnf): Likewise.
16558 [non-C99-based standards] (lgammaf): Likewise.
16559 [non-C99-based standards] (tgammaf): Likewise.
16560 [non-C99-based standards] (y0f): Likewise.
16561 [non-C99-based standards] (y1f): Likewise.
16562 [non-C99-based standards] (ynf): Likewise.
16563 [non-C99-based standards] (isnanf): Likewise.
16564 [non-C99-based standards] (acoshf): Likewise.
16565 [non-C99-based standards] (asinhf): Likewise.
16566 [non-C99-based standards] (atanhf): Likewise.
16567 [non-C99-based standards] (cbrtf): Likewise.
16568 [non-C99-based standards] (expm1f): Likewise.
16569 [non-C99-based standards] (ilogbf): Likewise.
16570 [non-C99-based standards] (log1pf): Likewise.
16571 [non-C99-based standards] (logbf): Likewise.
16572 [non-C99-based standards] (nextafterf): Likewise.
16573 [non-C99-based standards] (remainderf): Likewise.
16574 [non-C99-based standards] (rintf): Likewise.
16575 [non-C99-based standards] (scalbf): Likewise.
16576 [non-C99-based standards] (copysignl): Likewise.
16577 [non-C99-based standards] (exp2l): Likewise.
16578 [non-C99-based standards] (log2l): Likewise.
16579 [non-C99-based standards] (modfl): Allow.
16580 [non-C99-based standards] (erfl): Do not allow.
16581 [non-C99-based standards] (erfcl): Likewise.
16582 [non-C99-based standards] (gammal): Likewise.
16583 [non-C99-based standards] (hypotl): Likewise.
16584 [non-C99-based standards] (j0l): Likewise.
16585 [non-C99-based standards] (j1l): Likewise.
16586 [non-C99-based standards] (jnl): Likewise.
16587 [non-C99-based standards] (lgammal): Likewise.
16588 [non-C99-based standards] (tgammal): Likewise.
16589 [non-C99-based standards] (y0l): Likewise.
16590 [non-C99-based standards] (y1l): Likewise.
16591 [non-C99-based standards] (ynl): Likewise.
16592 [non-C99-based standards] (isnanl): Likewise.
16593 [non-C99-based standards] (acoshl): Likewise.
16594 [non-C99-based standards] (asinhl): Likewise.
16595 [non-C99-based standards] (atanhl): Likewise.
16596 [non-C99-based standards] (cbrtl): Likewise.
16597 [non-C99-based standards] (expm1l): Likewise.
16598 [non-C99-based standards] (ilogbl): Likewise.
16599 [non-C99-based standards] (log1pl): Likewise.
16600 [non-C99-based standards] (logbl): Likewise.
16601 [non-C99-based standards] (nextafterl): Likewise.
16602 [non-C99-based standards] (remainderl): Likewise.
16603 [non-C99-based standards] (rintl): Likewise.
16604 [non-C99-based standards] (scalbl): Likewise.
16605 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16606 [non-C99-based standards] (FP_*): Do not allow.
16607 [C99-based standards] (FP_*): Change to
16608 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16609 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16611 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
16612 (SIG_ERR): Likewise.
16613 [X/Open-based standards] (SIG_HOLD): Likewise.
16614 (SIG_IGN): Likewise.
16615 (SIGABRT): Use macro-int-constant. Specify type. Require
16617 (SIGFPE): Likewise.
16618 (SIGILL): Likewise.
16619 (SIGINT): Likewise.
16620 (SIGSEGV): Likewise.
16621 (SIGTER): Likewise.
16622 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
16623 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
16624 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
16625 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
16626 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
16627 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
16628 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
16629 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
16630 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
16631 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
16632 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
16633 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
16634 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
16635 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
16636 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
16637 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
16638 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
16639 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
16640 [X/Open-based standards] (SIGTRAP): Likewise.
16641 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
16642 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
16643 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
16644 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
16645 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16648 2012-05-08 Ian Wienand <ianw@vmware.com>
16651 * time/tzset.c (__tzset_parse_tz): Update default rules for
16652 daylight time changes in the Energy Policy Act of 2005.
16654 2012-05-09 Andreas Jaeger <aj@suse.de>
16657 * elf/ldconfig.c (parse_conf): Change string to make clear that
16658 ldconfig only issued a warning if ld.so.conf does not exist.
16660 2012-05-08 David S. Miller <davem@davemloft.net>
16662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16663 movxtod instead of popping the value on the stack.
16665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16667 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
16669 * config.h.in: Add HAVE_ARM_PCS_VFP.
16671 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
16674 * include/features.h: Warn if user requests __FORTIFY_SOURCE
16675 checking but the checks are disabled for any reason.
16677 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
16679 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16680 and ELF64_R_TYPE with ELFW(R_TYPE).
16682 2012-05-08 Joseph Myers <joseph@codesourcery.com>
16684 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16685 (ulimit): Likewise.
16687 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16688 (settimeofday): Likewise.
16690 2012-05-08 Mike Frysinger <vapier@gentoo.org>
16692 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
16693 a struct th_u2 inside the union, and move tu_block/tu_code into
16694 a new th_u3 union of tu_block/tu_code inside of that. Move
16695 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
16696 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
16697 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16698 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16699 (th_stuff): Change to th_u1.tu_stuff.
16701 (th_msg): Change to th_u1.th_u2.tu_data.
16703 2012-05-07 David S. Miller <davem@davemloft.net>
16705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16708 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16709 (SETUP_PIC_REG): Use it.
16710 (SETUP_PIC_REG_LEAF): Use it.
16712 2012-05-07 Joseph Myers <joseph@codesourcery.com>
16716 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16718 (EXPL_FINITE): Likewise.
16719 (FLDLOG): Likewise.
16720 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16721 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16723 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16725 (EXPL_FINITE): Likewise.
16726 (FLDLOG): Likewise.
16727 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16728 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16730 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
16731 test of -max_value argument for long double.
16732 * sysdeps/i386/fpu/libm-test-ulps: Update.
16733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16735 2012-05-06 David S. Miller <davem@davemloft.net>
16737 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16738 quad soft-float symbols whose references which are compiler
16740 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16742 2012-05-06 Joseph Myers <joseph@codesourcery.com>
16746 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16748 (EXPL_FINITE): Likewise.
16749 (FLDLOG): Likewise.
16752 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16753 Adjust comments for base varying.
16754 (__expl_finite): Change alias to EXPL_FINITE.
16755 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16757 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16758 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16760 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16761 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16763 (EXPL_FINITE): Likewise.
16764 (FLDLOG): Likewise.
16767 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16768 Adjust comments for base varying.
16769 (__expl_finite): Change alias to EXPL_FINITE.
16770 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16775 * math/libm-test.inc (check_float_internal): Correct ulp
16776 calculation for subnormal expected results.
16778 2012-05-06 Andreas Jaeger <aj@suse.de>
16780 * Makeconfig (+math-flags): New, set to -frounding-math.
16781 (+cflags): Add +math-flags so that all of glibc gets compiled with
16784 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16786 2012-05-05 Joseph Myers <joseph@codesourcery.com>
16788 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16794 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16795 (__ieee754_expl): Allow for and saturate large arguments.
16796 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16797 (u_threshold): Likewise.
16798 (__exp): Call __ieee754_exp before checking for overflow and
16800 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16801 (u_threshold): Likewise.
16802 (__expf): Call __ieee754_expf before checking for overflow and
16804 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16805 (u_threshold): Likewise.
16806 (__expl): Call __ieee754_expl before checking for overflow and
16808 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16809 (__ieee754_expl): Allow for and saturate large arguments.
16810 * math/libm-test.inc (exp_test): Add another test. Do not allow
16811 missing overflow exception on overflow.
16812 (expm1_test): Do not allow missing overflow exception on overflow.
16814 * sysdeps/i386/fpu/e_expl.c: Move to ...
16815 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16816 rather than using inline asm.
16817 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16818 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16819 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16821 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16824 (signal): Likewise.
16828 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16830 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16831 sysdeps/unix/common/syscalls.list.
16832 (fchmod): Likewise.
16833 (fchown): Likewise.
16834 (ftruncate): Likewise.
16835 (getrusage): Likewise.
16836 (gettimeofday): Likewise.
16837 (setpgid): Likewise.
16838 (setregid): Likewise.
16839 (setreuid): Likewise.
16840 (sigaction): Likewise.
16841 (truncate): Likewise.
16842 (vhangup): Likewise.
16843 * sysdeps/unix/common/syscalls.list: Remove file.
16844 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16845 * sysdeps/unix/sysv/linux/Implies: Likewise.
16847 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16849 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16851 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16855 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16858 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16861 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16864 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16867 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16870 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16873 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16877 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16881 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16884 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16888 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16892 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16894 * sysdeps/unix/common/bits/dirent.h: Remove file.
16895 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16897 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16898 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16899 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16900 * sysdeps/unix/bsd/isatty.c: Likewise.
16901 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16902 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16903 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16905 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16908 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16909 long double comparison inaccuracies.
16910 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16913 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16915 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16916 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16918 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16921 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16922 nonzero digits before rounding a hex value.
16923 * stdlib/tst-strtod.c (tests): Add another test.
16925 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16927 * sysdeps/s390/fpu/libm-test-ulps: Update.
16929 2012-05-03 Andreas Jaeger <aj@suse.de>
16931 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16932 does not get optimized out.
16933 (malloc_opt_barrier): New.
16935 2012-05-03 Andreas Jaeger <aj@suse.de>
16936 Roland McGrath <roland@hack.frob.com>
16938 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16939 intermediate file deletion.
16940 (generated): Add .symlist files.
16942 2012-05-03 Joseph Myers <joseph@codesourcery.com>
16945 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16946 Redirect under this condition.
16947 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16948 [__USE_GNU] (__dprintf_chk): Not under this condition.
16949 [__USE_GNU] (__vdprintf_chk): Likewise.
16950 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16951 under this condition.
16952 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16953 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16954 [__USE_XOPEN2K8] (vdprintf): Likewise.
16955 [__USE_GNU] (__dprintf_chk): Not under this condition.
16956 [__USE_GNU] (__vdprintf_chk): Likewise.
16957 [__USE_GNU] (dprintf): Likewise.
16958 [__USE_GNU] (vdprintf): Likewise.
16960 2012-05-03 Roland McGrath <roland@hack.frob.com>
16962 * elf/Makefile (common-generated): Set this instead of generated for
16963 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16964 $(all-built-dso)-derived lists.
16966 2012-05-03 Andreas Jaeger <aj@suse.de>
16968 * sysdeps/i386/fpu/libm-test-ulps: Update.
16971 * FAQ.in: Likewise.
16972 * scripts/gen-FAQ.pl: Likewise.
16973 * manual/install.texi (Installation): Point to online location of
16975 * Makefile (files-for-dist): Remove FAQ.
16978 2012-05-02 Allan McRae <allan@archlinux.org>
16980 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16981 (LDFLAGS-reldepmod5.so): Likewise.
16982 (LDFLAGS-reldep6mod1.so): Likewise.
16983 (LDFLAGS-reldep6mod4.so): Likewise.
16984 (LDFLAGS-reldep8mod3.so): Likewise.
16985 (LDFLAGS-unload4mod1.so): Likewise.
16986 (LDFLAGS-unload4mod2.so): Likewise.
16987 (LDFLAGS-tst-initorder): Likewise.
16988 (LDFLAGS-tst-initordera2.so): Likewise.
16989 (LDFLAGS-tst-initordera3.so): Likewise.
16990 (LDFLAGS-tst-initordera4.so): Likewise.
16991 (LDFLAGS-tst-initorderb2.so): Likewise.
16992 (LDFLAGS-noload): Likewise.
16993 (LDFLAGS-next): Likewise.
16994 (LDFLAGS-order2mod1.so): Likewise.
16995 (LDFLAGS-order2mod2.so): Likewise.
16996 (LDFLAGS-tst-initorder2): Likewise.
16997 (LDFLAGS-tst-initorder2a.so): Likewise.
16998 (LDFLAGS-tst-initorder2b.so): Likewise.
16999 (LDFLAGS-tst-initorder2c.so): Likewise.
17000 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17002 2012-05-02 David S. Miller <davem@davemloft.net>
17004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17006 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17009 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17011 2012-05-02 Andreas Jaeger <aj@suse.de>
17013 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17014 since we manipulate rounding mode.
17015 (CPPFLAGS-test-idouble.c): Likewise.
17016 (CPPFLAGS-test-ifloat.c): Likewise.
17017 (CFLAGS-test-ldouble.c): Likewise.
17018 (CFLAGS-test-double.c): Likewise.
17019 (CFLAGS-test-float.c): Likewise.
17020 (CFLAGS-test-misc.c): Likewise.
17021 (CFLAGS-test-test-fenv.c): Likewise.
17023 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17027 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17028 comparisons to determine direction to adjust input.
17030 2012-05-01 Roland McGrath <roland@hack.frob.com>
17032 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17033 output to the target.
17035 * scripts/localplt.awk: New file.
17036 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17037 (check-localplt-CFLAGS): Variable removed.
17038 ($(all-built-dso:=.jmprel)): New static pattern rule.
17039 (generated): Add those targets.
17040 (localplt-built-dso): New variable.
17041 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17043 * elf/check-localplt.c: File removed.
17045 * scripts/check-execstack.awk: New file.
17046 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17047 (check-execstack-CFLAGS): Variable removed.
17048 ($(objpfx)check-execstack.h): Target removed.
17049 ($(objpfx)execstack-default): New target.
17050 (generated): Add that instead of check-execstack.h.
17051 ($(all-built-dso:=.phdr)): New static pattern rule.
17052 (generated): Add those targets.
17053 * elf/check-execstack.c: File removed.
17055 * scripts/check-textrel.awk: New file.
17056 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17057 (check-textrel-CFLAGS): Variable removed.
17058 (all-built-dso): Use := to define.o
17059 ($(all-built-dso:=.dyn)): New static pattern rule.
17060 (generated): Add those targets.
17061 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17062 * config.make.in (READELF): New substituted variable.
17063 * elf/check-textrel.c: File removed.
17065 2012-05-01 Joseph Myers <joseph@codesourcery.com>
17067 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17069 * conform/data/ctype.h-data [C99-based standards] (isblank):
17071 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17072 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17073 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17074 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17075 Specify type. Require positive value.
17076 (EILSEQ): Likewise.
17077 (ERANGE): Likewise.
17078 [ISO || POSIX] (EILSEQ): Do not expect.
17079 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17080 Specify type. Require positive value.
17081 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17082 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17083 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17084 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17085 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17086 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17087 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17088 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17089 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17090 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17091 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17092 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17093 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17094 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17095 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17096 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17097 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17098 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17099 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17100 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17101 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17102 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17103 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17104 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17105 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17106 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17107 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17108 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17109 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17110 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17111 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17112 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17113 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17114 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17115 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17116 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17117 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17118 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17119 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17120 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17121 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17122 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17123 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17124 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17125 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17126 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17127 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17128 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17129 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17130 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17131 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17132 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17133 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17134 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17135 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17136 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17137 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17138 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17139 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17140 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17141 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17142 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17143 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17144 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17145 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17146 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17147 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17148 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17149 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17150 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17151 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17152 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17153 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17154 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17155 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17156 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17157 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17159 (FLT_ROUNDS): Expect as macro, not constant.
17160 (FLT_MANT_DIG): Use macro-int-constant.
17161 (DBL_MANT_DIG): Likewise.
17162 (LDBL_MANT_DIG): Likewise.
17163 (FLT_DIG): Likewise.
17164 (DBL_DIG): Likewise.
17165 (LDBL_DIG): Likewise.
17166 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17167 (DBL_MIN_EXP): Likewise.
17168 (LDBL_MIN_EXP): Likewise.
17169 (FLT_MAX_EXP): Use macro-int-constant.
17170 (DBL_MAX_EXP): Likewise.
17171 (LDBL_MAX_EXP): Likewise.
17172 (FLT_MAX_10_EXP): Likewise.
17173 (DBL_MAX_10_EXP): Likewise.
17174 (LDBL_MAX_10_EXP): Likewise.
17175 (FLT_MAX): Use macro-constant.
17176 (DBL_MAX): Likewise.
17177 (LDBL_MAX): Likewise.
17178 (FLT_EPSILON): Use macro-constant. Give upper bound.
17179 (DBL_EPSILON): Likewise.
17180 (LDBL_EPSILON): Likewise.
17181 (FLT_MIN): Likewise.
17182 (DBL_MIN): Likewise.
17183 (LDBL_MIN): Likewise.
17184 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17185 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17186 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17187 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17188 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17189 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17190 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17191 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17192 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17193 [ISO11] (FLT_TRUE_MIN): Likewise.
17194 [ISO11] (LDBL_TRUE_MIN): Likewise.
17195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17196 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17197 (SCHAR_MIN): Use macro-int-constant. Specify type.
17198 (SCHAR_MAX): Likewise.
17199 (UCHAR_MAX): Likewise.
17200 (CHAR_MIN): Likewise.
17201 (CHAR_MAX): Likewise.
17202 (MB_LEN_MAX): Use macro-int-constant.
17203 (SHRT_MIN): Use macro-int-constant. Specify type.
17204 (SHRT_MAX): Likewise.
17205 (USHRT_MAX): Likewise.
17206 (INT_MAX): Likewise.
17207 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17209 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17211 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17213 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17214 bound negative. Suffix upper bound with "L".
17215 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17217 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17219 [C99-based standards] (LLONG_MAX): Likewise.
17220 [C99-based standards] (ULLONG_MAX): Likewise.
17221 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17223 [ISO11] (max_align_t): Require type.
17224 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17226 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17227 from $CFLAGS, without defining away __attribute__ calls.
17228 (checknamespace): Use $CFLAGS_namespace.
17230 * conform/conformtest.pl (@keywords): Only include C99 keywords
17231 for standards based on C99 or C11.
17233 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17235 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17238 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17239 usability of symbols in #if.
17241 * conform/conformtest.pl: If macro or constant types start
17242 "promoted:", expect the symbol to be of the following type
17243 promoted by the integer promotions.
17245 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17246 in one place. Also handle "macro-constant".
17248 * conform/conformtest.pl: Only accept expected macro values with
17249 "==". Parse all "macro" lines in one place.
17250 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17252 * conform/conformtest.pl: Handle braced types on "constant" lines
17253 instead of handling "typed-constant".
17254 * conform/data/signal.h-data: Use "constant" instead of
17257 * conform/conformtest.pl: Handle "optional-" at start of lines in
17258 one place rather than duplicating several cases. Handle each
17259 format of "macro" line with initial "optional-".
17261 * conform/conformtest.pl: Only accept expected constant or
17262 optional-constant values with "==". Parse all "constant" lines in
17263 one place. Parse all "optional-constant" lines in one place.
17264 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17265 * conform/data/fmtmsg.h-data: Likewise.
17266 * conform/data/netinet/in.h-data: Likewise.
17267 * conform/data/tar.h-data: Likewise.
17268 * conform/data/limits.h-data: Use "==" form on "constant" and
17269 "optional-constant" lines.
17271 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17272 Use -std=c99 for XOPEN2K.
17273 (@knownproblems): Remove.
17274 (newtoken): Don't check %isknown.
17276 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17277 Do not expect macro.
17278 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17279 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17280 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17281 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17282 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17283 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17284 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17285 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17286 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17287 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17288 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17289 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17290 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17291 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17292 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17293 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17294 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17295 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17296 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17297 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17298 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17299 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17300 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17301 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17302 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17303 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17304 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17305 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17306 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17307 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17308 [XPG3] (acosh): Likewise.
17309 [XPG3] (asinh): Likewise.
17310 [XPG3] (atanh): Likewise.
17311 [XPG3] (cbrt): Likewise.
17312 [XPG3] (expm1): Likewise.
17313 [XPG3] (ilogb): Likewise.
17314 [XPG3] (log1p): Likewise.
17315 [XPG3] (logb): Likewise.
17316 [XPG3] (nextafter): Likewise.
17317 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17318 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17319 [XPG3] (remainder): Likewise.
17320 [XPG3] (rint): Likewise.
17321 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17322 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17323 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17324 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17325 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17326 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17327 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17328 [UNIX98 || XOPEN2K] (scalb): Expect.
17329 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17330 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17331 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17332 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17333 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17334 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17335 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17336 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17337 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17338 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17339 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17340 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17341 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17342 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17343 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17344 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17345 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17346 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17347 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17348 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17349 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17350 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17351 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17352 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17353 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17354 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17355 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17356 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17357 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17358 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17359 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17360 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17361 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17362 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17363 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17364 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17365 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17366 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17367 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17368 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17369 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17370 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17371 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17372 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17373 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17374 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17375 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17376 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17377 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17378 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17379 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17380 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17381 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17382 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17383 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17384 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17385 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17386 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17387 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17388 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17389 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17390 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17391 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17392 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17393 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17394 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17395 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17396 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17397 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17398 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17399 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17400 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17401 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17402 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17403 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17404 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17405 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17406 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17407 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17408 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17409 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17410 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17411 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17412 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17413 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17414 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17415 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17416 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17417 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17418 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17419 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17420 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17421 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
17422 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
17423 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
17424 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
17425 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
17426 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
17427 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
17428 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
17429 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
17430 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
17431 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
17432 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
17433 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
17434 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
17435 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
17436 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
17437 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
17438 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
17439 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
17440 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
17441 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
17442 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
17443 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
17444 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
17445 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
17446 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
17447 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
17448 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
17449 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
17450 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
17451 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
17452 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
17453 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
17454 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
17455 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
17456 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
17457 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
17458 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
17459 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
17460 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
17461 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
17462 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
17463 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
17464 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
17465 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
17467 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
17468 _XOPEN_SOURCE_EXTENDED for XPG4.
17470 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
17472 * Makeconfig (localtime): Remove variable.
17473 (inst_localtime-file): Likewise.
17475 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
17489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17496 2012-05-01 Joseph Myers <joseph@codesourcery.com>
17500 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
17501 comparisons to determine direction to adjust input.
17502 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17503 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
17504 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17506 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17508 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17510 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17511 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17513 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17515 * math/libm-test.inc (nexttoward_test): Add more tests.
17517 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17520 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
17521 in version GLIBC_2.1, not GLIBC_2.0.
17522 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
17525 2012-04-30 Joseph Myers <joseph@codesourcery.com>
17528 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
17530 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17531 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
17532 * math/libm-test.inc (acos_test): Add more tests.
17533 (asin_test): Likewise.
17534 * sysdeps/i386/fpu/libm-test-ulps: Update.
17535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17538 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
17540 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
17541 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17542 * math/libm-test.inc (acos_test_tonearest): New function.
17543 (acos_test_towardzero): Likewise.
17544 (acos_test_downward): Likewise.
17545 (acos_test_upward): Likewise.
17546 (asin_test_tonearest): Likewise.
17547 (asin_test_towardzero): Likewise.
17548 (asin_test_downward): Likewise.
17549 (asin_test_upward): Likewise.
17550 (main): Call the new functions.
17551 * sysdeps/i386/fpu/libm-test-ulps: Update.
17552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17556 * math/e_exp10.c: Include <float.h>.
17557 (__ieee754_exp10): Handle underflow here rather than multiplying
17558 large negative argument by M_LN10.
17559 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
17561 * math/e_exp10l.c: Include <float.h>.
17562 (__ieee754_exp10l): Handle underflow here rather than multiplying
17563 large negative argument by M_LN10l.
17564 * math/libm-test.inc (exp10_test): Add another test. Do not allow
17565 spurious overflow exception on underflow.
17567 2012-04-29 Marek Polacek <polacek@redhat.com>
17569 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
17570 (__fortify_function): New macro.
17571 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
17572 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
17573 __extern_always_inline.
17574 * libio/bits/stdio2.h: Likewise.
17575 * libio/bits/stdio.h: Likewise.
17576 * string/string.h: Likewise.
17577 * string/bits/string3.h: Likewise.
17578 * include/stdio.h: Likewise.
17579 * stdlib/bits/stdlib.h: Likewise.
17580 * stdlib/stdlib.h: Likewise.
17581 * rt/bits/mqueue2.h: Likewise.
17582 * rt/mqueue.h: Likewise.
17583 * posix/bits/unistd.h: Likewise.
17584 * posix/unistd.h: Likewise.
17585 * io/bits/poll2.h: Likewise.
17586 * io/bits/fcntl2.h: Likewise.
17587 * io/fcntl.h: Likewise.
17588 * io/sys/poll.h: Likewise.
17589 * misc/bits/syslog.h: Likewise.
17590 * misc/bits/syslog-ldbl.h: Likewise.
17591 * misc/sys/syslog.h: Likewise.
17592 * socket/bits/socket2.h: Likewise.
17593 * socket/sys/socket.h: Likewise.
17594 * debug/tst-chk1.c: Likewise.
17595 * wcsmbs/bits/wchar2.h: Likewise.
17596 * wcsmbs/bits/wchar-ldbl.h: Likewise.
17597 * wcsmbs/wchar.h: Likewise.
17599 2012-04-29 Andreas Jaeger <aj@suse.de>
17601 * Makerules (tests): Remove enable-check-abi protection.
17602 (check-abi-warn): Remove.
17603 (check-abi-%): Remove check-abi-warn usage.
17605 * configure.in: Remove check-abi configure option.
17606 * configure: Regenerated.
17607 * config.make.in (enable-check-abi): Remove.
17609 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
17612 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
17613 double functions to double *_finite functions.
17616 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
17617 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
17619 * stdio-common/Makefile (tests): Add tst-sprintf3.
17620 * stdio-common/tst-sprintf3.c: New file.
17622 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
17623 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
17625 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17627 * conform/conformtest.pl: Remove duplicate typed-constant
17630 2012-04-28 David S. Miller <davem@davemloft.net>
17632 * Makerules (%.abilist): Add vpath on sysdep_dirs.
17633 (check-abi-%): Remove AWK script prerequisite and explicit
17635 (check-abi): Rewrite to just diff the symlist with the abilist.
17636 (config-tls, config-abi-config): Delete, no longer used.
17637 (update-abi-%): Remove AWK script and explicit abilist directory.
17638 (update-abi): Rewrite to simply compare and conditionally copy the
17639 symlist and the sysdep abilist file. Remove update-abi-config
17641 * abilist/ld.abilist: Remove.
17642 * abilist/libBrokenLocale.abilist: Remove.
17643 * abilist/libanl.abilist: Remove.
17644 * abilist/libcrypt.abilist: Remove.
17645 * abilist/libdl.abilist: Remove.
17646 * abilist/librt.abilist: Remove.
17647 * abilist/libthread_db.abilist: Remove.
17648 * abilist/libutil.abilist: Remove.
17649 * scripts/extract-abilist.awk: Remove.
17650 * scripts/merge-abilist.awk: Remove.
17651 * sysdeps/generic/libcidn.abilist: New file.
17652 * sysdeps/generic/libnss_compat.abilist: New file.
17653 * sysdeps/generic/libnss_db.abilist: New file.
17654 * sysdeps/generic/libnss_dns.abilist: New file.
17655 * sysdeps/generic/libnss_files.abilist: New file.
17656 * sysdeps/generic/libnss_hesiod.abilist: New file.
17657 * sysdeps/generic/libnss_nis.abilist: New file.
17658 * sysdeps/generic/libnss_nisplus.abilist: New file.
17659 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17660 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17661 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17664 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17665 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17666 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17667 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17668 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17669 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17670 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17671 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17673 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17674 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17675 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17676 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17678 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17679 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17680 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17681 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17682 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17683 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17685 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17686 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17687 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17689 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17792 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17793 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17794 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17797 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17798 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17799 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17800 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17801 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17802 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17803 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17804 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17805 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17857 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17859 * conform/conformtest.pl: Fix typo in handling typed-constant from
17862 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17864 * README: Cut down references to pre-2.6 Linux kernels and
17865 Linuxthreads. Update lists of configurations in libc and ports
17866 and sort alphabetically. Say "or newer" with Linux kernel version
17869 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17871 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17874 * math/libm-test.inc (logb_test_downward): New test to expose
17875 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17878 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17881 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17883 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17884 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17886 2012-04-26 Joseph Myers <joseph@codesourcery.com>
17888 * sysdeps/unix/i386/brk.S: Remove file.
17889 * sysdeps/unix/i386/dl-brk.S: Likewise.
17890 * sysdeps/unix/i386/pipe.S: Likewise.
17891 * sysdeps/unix/i386/sigreturn.S: Likewise.
17892 * sysdeps/unix/i386/syscall.S: Likewise.
17893 * sysdeps/unix/i386/vfork.S: Likewise.
17894 * sysdeps/unix/i386/wait.S: Likewise.
17896 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17897 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17899 * configure.in (arm*-none*): Do not allow without
17900 --enable-hacker-mode.
17901 (netbsd*): Remove case setting base_os.
17902 (386bsd*): Likewise.
17903 (freebsd*): Likewise.
17906 (sunos*): Likewise.
17907 (ultrix*): Likewise.
17908 (newsos*): Likewise.
17909 (dynix*): Likewise.
17915 (minix*): Likewise.
17916 (irix4*): Likewise.
17917 (irix6*): Likewise.
17918 (solaris[2-9]*): Likewise.
17920 * configure: Regenerated.
17922 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17925 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17926 overflow or cancellation in calculating denominator.
17927 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17928 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17929 down expression to avoid unexpected rounding in newer GCCs.
17930 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17932 2012-04-26 David S. Miller <davem@davemloft.net>
17934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17935 long-double compat symbols.
17936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17950 2012-04-25 David S. Miller <davem@davemloft.net>
17952 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17953 HWCAP_* values only after the memory barriers have been defined.
17954 (atomic_full_barrier): Define.
17955 (atomic_read_barrier): Define.
17956 (atomic_write_barrier): Define.
17958 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17960 * shlib-versions: Add libgcc_s version information.
17961 * sysdeps/generic/libgcc_s.h: Remove.
17962 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17964 * sysdeps/gnu/unwind-resume.c: Likewise.
17965 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17967 2012-04-25 David S. Miller <davem@davemloft.net>
17969 * sysdeps/unix/sparc/brk.S: Delete.
17970 * sysdeps/unix/sparc/dl-brk.S: Delete.
17971 * sysdeps/unix/sparc/pipe.S: Delete.
17972 * sysdeps/unix/sparc/sysdep.S: Delete.
17973 * sysdeps/unix/sparc/sysdep.h: Delete.
17974 * sysdeps/unix/sparc/vfork.S: Delete.
17975 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17976 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17977 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17978 ret_ERRVAL, r0, r1, MOVE): Define.
17979 (JUMPTARGET): Remove.
17980 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17981 sysdeps/unix/sparc/sysdep.h
17982 (ENTRY, END): Remove.
17983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17985 2012-04-25 Joseph Myers <joseph@codesourcery.com>
17987 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17988 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17991 * timezone/README: Update upstream location and email address for
17993 * timezone/zdump.c: Update from tzcode 2012b.
17994 * timezone/zic.c: Likewise.
17996 * configure.in (libc_cv_as_needed): Remove test.
17997 * configure: Regenerated.
17998 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17999 conditional definition.
18000 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18001 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18002 * config.make.in (have-as-needed): Remove variable.
18004 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18005 Paul Pluzhnikov <ppluzhnikov@google.com>
18007 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18010 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18012 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18013 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18014 * sysdeps/sh/strlen.S: Likewise.
18016 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18018 * sysdeps/unix/fork.S: Remove file.
18019 * sysdeps/unix/i386/fork.S: Likewise.
18020 * sysdeps/unix/sparc/fork.S: Likewise.
18022 * sysdeps/unix/system.c: Remove file.
18023 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18025 * sysdeps/unix/getegid.S: Remove file.
18026 * sysdeps/unix/geteuid.S: Likewise.
18028 2012-04-24 Roland McGrath <roland@hack.frob.com>
18030 * scripts/check-localplt.awk: New file.
18031 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18033 * scripts/data/localplt-generic.data: Add a comment.
18035 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18036 NODE when __dir_mkfile failed.
18037 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18038 Reported by Ludovic Courtès <ludo@gnu.org>.
18040 2012-04-24 Andreas Jaeger <aj@suse.de>
18042 * Makerules (common-clean): Also remove gen-as-const-headers
18045 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18047 * Makerules (native-compile): Do not change working directory for
18048 build. Use $(OUTPUT_OPTION) in command.
18049 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18051 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18054 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18055 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18056 * math/libm-test.inc (floor_test): Add more tests.
18057 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18059 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18061 * sysdeps/unix/getdents.c: Remove file.
18062 * sysdeps/unix/sysv/getdents.c: Likewise.
18063 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18065 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18066 sysdeps/unix/mman/syscalls.list.
18068 (mprotect): Likewise.
18070 (munmap): Likewise.
18071 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18072 * sysdeps/unix/mman/syscalls.list: Remove.
18073 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18075 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18076 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18077 * configure: Regenerated.
18078 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18079 $(libgcc_s_suffix).
18080 * config.make.in (libgcc_s_suffix): Remove variable.
18082 2012-04-23 Joseph Myers <joseph@codesourcery.com>
18084 * sysdeps/unix/sysv/gethostname.c: Move to ...
18085 * sysdeps/posix/gethostname.c: ... here.
18087 * sysdeps/unix/execve.S: Remove file.
18089 * sysdeps/unix/_exit.S: Remove file.
18091 2012-04-23 Andreas Jaeger <aj@suse.de>
18094 * manual/Makefile: Remove make dist support, there's no
18095 need for a stand-alone documentation tar ball.
18096 (TEXI2DVI): Define always, it's not in Makeconfig.
18099 (edition): Removed.
18100 (glibc-doc-$(edition).tar): Removed
18104 (ETAGS): Remove, it's in Makeconfig.
18105 (move-if-change): Remove, it's in Makeconfig.
18107 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
18110 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18111 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18112 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18113 (strtod_l, strtof_l, strtold_l): Remove __wur.
18114 It is not necessarily an error to ignore strtol's return value.
18115 One can reliably look at the stored endptr to decide whether
18116 the number had valid syntax.
18118 2012-04-21 Andreas Jaeger <aj@suse.de>
18121 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18123 2012-04-21 Joseph Myers <joseph@codesourcery.com>
18125 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18126 * sysdeps/unix/sysv/Versions: Remove file.
18128 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18133 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
18136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18137 version from __vm86.
18139 2012-04-20 Joseph Myers <joseph@codesourcery.com>
18141 * sysdeps/unix/common/lxstat.c: Remove file.
18142 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18144 * sysdeps/unix/sysv/Makefile: Remove file.
18146 * sysdeps/unix/sysv/direct.h: Remove file.
18148 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18149 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18150 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18151 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18152 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18153 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18154 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18156 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18158 * sysdeps/unix/xmknod.c: Remove file.
18159 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18161 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18163 * sysdeps/unix/sysv/i386/time.S: Remove file.
18165 * sysdeps/unix/fxstat.c: Remove file.
18166 * sysdeps/unix/xstat.c: Likewise.
18167 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18169 * sysdeps/unix/sysv/sigaction.c: Remove file.
18171 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18172 (sysdep_headers): Remove variable.
18173 [termio.h not in sysdep_headers] (generated): Likewise.
18174 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18175 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18176 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18177 * sysdeps/unix/sysv/tcflow.c: Likewise.
18178 * sysdeps/unix/sysv/tcflush.c: Likewise.
18179 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18180 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18181 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18182 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18183 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18185 * sysdeps/unix/siglist.c: Remove file.
18187 * sysdeps/unix/getppid.S: Remove file.
18189 * sysdeps/unix/mkdir.c: Remove file.
18190 * sysdeps/unix/rmdir.c: Likewise.
18192 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18194 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18196 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18197 errlist-compat value.
18199 2012-04-18 David S. Miller <davem@davemloft.net>
18201 * sysdeps/generic/memcopy.h (reg_char): Delete.
18202 * debug/strcat_chk.c: Use char, not reg_char.
18203 * debug/strcpy_chk.c: Likewise.
18204 * debug/strncat_chk.c: Likewise.
18205 * debug/strncpy_chk.c: Likewise.
18206 * string/memchr.c: Likewise.
18207 * string/memrchr.c: Likewise.
18208 * string/rawmemchr.c: Likewise.
18209 * string/strcat.c: Likewise.
18210 * string/strchr.c: Likewise.
18211 * string/strchrnul.c: Likewise.
18212 * string/strcmp.c: Likewise.
18213 * string/strcpy.c: Likewise.
18214 * string/strncat.c: Likewise.
18215 * string/strncmp.c: Likewise.
18216 * string/strncpy.c: Likewise.
18218 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18220 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18221 __builtin_memcopy is called when src and dest ranges are known to not
18224 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18226 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18227 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18228 fwd_align_merge macro call.
18229 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18230 bwd_align_merge macro call.
18231 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18233 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18235 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18236 bwd_align_merge macros.
18237 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18238 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18239 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18241 2012-04-18 David S. Miller <davem@davemloft.net>
18243 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18245 2012-04-18 Andreas Jaeger <aj@suse.de>
18248 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18249 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18250 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18252 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18253 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18254 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18256 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18257 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18258 Adjust for changed ldbl-128 files.
18260 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18261 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18262 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18264 2012-04-17 David S. Miller <davem@davemloft.net>
18266 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18268 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18270 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18271 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18272 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18273 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18274 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18275 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18277 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18280 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18281 * math/libm-test.inc: Add ilogb errno and exception tests.
18282 * math/w_ilogb.c: New file: ilogb wrapper.
18283 * math/w_ilogbf.c: New file: ilogbf wrapper.
18284 * math/w_ilogbl.c: New file: ilogbl wrapper.
18285 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18286 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18287 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18288 exception being thrown with 0.0 as argument.
18289 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18290 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18291 exception being thrown with 0.0 as argument.
18292 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18293 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18294 exception being thrown with 0.0 as argument.
18295 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18296 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18297 exception being thrown with 0.0 as argument.
18298 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18299 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
18300 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
18301 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18302 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18303 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18304 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18305 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18306 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18308 2012-04-17 Petr Baudis <pasky@ucw.cz>
18310 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18313 2012-04-16 Marek Polacek <polacek@redhat.com>
18315 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18317 2012-04-16 Marek Polacek <polacek@redhat.com>
18319 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18320 operands of fdivp instruction.
18322 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18324 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18325 * elf/tst-auditmod3b.c: Likewise.
18326 * elf/tst-auditmod4b.c: Likewise.
18327 * elf/tst-auditmod5b.c: Likewise.
18328 * elf/tst-auditmod6b.c: Likewise.
18329 * elf/tst-auditmod6c.c: Likewise.
18330 * elf/tst-auditmod7b.c: Likewise.
18331 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18332 * sysdeps/x86_64/preconfigure.in: Likewise.
18333 * sysdeps/x86_64/preconfigure: Regenerated.
18335 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18337 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18340 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
18342 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18343 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18345 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18348 * locale/iso-639.def: Fix gl language name. Spotted by
18351 2012-04-12 Roland McGrath <roland@hack.frob.com>
18354 * libio/libio.h (__io_write_fn): Update comment.
18356 2012-04-12 Petr Baudis <pasky@ucw.cz>
18359 * stdio.texi (Hook Functions): The user provided writer function
18360 is not allowed to return -1.
18362 2012-04-11 David S. Miller <davem@davemloft.net>
18364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18366 2012-04-11 Mike Frysinger <vapier@gentoo.org>
18368 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18369 Add a leading slash to rtkaio.
18371 2012-04-11 Jim Meyering <meyering@redhat.com>
18374 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18375 It is not necessarily an error to ignore fwrite's return
18376 value. One can reliably use ferror to test for errors after
18379 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18381 * bits/types.h (__snseconds_t): New type.
18382 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18384 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18385 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18386 (__SNSECONDS_T_TYPE): Likewise.
18387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18388 (__SNSECONDS_T_TYPE): Likewise.
18389 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18390 (__SNSECONDS_T_TYPE): Likewise.
18392 2012-04-10 Andreas Jaeger <aj@suse.de>
18395 * manual/time.texi (Processor Time): Return type of times is
18396 elapsed real time since an arbitrary point in the past.
18397 (CPU Time): Move CLK_TCK from here...
18398 (Processor Time): ...to here. Correct description.
18399 * manual/conf.texi (Constants for Sysconf): Correct description of
18402 2012-04-10 David S. Miller <davem@davemloft.net>
18405 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18406 where the is a gap between DT_REL(A) and DT_JMPREL.
18408 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18410 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18411 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18412 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18414 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18416 * elf/dl-support.c (_dl_inhibit_cache): New variable.
18417 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18418 (dl_main): Handle --inhibit-cache.
18419 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18421 * elf/dl-load.c (_dl_map_object): Use it.
18422 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
18424 2012-04-09 Joseph Myers <joseph@codesourcery.com>
18427 * sysdeps/i386/fpu/e_powl.S (p78): New object.
18428 (__ieee754_powl): Saturate large exponents rather than testing for
18429 overflow of y*log2(x).
18430 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18431 * math/libm-test.inc (pow_test): Do not permit spurious overflow
18435 * math/s_ctan.c: Include <float.h>.
18436 (__ctan): Avoid internal overflow or cancellation in calculating
18438 * math/s_ctanf.c: Likewise.
18439 * math/s_ctanl.c: Likewise.
18440 * math/s_ctanh.c: Likewise.
18441 * math/s_ctanhf.c: Likewise.
18442 * math/s_ctanhl.c: Likewise.
18443 * math/libm-test.inc (ctan_test): Add more tests.
18444 (ctanh_test): Likewise.
18445 * sysdeps/i386/fpu/libm-test-ulps: Update.
18446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18448 2012-04-09 Andreas Jaeger <aj@suse.de>
18451 * manual/filesys.texi (Directory Entries): Mention that d_namlen
18452 is an optional BSD extension.
18455 * manual/stdio.texi (Opening Streams): Document additional fopen
18458 2012-04-09 Roland McGrath <roland@hack.frob.com>
18460 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
18461 %eax without telling the compiler.
18463 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
18466 * manual/install.texi: Use sourceware.org.
18468 2012-04-09 Joseph Myers <joseph@codesourcery.com>
18471 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
18472 (__ieee754_pow): Generate overflow and underflow using huge*huge
18473 and tiny*tiny rather than just returning constant infinity or zero
18474 for large exponents.
18475 * math/libm-test.inc (pow_test): Require overflow exceptions for
18476 applicable cases of large exponents.
18479 * sysdeps/i386/fpu/e_pow.S (p10): New object.
18480 (__ieee754_pow): Use iterative multiplication algorithm only for
18481 integer exponents with absolute value below 1024. Check for odd
18482 integer exponents when using algorithm for real exponents.
18483 * math/libm-test.inc (pow_test): Add more tests.
18484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18486 2012-04-08 Joseph Myers <joseph@codesourcery.com>
18489 * math/libm-test.inc (exp_test): Do not allow overflow exception
18492 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
18495 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
18496 instead of __kernel_standard_f.
18498 2012-04-08 Mike Frysinger <vapier@gentoo.org>
18500 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
18501 * sysdeps/x86_64/memset_chk.S: Likewise.
18503 2012-04-08 Andreas Jaeger <aj@suse.de>
18506 * manual/startup.texi (Environment Access): Describe return value
18507 for putenv and setenv.
18510 * manual/filesys.texi (Directory Entries): Add description for
18514 * manual/filesys.texi (Directory Entries): Clarify that it's file
18515 system not operating system in the description of DT_UNKNOWN.
18518 * manual/syslog.texi (closelog): Fix reference, it's openlog.
18520 2012-04-08 Stephen Compall <s11@member.fsf.org>
18523 * manual/llio.texi (Opening and Closing Files): Add cross
18524 reference to explain mode argument.
18526 2012-04-07 Mike Frysinger <vapier@gentoo.org>
18528 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
18529 * sysdeps/x86_64/memset_chk.S: Likewise.
18531 2012-04-07 David S. Miller <davem@davemloft.net>
18533 * elf/elf.h (R_SPARC_WDISP10): Define.
18534 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
18536 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
18537 R_SPARC_SIZE64 and R_SPARC_H34.
18539 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
18541 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
18542 conditions and remove no longer applicable assertion.
18544 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18546 * bits/byteswap.h: Include <features.h>.
18547 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18548 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18550 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18552 * bits/byteswap.h (__bswap_16): Removed.
18553 Include <bits/byteswap-16.h> to get __bswap_16.
18554 * sysdeps/i386/bits/byteswap.h: Likewise.
18555 * sysdeps/s390/bits/byteswap.h: Likewise.
18556 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18557 * bits/byteswap-16.h: New file.
18558 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18559 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18560 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
18561 * string/Makefile (headers): Add bits/byteswap-16.h.
18563 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18566 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
18568 * nss/Makefile (tests-static, tests): Add tst-nss-static.
18569 * nss/tst-nss-static.c: New.
18571 2012-04-06 Robert Millan <rmh@gnu.org>
18574 * manual/llio.texi (File Position Primitive): lseek
18575 refers to WHENCE when it really means OFFSET.
18577 2012-04-06 Andreas Jaeger <aj@suse.de>
18579 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
18580 strncmp declarations.
18582 * abilist/libc.abilist: Add __poll and __ppoll.
18584 2012-04-05 David S. Miller <davem@davemloft.net>
18586 * scripts/check-local-headers.sh: Accept a host triplet in the
18587 path matched by the exclude regexp.
18589 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
18591 * sysdeps/powerpc/powerpc32/dl-machine.h
18592 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
18593 * sysdeps/s390/s390-32/dl-machine.h
18594 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18595 * sysdeps/sparc/sparc32/dl-machine.h
18596 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18597 * sysdeps/sparc/sparc64/dl-machine.h
18598 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18600 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
18602 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
18603 undefined symbol errors.
18605 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
18608 2012-04-05 Michael Matz <matz@suse.de>
18611 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
18613 2012-04-05 Andreas Jaeger <aj@suse.de>
18616 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
18619 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18621 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
18622 which ROUND is no valid rounding mode.
18624 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18626 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
18628 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
18630 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18632 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
18633 an exception using FPU order intentionally.
18635 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18637 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
18638 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
18639 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
18640 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
18642 2012-04-05 Simon Josefsson <simon@josefsson.org>
18645 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
18646 EINVAL when BUFLEN is too smal.
18648 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
18651 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18652 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18654 2012-04-03 Andreas Jaeger <aj@suse.de>
18657 * manual/setjmp.texi (System V contexts): Fix sentence.
18660 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18661 New macro for this case.
18662 [!__GNUC__] (__bswap_64): New inline function for this case.
18663 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18664 * bits/byteswap.h: Likewise.
18665 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18666 ull, guard with __GLIBC_HAVE_LONG_LONG.
18668 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18669 __GLIBC_HAVE_LONG_LONG.
18671 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18672 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18674 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18677 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18678 inptr and inend, rather than using last_ch.
18680 2012-04-02 David S. Miller <davem@davemloft.net>
18682 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18683 * stdio-common/printf-parse.h (read_int): Change return type to
18684 'int', return -1 on INT_MAX overflow.
18685 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18686 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
18687 overflows INT_MAX. Check for overflow of in-format-string precision
18688 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
18689 SIZE_MAX not INT_MAX for integer overflow test.
18690 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18691 skip the construct in the format string but do not record anything.
18692 * stdio-common/bug22.c: Adjust to test both width/prevision
18693 INT_MAX overflow as well as total length INT_MAX overflow. Check
18694 explicitly for proper errno values.
18696 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18698 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18700 * string/test-strcmp.c [! WIDE]: Likewise.
18701 * time/tst-mktime2.c: Likewise for INT_MAX.
18702 * string/test-string.h: #include <sys/param.h> for MIN.
18704 * csu/init-first.c (__libc_init_first): Call __ctype_init.
18705 * sysdeps/i386/init-first.c (init): Likewise.
18706 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18707 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18708 * sysdeps/sh/init-first.c (init): Likewise.
18710 2012-04-01 Ulrich Drepper <drepper@gmail.com>
18712 * po/ru.po: Update from translation team.
18713 * po/vi.po: Likewise.
18715 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18717 * resolv/nss_dns/dns-host.c: Merge copyright years.
18719 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18721 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18722 Optimize memcpy with prefetch if
18723 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
18724 src, dst pointers have unequal 16 byte alignments.
18726 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18729 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18730 from a CNAME entry and return the minimum ttl for the query.
18731 (gaih_getanswer_slice): Likewise.
18733 2012-03-30 Jeff Law <law@redhat.com>
18735 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18737 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18738 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18740 * resolv/nss_dns/dns-host.c: Update copyright year.
18742 2012-03-30 Ulrich Drepper <drepper@gmail.com>
18744 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
18745 requests to save a system call. Fix check that all bytes are sent.
18747 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18748 comments for sendmmsg.
18750 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18753 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18754 with only 1 character between 0x0041 and 0x01b0.
18755 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18756 * wcsmbs/tst-mbsnrtowcs.c: New file.
18758 2012-03-29 David S. Miller <davem@davemloft.net>
18760 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18761 small copies by hand.
18763 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18766 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18767 _nss_compat_initgroups_dyn): Fall back to malloc/free
18768 for large group memberships.
18770 2012-03-28 David S. Miller <davem@davemloft.net>
18772 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18773 that branches into memcpy.
18774 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18775 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18776 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18777 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18778 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18780 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18781 implementation too.
18782 * sysdeps/sparc/mempcpy.S: New file.
18784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18785 the IFUNC routine in the libc case.
18786 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18788 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18789 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18790 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18791 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18792 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18793 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18794 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18795 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18797 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18798 loop to 256 bytes instead of 64 bytes and fix test signedness.
18800 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18801 * sysdeps/sparc/sparc32/Makefile: rather than here...
18802 * sysdeps/sparc/sparc64/Makefile: and here.
18804 2012-03-28 Ulrich Drepper <drepper@gmail.com>
18806 * malloc/mallocbug.c: Avoid warnings about unused variables.
18808 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18811 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18812 in the right place. Discard and retry query if response is
18813 larger than input buffer size.
18815 2012-03-28 Joseph Myers <joseph@codesourcery.com>
18820 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18821 x for large integer exponent.
18822 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18823 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18824 sign of result as needed afterwards.
18825 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18826 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18827 result for underflowing pow the same as for overflow.
18828 (__kernel_standard_l): Handle powl overflow and underflow here
18829 rather than calling __kernel_standard.
18830 * math/libm-test.inc (pow_test): Add more tests.
18845 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18846 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18847 (__kernel_standard_l): New function.
18848 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18850 * math/w_acosl.c (__acosl): Likewise.
18851 * math/w_asinl.c (__asinl): Likewise.
18852 * math/w_atan2l.c (__atan2l): Likewise.
18853 * math/w_atanhl.c (__atanhl): Likewise.
18854 * math/w_coshl.c (__coshl): Likewise.
18855 * math/w_exp10l.c (__exp10l): Likewise.
18856 * math/w_exp2l.c (__exp2l): Likewise.
18857 * math/w_fmodl.c (__fmodl): Likewise.
18858 * math/w_hypotl.c (__hypotl): Likewise.
18859 * math/w_j0l.c (__j0l, __y0l): Likewise.
18860 * math/w_j1l.c (__j1l, __y1l): Likewise.
18861 * math/w_jnl.c (__jnl, __ynl): Likewise.
18862 * math/w_lgammal.c (__lgammal): Likewise.
18863 * math/w_log10l.c (__log10l): Likewise.
18864 * math/w_log2l.c (__log2l): Likewise.
18865 * math/w_logl.c (__logl): Likewise.
18866 * math/w_powl.c (__powl): Likewise.
18867 * math/w_remainderl.c (__remainderl): Likewise.
18868 * math/w_scalbl.c (sysv_scalbl): Likewise.
18869 * math/w_sinhl.c (__sinhl): Likewise.
18870 * math/w_sqrtl.c (__sqrtl): Likewise.
18871 * math/w_tgammal.c (__tgammal): Likewise.
18872 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18873 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18874 * math/libm-test.inc (acos_test): Add more tests.
18875 (acosh_test): Likewise.
18876 (asin_test): Likewise.
18877 (atanh_test): Likewise.
18878 (exp_test): Likewise.
18879 (exp10_test): Likewise.
18880 (exp2_test): Likewise.
18881 (expm1_test): Likewise.
18882 (lgamma_test): Likewise.
18883 (log_test): Likewise.
18884 (log10_test): Likewise.
18885 (log1p_test): Likewise.
18886 (log2_test): Likewise.
18887 (pow_test): Do not allow some spurious overflow exceptions.
18888 (sqrt_test): Add more tests.
18889 (tgamma_test): Likewise.
18890 (y0_test): Likewise.
18891 (y1_test): Likewise.
18892 (yn_test): Likewise.
18894 2012-03-27 Anton Blanchard <anton@samba.org>
18896 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18898 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18899 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18900 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18902 2012-03-27 David S. Miller <davem@davemloft.net>
18904 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18906 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18907 have-as-vis3 check.
18909 2012-03-27 Andreas Jaeger <aj@suse.de>
18911 * sysdeps/x86_64/elf/configure.in: Moved to ...
18912 * sysdeps/x86_64/configure.in: ... here.
18913 * sysdeps/x86_64/elf/start.S: Moved to ...
18914 * sysdeps/x86_64/start.S: ... here.
18915 * sysdeps/x86_64/elf/configure: Delete.
18917 * sysdeps/x86_64/configure.in: Merge contents from
18918 sysdeps/i386/configure.in (without i686 check).
18920 * sysdeps/i386/elf/Versions: Merge into ...
18921 * sysdeps/i386/Versions: ... this.
18922 * sysdeps/i386/elf/Versions: Delete file.
18923 * sysdeps/i386/elf/start.S: Moved to ...
18924 * sysdeps/i386/start.S: ...here.
18925 * sysdeps/i386/elf/configure.in: Merge into...
18926 * sysdeps/i386/configure.in: ...here.
18927 * sysdeps/i386/elf/configure.in: Delete file.
18928 * sysdeps/i386/elf/configure: Delete file.
18930 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18931 * debug/backtracesyms.c: ... here.
18932 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18933 * debug/backtracesymsfd.c: ... here.
18934 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18935 * sysdeps/generic/ifunc-sel.h: ... here.
18937 * sysdeps/unix/i386/start.c: Delete file.
18938 * sysdeps/unix/sparc/start.c: Delete file.
18939 * sysdeps/unix/start.c: Delete file.
18941 * sysdeps/sh/elf/configure.in: Moved to ...
18942 * sysdeps/sh/configure.in: ... here.
18943 * sysdeps/sh/elf/start.S: Moved to ...
18944 * sysdeps/sh/start.S: ... here.
18945 * sysdeps/sh/elf/configure: Delete file.
18947 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18948 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18949 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18950 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18951 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18952 * sysdeps/powerpc/powerpc64/start.S: here.
18953 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18954 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18955 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18956 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18957 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18959 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18960 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18961 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18962 * sysdeps/powerpc/powerpc32/start.S: ... here.
18963 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18964 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18965 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18967 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18968 * sysdeps/powerpc/ifunc-sel.h: ... here.
18969 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18970 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18972 * sysdeps/sparc/elf/configure.in: Moved to ...
18973 * sysdeps/sparc/configure.in: ... here.
18974 * sysdeps/sparc/elf/configure: Delete file.
18975 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18976 * sysdeps/sparc/sparc32/start.S: ... here.
18977 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18978 * sysdeps/sparc/sparc64/start.S: ... here.
18979 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18980 * sysdeps/sparc/sparc32/Makefile: ... this.
18981 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18982 * sysdeps/sparc/sparc64/Makefile: ... this.
18984 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18985 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18986 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18987 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18988 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18989 * sysdeps/s390/s390-32/setjmp.S: ... here.
18990 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18991 * sysdeps/s390/s390-32/configure.in: ... here.
18992 * sysdeps/s390/s390-32/elf/configure: Delete file.
18993 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18994 * sysdeps/s390/s390-32/start.S: ... here.
18996 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18997 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18998 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18999 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19000 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19001 * sysdeps/s390/s390-64/setjmp.S: ... here.
19002 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19003 * sysdeps/s390/s390-64/configure.in: ... here
19004 * sysdeps/s390/s390-64/elf/configure: Delete file.
19005 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19006 * sysdeps/s390/s390-64/start.S: ... here.
19007 * sysdeps/s390/s390-64/elf/configure: Delete.
19009 * configure.in: Remove support for elf directories in sysdeps.
19011 * configure: Regenerated.
19012 * sysdeps/i386/configure: Regenerated.
19013 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19014 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19015 * sysdeps/s390/s390-32/configure: Regenerated.
19016 * sysdeps/s390/s390-64/configure: Regenerated.
19017 * sysdeps/sh/configure: Regenerated.
19018 * sysdeps/sparc/configure: Regenerated.
19019 * sysdeps/x86_64/configure: Regenerated.
19021 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19025 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19026 denormal result into account.
19028 2012-03-25 Roland McGrath <roland@hack.frob.com>
19030 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19031 Reported by Allan McRae <allan@archlinux.org>.
19033 2012-03-23 Jeff Law <law@redhat.com>
19035 * nss/getnssent.c (__nss_getent): Fix typo.
19037 2012-03-23 David S. Miller <davem@davemloft.net>
19039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19041 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19043 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19044 to pad to uint64_t for each field.
19045 (dl_tls_index): Replace unsigned long with uint64_t.
19047 2012-03-23 Daniel Jacobowitz <dmj@google.com>
19048 Paul Pluzhnikov <ppluzhnikov@google.com>
19051 * grp/Makefile (otherlibs): Don't set it.
19052 * inet/Makefile (otherlibs): Likewise.
19053 * login/Makefile (otherlibs): Likewise.
19054 * nscd/Makefile (otherlibs): Likewise.
19055 * posix/Makefile (otherlibs): Likewise.
19056 * pwd/Makefile (otherlibs): Likewise.
19057 * rt/Makefile (otherlibs): Likewise.
19058 * sunrpc/Makefile (otherlibs): Likewise.
19059 * nss/Makefile (otherlibs): Likewise.
19060 Add libnss_files to routines and static-only-routines.
19061 ($(objpfx)getent): Remove rule.
19062 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19063 static-only-routines.
19065 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19068 * math/s_cexp.c: Include <float.h>.
19069 (__cexp): Handle exp result overflowing not necessarily
19070 overflowing both real and imaginary parts of result.
19071 * math/s_cexpf.c: Likewise.
19072 * math/s_cexpl.c: Likewise.
19073 * math/libm-test.inc (cexp_test): Add more tests.
19074 * sysdeps/i386/fpu/libm-test-ulps: Update.
19075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19077 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19079 * include/link.h (ELFW): New macro.
19080 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19081 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19083 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19085 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19088 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19090 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19092 (struct La_x32_retval): Likewise.
19094 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19096 * sysdeps/x86_64/preconfigure.in: New file.
19097 * sysdeps/x86_64/preconfigure: New generated file.
19099 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19102 * math/e_exp2l.c: Include <float.h>.
19103 (__ieee754_exp2l): Handle overflow and underflow cases
19104 separately. Only pass fractional part of argument to
19106 * math/libm-test.inc (exp2_test): Add more tests.
19108 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19109 negating x to take absolute value.
19110 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19112 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19113 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19115 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19116 computing low part if x was negated.
19117 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19119 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19121 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19122 la_x32_gnu_pltexit.
19123 (pltexit): Cast int_retval to ptrdiff_t.
19124 * elf/tst-auditmod3b.c: Likewise.
19125 * elf/tst-auditmod4b.c: Likewise.
19126 * elf/tst-auditmod5b.c: Likewise.
19127 * elf/tst-auditmod6b.c: Likewise.
19128 * elf/tst-auditmod6c.c: Likewise.
19129 * elf/tst-auditmod7b.c: Likewise.
19131 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19132 and x32_gnu_pltexit.
19134 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19135 __ELF_NATIVE_CLASS.
19136 (La_x32_regs): New macro.
19137 (La_x32_retval): Likewise.
19138 (la_x32_gnu_pltenter): New function prototype.
19139 (la_x32_gnu_pltexit): Likewise.
19141 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19143 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19148 * configure.in (libc_cv_cc_nofma): Check for option to disable
19149 generation of FMA instructions.
19150 * configure: Regenerate.
19151 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19152 * sysdeps/ieee754/dbl-64/Makefile: New file.
19153 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19154 Remove brandred-fma4.
19155 (CFLAGS-brandred-fma4.c): Remove.
19156 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19157 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19159 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19162 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19164 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19165 LLONG_MAX != LONG_MAX.
19166 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19167 (_fitoa_word): Likewise.
19168 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19169 LLONG_MAX != LONG_MAX.
19170 * stdio-common/_itowa.h: Include <_itoa.h>.
19171 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19172 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19173 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19174 only if not defined.
19175 (_ITOA_WORD_TYPE): Likewise.
19176 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19177 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19179 2012-03-21 David S. Miller <davem@davemloft.net>
19181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19183 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19185 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19186 of x86_64 when setting libc_cv_slibdir, libdir and
19188 * sysdeps/unix/sysv/linux/configure: Regenerated.
19190 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19192 * manual/lang.texi (Old Varargs): Remove section.
19193 (How Variadic): Update menu.
19194 (va_start): Do not mention varargs.h.
19196 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19197 Joseph Myers <joseph@codesourcery.com>
19199 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19201 * configure: Regenerated.
19203 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19205 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19206 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19209 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19212 * Makefile (files-for-dist): Remove NOTES.
19213 (NOTES): Remove rule.
19214 * README: Don't refer to NOTES.
19215 * manual/creature.texi: Don't include macros.texi.
19216 * manual/intro.texi (creature.texi): Remove comment referring to
19219 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19220 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19221 * configure: Regenerated.
19222 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19223 LIBC_TRY_CC_OPTION.
19224 (libc_cv_as_i686): Likewise.
19225 (libc_cv_cc_avx): Likewise.
19226 (libc_cv_cc_sse2avx): Likewise.
19227 (libc_cv_cc_fma4): Likewise.
19228 (libc_cv_cc_novzeroupper): Likewise.
19229 * sysdeps/i386/configure: Regenerated.
19232 * sysdeps/i386/fpu/s_cexp.S: Remove.
19233 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19234 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19235 * math/libm-test.inc (cexp_test): Add more tests.
19236 * sysdeps/i386/fpu/libm-test-ulps: Update.
19237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19239 2012-03-21 Allan McRae <allan@archlinux.org>
19241 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19243 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19246 * math/w_exp2.c: Do not include <float.h>.
19247 (o_threshold, u_threshold): Remove.
19248 (__exp2): Calculate result before checking finiteness and calling
19250 * math/w_exp2f.c: Likewise.
19251 * math/w_exp2l.c: Likewise.
19252 * math/libm-test.inc (exp2_test): Require overflow exception for
19256 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19257 range of signed 64-bit integers before using fistpll. Remove
19258 checks for whether integers fit in mantissa bits.
19259 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19260 the range of signed 32-bit integers before using fistpl. Remove
19261 checks for whether integers fit in mantissa bits.
19262 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19263 (__ieee754_powl): Test for y outside the range of signed 64-bit
19264 integers before using fistpll. Reduce 64-bit values to 63-bit
19266 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19267 divide-by-zero is raised for zero to large negative powers.
19268 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19269 (__ieee754_powl): Test for y outside the range of signed 64-bit
19270 integers before using fistpll. Reduce 64-bit values to 63-bit
19272 * math/libm-test.inc (pow_test): Add more tests.
19274 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19276 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19277 <stdio-common/_itoa.h>.
19278 * debug/segfault.c: Likewise.
19279 * elf/dl-cache.c: Likewise.
19280 * elf/dl-minimal.c: Likewise.
19281 * elf/dl-misc.c: Likewise.
19282 * elf/dl-sysdep.c: Likewise.
19283 * elf/dl-version.c: Likewise.
19284 * elf/rtld.c: Likewise.
19285 * hurd/hurdsock.c: Likewise.
19286 * hurd/lookup-retry.c: Likewise.
19287 * malloc/malloc.c: Likewise.
19288 * malloc/mtrace.c: Likewise.
19289 * nscd/nscd_getgr_r.c: Likewise.
19290 * nscd/nscd_getpw_r.c: Likewise.
19291 * nscd/nscd_getserv_r.c: Likewise.
19292 * posix/getopt_init.c: Likewise.
19293 * posix/wordexp.c: Likewise.
19294 * stdio-common/_itoa.c: Likewise.
19295 * stdio-common/printf_fphex.c: Likewise.
19296 * stdio-common/vfprintf.c: Likewise.
19297 * string/_strerror.c: Likewise.
19298 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19299 * sysdeps/i386/i686/hp-timing.h: Likewise.
19300 * sysdeps/mach/_strerror.c: Likewise.
19301 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19302 * sysdeps/mach/hurd/sethostid.c: Likewise.
19303 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19304 * sysdeps/mach/xpg-strerror.c: Likewise.
19305 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19306 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19307 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19308 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19309 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19310 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19311 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19312 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19313 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19314 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19315 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19316 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19317 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19318 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19319 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19320 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19321 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19322 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19323 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19324 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19325 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19327 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19329 * stdio-common/_itoa.h: Moved to ...
19330 * sysdeps/generic/_itoa.h: Here.
19332 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19334 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19335 instead of "_itoa.h" and "_itowa.h".
19336 * stdio-common/vfprintf.: Likewise.
19338 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19340 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19342 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19343 (__signbit): Likwise.
19344 (llrintf): Likwise.
19347 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19349 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19352 2012-03-20 Joseph Myers <joseph@codesourcery.com>
19354 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19355 OVERFLOW_EXCEPTION_OK.
19356 * math/libm-test.inc ("Philosophy"): Update comment about
19358 (OVERFLOW_EXCEPTION): Define.
19359 (OVERFLOW_EXCEPTION_OK): Likewise.
19360 (INVALID_EXCEPTION_OK): Renumber.
19361 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19362 (IGNORE_ZERO_INF_SIGN): Likewise.
19363 (test_exceptions): Handle FE_OVERFLOW.
19364 (exp10_test): Expect overflow exceptions.
19365 (exp2_test): Likewise.
19366 (expm1_test): Likewise.
19367 (nextafter_test): Likewise.
19368 (pow_test): Likewise.
19369 (scalbn_test): Likewise.
19370 (scalbln_test): Likewise.
19372 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19374 * sysdeps/x86_64/bits/atomic.h
19375 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19377 (atomic_exchange_acq): Likewise.
19378 (__arch_exchange_and_add_body): Likewise.
19379 (__arch_add_body): Likewise.
19380 (atomic_add_negative): Likewise.
19381 (atomic_add_zero): Likewise.
19383 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19385 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
19386 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19388 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19390 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19391 Check __x86_64__ instead of __WORDSIZE.
19393 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19395 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19397 2012-03-19 David S. Miller <davem@davemloft.net>
19399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19401 * sysdeps/sparc/fpu/fenv_private.h: New file.
19402 * sysdeps/sparc/fpu/math_private.h: Use it.
19403 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19405 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19406 (libc_feholdexcept_setroundl): Remove.
19407 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19409 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19410 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19412 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19414 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19415 int64_t instead of long int.
19416 (INSERT_WORDS64): Likwise.
19418 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19420 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19421 _Unwind_GetCFA return to _Unwind_Ptr first.
19423 2012-03-19 Joseph Myers <joseph@codesourcery.com>
19426 * math/s_clog.c: Include <float.h>.
19427 (__clog): Scale large or subnormal inputs.
19428 * math/s_clogf.c: Likewise.
19429 * math/s_clogl.c: Likewise.
19430 * math/s_clog10.c: Include <float.h>.
19431 (M_LOG10_2): Define.
19432 (__clog10): Scale large or subnormal inputs.
19433 * math/s_clog10f.c: Likewise.
19434 * math/s_clog10l.c: Likewise.
19435 * math/libm-test.inc (clog_test): Add more tests.
19436 (clog10_test): Likewise.
19437 * sysdeps/i386/fpu/libm-test-ulps: Update.
19438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19441 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
19443 * math/libm-test.inc (atan2_test): Add another test.
19445 * Makerules (common-objdir-compile): Remove.
19446 * sysdeps/unix/Makefile (config-generated): Do not add
19447 $(unix-generated) to variable.
19448 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
19449 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
19451 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
19453 [generic bits/local_lim.h] (before-compile): Do not append to
19455 [generic bits/local_lim.h] (common-generated): Likewise.
19456 [generic sys/param.h] (before-compile): Do not append to variable.
19457 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
19458 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
19459 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
19460 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
19462 [generic sys/param.h] (sys/param.h-includes): Remove variable.
19463 [generic sys/param.h] (sys/param.h-includes): Remove rule.
19464 [generic sys/param.h] ($(addprefix
19465 $(common-objpfx),$(sys/param.h-includes))): Likewise.
19466 [generic sys/param.h] (common-generated): Do not append to
19468 [generic sys/param.h] (sysdep_headers): Likewise.
19469 [generic bits/errno.h] (before-compile): Do not append to
19471 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
19473 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
19474 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
19475 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
19476 [generic bits/errno.h] (common-generated): Do not append to
19478 [generic bits/ioctls.h] (before-compile): Do not append to
19480 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
19482 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
19483 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
19484 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
19486 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
19487 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
19488 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
19489 [generic bits/ioctls.h] (common-generated): Do not append to
19491 [generic sys/syscall.h] (syscall.h): Remove variable.
19492 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
19494 [generic sys/syscall.h] (before-compile): Do not append to
19496 [generic sys/syscall.h] (common-generated): Likewise.
19497 * sysdeps/unix/errnos-tmpl.c: Remove file.
19498 * sysdeps/unix/errnos.awk: Likewise.
19499 * sysdeps/unix/ioctls-tmpl.c: Likewise.
19500 * sysdeps/unix/ioctls.awk: Likewise.
19501 * sysdeps/unix/mk-local_lim.c: Likewise.
19502 * sysdeps/unix/snarf-ioctls: Likewise.
19504 2012-03-19 Richard Henderson <rth@twiddle.net>
19506 * sysdeps/i386/fpu/fenv_private.h: New file.
19507 * sysdeps/i386/fpu/math_private.h: Use it.
19508 (math_opt_barrier, math_force_eval): Remove.
19509 (libc_feholdexcept_setround_53bit): Remove.
19510 (libc_feupdateenv_53bit): Remove.
19511 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19512 (math_opt_barrier, math_force_eval): Remove.
19513 (libc_feholdexcept): Remove.
19514 (libc_feholdexcept_setround): Remove.
19515 (libc_fetestexcept, libc_fesetenv): Remove.
19516 (libc_feupdateenv_test): Remove.
19517 (libc_feupdateenv, libc_feholdsetround): Remove.
19518 (libc_feresetround): Remove.
19520 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
19521 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19523 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
19524 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
19525 (libc_feupdateenv_testl): New.
19526 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
19527 (libc_feupdateenv_testf): New.
19528 (libc_feupdateenv): Use libc_feupdateenv_test.
19529 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
19530 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
19532 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
19533 (libc_feholdsetroundf, libc_feholdsetroundl): New.
19534 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
19535 (libc_feresetround_noex): New.
19536 (libc_feresetround_noexf): New.
19537 (libc_feresetround_noexl): New.
19538 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
19539 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
19540 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
19541 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
19543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19544 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
19546 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
19547 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19548 SET_RESTORE_ROUND_NOEX.
19549 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
19550 SET_RESTORE_ROUND_NOEXF.
19551 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
19552 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
19553 (libc_feholdsetroundf): New.
19554 (libc_feresetround, libc_feresetroundf): New.
19556 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
19557 (libc_feholdexcept_setround_53bit): Convert from macro to function.
19558 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
19560 * sysdeps/generic/math_private.h: Include <fenv.h>.
19561 (default_libc_feholdexcept): New.
19562 (default_libc_feholdexcept_setround): New.
19563 (default_libc_fesetenv, default_libc_feupdateenv): New.
19564 (libc_feholdexcept): Only define if undefined.
19565 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
19566 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
19567 (libc_feholdexcept_setroundl): Likewise.
19568 (libc_feholdexcept_setround_53bit): Likewise.
19569 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
19570 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
19571 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
19572 (libc_feupdateenv_53bit): Likewise.
19573 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
19574 (libc_feholdexcept): Convert from macro to inline function.
19575 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
19576 (libc_fesetenv, libc_feupdateenv): Likewise.
19578 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
19579 not previously defined.
19580 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
19581 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
19582 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
19583 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
19584 * sysdeps/ieee754/flt-32/math_private.h: New file.
19585 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
19586 math_private.h below SET_FLOAT_WORD.
19587 (__isnan, __isinf_ns, __finite): Remove.
19588 (__isnanf, __isinf_nsf, __finitef): Remove.
19590 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
19592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19594 2012-03-17 David S. Miller <davem@davemloft.net>
19597 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
19600 2012-03-16 David S. Miller <davem@davemloft.net>
19602 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
19606 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
19608 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
19609 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
19610 sysdep_routines when subdir is sysvipc.
19611 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
19612 __getshmlba helper.
19614 * sysdeps/sparc/fpu/libm-test/ulps: Update.
19616 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19618 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
19621 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19623 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
19624 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
19625 (__lround): Renamed to ...
19626 (__llround): This. Replace long int with long long int.
19627 Define lround functions as aliases of llround functions.
19628 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
19630 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19632 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
19633 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
19634 adresses to uintptr_t. Replace "long int" and "unsigned long
19635 int" with "greg_t" on va_arg.
19637 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19639 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
19640 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
19642 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
19643 Move e_machine check before EI_CLASS check. Handle x32
19644 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
19645 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
19646 SKIP_EM_IA_64 and include
19647 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19649 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
19650 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
19651 (add_system_dir): New macro.
19653 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19654 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19656 2012-03-16 Joseph Myers <joseph@codesourcery.com>
19667 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19669 * math/w_j0f.c (j0f): Likewise.
19671 * math/w_j0l.c (__j0l): Likewise.
19673 * math/w_j1.c (j1): Likewise.
19675 * math/w_j1f.c (j1f): Likewise.
19677 * math/w_j1l.c (__j1l): Likewise.
19679 * math/w_jn.c (jn): Likewise.
19681 * math/w_jnf.c (jnf): Likewise.
19683 * math/w_jnl.c (__jnl): Likewise.
19685 * math/libm-test.inc (j0_test): Add more tests.
19686 (j1_test): Likewise.
19687 (jn_test): Likewise. Add trailing semicolon to existing test.
19688 (y0_test): Likewise.
19689 (y1_test): Likewise.
19690 * sysdeps/i386/fpu/libm-test-ulps: Update.
19691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19695 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19696 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19697 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19698 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19699 (__tanl): Set errno for infinite argument.
19700 * sysdeps/i386/fpu/mptan.c: Remove.
19701 * sysdeps/i386/fpu/s_tan.S: Likewise.
19702 * sysdeps/i386/fpu/s_tanl.S: Likewise.
19703 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19704 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19705 * math/libm-test.inc (tan_test): Add more tests and enable more
19706 tests for double and long double.
19707 * sysdeps/i386/fpu/libm-test-ulps: Update.
19708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19710 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19712 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19713 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19715 2012-03-16 Roland McGrath <roland@hack.frob.com>
19717 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19718 * configure.in: Use it for both main tree and add-ons.
19719 * configure: Regenerated.
19721 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19723 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19725 2012-03-16 Joseph Myers <joseph@codesourcery.com>
19727 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19731 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19732 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19733 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19734 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19735 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19737 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19739 != 0 for prec == 2.
19740 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19741 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19742 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19743 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19744 * sysdeps/i386/fpu/s_sinl.S: Likewise.
19745 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19746 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19747 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19748 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19749 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19750 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19751 * math/libm-test.inc (cos_test): Add more tests and enable more
19752 tests for long double.
19753 (sin_test): Likewise.
19754 (sincos_test): Likewise.
19755 * sysdeps/i386/fpu/libm-test-ulps: Update.
19756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19758 2012-03-16 David S. Miller <davem@davemloft.net>
19760 * sysdeps/sparc/fpu/math_private.h: New file.
19762 2012-03-15 David S. Miller <davem@davemloft.net>
19764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
19767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19778 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19779 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19781 * sysdeps/sparc/sparc-ifunc.h: New file.
19782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
19798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19808 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19809 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19820 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19821 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19822 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19824 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19827 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19829 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19833 2012-03-15 Andreas Jaeger <aj@suse.de>
19836 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19837 ieee754/flt-32 implementation for sin, cos and sincos.
19838 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19839 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19840 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19841 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19842 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19843 ieee754/flt-32 implementation for tan.
19845 * math/libm-test.inc (cos_test): Enable some large input tests for
19847 (sin_test): Likewise.
19848 (sincos_test): Likewise.
19849 (tan_test): Add tests for large input.
19851 * sysdeps/i386/fpu/libm-test-ulps: Update.
19853 2012-03-15 Andreas Jaeger <aj@suse.de>
19856 * math/libm-test.inc (cos_test): Add more test cases.
19857 (sin_test): Likewise.
19858 (sincos_test): Likewise.
19860 2012-03-15 Andreas Jaeger <aj@suse.de>
19863 * math/libm-test.inc (cos_test): Add a test case for large input
19865 (sin_test): Likewise.
19866 (sincos_test): Likewise.
19868 2012-03-15 Andreas Jaeger <aj@suse.de>,
19869 Joseph Myers <joseph@codesourcery.com>
19872 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
19873 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19874 * sysdeps/i386/fpu/branred.c: Likewise.
19875 * sysdeps/i386/fpu/dosincos.c: Likewise.
19876 * sysdeps/i386/fpu/mpa.c: Likewise.
19877 * sysdeps/i386/fpu/s_cos.S: Likewise.
19878 * sysdeps/i386/fpu/s_sin.S: Likewise.
19879 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19880 * sysdeps/i386/fpu/sincos32.c: Likewise.
19882 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19884 (libc_feupdateenv_53bit): Define.
19885 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19887 (libc_feupdateenv_53bit): Define.
19889 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19890 53 bit (without extend i386 double precision).
19892 * math/libm-test.inc (sincos_test): Add tests for large input.
19896 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19898 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19902 2012-03-15 David S. Miller <davem@davemloft.net>
19904 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19905 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19906 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19907 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19932 fmin/fmax sysdep routines.
19933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19935 2012-03-14 David S. Miller <davem@davemloft.net>
19937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19963 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19964 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
20000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
20003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
20006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20009 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20014 * sysdeps/sparc/configure.in: New file.
20015 * sysdeps/sparc/configure: Generate.
20016 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20017 * configure: Regenerate.
20018 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20019 * config.make.in (have-as-vis3): New.
20020 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20021 available use -Av9d instead of -Av9a.
20022 * sysdeps/sparc/sparc64/Makefile: Likewise.
20023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
20024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20032 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20035 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20036 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20038 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20039 fzeros/fnegs to load 0x80000000 into a float register instead of
20041 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20043 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20047 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20048 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20049 ($(inst_includedir)/bits/syscall.h): Remove rule.
20050 ($(objpfx)bits/syscall.d): Include instead of
20051 $(objpfx)syscall-list.d.
20052 (generated): Change syscall-list.h and syscall-list.d to
20053 bits/syscall.h and bits/syscall.d.
20055 2012-03-14 Roland McGrath <roland@hack.frob.com>
20058 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20060 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20063 * math/s_csqrt.c: Include <float.h>.
20064 (__csqrt): Scale large or subnormal inputs.
20065 * math/s_csqrtf.c: Likewise.
20066 * math/s_csqrtl.c: Likewise.
20067 * math/libm-test.inc (csqrt_test): Add more tests.
20068 * sysdeps/i386/fpu/libm-test-ulps: Update.
20069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20072 * math/libm-test.inc (hypot_test): Add more tests.
20074 2012-03-13 David S. Miller <davem@davemloft.net>
20077 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20078 double-precision for the calculation instead of scaling.
20080 2012-03-13 Joseph Myers <joseph@codesourcery.com>
20082 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20083 manipulate bits before adding and subtracting TWO52[sx].
20084 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20085 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20087 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20089 2012-03-13 David S. Miller <davem@davemloft.net>
20091 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20092 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20094 rtld-global-offsets.h
20095 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20097 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20100 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20102 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20103 'err' in the ifdef scope in which it is actually used.
20105 * nss/nss_db/db-init.c: Include string.h
20107 2012-03-12 David S. Miller <davem@davemloft.net>
20109 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20110 masking out of the most significant byte of random value used.
20111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20112 Fix coding style in previous change.
20114 * sysdeps/unix/sysv/linux/kernel-features.h
20115 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20116 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20118 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20121 2012-03-11 David S. Miller <davem@davemloft.net>
20123 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20124 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20125 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20126 for 'resultvar' otherwise things get truncated on 64-bit.
20128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20129 Fix masking out of the most significant byte of random value used.
20131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20133 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20137 2012-03-09 David S. Miller <davem@davemloft.net>
20139 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20140 variables with appropriate CPP guards.
20141 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20142 frame pointer, not the stack pointer. Correct layout comments. Fix test
20143 on resulting framesize and the management of the outregs buffer for pltexit.
20144 Preserve floating point return values across _dl_call_pltexit call.
20145 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20146 framesize and the management of the outregs buffer for pltexit.
20147 Preserve floating point return values across _dl_call_pltexit
20149 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20150 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20151 (print_exit): Fix format string for return register value.
20153 2012-03-10 Joseph Myers <joseph@codesourcery.com>
20155 * sunrpc/Makefile (others): Add rpcgen.
20156 ($(objpfx)rpcgen): Remove special build rule and dependency on
20158 * sunrpc/rpcgen.c: New file.
20160 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20163 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20164 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20165 * sysdeps/i386/crti.S: Likewise.
20166 * sysdeps/i386/crtn.S: Likewise.
20167 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20168 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20169 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20170 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20171 * sysdeps/sh/crti.S: Likewise.
20172 * sysdeps/sh/crtn.S: Likewise.
20173 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20176 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20178 * locale/programs/locfile-kw.gperf: Likewise.
20179 * locale/programs/charmap-kw.h: Regenerated.
20180 * locale/programs/locfile-kw.h: Likewise.
20183 * intl/plural.y: Replace FSF snail mail address with URL.
20184 * intl/plural.c: Regenerated.
20186 2012-03-09 Richard Henderson <rth@twiddle.net>
20188 * include/math_private.h: Remove file.
20189 * math/math_private.h: Move file ...
20190 * sysdeps/generic/math_private.h: ... here.
20192 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20193 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20194 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20196 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
20197 and <math_private.h>.
20198 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20199 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20200 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20201 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20202 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20203 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20204 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20205 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20206 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20207 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20208 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20209 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20210 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20211 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20212 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20213 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20214 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20215 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20216 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20217 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20219 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20220 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20221 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20222 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20223 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20224 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20225 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20227 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20228 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20229 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20230 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20231 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20232 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20233 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20234 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20235 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20236 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20237 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20238 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20239 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20240 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20241 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20242 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20243 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20244 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20245 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20246 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20247 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20248 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20249 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20250 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20251 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20252 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20253 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20254 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20255 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20256 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20257 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20258 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20259 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20260 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20261 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20262 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20263 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20264 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20265 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20266 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20267 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20268 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20269 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20270 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20271 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20272 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20273 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20275 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20277 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20278 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20279 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20280 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20281 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20282 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20284 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20285 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20286 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20287 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20288 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20289 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20290 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20291 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20292 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20293 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20294 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20295 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20296 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20297 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20298 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20299 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20300 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20301 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20302 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20303 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20304 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20305 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20306 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20307 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20308 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20309 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20310 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20311 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20312 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20313 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20314 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20315 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20316 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20317 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20318 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20319 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20320 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20321 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20322 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20323 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20324 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20325 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20326 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20327 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20328 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20329 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20330 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20331 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20332 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20333 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20334 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20335 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20336 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20337 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20338 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20339 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20340 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20341 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20342 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20343 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20344 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20345 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20346 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20347 * sysdeps/ieee754/k_standard.c: Likewise.
20348 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20349 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20350 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20351 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20352 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20353 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20354 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20355 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20356 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20357 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20358 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20359 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20360 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20361 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20362 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20363 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20364 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20365 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20367 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20368 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20370 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20371 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20372 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20373 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20374 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20375 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20376 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20377 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20378 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20379 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20380 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20381 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20382 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20383 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20384 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20385 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20386 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20387 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20388 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20389 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20390 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20391 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20392 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20393 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20394 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20396 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20397 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20398 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20399 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20400 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20401 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20402 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20403 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20404 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20405 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20406 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20407 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20408 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20409 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20411 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20412 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20413 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20414 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20415 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20416 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20417 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20418 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20420 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20421 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20422 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20423 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20424 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
20425 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20426 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20428 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20429 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20430 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20432 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
20433 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20434 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20435 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20436 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20437 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20438 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
20439 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20441 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20442 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20443 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20444 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
20445 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20446 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20447 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
20448 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20449 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20450 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20451 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20452 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
20453 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20454 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20455 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20456 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
20457 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20458 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20459 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20460 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20461 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20462 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20463 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20464 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20465 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20466 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20467 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20468 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20469 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20470 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20471 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20472 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20473 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
20474 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20475 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20476 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20477 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20478 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20479 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20480 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20481 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20482 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20483 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20484 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
20485 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20486 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20487 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
20488 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
20489 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20490 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
20491 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
20492 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20493 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20494 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20495 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20496 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20497 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
20498 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20499 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20500 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20501 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20502 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
20503 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
20504 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20505 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20506 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20507 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20508 * sysdeps/ieee754/s_lib_version.c: Likewise.
20509 * sysdeps/ieee754/s_matherr.c: Likewise.
20510 * sysdeps/ieee754/s_signgam.c: Likewise.
20511 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20512 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20513 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
20514 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
20515 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
20516 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20517 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
20518 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
20519 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
20520 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
20521 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20522 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
20523 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20524 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20525 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
20526 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20527 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20528 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20529 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20530 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20531 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20533 2012-03-09 Joseph Myers <joseph@codesourcery.com>
20535 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
20536 * sunrpc/rpc_main.c: Likewise.
20537 * sunrpc/rpc_svcout.c: Likewise.
20539 2012-03-09 David S. Miller <davem@davemloft.net>
20541 * include/math_private.h: New file.
20543 2012-03-09 Joseph Myers <joseph@codesourcery.com>
20545 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
20546 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
20547 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
20548 from <bits/socket_type.h>.
20549 (enum __socket_type): Don't define here.
20550 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
20551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20552 bits/socket_type.h.
20555 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
20556 checking __USE_GNU.
20558 * Makerules ($(inst_includedir)/%.h): New rule.
20559 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
20560 (install-others): Remove variable setting.
20561 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
20563 2012-03-08 Richard Henderson <rth@twiddle.net>
20565 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
20566 from macro to inline function; merge with the
20567 !__LIBC_INTERNAL_MATH_INLINES version.
20568 (__ieee754_sqrtf): Likewise.
20570 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
20571 to inline function.
20572 (__rintf, __floor, __floorf): Likewise.
20574 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
20575 macro to inline function.
20576 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
20578 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
20579 not <math/math_private.h>.
20581 2012-03-08 David S. Miller <davem@davemloft.net>
20583 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
20585 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20587 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
20589 * resolv/gai_misc.c (handle_requests): Fix struct timespec
20591 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
20592 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20594 2012-03-08 Ulrich Drepper <drepper@gmail.com>
20596 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
20597 be defined individually, they must be defined as a block. Define
20598 S for printing a string instead of hidint the different by using a
20599 macro for adding the 'l'.
20600 * stdio-common/tst-fphex-wide.c: Adjust.
20602 2012-03-07 Marek Polacek <polacek@redhat.com>
20604 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
20606 2012-03-08 Marek Polacek <polacek@redhat.com>
20609 * stdio-common/Makefile (tests): Add tst-fphex-wide.
20610 * stdio-common/tst-fphex.c: Define a few macros to make the
20611 test reusable. Use them.
20612 * stdio-common/tst-fphex-wide.c: New file.
20614 2012-03-08 Joseph Myers <joseph@codesourcery.com>
20617 * manual/macros.texi (gnusystems): New macro.
20618 (nongnusystems): Likewise.
20619 (gnulinuxhurdsystems): Likewise.
20620 (gnuhurdsystems): Likewise..
20621 (gnulinuxsystems): Likewise.
20622 * manual/charset.texi: Use new macros or @theglibc{} to refer to
20623 variants of the GNU system, not "GNU system".
20624 * manual/conf.texi: Likewise.
20625 * manual/errno.texi: Likewise. Update example of errno macro
20627 * manual/filesys.texi: Likewise.
20628 (getumask): Document as specific to GNU/Hurd.
20629 * manual/install.texi: Likewise. Reword some references to
20631 * manual/intro.texi: Likewise.
20632 * manual/io.texi: Likewise.
20633 (File Name Portability): Detail which constraints are inapplicable
20634 to all GNU systems and which are only inapplicable to GNU/Hurd.
20635 * manual/job.texi: Likewise.
20636 * manual/llio.texi: Likewise.
20637 (O_NOCTTY): Document as present on GNU/Linux.
20638 * manual/maint.texi: Likewise.
20639 * manual/memory.texi: Likewise.
20640 * manual/pattern.texi: Likewise.
20641 * manual/pipe.texi: Likewise.
20642 * manual/process.texi: Likewise.
20643 * manual/resource.texi: Likewise.
20644 (RUSAGE_CHILDREN): Remove statement about specifying a particular
20646 * manual/setjmp.texi: Likewise.
20647 * manual/signal.texi: Likewise.
20648 * manual/startup.texi: Likewise.
20649 * manual/stdio.texi: Likewise.
20650 * manual/terminal.texi: Likewise.
20651 (ONLCR): Document as POSIX.
20652 (OXTABS): Document availability on GNU/Linux as XTABS.
20653 (ONOEOT): Document availability separately from other bits.
20654 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20655 * manual/time.texi: Likewise.
20656 * manual/users.texi: Likewise.
20657 * INSTALL: Regenerated.
20658 * sysdeps/gnu/errlist.c: Regenerated.
20660 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20661 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20662 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
20664 * configure: Regenerated.
20666 2012-03-07 Joseph Myers <joseph@codesourcery.com>
20668 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20669 default includes instead of AC_HEADER_CHECK.
20670 * sysdeps/i386/configure: Regenerated.
20673 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20674 * math/s_cacoshf.c (__cacoshf): Likewise.
20675 * math/s_cacoshl.c (__cacoshl): Likewise.
20676 * math/s_casinh.c (__casinh): Set signs of result from argument.
20677 * math/s_casinhf.c (__casinhf): Likewise.
20678 * math/s_casinhl.c (__casinhl): Likewise.
20679 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20680 (casinh_test): Add more tests.
20681 * sysdeps/i386/fpu/libm-test-ulps: Update.
20682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20684 2012-03-07 Ulrich Drepper <drepper@gmail.com>
20686 * po/zh_TW.po: Update from translation team.
20688 * login/Makefile (distribute): Remove variable.
20689 * catgets/Makefile: Likewise.
20690 * mach/Makefile: Likewise.
20691 * malloc/Makefile: Likewise.
20692 * misc/Makefile: Likewise.
20693 * iconv/Makefile: Likewise.
20694 * nscd/Makefile: Likewise.
20695 * hurd/Makefile: Likewise.
20696 * manual/Makefile: Likewise.
20697 * locale/Makefile: Likewise.
20698 * intl/Makefile: Likewise.
20699 * conform/Makefile: Likewise.
20700 * nss/Makefile: Likewise.
20701 * time/Makefile: Likewise.
20702 * soft-fp/Makefile: Likewise.
20703 * dirent/Makefile: Likewise.
20704 * gmon/Makefile: Likewise.
20705 * po/Makefile: Likewise.
20706 * rt/Makefile: Likewise.
20707 * socket/Makefile: Likewise.
20708 * math/Makefile: Likewise.
20709 * signal/Makefile: Likewise.
20710 * debug/Makefile: Likewise.
20711 * elf/Makefile: Likewise.
20712 * timezone/Makefile: Likewise.
20713 * stdlib/Makefile: Likewise.
20714 * iconvdata/Makefile: Likewise.
20715 * sunrpc/Makefile: Likewise.
20716 * io/Makefile: Likewise.
20717 * argp/Makefile: Likewise.
20718 * inet/Makefile: Likewise.
20719 * hesiod/Makefile: Likewise.
20720 * grp/Makefile: Likewise.
20721 * csu/Makefile: Likewise.
20722 * wctype/Makefile: Likewise.
20723 * crypt/Makefile: Likewise.
20724 * libio/Makefile: Likewise.
20725 * string/Makefile: Likewise.
20726 * nis/Makefile: Likewise.
20727 * resolv/Makefile: Likewise.
20728 * stdio-common/Makefile: Likewise.
20729 * wcsmbs/Makefile: Likewise.
20730 * dlfcn/Makefile: Likewise.
20731 * posix/Makefile: Likewise.
20734 * timezone/Makefile: Don't install timezone files, just the programs
20737 2012-03-06 Ulrich Drepper <drepper@gmail.com>
20739 * nss/databases.def: Add missing gshadow entry.
20741 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
20743 2012-03-06 Marek Polacek <polacek@redhat.com>
20746 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20747 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20748 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20749 * stdio-common/tst-long-dbl-fphex.c: New file.
20751 2012-03-06 David S. Miller <davem@davemloft.net>
20753 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20754 (set_obp_int): New function.
20755 (get_obp_int): New function.
20756 (__get_clockfreq_via_dev_openprom): Likewise.
20757 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20758 Avoid unused variable warnings on 'val' and use builtin_expect.
20759 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20761 (INLINE_CLONE_SYSCALL): Likewise.
20763 2012-03-05 David S. Miller <davem@davemloft.net>
20765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20767 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20771 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20772 only for |x| >= 40.
20773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20775 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
20777 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20778 Replace gettimeofday with __vdso_gettimeofday.
20780 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20781 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20782 __vdso_clock_gettime and __vdso_getcpu.
20784 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20785 time with __vdso_time.
20787 2012-03-05 Joseph Myers <joseph@codesourcery.com>
20789 * manual/lang.texi (size_t): Note types to which size_t may be
20790 equivalent with the GNU C Library, but do not describe when
20791 differences between them are significant.
20793 2012-03-05 Andreas Jaeger <aj@suse.de>
20795 * sysdeps/i386/fpu/libm-test-ulps: Update.
20797 2012-03-05 Joseph Myers <joseph@codesourcery.com>
20800 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20801 (__ieee754_pow): Save and restore rounding mode and use
20802 round-to-nearest for main computations.
20803 * math/libm-test.inc (pow_test_tonearest): New function.
20804 (pow_test_towardzero): Likewise.
20805 (pow_test_downward): Likewise.
20806 (pow_test_upward): Likewise.
20807 (main): Call the new functions.
20808 * sysdeps/i386/fpu/libm-test-ulps: Update.
20809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20812 * math/libm-test.inc (cosh_test_tonearest): New function.
20813 (cosh_test_towardzero): Likewise.
20814 (cosh_test_downward): Likewise.
20815 (cosh_test_upward): Likewise.
20816 (sinh_test_tonearest): Likewise.
20817 (sinh_test_towardzero): Likewise.
20818 (sinh_test_downward): Likewise.
20819 (sinh_test_upward): Likewise.
20820 (main): Call the new functions.
20821 * sysdeps/i386/fpu/libm-test-ulps: Update.
20822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20824 2012-03-05 Tom de Vries <tom@codesourcery.com>
20826 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20827 default stack guard is set in last bytes.
20828 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20830 2012-03-05 Kees Cook <keescook@chromium.org>
20832 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
20835 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20836 possibly allocate from heap instead of stack.
20837 * stdio-common/bug-vfprintf-nargs.c: New file.
20838 * stdio-common/Makefile (tests): Add nargs overflow test.
20840 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20844 2012-03-03 Marek Polacek <polacek@redhat.com>
20846 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20847 * math/math_private.h: Likewise.
20848 * stdlib/tst-strtod.c: Likewise.
20849 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20850 * sysdeps/x86_64/bits/atomic.h: Likewise.
20852 2012-03-02 David S. Miller <davem@davemloft.net>
20854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20858 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20859 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20860 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20861 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20863 2012-03-02 Roland McGrath <roland@hack.frob.com>
20866 * manual/examples/README: New file, says the example source files
20867 can be used under GPL>=2.
20868 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20869 line containing just "*/".
20870 * manual/examples/add.c: Add copyright header (GPL>=2).
20871 * manual/examples/argp-ex1.c: Likewise.
20872 * manual/examples/argp-ex2.c: Likewise.
20873 * manual/examples/argp-ex3.c: Likewise.
20874 * manual/examples/argp-ex4.c: Likewise.
20875 * manual/examples/atexit.c: Likewise.
20876 * manual/examples/db.c: Likewise.
20877 * manual/examples/dir.c: Likewise.
20878 * manual/examples/dir2.c: Likewise.
20879 * manual/examples/execinfo.c: Likewise.
20880 * manual/examples/filecli.c: Likewise.
20881 * manual/examples/filesrv.c: Likewise.
20882 * manual/examples/fmtmsgexpl.c: Likewise.
20883 * manual/examples/genpass.c: Likewise.
20884 * manual/examples/inetcli.c: Likewise.
20885 * manual/examples/inetsrv.c: Likewise.
20886 * manual/examples/isockad.c: Likewise.
20887 * manual/examples/longopt.c: Likewise.
20888 * manual/examples/memopen.c: Likewise.
20889 * manual/examples/memstrm.c: Likewise.
20890 * manual/examples/mkfsock.c: Likewise.
20891 * manual/examples/mkisock.c: Likewise.
20892 * manual/examples/mygetpass.c: Likewise.
20893 * manual/examples/pipe.c: Likewise.
20894 * manual/examples/popen.c: Likewise.
20895 * manual/examples/rprintf.c: Likewise.
20896 * manual/examples/search.c: Likewise.
20897 * manual/examples/select.c: Likewise.
20898 * manual/examples/setjmp.c: Likewise.
20899 * manual/examples/sigh1.c: Likewise.
20900 * manual/examples/sigusr.c: Likewise.
20901 * manual/examples/stpcpy.c: Likewise.
20902 * manual/examples/strdupa.c: Likewise.
20903 * manual/examples/strftim.c: Likewise.
20904 * manual/examples/strncat.c: Likewise.
20905 * manual/examples/subopt.c: Likewise.
20906 * manual/examples/swapcontext.c: Likewise.
20907 * manual/examples/termios.c: Likewise.
20908 * manual/examples/testopt.c: Likewise.
20909 * manual/examples/testpass.c: Likewise.
20910 * manual/examples/timeval_subtract.c: Likewise.
20913 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20915 * manual/timeval_subtract.c.texi: ... here, new file.
20917 2012-03-02 David S. Miller <davem@davemloft.net>
20919 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20921 2012-03-02 Joseph Myers <joseph@codesourcery.com>
20924 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20925 (__sin): Save and restore rounding mode and use round-to-nearest
20926 for all computations.
20927 (__cos): Save and restore rounding mode and use round-to-nearest
20928 for all computations.
20929 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20931 (tan): Save and restore rounding mode and use round-to-nearest for
20933 * math/libm-test.inc (cos_test_tonearest): New function.
20934 (cos_test_towardzero): Likewise.
20935 (cos_test_downward): Likewise.
20936 (cos_test_upward): Likewise.
20937 (sin_test_tonearest): Likewise.
20938 (sin_test_towardzero): Likewise.
20939 (sin_test_downward): Likewise.
20940 (sin_test_upward): Likewise.
20941 (tan_test_tonearest): Likewise.
20942 (tan_test_towardzero): Likewise.
20943 (tan_test_downward): Likewise.
20944 (tan_test_upward): Likewise.
20945 (main): Call the new functions.
20946 * sysdeps/i386/fpu/libm-test-ulps: Update.
20947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20950 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20951 small n, then large n, before computing and testing k+n.
20952 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20953 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20955 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20957 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20958 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20959 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20960 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20961 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20962 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20963 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20964 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20965 * math/libm-test.inc (scalbn_test): Add more tests.
20966 (scalbln_test): Likewise.
20968 * manual/filesys.texi (mode_t): Describe constraints on size and
20969 signedness, not exact equivalence to a particular type.
20971 (ino64_t): Likewise.
20973 (nlink_t): Likewise.
20974 (blkcnt_t): Likewise.
20975 (blkcnt64_t): Likewise.
20976 * manual/llio.texi (off_t): Likewise.
20979 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20980 (__ieee754_exp): Save and restore rounding mode and use
20981 round-to-nearest for all computations.
20982 * math/libm-test.inc (exp_test_tonearest): New function.
20983 (exp_test_towardzero): Likewise.
20984 (exp_test_downward): Likewise.
20985 (exp_test_upward): Likewise.
20986 (main): Call the new functions.
20987 * sysdeps/i386/fpu/libm-test-ulps: Update.
20988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20990 2012-03-01 Chris Demetriou <cgd@google.com>
20992 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20993 have predictable order.
20995 2012-03-01 David S. Miller <davem@davemloft.net>
20997 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20999 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21000 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21001 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21002 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21004 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21005 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21006 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21008 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21009 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21010 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21011 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21012 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21016 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21017 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21018 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21020 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21021 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21022 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21023 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21024 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21025 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21026 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21027 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21028 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21029 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21030 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21031 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21032 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21033 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21034 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21035 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21036 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21037 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21038 * sysdeps/sparc/elf/configure: Regenerated.
21040 2012-03-01 Joseph Myers <joseph@codesourcery.com>
21042 * configure.in (AS, LD): Require binutils 2.20 or later.
21043 * configure: Regenerated.
21044 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21045 as required minimum version.
21046 * INSTALL: Regenerated.
21050 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21051 before squaring exponent.
21052 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21053 bottom long double and 27 bits of top long double before squaring
21055 * math/libm-test.inc (erfc_test): Add more tests.
21056 * sysdeps/i386/fpu/libm-test-ulps: Update.
21057 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21060 2012-03-01 Kai Tietz <ktietz@redhat.com>
21062 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21063 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21064 containing bit-fields.
21065 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21066 * soft-fp/single.h (_FP_UNION_S): Likewise.
21067 * soft-fp/double.h (_FP_UNION_D): Likewise.
21069 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21072 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21073 not include ../strcmp.S.
21074 [USE_AS_STRNCASECMP_L]: Likewise.
21075 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21076 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21077 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21078 (__strncasecmp_l_ia32): Define as alias to
21079 __strncasecmp_l_nonascii.
21082 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21083 * sysdeps/i386/fpu/libm-test-ulps: Update.
21084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21086 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21089 2012-02-29 Jeff Law <law@redhat.com>
21091 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21092 out of bounds read.
21094 2012-02-29 Marek Polacek <polacek@redhat.com>
21097 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21098 * elf/Makefile: Add rules to run tst-unused-dep.out.
21100 2012-02-28 David S. Miller <davem@davemloft.net>
21102 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21103 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21104 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21105 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21106 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21107 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21109 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21111 * math/libm-test.inc (llround_test): Move one test from
21112 lround_test. Use TEST_f_L in moved test.
21113 (lround_test): Move misplaced test to llround_test. Add testcase
21116 2012-02-28 Ulrich Drepper <drepper@gmail.com>
21118 * sysdeps/x86_64/fpu/e_expf.S: New file.
21119 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21121 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21124 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21125 of remain_len that may cause incomplete multi-byte character and
21127 * posix/bug-regex33.c: New file.
21128 * posix/Makefile (tests): Add bug-regex33.
21130 2012-02-28 Joseph Myers <joseph@codesourcery.com>
21132 * manual/macros.texi: New file.
21133 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21134 * manual/libc.texinfo: Include macros.texi.
21135 * manual/creatute.texi: Likewise.
21136 * manual/install.texi: Likewise.
21137 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21138 @glibcadj{} in references to the GNU C Library.
21139 * manual/charset.texi: Likewise.
21140 * manual/conf.texi: Likewise.
21141 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21142 when not using those macros.
21143 * manual/creature.texi: Likewise.
21144 * manual/crypt.texi: Likewise.
21145 * manual/errno.texi: Likewise.
21146 * manual/filesys.texi: Likewise.
21147 * manual/header.texi: Likewise.
21148 * manual/install.texi: Likewise.
21149 * manual/intro.texi: Likewise.
21150 * manual/io.texi: Likewise.
21151 * manual/job.texi: Likewise.
21152 * manual/lang.texi: Likewise.
21153 * manual/libc.texiinfo: Likewise.
21154 * manual/llio.texi: Likewise.
21155 * manual/locale.texi: Likewise.
21156 * manual/maint.texi: Likewise.
21157 * manual/math.texi: Likewise.
21158 * manual/memory.texi: Likewise.
21159 * manual/message.texi: Likewise.
21160 * manual/nss.texi: Likewise.
21161 * manual/pattern.texi: Likewise.
21162 * manual/process.texi: Likewise.
21163 * manual/resource.texi: Likewise.
21164 * manual/search.texi: Likewise.
21165 * manual/setjmp.texi: Likewise.
21166 * manual/signal.texi: Likewise.
21167 * manual/socket.texi: Likewise.
21168 * manual/startup.texi: Likewise.
21169 * manual/stdio.texi: Likewise.
21170 * manual/string.texi: Likewise.
21171 * manual/sysinfo.texi: Likewise.
21172 * manual/syslog.texi: Likewise.
21173 * manual/terminal.texi: Likewise.
21174 * manual/time.texi: Likewise.
21175 * manual/users.texi: Likewise.
21176 * INSTALL: Regenerated.
21177 * NOTES: Regenerated.
21178 * sysdeps/gnu/errlist.c: Regenerated.
21180 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21182 * include/dirent.h: Include <dirstream.h> before
21185 2012-02-28 David S. Miller <davem@davemloft.net>
21187 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21188 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21189 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21190 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21192 2012-02-27 David S. Miller <davem@davemloft.net>
21194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21196 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21197 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21200 frame pointer instead of stack pointer relative arg slot.
21201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21202 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21203 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21205 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21208 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21210 2012-02-27 David S. Miller <davem@davemloft.net>
21212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21216 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21217 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21218 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21219 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21221 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21223 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21224 later. Allow versions 5-9.
21225 * configure: Regenerated.
21226 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21227 required minimum version and 4.6 as recommended version. Do not
21228 mention bugs in GCC 2.7 and 2.8.
21229 * INSTALL: Regenerated.
21231 2012-02-27 David S. Miller <davem@davemloft.net>
21233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21237 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21238 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21239 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21240 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21242 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21243 manipulate bits before adding and subtracting TWO112[sx].
21244 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21246 2012-02-27 Roland McGrath <roland@hack.frob.com>
21249 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21250 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21251 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21252 being in POSIX, because they are in 1003.1-2008.
21254 * rt/tst-aio.c: Include <fcntl.h>.
21255 * rt/tst-aio7.c: Likewise.
21256 * rt/tst-aio64.c: Likewise.
21258 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21260 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21262 * manual/install.texi (--with-headers): Describe headers as
21263 interface headers, not private headers.
21264 (Specific advice for GNU/Linux systems): Describe use of headers
21265 from "make headers_install", not private headers from older
21267 * INSTALL: Regenerated.
21268 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21270 * sysdeps/unix/sysv/linux/configure: Regenerated.
21272 * manual/llio.texi (fclean): Remove documentation.
21274 * manual/Makefile (libc-texi-generated): New variable. Include
21276 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21277 $(libc-texi-generated), not duplicated list of files.
21278 (version.texi, stamp-version): New rules.
21279 (realclean): Remove $(libc-texi-generated), not individual files
21280 from that list. Do not remove dir-add.texinfo.
21281 * manual/libc.texinfo: Comment out uses of edition numbers and
21282 references to printed manual. Remove last-updated dates.
21283 (EDITION): Comment out.
21285 (VERSION, UPDATED): Remove.
21286 (version.texi): Include.
21288 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21290 * sysdeps/posix/spawni.c: Include <signal.h>.
21291 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21292 * sysdeps/pthread/aio_fsync.c: Likewise.
21294 2012-02-26 Ulrich Drepper <drepper@gmail.com>
21296 * conform/Makefile (tests): Run only when not cross-compiling and
21297 when fast-check is not defined.
21299 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21300 * conform/data/limits.h-data: Fixes for POSIX2008.
21301 * conform/run-conformtest.sh: Run all tests.
21302 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21304 * include/bits/dlfcn.h: Likewise.
21305 * include/langinfo.h: Likewise.
21306 * include/monetary.h: Likewise.
21307 * include/sys/poll.h: Likewise.
21309 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21311 * posix/spawn.h: Define __need_sigset_t.
21312 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21313 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21314 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21315 to get sigevent_t only.
21316 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21317 only for __USE_GNU.
21318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21319 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21320 process_vm_writev only for __USE_GNU.
21321 * termios/termios.h: Declare tcgetsid also for POSIX2008.
21323 * conform/Makefile: For now ignore errors from run-conformtest.
21324 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21325 POSIX to avoid namespace pollution. Don't prepend headers.
21326 * conform/data/aio.h-data: Fixes for POSIX testing.
21327 * conform/data/fcntl.h-data: Likewise.
21328 * conform/data/glob.h-data: Likewise.
21329 * conform/data/grp.h-data: Likewise.
21330 * conform/data/pthread.h-data: Likewise.
21331 * conform/data/pwd.h-data: Likewise.
21332 * conform/data/signal.h-data: Likewise.
21333 * conform/data/spawn.h-data: Likewise.
21334 * conform/data/stdio.h-data: Likewise.
21335 * conform/data/stdlib.h-data: Likewise.
21336 * conform/data/stropts.h-data: Likewise.
21337 * conform/data/sys/mman.h-data: Likewise.
21338 * conform/data/sys/stat.h-data: Likewise.
21339 * conform/data/sys/types.h-data: Likewise.
21340 * conform/data/sys/wait.h-data: Likewise.
21341 * conform/data/time.h-data: Likewise.
21342 * conform/data/unistd.h-data: Likewise.
21343 * conform/data/utime.h-data: Likewise.
21345 * io/sys/stat.h: fchmod was always in POSIX.
21346 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21347 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21348 * rt/aio.h: Define __need_timespec before including <time.h>.
21349 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21350 struct. Add forward declaration of pthread_attr_t and use it in
21352 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21353 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21354 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21355 always remove CLK_TCK definition.
21357 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21359 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21361 2012-02-25 Ulrich Drepper <drepper@gmail.com>
21363 * conform/run-conformtest.sh: New file.
21364 * conform/Makefile: Run run-conformtest for tests.
21365 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21368 * conform/data/uchar.h-data: New file.
21369 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21370 * conform/data/arpa/inet.h-data: Likewise.
21371 * conform/data/assert.h-data: Likewise.
21372 * conform/data/complex.h-data: Likewise.
21373 * conform/data/cpio.h-data: Likewise.
21374 * conform/data/ctype.h-data: Likewise.
21375 * conform/data/dirent.h-data: Likewise.
21376 * conform/data/dlfcn.h-data: Likewise.
21377 * conform/data/errno.h-data: Likewise.
21378 * conform/data/fcntl.h-data: Likewise.
21379 * conform/data/float.h-data: Likewise.
21380 * conform/data/fmtmsg.h-data: Likewise.
21381 * conform/data/fnmatch.h-data: Likewise.
21382 * conform/data/ftw.h-data: Likewise.
21383 * conform/data/glob.h-data: Likewise.
21384 * conform/data/grp.h-data: Likewise.
21385 * conform/data/iconv.h-data: Likewise.
21386 * conform/data/inttypes.h-data: Likewise.
21387 * conform/data/langinfo.h-data: Likewise.
21388 * conform/data/libgen.h-data: Likewise.
21389 * conform/data/limits.h-data: Likewise.
21390 * conform/data/locale.h-data: Likewise.
21391 * conform/data/math.h-data: Likewise.
21392 * conform/data/monetary.h-data: Likewise.
21393 * conform/data/mqueue.h-data: Likewise.
21394 * conform/data/ndbm.h-data: Likewise.
21395 * conform/data/net/if.h-data: Likewise.
21396 * conform/data/netdb.h-data: Likewise.
21397 * conform/data/netinet/in.h-data: Likewise.
21398 * conform/data/nl_types.h-data: Likewise.
21399 * conform/data/poll.h-data: Likewise.
21400 * conform/data/pthread.h-data: Likewise.
21401 * conform/data/pwd.h-data: Likewise.
21402 * conform/data/regex.h-data: Likewise.
21403 * conform/data/sched.h-data: Likewise.
21404 * conform/data/search.h-data: Likewise.
21405 * conform/data/semaphore.h-data: Likewise.
21406 * conform/data/setjmp.h-data: Likewise.
21407 * conform/data/signal.h-data: Likewise.
21408 * conform/data/spawn.h-data: Likewise.
21409 * conform/data/stdarg.h-data: Likewise.
21410 * conform/data/stdio.h-data: Likewise.
21411 * conform/data/stdlib.h-data: Likewise.
21412 * conform/data/string.h-data: Likewise.
21413 * conform/data/strings.h-data: Likewise.
21414 * conform/data/stropts.h-data: Likewise.
21415 * conform/data/sys/ipc.h-data: Likewise.
21416 * conform/data/sys/mman.h-data: Likewise.
21417 * conform/data/sys/msg.h-data: Likewise.
21418 * conform/data/sys/resource.h-data: Likewise.
21419 * conform/data/sys/select.h-data: Likewise.
21420 * conform/data/sys/sem.h-data: Likewise.
21421 * conform/data/sys/shm.h-data: Likewise.
21422 * conform/data/sys/socket.h-data: Likewise.
21423 * conform/data/sys/stat.h-data: Likewise.
21424 * conform/data/sys/statvfs.h-data: Likewise.
21425 * conform/data/sys/time.h-data: Likewise.
21426 * conform/data/sys/timeb.h-data: Likewise.
21427 * conform/data/sys/times.h-data: Likewise.
21428 * conform/data/sys/types.h-data: Likewise.
21429 * conform/data/sys/uio.h-data: Likewise.
21430 * conform/data/sys/un.h-data: Likewise.
21431 * conform/data/sys/utsname.h-data: Likewise.
21432 * conform/data/sys/wait.h-data: Likewise.
21433 * conform/data/syslog.h-data: Likewise.
21434 * conform/data/tar.h-data: Likewise.
21435 * conform/data/termios.h-data: Likewise.
21436 * conform/data/utime.h-data: Likewise.
21437 * conform/data/utmpx.h-data: Likewise.
21438 * conform/data/varargs.h-data: Likewise.
21439 * conform/data/wchar.h-data: Likewise.
21440 * conform/data/wctype.h-data: Likewise.
21441 * conform/data/wordexp.h-data: Likewise.
21443 * include/stropts.h: New file.
21444 * include/uchar.h: New file.
21445 * include/aio.h: Changes to allow conformtest.pl to use the headers.
21446 * include/assert.h: Likewise.
21447 * include/ctype.h: Likewise.
21448 * include/dirent.h: Likewise.
21449 * include/dlfcn.h: Likewise.
21450 * include/fcntl.h: Likewise.
21451 * include/fnmatch.h: Likewise.
21452 * include/glob.h: Likewise.
21453 * include/grp.h: Likewise.
21454 * include/libio.h: Likewise.
21455 * include/locale.h: Likewise.
21456 * include/math.h: Likewise.
21457 * include/net/if.h: Likewise.
21458 * include/netdb.h: Likewise.
21459 * include/netinet/in.h: Likewise.
21460 * include/pthread.h: Likewise.
21461 * include/pwd.h: Likewise.
21462 * include/regex.h: Likewise.
21463 * include/sched.h: Likewise.
21464 * include/search.h: Likewise.
21465 * include/setjmp.h: Likewise.
21466 * include/signal.h: Likewise.
21467 * include/stdio.h: Likewise.
21468 * include/stdlib.h: Likewise.
21469 * include/string.h: Likewise.
21470 * include/sys/cdefs.h: Likewise.
21471 * include/sys/mman.h: Likewise.
21472 * include/sys/msg.h: Likewise.
21473 * include/sys/resource.h: Likewise.
21474 * include/sys/select.h: Likewise.
21475 * include/sys/socket.h: Likewise.
21476 * include/sys/stat.h: Likewise.
21477 * include/sys/statvfs.h: Likewise.
21478 * include/sys/time.h: Likewise.
21479 * include/sys/times.h: Likewise.
21480 * include/sys/uio.h: Likewise.
21481 * include/sys/utsname.h: Likewise.
21482 * include/sys/wait.h: Likewise.
21483 * include/termios.h: Likewise.
21484 * include/time.h: Likewise.
21485 * include/ulimit.h: Likewise.
21486 * include/unistd.h: Likewise.
21487 * include/utime.h: Likewise.
21488 * include/wchar.h: Likewise.
21489 * include/wctype.h: Likewise.
21490 * include/wordexp.h: Likewise.
21492 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
21494 * time/time.h: TIME_UTC must be a macro.
21495 Make timespec_get available for ISO C11 only as well.
21497 2012-02-24 Ulrich Drepper <drepper@gmail.com>
21499 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
21500 Reported by Peng Haitao <penght@cn.fujitsu.com>.
21502 2012-02-24 Joseph Myers <joseph@codesourcery.com>
21504 * configure.in: Use -o not -a in test for unsupported multi-arch.
21506 2012-02-24 Joseph Myers <joseph@codesourcery.com>
21508 * manual/texinfo.tex: Update to version 2012-01-19.16.
21510 2012-02-24 Joseph Myers <joseph@codesourcery.com>
21512 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
21514 2012-02-24 Roland McGrath <roland@hack.frob.com>
21517 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
21518 * manual/fdl-1.3.texi: New file.
21519 * manual/fdl-1.1.texi: File removed.
21522 * manual/libc.texinfo (FDL_VERSION): New @set.
21523 Use it for mention of FDL in cover text.
21524 (Documentation License): Use it in @include file name.
21526 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21527 Roland McGrath <roland@hack.frob.com>
21530 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
21531 not LONG_LONG_MAX and LONG_LONG_MIN.
21532 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
21533 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
21535 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
21537 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21541 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
21542 manipulate bits before adding and subtracting TWO23[sx].
21543 * math/libm-test.inc (nearbyint_test): Add more tests.
21545 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21548 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
21549 bits before adding and subtracting TWO23[sx].
21550 * math/libm-test.inc (rint_test): Add more tests.
21551 (rint_test_tonearest): Likewise.
21552 (rint_test_towardzero): Likewise.
21553 (rint_test_downward): Likewise.
21554 (rint_test_upward: Likewise.
21556 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21559 * include/stdc-predef.h: New file. Extracted from features.h.
21560 * include/features.h: Include stdc-predef.h.
21561 * Makefile (headers): Add stdc-predef.h.
21562 * CONFORMANCE (Compiler limitations): Update.
21564 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21566 * manual/libc.texinfo (VERSION, UPDATED): Revert.
21568 2012-02-21 David S. Miller <davem@davemloft.net>
21570 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
21571 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21573 2012-02-20 David S. Miller <davem@davemloft.net>
21575 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
21576 using a normal save/restore sequence, rather than allocating a
21577 dummy stack frame just to store a frame pointer and restore.
21578 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21580 2012-02-21 Joseph Myers <joseph@codesourcery.com>
21582 * manual/install.texi: Fix stray word in line-wrapped comment.
21584 2012-02-20 David S. Miller <davem@davemloft.net>
21586 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
21587 both binutils and gcc support GOTDATA.
21589 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
21590 "rd %pc" in the PIC register setup sequences.
21592 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
21593 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21594 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21595 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21596 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21598 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21599 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
21601 (SYSCALL_ERROR_HANDLER): Likewise.
21602 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21603 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
21605 (SYSCALL_ERROR_HANDLER): Likewise.
21607 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
21608 (HAVE_GCC_GOTDATA): New.
21609 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
21610 relocation support in both binutils and gcc.
21611 * sysdeps/sparc/elf/configure: Regenerate.
21613 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
21614 * sysdeps/sparc/sparc32/elf/configure: Delete.
21615 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
21616 * sysdeps/sparc/sparc64/elf/configure: Delete.
21617 * sysdeps/sparc/elf/configure.in: New file.
21618 * sysdeps/sparc/elf/configure: Generate.
21620 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
21621 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
21622 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21623 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
21624 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
21626 2012-02-21 Joseph Myers <joseph@codesourcery.com>
21628 * manual/install.texi: Do not mention specific glibc version
21630 * manual/libc.texinfo (VERSION, UPDATED): Update.
21631 (@copying): Use @copyright{} and range of years.
21633 2012-02-21 Joseph Myers <joseph@codesourcery.com>
21636 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
21637 [crti.S not in sysdirs] (generated): Do not append.
21638 [crti.S not in sysdirs] (omit-deps): Likewise.
21639 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
21640 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
21641 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
21642 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
21643 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
21645 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
21646 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
21647 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
21648 * csu/defs.awk: Remove file.
21649 * sysdeps/generic/initfini.c: Likewise.
21650 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21652 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21655 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21657 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21658 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21659 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21660 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21661 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21662 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21664 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21665 (__EPOLL_PACKED): Define to empty if not defined by
21667 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21671 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21673 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21674 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21675 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21676 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21678 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21682 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21684 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21687 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21688 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21691 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
21693 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21694 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21696 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
21698 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21699 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21701 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21703 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21706 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
21708 * math/w_acos.c: Use non-signaling floating-point comparisons.
21709 * math/w_acosf.c: Likewise.
21710 * math/w_acosh.c: Likewise.
21711 * math/w_acoshf.c: Likewise.
21712 * math/w_acoshl.c: Likewise.
21713 * math/w_acosl.c: Likewise.
21714 * math/w_asin.c: Likewise.
21715 * math/w_asinf.c: Likewise.
21716 * math/w_asinl.c: Likewise.
21717 * math/w_atanh.c: Likewise.
21718 * math/w_atanhf.c: Likewise.
21719 * math/w_atanhl.c: Likewise.
21720 * math/w_exp2.c: Likewise.
21721 * math/w_exp2f.c: Likewise.
21722 * math/w_exp2l.c: Likewise.
21723 * math/w_j0.c: Likewise.
21724 * math/w_j0f.c: Likewise.
21725 * math/w_j0l.c: Likewise.
21726 * math/w_j1.c: Likewise.
21727 * math/w_j1f.c: Likewise.
21728 * math/w_j1l.c: Likewise.
21729 * math/w_jn.c: Likewise.
21730 * math/w_jnf.c: Likewise.
21731 * math/w_log.c: Likewise.
21732 * math/w_log10.c: Likewise.
21733 * math/w_log10f.c: Likewise.
21734 * math/w_log10l.c: Likewise.
21735 * math/w_log2.c: Likewise.
21736 * math/w_log2f.c: Likewise.
21737 * math/w_log2l.c: Likewise.
21738 * math/w_logf.c: Likewise.
21739 * math/w_logl.c: Likewise.
21740 * math/w_sqrt.c: Likewise.
21741 * math/w_sqrtf.c: Likewise.
21742 * math/w_sqrtl.c: Likewise.
21743 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21744 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21745 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21746 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21747 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21749 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21752 * manual/string.texi (strnlen): Use correct parameter name in
21753 equivalent expression.
21755 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21758 * manual/users.texi (seteuid): Consistently use neweuid for
21761 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21764 * manual/nss.texi (Services in the NSS configuration): Correct
21765 list of services in example configuration file.
21767 2012-02-19 Nick Bowler <nbowler@draconx.ca>
21770 * manual/arith.texi: Remove statements about negative zero
21771 behaving identically to zero.
21773 2012-02-18 Joseph Myers <joseph@codesourcery.com>
21776 * manual/install.texi: Do not document upgrading from libc5.
21778 2012-02-18 Joseph Myers <joseph@codesourcery.com>
21781 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21783 2012-02-18 David S. Miller <davem@davemloft.net>
21785 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21786 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21787 %o7 across the call.
21788 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21790 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21791 SETUP_PIC_REG_LEAF.
21792 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21793 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21794 * sysdeps/sparc/crtn.S: Likewise.
21796 2012-02-17 Ulrich Drepper <drepper@gmail.com>
21798 * aout/Makefile: Remove.
21800 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21803 * manual/examples/argp-ex1.c (main): Format definition in GNU
21805 * manual/examples/argp-ex2.c (main): Likewise.
21806 * manual/examples/argp-ex3.c (main): Likewise.
21807 * manual/examples/argp-ex4.c (main): Likewise.
21808 * manual/examples/longopt.c (main): Use new-style prototype
21810 * manual/examples/strncat.c (main): Specify return type and use
21811 (void) for arguments.
21812 * manual/examples/subopt.c (main): Use char **argv argument.
21814 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21817 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21820 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21823 * manual/string.texi (strchr): Change when strchrnul is
21826 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21829 * manual/locale.texi (setlocale): Document LOCPATH.
21831 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21834 * manual/process.texi (execle): Move @dots{} before last argument.
21836 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
21839 * manual/charset.texi (Generic Charset Conversion): Fix typo
21840 (LC_TYPE -> LC_CTYPE).
21842 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21845 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21846 (scalbnf): Likewise.
21847 (scalbnl): Likewise.
21848 (scalbln): Likewise.
21849 (scalblnf): Likewise.
21850 (scalblnl): Likewise.
21851 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21852 (vwarnx): Likewise.
21855 * manual/filesys.texi (telldir): Use braces around return type.
21856 * manual/llio.texi (mmap): Add space after comma.
21857 (mmap64): Likewise.
21858 * manual/math.texi (jn): Use @var{} on parameter names.
21864 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21866 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21868 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21869 (sched_get_priority_max): Likewise.
21870 * manual/signal.texi (sigvec): Add space after comma.
21871 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21873 (if_indextoname): Likewise.
21874 (if_freenameindex): Likewise.
21875 (sendto): Use ',' instead of '.' in prototype.
21876 * manual/startup.texi (syscall): Use @dots{} instead of literal
21878 * manual/stdio.texi (__fpending): Separate initial words of
21879 paragraph from @deftypefun line.
21880 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21882 (vsyslog): Use @var{} on parameter names.
21883 * manual/terminal.texi (stty): Use @var{} on parameter names.
21884 * manual/users.texi (getutmp): Use @var{} on parameter names.
21885 (getutmpx): Likewise.
21887 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21890 * manual/stdio.texi (fopen): Fix typos in description of
21893 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21896 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21897 get clock_id definition.
21899 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
21902 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21903 (madvise): Cast every argument to void on its own.
21905 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21908 * manual/startup.texi (Exit Status): Fix typo.
21910 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21913 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21914 * manual/examples/argp-ex2.c: Likewise.
21915 * manual/examples/argp-ex3.c: Likewise.
21917 2012-02-16 Richard Henderson <rth@redhat.com>
21919 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21920 * sysdeps/s390/s390-32/initfini.c: Remove.
21921 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21922 * sysdeps/s390/s390-64/initfini.c: Remove.
21924 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21926 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21927 compiler output for sysdeps/generic/initfini.c.
21928 * sysdeps/sh/elf/initfini.c: Remove file.
21930 2012-02-16 David S. Miller <davem@davemloft.net>
21933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21935 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21936 * sysdeps/sparc/crti.S: New file.
21937 * sysdeps/sparc/crtn.S: New file.
21938 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21939 * sysdeps/sparc/sparc64/Makefile: Likewise.
21941 2012-02-15 Mike Frysinger <vapier@gentoo.org>
21944 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21946 2012-02-15 Roland McGrath <roland@hack.frob.com>
21949 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21951 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21952 (write, read, close): Likewise.
21953 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21955 2012-02-15 Joseph Myers <joseph@codesourcery.com>
21957 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21958 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21959 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21960 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21962 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21966 2012-02-14 Marek Polacek <polacek@redhat.com>
21968 * sysdeps/x86_64/crti.S: New file.
21969 * sysdeps/x86_64/crtn.S: New file.
21970 * sysdeps/x86_64/elf/initfini.c: Remove file.
21972 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21974 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21975 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21976 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21977 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21979 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21983 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21985 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21986 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21987 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21988 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21990 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21994 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21996 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21997 __feraiseexcept instead of feraiseexcept.
21999 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22000 nanosleep invocations.
22001 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22002 strings, and add error checking for a nanosleep invocations.
22004 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22006 Replace FSF snail mail address with URLs, as per GNU coding standards.
22007 Most of the snail mail addresses were wrong anyway, and omitting
22008 them makes the source code easier to maintain. Almost all of the
22009 changes are to license notices and to locale LC_IDENTIFICATION
22010 addresses, except for this one:
22011 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22012 not its snail mail address.
22014 2012-02-09 Richard Henderson <rth@twiddle.net>
22016 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22017 of kernel-features.h.
22019 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22021 2012-02-08 Marek Polacek <polacek@redhat.com>
22023 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22024 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22025 * sysdeps/gnu/_G_config.h: Likewise.
22026 * sysdeps/generic/_G_config.h: Likewise.
22028 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22030 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22034 * sysdeps/powerpc/powerpc32/crti.S: New file.
22035 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22036 * sysdeps/powerpc/powerpc64/crti.S: New file.
22037 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22039 * Makeconfig (have-initfini): Don't set.
22040 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22041 * configure.in (nopic_initfini): Don't substitute.
22042 * config.h.in (HAVE_INITFINI): Don't #undef.
22043 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22044 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22046 2012-02-08 Joseph Myers <joseph@codesourcery.com>
22048 Support crti.S and crtn.S provided directly by architectures.
22049 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22050 [crti.S in sysdirs] (omit-deps): Likewise.
22051 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22052 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22053 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22054 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22055 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22056 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22057 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22058 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22059 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22060 compiler output for sysdeps/generic/initfini.c.
22061 * sysdeps/i386/elf/Makefile: Remove file.
22062 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22064 2012-02-07 Marek Polacek <polacek@redhat.com>
22066 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22067 * sysdeps/gnu/_G_config.h: Likewise.
22068 * sysdeps/mach/hurd/_G_config.h: Likewise.
22070 2012-02-07 Marek Polacek <polacek@redhat.com>
22072 * math/Makefile (tests): Add tst-CMPLX2.
22073 * math/tst-CMPLX2.c: New file.
22075 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22077 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22079 * math/libm-test.inc (jn_test): Add missing L suffix.
22081 2012-02-06 Marek Polacek <polacek@redhat.com>
22083 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22084 * sysdeps/i386/fpu/e_powf.S: Likewise.
22085 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22086 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22087 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22088 * sysdeps/i386/fpu/e_pow.S: Likewise.
22089 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22090 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22091 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22092 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22093 * sysdeps/i386/fpu/e_log2.S: Likewise.
22094 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22095 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22096 * sysdeps/i386/fpu/e_powl.S: Likewise.
22097 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22098 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22099 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22100 * sysdeps/i386/fpu/e_logl.S: Likewise.
22101 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22102 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22103 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22104 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22105 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22106 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22107 * sysdeps/i386/fpu/e_log.S: Likewise.
22108 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22109 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22110 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22111 * sysdeps/i386/fpu/e_logf.S: Likewise.
22112 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22113 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22114 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22115 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22116 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22117 * sysdeps/i386/fpu/e_log10.S: Likewise.
22118 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22119 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22120 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22121 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22122 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22123 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22124 * sysdeps/i386/asm-syntax.h: Likewise.
22125 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22126 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22127 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22128 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22129 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22130 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22131 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22132 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22133 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22134 * sysdeps/powerpc/sysdep.h: Likewise.
22135 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22136 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22138 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22141 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22143 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22145 * sysdeps/i386/sysdep.h: Include <features.h>.
22146 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22149 2012-02-05 Joseph Myers <joseph@codesourcery.com>
22151 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22153 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22156 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22158 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22159 (SETUP_PIC_REG): Use GET_PC_THUNK.
22160 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22163 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22165 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22166 for non-PIC compilation.
22167 (SETUP_PIC_REG): Add .p2align directive.
22168 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22169 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22170 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22171 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22172 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22173 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22174 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22176 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22177 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22178 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22179 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22180 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22181 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22182 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22183 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22184 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22185 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22186 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22187 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22188 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22189 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22190 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22191 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22192 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22193 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22194 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22195 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22196 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22197 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22198 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22199 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22200 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22201 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22202 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22203 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22204 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22205 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22206 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22207 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22208 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22210 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22212 * math/tst-CMPLX.c: Include <stdio.h>.
22214 2012-01-31 Joseph Myers <joseph@codesourcery.com>
22216 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22218 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22219 * sysdeps/sparc/bits/mathdef.h: Likewise.
22221 2012-01-31 Marek Polacek <polacek@redhat.com>
22223 * libio/libio.h: Don't define _PARAMS.
22224 * locale/programs/config.h: Don't define PARAMS.
22225 * stdlib/strtol_l.c: Likewise.
22226 (__strtol_l): Remove PARAMS from the prototype.
22228 2012-01-31 Ulrich Drepper <drepper@gmail.com>
22230 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22231 names. Just use the correct names. Remove unnecessary wrapper
22233 * malloc/arena.c: Likewise.
22234 * malloc/hooks.c: Likewise.
22236 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22237 ARENA_TEST says not to. Simplify test for creation of a new arena.
22238 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22240 2012-01-30 Ulrich Drepper <drepper@gmail.com>
22242 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22244 (update_get_addr): New function.
22245 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22246 GET_ADDR_MODULE parameter.
22248 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22250 * crypt/cert.c: Remove __STDC__ conditionals.
22251 * crypt/crypt-entry.c: Likewise.
22252 * crypt/crypt_util.c: Likewise.
22253 * libio/filedoalloc.c: Likewise.
22254 * libio/fileops.c: Likewise.
22255 * libio/genops.c: Likewise.
22256 * libio/iofclose.c: Likewise.
22257 * libio/iofdopen.c: Likewise.
22258 * libio/iofopen.c: Likewise.
22259 * libio/iofopen64.c: Likewise.
22260 * libio/iogetdelim.c: Likewise.
22261 * libio/iopopen.c: Likewise.
22262 * libio/obprintf.c: Likewise.
22263 * libio/oldfileops.c: Likewise.
22264 * libio/oldiofclose.c: Likewise.
22265 * libio/oldiofdopen.c: Likewise.
22266 * libio/oldiofopen.c: Likewise.
22267 * libio/oldiopopen.c: Likewise.
22268 * libio/wfiledoalloc.c: Likewise.
22269 * libio/wgenops.c: Likewise.
22270 * locale/programs/xmalloc.c: Likewise.
22271 * misc/syslog.c: Likewise.
22272 * stdio-common/xbug.c: Likewise.
22273 * string/memchr.c: Likewise.
22274 * string/memcmp.c: Likewise.
22275 * string/memrchr.c: Likewise.
22276 * string/rawmemchr.c: Likewise.
22277 * sysdeps/posix/getcwd.c: Likewise.
22278 * time/strftime_l.c: Likewise.
22280 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22282 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
22283 * config.make.in (config-cflags-sse2avx): Define.
22284 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22287 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22289 * scripts/config.guess: Update from upstream config git repository.
22290 * scripts/config.sub: Likewise.
22292 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22294 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22296 (R_TILEPRO_*, R_TILEGX_*): New macros.
22298 * scripts/firstversions.awk: Fix bug in version range handling.
22300 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22302 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22304 * include/sys/epoll.h: New file.
22305 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22308 2012-01-28 Ulrich Drepper <drepper@gmail.com>
22310 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22311 Avoid unnecessary __WORDSIZE == 64 test.
22312 (fmaxf): Use VEX format if possible.
22317 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22318 * math/math_private.h: Remove libc_fegetround* and
22320 * sysdeps/i386/configure.in: Check for -msse2avx.
22321 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22322 also if SSE2AVX is defined.
22323 Remove libc_fegetround* and libc_fesetround*.
22324 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22325 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22326 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22328 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22329 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22330 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22331 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22332 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22334 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22336 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22338 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22340 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22342 2012-01-27 Ulrich Drepper <drepper@gmail.com>
22345 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22347 * Makeconfig (libm): Define.
22348 * elf/Makefile: Add rules to build and run tst-relsort1.
22349 * elf/tst-relsort1.c: New file.
22350 * elf/tst-relsort1mod1.c: New file.
22351 * elf/tst-relsort1mod2.c: New file.
22353 2012-01-27 Joseph Myers <joseph@codesourcery.com>
22355 * math/s_ldexp.c: Remove __STDC__ conditionals.
22356 * math/s_ldexpf.c: Likewise.
22357 * math/s_ldexpl.c: Likewise.
22358 * math/s_nextafter.c: Likewise.
22359 * math/s_nexttowardf.c: Likewise.
22360 * math/s_significand.c: Likewise.
22361 * math/s_significandf.c: Likewise.
22362 * math/s_significandl.c: Likewise.
22363 * math/w_jnl.c: Likewise.
22364 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22365 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22366 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22367 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22368 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22369 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22370 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22371 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22372 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22373 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22374 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22375 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22376 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22377 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22378 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22379 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22380 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22381 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22382 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22383 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22384 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22385 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22386 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22388 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22389 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22390 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22391 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22392 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22393 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22394 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22395 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22396 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22397 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22398 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22399 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22400 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22401 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22402 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22403 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22404 * sysdeps/ieee754/k_standard.c: Likewise.
22405 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22406 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22407 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22408 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22409 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22410 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22411 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22412 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22413 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22414 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22415 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22416 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22417 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22418 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22419 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22420 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22421 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22422 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22423 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22424 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22425 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22426 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22427 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22428 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22429 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22430 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22431 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22432 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22434 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22435 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22436 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
22437 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22438 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22440 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22441 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
22442 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22443 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22444 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
22445 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
22446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22447 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22448 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
22449 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22450 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22451 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22452 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22453 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22454 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22455 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
22456 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22457 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22458 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22459 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22460 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22461 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22463 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22464 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22465 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22466 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22467 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22469 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22470 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22471 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22472 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22473 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22474 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22475 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22476 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22477 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22478 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22479 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22480 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22481 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22482 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22483 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22484 * sysdeps/ieee754/s_matherr.c: Likewise.
22485 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22486 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22487 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22490 2012-01-26 Joseph Myers <joseph@codesourcery.com>
22492 * crypt/md5.h: Remove __STDC__ conditionals.
22493 * libio/libioP.h: Likewise.
22494 * locale/programs/config.h: Likewise.
22495 * sysdeps/generic/sysdep.h: Likewise.
22496 * sysdeps/i386/asm-syntax.h: Likewise.
22497 * sysdeps/s390/asm-syntax.h: Likewise.
22498 * sysdeps/unix/sysdep.h: Likewise.
22499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22502 2012-01-26 Joseph Myers <joseph@codesourcery.com>
22504 * libio/libio.h: Remove __STDC__ conditionals.
22505 * malloc/obstack.h: Likewise.
22506 * math/complex.h: Likewise.
22507 * math/math.h: Likewise.
22508 * sysdeps/generic/_G_config.h: Likewise.
22509 * sysdeps/gnu/_G_config.h: Likewise.
22510 * sysdeps/mach/hurd/_G_config.h: Likewise.
22511 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22512 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22513 * sysdeps/sparc/bits/mathdef.h: Likewise.
22515 2012-01-26 Ulrich Drepper <drepper@gmail.com>
22518 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
22519 Clean up HAS_* macros.
22520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
22521 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
22523 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
22525 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22526 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22527 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22528 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22529 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22531 2012-01-25 Joseph Myers <joseph@codesourcery.com>
22533 * elf/tst-unique3.cc (gets): Remove declaration.
22534 * elf/tst-unique3lib.cc (gets): Likewise.
22535 * elf/tst-unique3lib2.cc (gets): Likewise.
22536 * elf/tst-unique4.cc (gets): Likewise.
22538 2012-01-24 Ulrich Drepper <drepper@gmail.com>
22540 * include/stdio.h: Add C++ protection. Add gets declarations and
22542 * debug/tst-chk1.c: Don't declare gets here.
22543 * stdio-common/tst-gets.c: Likewise.
22545 2012-01-24 Joseph Myers <joseph@codesourcery.com>
22547 * posix/glob: Remove directory.
22549 2012-01-24 Joseph Myers <joseph@codesourcery.com>
22551 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
22553 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
22555 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
22556 of the non-standard EPFNOSUPPORT.
22558 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
22560 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
22561 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
22562 ANYWHERE set to 1 only on KERN_NO_SPACE error.
22564 2012-01-21 Ulrich Drepper <drepper@gmail.com>
22566 * wcsmbs/uchar.h: Test __STDC_VERSION__.
22568 2012-01-20 Ulrich Drepper <drepper@gmail.com>
22570 * nscd/aicache.c (addhstaiX): Do not cache negative results of
22572 * nscd/grpcache.c (cache_addgr): Likewise.
22573 * nscd/hstcache.c (cache_addhst): Likewise.
22574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22575 * nscd/pwdcache.c (cache_addpw): Likewise.
22576 * nscd/servicescache.c (cache_addserv): Likewise.
22578 2012-01-16 Ulrich Drepper <drepper@gmail.com>
22580 * malloc/malloc.c: Various cleanups.
22581 * malloc/hooks.c: Likewise.
22583 * stdlib/Makefile (tests): Add bug-fmtmsg1.
22584 * stdlib/bug-fmtmsg1.c: New file.
22586 * stdlib/fmtmsg.c (init): Add missing unlock.
22587 Patch by Peng Haitao <penght@cn.fujitsu.com>.
22589 2012-01-12 Marek Polacek <polacek@redhat.com>
22591 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
22594 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22596 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
22597 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
22598 macro to ensure uniqueness of label name.
22599 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22600 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22602 2012-01-11 Ulrich Drepper <drepper@gmail.com>
22604 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
22606 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
22607 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22608 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
22611 2012-01-10 Ulrich Drepper <drepper@gmail.com>
22613 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
22615 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
22616 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22617 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22619 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
22621 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
22622 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22623 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
22626 * math/bits/math-finite.h: Add ldexp support.
22628 2012-01-10 Marek Polacek <polacek@redhat.com>
22630 * locale/programs/localedef.h (show_archive_content): Add noreturn
22633 2012-01-09 Ulrich Drepper <drepper@gmail.com>
22635 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
22637 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22639 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
22641 * io/Makefile (headers): Add bits/poll2.h.
22643 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
22646 typo #include statement.
22648 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22650 * include/sys/cdefs.h: Define __attribute_alloc_size.
22651 * catgets/gencat.c: Add alloc_size attribute and apply consistently
22652 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22653 * elf/pldd.c: Likewise.
22654 * iconv/iconv_charmap.c: Likewise.
22655 * iconv/iconvconfig.c: Likewise.
22656 * iconv/strtab.c: Likewise.
22657 * locale/programs/locale.c: Likewise.
22658 * locale/programs/localedef.h: Likewise.
22659 * locale/programs/simple-hash.c: Likewise.
22660 * nscd/nscd.h: Likewise.
22661 * nss/makedb.c: Likewise.
22662 * sysdeps/generic/ldconfig.h: Likewise.
22663 * locale/programs/localedef.c: Remove xmalloc prototype.
22664 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22666 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22668 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22671 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22673 * math/Makefile (tests): Add tst-CMPLX.
22674 * math/tst-CMPLX.c: New file.
22676 * math/complex.h (CMPLXL): Fix typo.
22678 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22679 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22681 * debug/tst-chk1.c: Add poll and ppoll tests.
22682 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22683 * include/sys/poll.h: Add hidden proto for ppoll.
22684 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22685 * sysdeps/mach/hurd/ppoll.c: Likewise.
22686 * io/ppoll.c: Likewise.
22687 * debug/poll_chk.c: New file.
22688 * debug/ppoll_chk.c: New file.
22689 * include/bits/poll2.h: New file.
22690 * io/bits/poll2.h: New file.
22693 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22695 * configure.in: static is always set to yes. Remove.
22696 * config.make.in: Don't set build-static.
22697 * Makeconfig: Remove use of build-static.
22698 * dlfcn/Makefile: Likewise.
22699 * elf/Makefile: Likewise.
22700 * math/Makefile: Likewise.
22701 * misc/Makefile: Likewise.
22702 * nptl/Makefile: Likewise.
22703 * sysdeps/mach/hurd/Makefile: Likewise.
22705 * configure.in: PWD_P is not used anymore.
22706 * config.make.in: Remove PWD_P entry.
22708 * configure.in: Remove last remnants of RANLIB.
22709 No need to check for signed size_t anymore.
22710 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22712 Remove __builtin_expect test because we require at least gcc 3.4.
22713 * aclocal.m4: Likewise.
22715 * wcsmbs/mbrtoc16.c: Implement using towc function.
22716 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22717 * wcsmbs/wcsmbsload.c: Likewise.
22718 * iconv/gconv_simple.c: Likewise.
22719 * iconv/gconv_int.h: Likewise.
22720 * iconv/gconv_builtin.h: Likewise.
22721 * iconv/iconv_prog.c: Remove CHAR16 handling.
22723 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22725 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22727 * configure.in: Remove --with-elf and --enable-bounded options.
22728 Dont set base_machine for ia64. More non-ELF conditions removed.
22729 Remove testing and setting of leading underscore information.
22730 * config.make.in (build-bounded): Set to no.
22731 * config.h.in: Remove NO_UNDERSCORES entry.
22732 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
22734 * csu/start.c: Remove !NO_UNDERSCORE code.
22735 * locale/localeinfo.h: Likewise.
22736 * sysdeps/generic/machine-gmon.h: Likewise.
22737 * sysdeps/generic/sysdep.h: Likewise.
22738 * sysdeps/i386/sysdep.h: Likewise.
22739 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22740 * sysdeps/mach/sysdep.h: Likewise.
22741 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22743 * sysdeps/sh/sysdep.h: Likewise.
22744 * sysdeps/sparc/sparc32/alloca.S: Likewise.
22745 * sysdeps/unix/i386/sysdep.S: Likewise.
22746 * sysdeps/unix/sparc/start.c: Likewise.
22747 * sysdeps/unix/sparc/sysdep.S: Likewise.
22748 * sysdeps/unix/sparc/sysdep.h: Likewise.
22749 * sysdeps/unix/start.c: Likewise.
22750 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22751 * sysdeps/x86_64/sysdep.h: Likewise.
22753 2012-01-07 Ulrich Drepper <drepper@gmail.com>
22756 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22758 * argp/argp-fmtstream.h: Use const instead __const.
22759 * argp/argp.h: Likewise.
22760 * assert/assert.h: Likewise.
22761 * bits/fenv.h: Likewise.
22762 * bits/sched.h: Likewise.
22763 * bits/sigset.h: Likewise.
22764 * bits/sigthread.h: Likewise.
22765 * catgets/nl_types.h: Likewise.
22766 * conform/data/pthread.h-data: Likewise.
22767 * crypt/crypt-private.h: Likewise.
22768 * crypt/crypt.h: Likewise.
22769 * crypt/crypt_util.c: Likewise.
22770 * ctype/ctype.h: Likewise.
22771 * debug/execinfo.h: Likewise.
22772 * debug/mbsnrtowcs_chk.c: Likewise.
22773 * debug/mbsrtowcs_chk.c: Likewise.
22774 * debug/wcsnrtombs_chk.c: Likewise.
22775 * debug/wcsrtombs_chk.c: Likewise.
22776 * debug/wcstombs_chk.c: Likewise.
22777 * dirent/dirent.h: Likewise.
22778 * dlfcn/dlfcn.h: Likewise.
22779 * elf/neededtest4.c: Likewise.
22780 * grp/grp.h: Likewise.
22781 * gshadow/gshadow.h: Likewise.
22782 * iconv/gconv.h: Likewise.
22783 * iconv/gconv_int.h: Likewise.
22784 * iconv/gconv_simple.c: Likewise.
22785 * iconv/iconv.h: Likewise.
22786 * iconv/loop.c: Likewise.
22787 * iconv/skeleton.c: Likewise.
22788 * include/aio.h: Likewise.
22789 * include/aliases.h: Likewise.
22790 * include/argz.h: Likewise.
22791 * include/arpa/inet.h: Likewise.
22792 * include/assert.h: Likewise.
22793 * include/dirent.h: Likewise.
22794 * include/dlfcn.h: Likewise.
22795 * include/execinfo.h: Likewise.
22796 * include/fcntl.h: Likewise.
22797 * include/fenv.h: Likewise.
22798 * include/glob.h: Likewise.
22799 * include/grp.h: Likewise.
22800 * include/libintl.h: Likewise.
22801 * include/mntent.h: Likewise.
22802 * include/netdb.h: Likewise.
22803 * include/pwd.h: Likewise.
22804 * include/rpc/netdb.h: Likewise.
22805 * include/sched.h: Likewise.
22806 * include/search.h: Likewise.
22807 * include/shadow.h: Likewise.
22808 * include/signal.h: Likewise.
22809 * include/stdio.h: Likewise.
22810 * include/stdlib.h: Likewise.
22811 * include/string.h: Likewise.
22812 * include/sys/socket.h: Likewise.
22813 * include/sys/stat.h: Likewise.
22814 * include/sys/statfs.h: Likewise.
22815 * include/sys/statvfs.h: Likewise.
22816 * include/sys/syslog.h: Likewise.
22817 * include/sys/time.h: Likewise.
22818 * include/sys/uio.h: Likewise.
22819 * include/time.h: Likewise.
22820 * include/unistd.h: Likewise.
22821 * include/utmp.h: Likewise.
22822 * include/wchar.h: Likewise.
22823 * include/wctype.h: Likewise.
22824 * inet/aliases.h: Likewise.
22825 * inet/arpa/inet.h: Likewise.
22826 * inet/netinet/ether.h: Likewise.
22827 * inet/netinet/in.h: Likewise.
22828 * intl/libintl.h: Likewise.
22829 * io/bits/fcntl2.h: Likewise.
22830 * io/fcntl.h: Likewise.
22831 * io/ftw.h: Likewise.
22832 * io/sys/poll.h: Likewise.
22833 * io/sys/stat.h: Likewise.
22834 * io/sys/statfs.h: Likewise.
22835 * io/sys/statvfs.h: Likewise.
22836 * io/utime.h: Likewise.
22837 * libio/bits/stdio.h: Likewise.
22838 * libio/bits/stdio2.h: Likewise.
22839 * libio/libio.h: Likewise.
22840 * libio/libioP.h: Likewise.
22841 * libio/stdio.h: Likewise.
22842 * locale/lc-ctype.c: Likewise.
22843 * locale/locale.h: Likewise.
22844 * login/utmp.h: Likewise.
22845 * malloc/arena.c: Likewise.
22846 * malloc/malloc.c: Likewise.
22847 * malloc/malloc.h: Likewise.
22848 * malloc/mcheck.c: Likewise.
22849 * malloc/mtrace.c: Likewise.
22850 * math/bits/mathcalls.h: Likewise.
22851 * math/fenv.h: Likewise.
22852 * math/math_private.h: Likewise.
22853 * misc/bits/error.h: Likewise.
22854 * misc/bits/syslog.h: Likewise.
22855 * misc/err.h: Likewise.
22856 * misc/error.h: Likewise.
22857 * misc/fstab.h: Likewise.
22858 * misc/mntent.h: Likewise.
22859 * misc/regexp.h: Likewise.
22860 * misc/search.h: Likewise.
22861 * misc/sgtty.h: Likewise.
22862 * misc/sys/mman.h: Likewise.
22863 * misc/sys/syslog.h: Likewise.
22864 * misc/sys/uio.h: Likewise.
22865 * misc/sys/xattr.h: Likewise.
22866 * misc/ttyent.h: Likewise.
22867 * nis/rpcsvc/ypclnt.h: Likewise.
22868 * nss/nss.h: Likewise.
22869 * posix/bits/unistd.h: Likewise.
22870 * posix/fnmatch.h: Likewise.
22871 * posix/glob.h: Likewise.
22872 * posix/sched.h: Likewise.
22873 * posix/spawn.h: Likewise.
22874 * posix/sys/wait.h: Likewise.
22875 * posix/unistd.h: Likewise.
22876 * posix/wordexp.h: Likewise.
22877 * pwd/pwd.h: Likewise.
22878 * resolv/netdb.h: Likewise.
22879 * resource/sys/resource.h: Likewise.
22880 * rt/aio.h: Likewise.
22881 * rt/bits/mqueue2.h: Likewise.
22882 * rt/mqueue.h: Likewise.
22883 * shadow/shadow.h: Likewise.
22884 * signal/signal.h: Likewise.
22885 * socket/send.c: Likewise.
22886 * socket/sendto.c: Likewise.
22887 * socket/sys/socket.h: Likewise.
22888 * stdio-common/printf.h: Likewise.
22889 * stdlib/bits/stdlib.h: Likewise.
22890 * stdlib/fmtmsg.h: Likewise.
22891 * stdlib/monetary.h: Likewise.
22892 * stdlib/stdlib.h: Likewise.
22893 * stdlib/ucontext.h: Likewise.
22894 * streams/stropts.h: Likewise.
22895 * string/argz.h: Likewise.
22896 * string/bits/string2.h: Likewise.
22897 * string/string.h: Likewise.
22898 * string/strings.h: Likewise.
22899 * sunrpc/rpc/auth.h: Likewise.
22900 * sunrpc/rpc/auth_des.h: Likewise.
22901 * sunrpc/rpc/clnt.h: Likewise.
22902 * sunrpc/rpc/netdb.h: Likewise.
22903 * sunrpc/rpc/pmap_clnt.h: Likewise.
22904 * sunrpc/rpc/xdr.h: Likewise.
22905 * sysdeps/generic/inttypes.h: Likewise.
22906 * sysdeps/generic/net/if.h: Likewise.
22907 * sysdeps/generic/sys/swap.h: Likewise.
22908 * sysdeps/gnu/net/if.h: Likewise.
22909 * sysdeps/gnu/utmpx.h: Likewise.
22910 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22911 * sysdeps/i386/i486/bits/string.h: Likewise.
22912 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22913 * sysdeps/s390/bits/string.h: Likewise.
22914 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22915 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22916 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22917 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22918 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22919 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22920 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22921 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22922 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22923 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22924 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22925 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22926 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22927 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22928 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22929 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22930 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22932 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22933 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22934 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22935 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22936 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22937 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22938 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22939 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22940 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22941 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22942 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22943 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22944 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22945 * sysvipc/sys/ipc.h: Likewise.
22946 * sysvipc/sys/msg.h: Likewise.
22947 * sysvipc/sys/sem.h: Likewise.
22948 * sysvipc/sys/shm.h: Likewise.
22949 * termios/termios.h: Likewise.
22950 * time/sys/time.h: Likewise.
22951 * time/time.h: Likewise.
22952 * wcsmbs/bits/wchar2.h: Likewise.
22953 * wcsmbs/uchar.h: Likewise.
22954 * wcsmbs/wchar.h: Likewise.
22955 * wctype/wctype.h: Likewise.
22958 * Makeconfig: Remove all but ELF support including AIX support.
22959 * Makerules: Likewise.
22960 * config.h.in: Likewise.
22961 * config.make.in: Likewise.
22962 * configure: Likewise.
22963 * configure.in: Likewise.
22964 * csu/Makefile: Likewise.
22965 * csu/version.c: Likewise.
22966 * debug/Makefile: Likewise.
22967 * dlfcn/Makefile: Likewise.
22968 * elf/Makefile: Likewise.
22969 * extra-lib.mk: Likewise.
22970 * iconv/Makefile: Likewise.
22971 * include/libc-symbols.h: Likewise.
22972 * include/shlib-compat.h: Likewise.
22973 * resolv/Makefile: Likewise.
22974 * resolv/res_libc.c: Likewise.
22975 * rt/Makefile: Likewise.
22976 * sysdeps/i386/asm-syntax.h: Likewise.
22977 * sysdeps/i386/sysdep.h: Likewise.
22978 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22979 * sysdeps/mach/sysdep.h: Likewise.
22980 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22981 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22982 * sysdeps/s390/asm-syntax.h: Likewise.
22983 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22984 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22985 * sysdeps/sh/sysdep.h: Likewise.
22986 * sysdeps/unix/sparc/sysdep.h: Likewise.
22987 * sysdeps/wordsize-32/divdi3.c: Likewise.
22988 * sysdeps/x86_64/sysdep.h: Likewise.
22990 * argp/Versions: Remove _argp_unlock_xxx.
22993 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22994 * abilist/libBrokenLocale.abilist: Likewise.
22995 * abilist/libanl.abilist: Likewise.
22996 * abilist/libc.abilist: Likewise.
22997 * abilist/libcrypt.abilist: Likewise.
22998 * abilist/libdl.abilist: Likewise.
22999 * abilist/libm.abilist: Likewise.
23000 * abilist/libnsl.abilist: Likewise.
23001 * abilist/libpthread.abilist: Likewise.
23002 * abilist/libresolv.abilist: Likewise.
23003 * abilist/librt.abilist: Likewise.
23004 * abilist/libthread_db.abilist: Likewise.
23005 * abilist/libutil.abilist: Likewise.
23006 * abilist/libnss_db.abilist: New file.
23008 * scripts/abilist.awk: Add support for indirect functions.
23010 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23012 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23014 * shlib-versions: Remove entries for ports architectures.
23016 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23018 * elf/stackguard-macros.h: Remove support for IA-64.
23019 * elf/tst-auditmod1.c: Likewise.
23020 * sysdeps/generic/ldsodefs.h: Likewise.
23022 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23023 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23027 * configure.in: Remove --enable-omitfp support.
23029 * config.make.in: Likewise.
23030 * Makeconfig: Likewise.
23031 * manual/install.texi: Likewise.
23033 In case anyone cares, the IA-64 architecture could move to ports.
23034 * sysdeps/ia64/*: Removed.
23035 * sysdeps/unix/sysv/linux/ia64/*: Removed.
23036 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
23039 * configure.in: Remove entries for unsupported architectures.
23042 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23043 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23045 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23046 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23047 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23048 fall back to using wcrtomb.
23049 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23050 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23052 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23053 * wcsmbs/tst-c16c32-1.c: New file.
23055 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23058 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23060 * elf/tst-unique3.cc: Add explicit declaration of gets.
23061 * elf/tst-unique3lib.cc: Likewise.
23062 * elf/tst-unique3lib2.cc: Likewise.
23063 * elf/tst-unique4.cc: Likewise.
23065 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23067 2012-01-06 Joseph Myers <joseph@codesourcery.com>
23070 * assert/assert.h (static_assert): Don't define for C++.
23071 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23072 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23074 2012-01-03 Ulrich Drepper <drepper@gmail.com>
23076 * iconv/loop.c (single loop): Fix assertion in storing of
23079 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23081 2012-01-01 Ulrich Drepper <drepper@gmail.com>
23083 * posix/getconf.c: Update copyright year.
23084 * nss/getent.c: Likewise.
23085 * nss/makedb.c: Likewise.
23086 * iconv/iconvconfig.c: Likewise.
23087 * iconv/iconv_prog.c: Likewise.
23088 * elf/ldconfig.c: Likewise.
23089 * elf/pldd.c: Likewise.
23090 * elf/sotruss.ksh: Likewise.
23091 * catgets/gencat.c: Likewise.
23092 * csu/version.c: Likewise.
23093 * elf/ldd.bash.in: Likewise.
23094 * elf/sprof.c (print_version): Likewise.
23095 * locale/programs/locale.c: Likewise.
23096 * locale/programs/localedef.c: Likewise.
23097 * login/programs/pt_chown.c: Likewise.
23098 * nscd/nscd.c (print_version): Likewise.
23099 * debug/xtrace.sh: Likewise.
23100 * malloc/memusage.sh: Likewise.
23101 * malloc/mtrace.pl: Likewise.
23102 * debug/catchsegv.sh: Likewise.
23104 2011-12-30 Jakub Jelinek <jakub@redhat.com>
23106 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23109 2011-12-24 Ulrich Drepper <drepper@gmail.com>
23112 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23113 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23115 * iconv/gconv_int.h: Likewise.
23116 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23117 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23118 from libc for GLIBC_2.16.
23119 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23120 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23121 * wcsmbs/uchar.h: Really define mbstate_t.
23122 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23123 * wcsmbs/c16rtomb.c: New file.
23124 * wcsmbs/mbrtoc16.c: New file.
23125 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23126 for C/POSIX locale.
23127 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23128 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23130 * wcsmbs/wchar.h: Add missing __restrict.
23132 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23135 * time/Makefile (routines): Add timespec_get.
23136 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23137 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23138 timespec for ISO C11.
23139 * time/timespec_get.c: New file.
23140 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23141 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23144 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23145 * stdlib/stdlib.h: Declare aligned_alloc.
23146 * Versions.def: Add GLIBC_2.16 for libc.
23147 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23150 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23153 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
23157 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23160 * assert/assert.h (static_assert): Define.
23162 * version.h: Update for 2.16 development version.
23165 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23168 * version.h (RELEASE): Bump for 2.15 release.
23169 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23171 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23172 Patch by Marek Polacek <mpolacek@redhat.com>.
23174 * bits/byteswap.h: Protect long long constants with __extension__.
23175 * sysdeps/i386/bits/byteswap.h: Likewise.
23176 * sysdeps/ia64/bits/byteswap.h: Likewise.
23177 * sysdeps/s390/bits/byteswap.h: Likewise.
23178 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23180 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23183 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23184 destination buffer.
23185 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23187 2011-12-23 Marek Polacek <polacek@redhat.com>
23189 * elf/dl-addr.c (determine_info): Add inline keyword.
23190 * elf/tst-auditmod4b.c (check_avx): Likewise.
23191 * elf/tst-auditmod6b.c (check_avx): Likewise.
23192 * elf/tst-auditmod6c.c (check_avx): Likewise.
23193 * elf/tst-auditmod7b.c (check_avx): Likewise.
23195 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23197 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23200 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23203 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23204 processing for last bytes.
23206 2011-08-06 Bruno Haible <bruno@clisp.org>
23209 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23210 U+0385, not to U+1FEE.
23213 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23214 entry for U+00A5 U+0301.
23216 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23219 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23220 buffer for the output is too small.
23222 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23226 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23227 SSE flags if possible.
23229 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23232 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23233 processing for last bytes.
23235 2011-12-22 Joseph Myers <joseph@codesourcery.com>
23237 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23238 (syscall-list-default-options, syscall-list-default-condition)
23239 (syscall-list-includes): Define.
23240 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23241 list of ABIs and options and #if conditions for each ABI. Do not
23242 handle common syscalls between ABIs specially.
23243 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23245 (syscall-list-variants, syscall-list-32bit-options)
23246 (syscall-list-32bit-condition, syscall-list-64bit-options)
23247 (syscall-list-64bit-condition): Define.
23248 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23249 (syscall-list-variants, syscall-list-32bit-options)
23250 (syscall-list-32bit-condition, syscall-list-64bit-options)
23251 (syscall-list-64bit-condition): Define.
23252 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23254 (syscall-list-variants, syscall-list-32bit-options)
23255 (syscall-list-32bit-condition, syscall-list-64bit-options)
23256 (syscall-list-64bit-condition): Define.
23257 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23259 (syscall-list-variants, syscall-list-32bit-options)
23260 (syscall-list-32bit-condition, syscall-list-64bit-options)
23261 (syscall-list-64bit-condition): Define.
23263 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23265 * locale/iso-639.def: Add brx entry.
23268 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23269 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23271 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23272 __feraiseexcept_renamed.
23274 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23277 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23278 EPOLLET with unsigned values.
23279 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23280 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23282 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23283 to large cancellation.
23284 * math/s_cacoshf.c: Likewise.
23285 * math/s_cacoshl.c: Likewise.
23287 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23291 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23292 * math/s_cacoshf.c: Likewise.
23293 * math/s_cacoshl.c: Likewise.
23295 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23298 * iconv/gconv.h: Define __GCONV_SWAP.
23299 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23300 * iconvdata/utf-16.c: Likewise.
23301 * iconvdata/utf-32.c: Likewise.
23303 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23306 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23307 numerator after shifting it by one limb.
23309 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23311 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23312 under [__USE_EXTERN_INLINES].
23314 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23317 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23319 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23321 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23322 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23324 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23325 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23326 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23327 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23328 for strncasecmp/strncasecmp_l compilation.
23329 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23330 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23332 2011-12-08 Marek Polacek <mpolacek@redhat.com>
23335 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23338 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23341 * time/tzfile.c (__tzfile_read): Check values from file header.
23343 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23345 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23346 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23347 * powerpc/powerpc32/dl-start.S: Likewise.
23348 * powerpc/powerpc32/elf/start.S: Likewise.
23349 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23350 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23351 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23352 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23353 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23354 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23355 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23356 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23357 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23358 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23359 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23360 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23361 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23362 * powerpc/powerpc32/memset.S: Likewise.
23363 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23364 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23365 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23366 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23367 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23368 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23369 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23370 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23371 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23372 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23373 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23374 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23375 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23377 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23379 * math/libm-test.inc: Added more nearbyint tests.
23380 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23381 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23382 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23383 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23385 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23387 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23390 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23392 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23393 Add wcscpy-ssse3 wcscpy-c.
23394 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23395 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23396 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23397 * sysdeps/x86_64/wcschr.S: New file.
23398 * sysdeps/x86_64/wcsrchr.S: New file.
23399 * string/test-strcmp.c: Remove checking of wcscmp function for
23401 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23402 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23403 wcsrchr-sse2 wcsrchr-c.
23404 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23405 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23406 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23407 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23408 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23409 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23410 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23411 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23412 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23413 * wcsmbc/wcschr.c (WCSCHR): New macro.
23415 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23417 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23418 * wcsmbs/test-wcsrchr.c: New file.
23419 * string/test-strrchr.c: Add wcsrchr support.
23421 * wcsmbs/test-wcscpy.c: New file.
23422 * string/test-strcpy.c: Add wcscpy support.
23425 2011-12-10 Ulrich Drepper <drepper@gmail.com>
23427 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
23430 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
23433 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
23435 2011-12-04 Ulrich Drepper <drepper@gmail.com>
23437 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
23438 Minor optimizations.
23440 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
23441 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
23442 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23444 2011-12-03 Ulrich Drepper <drepper@gmail.com>
23446 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
23447 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
23448 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
23449 for gcc to avoid warnings.
23450 * inet/Makefile (tests): Add tst-checks.
23451 * inet/tst-checks.c: New file.
23453 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
23456 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
23459 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
23460 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
23462 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
23464 2011-12-02 Ulrich Drepper <drepper@gmail.com>
23466 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
23469 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
23471 2011-11-29 Joseph Myers <joseph@codesourcery.com>
23473 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
23474 conditional on GCC version.
23475 (__arch_compare_and_exchange_val_8_acq)
23476 (__arch_compare_and_exchange_val_16_acq)
23477 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
23478 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
23479 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
23481 2011-12-02 Joseph Myers <joseph@codesourcery.com>
23483 * sysdeps/sh/backtrace.c: New file.
23485 2011-12-02 Andreas Schwab <schwab@redhat.com>
23487 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
23490 2011-12-01 Andreas Schwab <schwab@redhat.com>
23492 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
23493 falling back to utime.
23495 2011-11-30 Andreas Schwab <schwab@redhat.com>
23497 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
23498 expectations for float.
23500 2011-11-29 Andreas Schwab <schwab@redhat.com>
23502 * locale/weight.h (findidx): Add parameter len.
23503 * locale/weightwc.h (findidx): Likewise.
23504 * posix/fnmatch_loop.c (FCT): Adjust caller.
23505 * posix/regcomp.c (build_equiv_class): Likewise.
23506 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
23507 * posix/regexec.c (check_node_accept_bytes): Likewise.
23508 * string/strcoll_l.c (STRCOLL): Likewise.
23509 * string/strxfrm_l.c (STRXFRM): Likewise.
23511 2011-11-17 Ulrich Drepper <drepper@gmail.com>
23513 * Makefile.in: Remove CVSOPT handling.
23514 * configure.in: Remove use of AC_REVISION.
23515 * iconvdata/Makefile (distribute): No need to filter out CVS.
23516 * scripts/list-sources.sh: Remove CVS, subversion and monotone
23519 2011-11-16 Andreas Schwab <schwab@redhat.com>
23521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
23522 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
23523 [USE_AS_STRNCASECMP_L]: Likewise.
23524 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
23525 NO_TLS_DIRECT_SEG_REFS.
23526 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
23527 Fix argument offsets for non-PIC.
23528 [USE_AS_STRNCASECMP_L]: Likewise.
23529 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
23530 NO_TLS_DIRECT_SEG_REFS.
23532 2011-11-15 Ulrich Drepper <drepper@gmail.com>
23534 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
23536 * locale/loadlocale.c (_nl_load_locale): Likewise.
23538 2011-11-15 Andreas Schwab <schwab@redhat.com>
23540 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
23541 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
23542 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
23543 (SYSCALL_GETTIME): Set errno on error.
23545 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
23546 count references to noai6ai_cached.
23548 2011-11-15 Ulrich Drepper <drepper@gmail.com>
23550 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
23552 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
23553 FD_CLOEXEC for /proc/self/maps.
23555 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
23556 FD_CLOEXEC for /proc/meminfo.
23558 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
23561 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
23562 FD_CLOEXEC for given file.
23564 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
23566 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
23567 FD_CLOEXEC for /etc/hosts.
23568 (_gethtent): Likewise.
23570 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
23572 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
23573 cancellation and set FD_CLOEXEC for /etc/netgroup.
23575 * nss/nss_files/files-key.c (search): Don't allow cancellation when
23576 reading /etc/publickey.
23578 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
23579 allow cancellation when reading /etc/group.
23581 * nss/nss_files/files-alias.c (internal_setent): Don't allow
23583 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
23585 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
23586 when using data file.
23588 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
23590 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
23591 (write_nis_obj): Use "c" and "e" in fopen.
23593 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
23595 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
23597 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
23599 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
23601 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
23604 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
23606 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
23608 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
23610 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
23611 file parsing and set FD_CLOEXEC.
23613 2011-11-14 Ulrich Drepper <drepper@gmail.com>
23615 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
23617 2011-11-14 Andreas Schwab <schwab@redhat.com>
23619 * malloc/arena.c (arena_get2): Don't call reused_arena when
23620 _int_new_arena failed.
23622 2011-11-14 Ulrich Drepper <drepper@gmail.com>
23624 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
23625 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
23626 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
23627 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23628 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23629 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
23630 to compile strcasecmp and strncasecmp.
23631 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
23632 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
23634 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
23636 2011-11-13 Ulrich Drepper <drepper@gmail.com>
23638 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
23639 locale-defines.sym to gen-as-const-headers.
23640 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
23641 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
23642 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
23643 to compile strcasecmp and strncasecmp.
23644 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
23645 strcasecmp_l and strncasecmp_l.
23646 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
23647 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
23648 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
23649 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
23650 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
23651 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23652 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23653 * sysdeps/i386/i686/multiarch/strncase.S: New file.
23654 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23655 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23656 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23658 2011-11-12 Ulrich Drepper <drepper@gmail.com>
23660 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23661 result of SYSDEP_GETTIME_CPU to retval.
23662 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23663 parameter list to macro. Remove trailing semicolon. Adjust users.
23665 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23668 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23670 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23672 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23673 from unused variable.
23675 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23677 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23680 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23683 * sunrpc/rpc_prot.c (rejected): Fix case value.
23685 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23686 unsigned long long int to avoid warnings in shift.
23688 * posix/regex_internal.c (re_string_reconstruct): Actually use result
23690 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23693 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23694 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23695 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23697 * nis/nis_table.c (nis_list): Use variable of correct type for
23698 result of __follow_path call.
23700 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23702 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23703 of math functions ceil, trunc, floor, round, and sqrt, when
23704 avaliable on the platform.
23705 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23707 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23708 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23709 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23711 2011-10-30 Marek Polacek <mpolacek@redhat.com>
23713 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23714 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23716 2011-11-11 Roland McGrath <roland@hack.frob.com>
23718 * include/unistd.h: Fix __readlink return type.
23719 Reported by Chris Metcalf <cmetcalf@tilera.com>.
23721 2011-11-11 Ulrich Drepper <drepper@gmail.com>
23723 * stdlib/ucontext.h: Undo last change for makecontext.
23725 2011-11-11 Andreas Schwab <schwab@redhat.com>
23727 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23729 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23730 * setjmp/setjmp.h: Mark functions as non-leaf.
23731 * setjmp/bits/setjmp2.h: Likewise.
23732 * stdlib/ucontext.h: Likewise.
23734 2011-11-10 Andreas Schwab <schwab@redhat.com>
23736 * malloc/arena.c (_int_new_arena): Don't increment narenas.
23737 (reused_arena): Don't check arena limit.
23738 (arena_get2): Atomically check arena limit.
23740 2011-11-08 Ulrich Drepper <drepper@gmail.com>
23742 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23743 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23745 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23748 2011-11-07 Andreas Schwab <schwab@redhat.com>
23750 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23751 handler when locking.
23753 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23754 Fix size of allocated buffer.
23756 2011-11-04 Andreas Schwab <schwab@redhat.com>
23759 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23760 declarations for long double functions.
23761 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23763 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23765 2011-11-03 Andreas Schwab <schwab@redhat.com>
23767 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23770 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23773 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23775 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23777 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23779 * include/alloca.h (stackinfo_alloca_round): Define.
23780 (extend_alloca): Use it.
23781 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23782 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23785 * scripts/check-local-headers.sh: Ignore libaudit.h.
23787 * nscd/Makefile (extra-objs): Make recursively expanded.
23789 2011-11-01 Ulrich Drepper <drepper@gmail.com>
23791 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23792 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23794 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23795 * posix/tst-rfc3484-2.c: Likewise.
23796 * posix/tst-rfc3484-3.c: Likewise.
23798 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23800 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23802 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23803 process_vm_writev from libc using GLIBC_2.15 version.
23805 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23807 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23809 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23812 2011-10-31 Ulrich Drepper <drepper@gmail.com>
23815 * nss/getent.c (initgroups_keys): Show error message in case no group
23818 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23819 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23820 __bump_nl_timestamp.
23821 * nscd/connections (nscd_init): When host database is served open
23822 netlink socket and request notification about configuration changes.
23823 (main_loop_poll): Track netlink file descriptor and bump timestamp
23824 in case data becomes available.
23825 (main_loop_epoll): Likewise.
23826 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23827 (database_pers_head): Add extra_data fileds.
23828 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23829 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23830 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23832 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23833 in6ai data, call __free_in6ai.
23834 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23835 Add -DHAVE_NETLINK.
23836 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23837 interface information. Reuse previous data if netlink timestamp
23839 (__bump_nl_timestamp): New function.
23840 (__free_in6ai): New function.
23842 2011-10-30 Ulrich Drepper <drepper@gmail.com>
23844 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23845 close_not_cancel_no_status here.
23846 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23848 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23851 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23854 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
23855 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23856 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23858 2011-07-03 Andreas Jaeger <aj@suse.de>
23861 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23862 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23863 * math/libm-test.inc (sin_test): Add test case.
23865 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23868 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23869 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23871 * elf/chroot_canon.c (chroot_canon): Cleanups.
23873 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23876 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23877 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23879 * string/test-strchr.c: Make usable for strchrnul testing.
23880 * string/test-strchrnul.c: New file.
23881 * string/Makefile (strop-tests): Add strchrnul.
23883 * po/it.po: Update from translation team.
23884 * po/es.po: Likewise.
23886 2011-10-28 Ulrich Drepper <drepper@gmail.com>
23888 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23889 the three constants needed as parameters. Drop the others.
23890 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23891 __m128i_strloadu_tolower.
23892 Create and initialize variable zero and use it in all the places
23893 where _mm_setzero_si128 was used.
23895 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23896 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23897 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23898 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23900 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23901 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23902 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23903 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23904 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23905 __mpranred, __mptan.
23906 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23907 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23908 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23909 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23910 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23911 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23912 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23913 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23914 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23916 2011-10-28 Andreas Schwab <schwab@redhat.com>
23918 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23919 redefine if SHARED.
23920 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23923 wide char related routines to wcsmbs subdir.
23925 2011-10-27 Andreas Schwab <schwab@redhat.com>
23928 * misc/sys/cdefs.h (__THROWNL): Define.
23929 * posix/unistd.h: Use __THREADNL instead of __THREAD
23930 for memory synchronization functions.
23932 2011-10-26 Roland McGrath <roland@hack.frob.com>
23935 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23937 * manual/stdio.texi (Obstack Streams): Node removed.
23939 2011-10-26 Andreas Schwab <schwab@redhat.com>
23941 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23942 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23943 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23945 * math/math_private.h (math_force_eval): Allow non-addressable
23947 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23949 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23951 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23952 file is not needed.
23954 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23956 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23957 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23958 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23959 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23960 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23961 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23963 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23964 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23965 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23966 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23967 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23968 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23969 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23970 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23971 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23972 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23973 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23974 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23975 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23976 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23977 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23978 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23979 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23980 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23981 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23983 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23984 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23986 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23987 place. Use VEX encoding when compiling for AVX.
23989 2011-10-25 Andreas Schwab <schwab@redhat.com>
23991 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23992 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23994 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23996 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23998 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23999 useless if() expression.
24000 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24001 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24002 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24003 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24004 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24005 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24006 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24007 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24008 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24009 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24010 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24011 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24012 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24013 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24014 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24015 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24016 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24017 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24018 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24020 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24022 2011-10-25 Andreas Schwab <schwab@redhat.com>
24024 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24026 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24028 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24030 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24031 .text section. Avoid duplicate constants.
24032 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24034 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24035 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24036 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24037 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24040 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24041 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24042 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24043 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24044 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24045 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24046 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24047 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24048 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24049 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24050 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24051 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24052 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24053 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24054 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24055 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24056 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24057 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24058 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24059 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24060 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24061 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24062 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24063 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24064 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24065 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24066 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24067 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24068 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24069 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24070 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24071 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24072 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24073 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24074 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24075 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24076 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24078 2011-10-24 Ulrich Drepper <drepper@gmail.com>
24080 * sysdeps/x86_64/dla.h: Move to ...
24081 * sysdeps/x86_64/fpu/dla.h: ...here.
24082 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24083 situations. Use __builtin_fma only for gcc 4.6 and up.
24085 * config.make.in: Add have-mfma4 entry.
24086 * configure.in: Substitute libc_cv_cc_fma4.
24087 * math/Makefile (dbl-only-routines): Add sincostab.
24088 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24089 Use __sincostab not sincos.
24090 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24092 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24097 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24098 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24099 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24100 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24102 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24103 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24105 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24106 define aliases when function name is a macro.
24107 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24108 sysdeps/ieee754/dbl-64/sincos.tbl.
24109 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24110 fma4-enabled routines.
24111 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24112 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24113 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24114 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24115 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24116 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24117 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24118 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24119 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24120 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24121 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24122 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24123 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24124 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24125 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24126 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24127 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24128 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24129 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24130 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24131 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24132 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24133 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24134 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24135 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24136 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24137 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24138 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24139 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24140 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24142 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24144 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24150 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24151 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24153 2011-10-24 Andreas Schwab <schwab@redhat.com>
24155 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24157 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24159 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24161 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24163 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24165 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24166 Remove unused variable magic_bits.
24167 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24169 * string/strnlen.c: Define and use STRNLEN macro.
24170 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24171 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24173 * wcsmbs/wcslen.c: Define and use WCSLEN.
24174 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24175 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24176 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24177 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24178 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24179 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24180 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24182 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24185 strnlen-sse2-no-bsf.
24186 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24187 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24188 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24189 Add strnlen support.
24190 (USE_AS_STRNLEN): New macro.
24191 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24192 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24193 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24194 * sysdeps/x86_64/wcslen.S: New file.
24196 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24198 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24199 XMM-moves are used for copying on small sizes.
24201 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24203 * wcsmbs/Makefile (strop-tests): Add wcschr.
24204 * wcsmbs/test-wcschr.c: New file.
24205 * string/test-strchr.c: Update.
24206 Add wcschr support.
24209 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24211 * wcsmbs/Makefile (strop-tests): Add wcslen.
24212 * wcsmbs/test-wcslen.c: New file.
24213 * string/test-strlen.c: Update.
24214 Add wcslen support.
24217 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24219 * po/it.po: Update from translation team.
24221 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24223 * sysdeps/x86_64/wcscmp.S: Update.
24224 Fix wrong comparison semantics.
24225 wcscmp shall use signed comparison not unsigned.
24226 Don't use substraction to avoid overflow bug.
24227 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24228 * wcsmbc/wcscmp.c: Likewise.
24229 * string/test-strcmp.c: Likewise.
24230 Add new tests to check cases with negative values.
24232 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24234 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24235 * sysdeps/x86_64/dla.h: ...here. New file.
24236 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24241 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24242 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24243 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24244 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24246 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24248 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24249 __ynl_finite aliases.
24251 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24255 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24257 [DLA_FMA] (EMULV): Use DLA_FMA.
24258 [DLA_FMA] (MUL12): Use EMULV.
24259 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24260 that are not needed.
24261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24262 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24265 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24266 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24267 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24269 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24271 * math/s_nan.c: Undef __nan.
24272 * math/s_nanf.c: Undef __nanf.
24273 * math/s_nanl.c: Undef __nanl.
24274 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24277 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24279 * math/s_catan.c: Add branch predictions.
24280 * math/s_catanf.c: Likewise.
24281 * math/s_catanh.c: Likewise.
24282 * math/s_catanhf.c: Likewise.
24283 * math/s_catanhl.c: Likewise.
24284 * math/s_catanl.c: Likewise.
24285 * math/s_cexp.c: Likewise.
24286 * math/s_cexpf.c: Likewise.
24287 * math/s_cexpl.c: Likewise.
24288 * math/s_clog.c: Likewise.
24289 * math/s_clog10.c: Likewise.
24290 * math/s_clog10f.c: Likewise.
24291 * math/s_clog10l.c: Likewise.
24292 * math/s_clogf.c: Likewise.
24293 * math/s_clogl.c: Likewise.
24294 * math/s_csqrt.c: Likewise.
24295 * math/s_csqrtf.c: Likewise.
24296 * math/s_csqrtl.c: Likewise.
24297 * math/s_ctanf.c: Likewise.
24298 * math/s_ctanh.c: Likewise.
24299 * math/s_ctanhf.c: Likewise.
24300 * math/s_ctanhl.c: Likewise.
24301 * math/s_ctanl.c: Likewise.
24303 * math/math_private.h: Define __nan, __nanf, __nanl.
24304 * math/s_cacosh.c: Include <math_private.h>.
24305 * math/s_cacoshl.c: Likewise.
24306 * math/s_casinh.c: Likewise.
24307 * math/s_casinhf.c: Likewise.
24308 * math/s_casinhl.c: Likewise.
24309 * math/s_ccos.c: Rely entire on ccosh.
24310 * math/s_ccosf.c: Rely entire on ccoshf.
24311 * math/s_ccosl.c: Rely entirely on ccoshl.
24312 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24313 Remove tests for FE_INVALID.
24314 * math/s_ccoshf.c: Likewise.
24315 * math/s_ccoshl.c: Likewise.
24316 * math/s_csin.c: Likewise.
24317 * math/s_csinf.c: Likewise.
24318 * math/s_csinh.c Likewise.
24319 * math/s_csinhf.c: Likewise.
24320 * math/s_csinhl.c: Likewise.
24321 * math/s_csinl.c: Likewise.
24322 * math/s_ctan.c: Likewise.
24323 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24324 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24325 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24327 2011-10-21 Ulrich Drepper <drepper@gmail.com>
24329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24330 compilation problems.
24332 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24335 2011-10-20 Ulrich Drepper <drepper@gmail.com>
24337 * sysdeps/i386/configure.in: Test for -mfma4 option.
24338 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24339 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24340 COMMON_CPUID_INDEX_80000001.
24341 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24342 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24343 use it if FMA3 is not supported.
24344 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24346 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24347 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24349 2011-10-20 Andreas Schwab <schwab@redhat.com>
24352 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24353 it would create a cycle with a link time dependency.
24355 2011-10-19 Ulrich Drepper <drepper@gmail.com>
24357 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24359 * string/Makefile (strop-tests): Add rawmemchr.
24360 * string/test-rawmemchr.c: New file.
24362 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24363 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24364 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24365 when compiling str{,n}casecmp and when AVX is available. Hook up
24366 new optimized code in initializers.
24368 2011-10-19 Andreas Schwab <schwab@redhat.com>
24370 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24371 __feraiseexcept instead of feraiseexcept.
24373 2011-10-18 Ulrich Drepper <drepper@gmail.com>
24375 * math/math_private.h: Define defaults for libc_fetestexcept and
24377 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24378 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24379 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24380 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24381 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24382 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24383 libc_fetestexcept and libc_feupdateenv.
24385 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24386 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24387 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24388 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24389 libc_feholdexcept_setround.
24391 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24392 Add s_nearbyint-c and s_nearbyintf-c.
24393 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24394 nearbyintf inlines.
24395 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24396 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24397 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24398 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24400 * math/math_private.h: Define defaults for libc_fegetround,
24401 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24402 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24403 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24404 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24405 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24406 standard functions.
24407 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24408 Remove comments and hacks for old compiler versions.
24409 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24410 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24411 libc_feholdexceptl.
24413 2011-10-18 Andreas Schwab <schwab@redhat.com>
24415 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
24416 (__feraiseexcept_renamed): Add __NTH.
24417 (feraiseexcept): Add __NTH. Rename local variables to fix
24418 namespace violations.
24420 2011-10-17 Ulrich Drepper <drepper@gmail.com>
24422 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
24424 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
24426 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
24427 recently added interfaces.
24428 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
24430 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
24431 about macro parameter expansion.
24433 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
24434 __NO_MATH_INLINES is defined. Cleanups.
24436 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
24437 and __floorf is target has SSE4.1.
24438 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
24439 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
24440 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
24441 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
24443 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
24445 (floorf): Likewise.
24447 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
24449 2011-10-17 Andreas Schwab <schwab@redhat.com>
24451 * misc/sys/cdefs.h: Fix last change.
24453 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
24456 2011-10-16 Ulrich Drepper <drepper@gmail.com>
24458 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
24460 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
24461 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24462 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24463 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24464 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24465 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24466 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24467 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24468 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24469 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
24470 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
24471 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
24472 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
24473 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
24474 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
24475 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
24476 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
24477 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
24478 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
24479 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
24480 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
24481 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
24483 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
24484 ceil, ceilf, floor, floorf.
24486 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
24487 Perform IRELATIVE relocations last.
24489 * elf/do-rel.h: Add another parameter nrelative, replacing the
24490 local variable with the same name. Change name of the function
24491 to end in Rel or Rela (uppercase).
24492 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
24493 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
24494 elf_dynamic_do_##reloc function.
24496 2011-10-15 Ulrich Drepper <drepper@gmail.com>
24498 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
24499 is sufficient, at least on modern CPUs.
24501 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
24503 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
24504 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
24506 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
24508 * math/bits/math-finite.h: Add entries for exp.
24509 * math/e_expl.c: Add __*_finite alias.
24510 * sysdeps/i386/fpu/e_exp.S: Likewise.
24511 * sysdeps/i386/fpu/e_expf.S: Likewise.
24512 * sysdeps/i386/fpu/e_expl.c: Likewise.
24513 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24514 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24515 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24516 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24517 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
24518 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24519 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24521 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
24522 is sufficient, at least on modern CPUs.
24524 * ctype/ctype-info.c (__ctype_init): Define.
24525 * include/ctype.h (__ctype_init): Declare.
24526 (__ctype_b_loc): The variable is always initialized.
24527 (__ctype_toupper_loc): Likewise.
24528 (__ctype_tolower_loc): Likewise.
24529 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
24530 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
24532 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
24534 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
24536 * configure.in: Also look in $cxxmachine/include for C++ system
24539 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24541 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
24542 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
24543 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
24544 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
24545 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
24546 (USE_AS_WMEMCMP): New macro.
24548 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
24549 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
24550 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
24551 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
24552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24553 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
24554 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
24555 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
24556 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
24557 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
24558 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
24559 (USE_AS_WMEMCMP): New macro.
24560 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
24561 * sysdeps/string/test-memcmp.c: Update.
24562 Fix simple_wmemcmp.
24564 * wcsmbs/wmemcmp.c: Update.
24565 (WMEMCMP): New macro.
24568 2011-10-12 Andreas Jaeger <aj@suse.de>
24571 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
24573 2011-10-15 Ulrich Drepper <drepper@gmail.com>
24575 * libio/iofwide.c (do_length): Avoid warning.
24577 * ctype/ctype.h (__isctype_f): Add missing __THROW.
24579 2011-10-14 Ulrich Drepper <drepper@gmail.com>
24581 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
24583 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
24584 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
24585 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
24586 * sysdeps/i386/i686/fpu/e_log.S: New file.
24587 * sysdeps/i386/i686/fpu/e_logf.S: New file.
24588 * sysdeps/i386/i686/fpu/e_logl.S: New file.
24590 * ctype/ctype.h: Add support for inlined isXXX functions when
24591 compiling C++ code.
24593 2011-10-14 Andreas Schwab <schwab@redhat.com>
24595 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24597 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
24599 2011-10-13 Roland McGrath <roland@hack.frob.com>
24602 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
24604 2011-10-13 Andreas Schwab <schwab@redhat.com>
24606 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
24607 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
24610 * sysdeps/x86_64/memrchr.S: Check for zero size.
24612 * string/stratcliff.c: Add memrchr tests.
24614 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24617 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
24618 rawmemchr-sse2 rawmemchr-sse2-bsf.
24619 * sysdeps/i386/i686/multiarch/memchr.S: New file.
24620 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
24621 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
24622 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
24623 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
24624 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
24625 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
24626 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
24627 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
24628 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
24629 * string/memrchr.c (MEMRCHR): New macro.
24631 2011-10-12 Ulrich Drepper <drepper@gmail.com>
24633 Add integration with gcc's -ffinite-math-only and optimize wrapper
24635 * Versions.def: Define GLIBC_2.15 version for libm.
24636 * math/Makefile (headers): Add bits/math-finite.h.
24637 * math/bits/math-finite.h: New file.
24638 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
24639 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
24640 * math/e_acoshl.c: Add __*_finite alias.
24641 * math/e_acosl.c: Likewise.
24642 * math/e_asinl.c: Likewise.
24643 * math/e_atan2l.c: Likewise.
24644 * math/e_atanhl.c: Likewise.
24645 * math/e_coshl.c: Likewise.
24646 * math/e_exp10.c: Likewise.
24647 * math/e_exp10f.c: Likewise.
24648 * math/e_exp10l.c: Likewise.
24649 * math/e_exp2l.c: Likewise.
24650 * math/e_fmodl.c: Likewise.
24651 * math/e_gammal_r.c: Likewise.
24652 * math/e_hypotl.c: Likewise.
24653 * math/e_j0l.c: Likewise.
24654 * math/e_j1l.c: Likewise.
24655 * math/e_jnl.c: Likewise.
24656 * math/e_lgammal_r.c: Likewise.
24657 * math/e_log10l.c: Likewise.
24658 * math/e_log2l.c: Likewise.
24659 * math/e_logl.c: Likewise.
24660 * math/e_powl.c: Likewise.
24661 * math/e_sinhl.c: Likewise.
24662 * math/e_sqrtl.c: Likewise.
24663 * math/e_scalb.c: Completely rewritten and optimized.
24664 * math/e_scalbf.c: Likewise.
24665 * math/e_scalbl.c: Likewise.
24666 * math/w_acos.c: Likewise.
24667 * math/w_acosf.c: Likewise.
24668 * math/w_acosl.c: Likewise.
24669 * math/w_acosh.c: Likewise.
24670 * math/w_acoshf.c: Likewise.
24671 * math/w_acoshl.c: Likewise.
24672 * math/w_asin.c: Likewise.
24673 * math/w_asinf.c: Likewise.
24674 * math/w_asinl.c: Likewise.
24675 * math/w_atan2.c: Likewise.
24676 * math/w_atan2f.c: Likewise.
24677 * math/w_atan2l.c: Likewise.
24678 * math/w_atanh.c: Likewise.
24679 * math/w_atanhf.c: Likewise.
24680 * math/w_atanhl.c: Likewise.
24681 * math/w_exp10.c: Likewise.
24682 * math/w_exp10f.c: Likewise.
24683 * math/w_exp10l.c: Likewise.
24684 * math/w_fmod.c: Likewise.
24685 * math/w_fmodf.c: Likewise.
24686 * math/w_fmodl.c: Likewise.
24687 * math/w_j0.c: Likewise.
24688 * math/w_j0f.c: Likewise.
24689 * math/w_j0l.c: Likewise.
24690 * math/w_j1.c: Likewise.
24691 * math/w_j1f.c: Likewise.
24692 * math/w_j1l.c: Likewise.
24693 * math/w_jn.c: Likewise.
24694 * math/w_jnf.c: Likewise.
24695 * math/w_log.c: Likewise.
24696 * math/w_logf.c: Likewise.
24697 * math/w_logl.c: Likewise.
24698 * math/w_log10.c: Likewise.
24699 * math/w_log10f.c: Likewise.
24700 * math/w_log10l.c: Likewise.
24701 * math/w_log2.c: Likewise.
24702 * math/w_log2f.c: Likewise.
24703 * math/w_log2l.c: Likewise.
24704 * math/w_pow.c: Likewise.
24705 * math/w_powf.c: Likewise.
24706 * math/w_powl.c: Likewise.
24707 * math/w_remainder.c: Likewise.
24708 * math/w_remainderf.c: Likewise.
24709 * math/w_remainderl.c: Likewise.
24710 * math/w_scalb.c: Likewise.
24711 * math/w_scalbf.c: Likewise.
24712 * math/w_scalbl.c: Likewise.
24713 * math/w_sqrt.c: Likewise.
24714 * math/w_sqrtf.c: Likewise.
24715 * math/w_sqrtl.c: Likewise.
24716 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24717 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
24719 * math/math_private.h: Declare __kernel_standard_f.
24720 * math/w_cosh.c: Remove cruft and optimize a bit.
24721 * math/w_coshf.c: Likewise.
24722 * math/w_coshl.c: Likewise.
24723 * math/w_exp2.c: Likewise.
24724 * math/w_exp2f.c: Likewise.
24725 * math/w_exp2l.c: Likewise.
24726 * math/w_hypot.c: Likewise.
24727 * math/w_hypotf.c: Likewise.
24728 * math/w_hypotl.c: Likewise.
24729 * math/w_lgamma.c: Likewise.
24730 * math/w_lgamma_r.c: Likewise.
24731 * math/w_lgammaf.c: Likewise.
24732 * math/w_lgammaf_r.c: Likewise.
24733 * math/w_lgammal.c: Likewise.
24734 * math/w_lgammal_r.c: Likewise.
24735 * math/w_sinh.c: Likewise.
24736 * math/w_sinhf.c: Likewise.
24737 * math/w_sinhl.c: Likewise.
24738 * math/w_tgamma.c: Likewise.
24739 * math/w_tgammaf.c: Likewise.
24740 * math/w_tgammal.c: Likewise.
24741 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24742 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24743 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24744 Minor optimizations. Pretty printing. Remove cruft.
24745 * sysdeps/i386/fpu/e_acosf.S: Likewise.
24746 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24747 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24748 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24749 * sysdeps/i386/fpu/e_acosl.c: Likewise.
24750 * sysdeps/i386/fpu/e_asin.S: Likewise.
24751 * sysdeps/i386/fpu/e_asinf.S: Likewise.
24752 * sysdeps/i386/fpu/e_atan2.S: Likewise.
24753 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24754 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24755 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24756 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24757 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24758 * sysdeps/i386/fpu/e_exp10.S: Likewise.
24759 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24760 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24761 * sysdeps/i386/fpu/e_exp2.S: Likewise.
24762 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24763 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24764 * sysdeps/i386/fpu/e_fmod.S: Likewise.
24765 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24766 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24767 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24768 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24769 * sysdeps/i386/fpu/e_log.S: Likewise.
24770 * sysdeps/i386/fpu/e_log10.S: Likewise.
24771 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24772 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24773 * sysdeps/i386/fpu/e_log2.S: Likewise.
24774 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24775 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24776 * sysdeps/i386/fpu/e_logf.S: Likewise.
24777 * sysdeps/i386/fpu/e_logl.S: Likewise.
24778 * sysdeps/i386/fpu/e_pow.S: Likewise.
24779 * sysdeps/i386/fpu/e_powf.S: Likewise.
24780 * sysdeps/i386/fpu/e_powl.S: Likewise.
24781 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24782 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24783 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24784 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24785 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24786 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24787 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24788 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24789 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24790 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24791 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24793 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24794 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24795 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24796 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24797 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24798 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24799 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24800 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24801 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24802 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24803 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24804 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24805 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24806 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24807 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24808 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24809 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24810 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24811 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24812 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24813 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24814 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24815 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24816 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24817 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24818 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24819 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24820 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24821 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24822 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24823 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24824 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24825 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24826 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24827 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24828 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24829 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24830 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24831 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24832 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24836 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24837 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24838 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24840 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24842 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24843 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24845 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24846 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24847 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24848 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24850 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24855 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24857 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24858 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24859 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24860 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24861 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24862 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24863 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24864 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24865 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24866 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24868 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24869 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24870 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24871 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24872 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24873 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24874 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24875 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24876 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24877 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24878 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24879 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24880 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24881 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24882 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24883 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24884 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24885 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24886 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24887 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24888 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24889 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24890 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24891 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24892 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24893 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24894 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24895 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24896 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24897 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24898 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24899 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24900 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24901 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24902 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24903 (__isnanf): Likewise.
24904 (__isinf_ns): Likewise.
24905 (__isinf_nsf): Likewise.
24906 (__finite): Likewise.
24907 (__finitef): Likewise.
24908 (__ieee754_sqrt): Define as macro.
24909 (__ieee754_sqrtf): Define as macro.
24910 (__ieee754_sqrtl): Define as macro.
24911 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24913 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24914 __FINITE_MATH_ONLY__ consistent.
24915 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24917 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24919 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24922 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24924 2011-10-09 Ulrich Drepper <drepper@gmail.com>
24926 * po/ja.po: Update from translation team.
24928 2011-10-08 Roland McGrath <roland@hack.frob.com>
24930 * locale/programs/locarchive.c (prepare_address_space): New function.
24931 (create_archive, enlarge_archive, open_archive): Use it.
24933 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24934 inside [SHARED], where it is used.
24936 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24938 * nss/getent.c (netgroup_keys): Remove unused variable.
24939 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24941 2011-10-08 Ulrich Drepper <drepper@gmail.com>
24943 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24944 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24945 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24946 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24947 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24948 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24949 * math/Makefile (libm-calls): Add s_isinf_ns.
24950 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24951 * math/multc3.c: Likewise.
24952 * math/s_casin.c: Likewise.
24953 * math/s_casinf.c: Likewise.
24954 * math/s_casinl.c: Likewise.
24955 * math/s_ccos.c: Likewise.
24956 * math/s_ccosf.c: Likewise.
24957 * math/s_ccosl.c: Likewise.
24958 * math/s_ctan.c: Likewise.
24959 * math/s_ctanf.c: Likewise.
24960 * math/s_ctanh.c: Likewise.
24961 * math/s_ctanhf.c: Likewise.
24962 * math/s_ctanhl.c: Likewise.
24963 * math/s_ctanl.c: Likewise.
24964 * math/w_fmod.c: Likewise.
24965 * math/w_fmodf.c: Likewise.
24966 * math/w_fmodl.c: Likewise.
24967 * math/w_remainder.c: Likewise.
24968 * math/w_remainderf.c: Likewise.
24969 * math/w_remainderl.c: Likewise.
24970 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24971 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24972 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24973 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24974 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24975 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24976 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24977 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24979 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24981 * stdio-common/printf_fphex.c: Likewise.
24982 * stdio-common/printf_size.c: Likewise.
24984 * math/e_exp10.c: Include math_private.h using <...> not "...".
24985 * math/e_exp10f.c: Likewise.
24986 * math/e_exp10l.c: Likewise.
24987 * math/e_exp2l.c: Likewise.
24988 * math/e_j0l.c: Likewise.
24989 * math/e_j1l.c: Likewise.
24990 * math/e_jnl.c: Likewise.
24991 * math/e_lgammal_r.c: Likewise.
24992 * math/e_rem_pio2l.c: Likewise.
24993 * math/e_scalb.c: Likewise.
24994 * math/e_scalbf.c: Likewise.
24995 * math/e_scalbl.c: Likewise.
24996 * math/k_cosl.c: Likewise.
24997 * math/k_sinl.c: Likewise.
24998 * math/k_tanl.c: Likewise.
24999 * math/s_cacoshf.c: Likewise.
25000 * math/s_catan.c: Likewise.
25001 * math/s_catanf.c: Likewise.
25002 * math/s_catanh.c: Likewise.
25003 * math/s_catanhf.c: Likewise.
25004 * math/s_catanhl.c: Likewise.
25005 * math/s_catanl.c: Likewise.
25006 * math/s_ccosh.c: Likewise.
25007 * math/s_ccoshf.c: Likewise.
25008 * math/s_ccoshl.c: Likewise.
25009 * math/s_cexp.c: Likewise.
25010 * math/s_cexpf.c: Likewise.
25011 * math/s_cexpl.c: Likewise.
25012 * math/s_clog.c: Likewise.
25013 * math/s_clog10.c: Likewise.
25014 * math/s_clog10f.c: Likewise.
25015 * math/s_clog10l.c: Likewise.
25016 * math/s_clogf.c: Likewise.
25017 * math/s_clogl.c: Likewise.
25018 * math/s_csin.c: Likewise.
25019 * math/s_csinf.c: Likewise.
25020 * math/s_csinh.c: Likewise.
25021 * math/s_csinhf.c: Likewise.
25022 * math/s_csinhl.c: Likewise.
25023 * math/s_csinl.c: Likewise.
25024 * math/s_csqrt.c: Likewise.
25025 * math/s_csqrtf.c: Likewise.
25026 * math/s_csqrtl.c: Likewise.
25027 * math/s_ctan.c: Likewise.
25028 * math/s_ctanf.c: Likewise.
25029 * math/s_ctanh.c: Likewise.
25030 * math/s_ctanhf.c: Likewise.
25031 * math/s_ctanhl.c: Likewise.
25032 * math/s_ctanl.c: Likewise.
25033 * math/s_ldexp.c: Likewise.
25034 * math/s_ldexpf.c: Likewise.
25035 * math/s_ldexpl.c: Likewise.
25036 * math/s_significand.c: Likewise.
25037 * math/s_significandf.c: Likewise.
25038 * math/s_significandl.c: Likewise.
25039 * math/w_acos.c: Likewise.
25040 * math/w_acosf.c: Likewise.
25041 * math/w_acosh.c: Likewise.
25042 * math/w_acoshf.c: Likewise.
25043 * math/w_acoshl.c: Likewise.
25044 * math/w_acosl.c: Likewise.
25045 * math/w_asin.c: Likewise.
25046 * math/w_asinf.c: Likewise.
25047 * math/w_asinl.c: Likewise.
25048 * math/w_atan2.c: Likewise.
25049 * math/w_atan2f.c: Likewise.
25050 * math/w_atan2l.c: Likewise.
25051 * math/w_atanh.c: Likewise.
25052 * math/w_atanhf.c: Likewise.
25053 * math/w_atanhl.c: Likewise.
25054 * math/w_cosh.c: Likewise.
25055 * math/w_coshf.c: Likewise.
25056 * math/w_coshl.c: Likewise.
25057 * math/w_dremf.c: Likewise.
25058 * math/w_exp10.c: Likewise.
25059 * math/w_exp10f.c: Likewise.
25060 * math/w_exp10l.c: Likewise.
25061 * math/w_exp2.c: Likewise.
25062 * math/w_exp2f.c: Likewise.
25063 * math/w_fmod.c: Likewise.
25064 * math/w_fmodf.c: Likewise.
25065 * math/w_fmodl.c: Likewise.
25066 * math/w_hypot.c: Likewise.
25067 * math/w_hypotf.c: Likewise.
25068 * math/w_hypotl.c: Likewise.
25069 * math/w_j0.c: Likewise.
25070 * math/w_j0f.c: Likewise.
25071 * math/w_j0l.c: Likewise.
25072 * math/w_j1.c: Likewise.
25073 * math/w_j1f.c: Likewise.
25074 * math/w_j1l.c: Likewise.
25075 * math/w_jn.c: Likewise.
25076 * math/w_jnf.c: Likewise.
25077 * math/w_jnl.c: Likewise.
25078 * math/w_lgamma.c: Likewise.
25079 * math/w_lgamma_r.c: Likewise.
25080 * math/w_lgammaf.c: Likewise.
25081 * math/w_lgammaf_r.c: Likewise.
25082 * math/w_lgammal.c: Likewise.
25083 * math/w_lgammal_r.c: Likewise.
25084 * math/w_log.c: Likewise.
25085 * math/w_log10.c: Likewise.
25086 * math/w_log10f.c: Likewise.
25087 * math/w_log10l.c: Likewise.
25088 * math/w_log2.c: Likewise.
25089 * math/w_log2f.c: Likewise.
25090 * math/w_log2l.c: Likewise.
25091 * math/w_logf.c: Likewise.
25092 * math/w_logl.c: Likewise.
25093 * math/w_pow.c: Likewise.
25094 * math/w_powf.c: Likewise.
25095 * math/w_powl.c: Likewise.
25096 * math/w_remainder.c: Likewise.
25097 * math/w_remainderf.c: Likewise.
25098 * math/w_remainderl.c: Likewise.
25099 * math/w_scalb.c: Likewise.
25100 * math/w_scalbf.c: Likewise.
25101 * math/w_scalbl.c: Likewise.
25102 * math/w_sinh.c: Likewise.
25103 * math/w_sinhf.c: Likewise.
25104 * math/w_sinhl.c: Likewise.
25105 * math/w_sqrt.c: Likewise.
25106 * math/w_sqrtf.c: Likewise.
25107 * math/w_sqrtl.c: Likewise.
25108 * math/w_tgamma.c: Likewise.
25109 * math/w_tgammaf.c: Likewise.
25110 * math/w_tgammal.c: Likewise.
25112 * po/ja.po: Update from translation team.
25114 2011-09-29 Andreas Jaeger <aj@suse.de>
25117 * sunrpc/netname.c (netname2host): Fix logic.
25121 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25123 * math/w_remainder.c (__remainder): Likewise.
25124 * math/w_remainderf.c (__remainderf): Likewise.
25125 * math/libm-test.inc (remainder_test): Add test cases.
25127 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25129 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25132 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25134 * string/test-memcmp.c: Avoid unncessary #defines.
25135 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25137 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25139 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25140 Use new sse2 version for core i3 - i7 as it's faster
25141 than sse42 version.
25142 (bit_Prefer_PMINUB_for_stringop): New.
25143 * sysdeps/x86_64/rawmemchr.S: Update.
25144 Replace with faster SSE2 version.
25145 * sysdeps/x86_64/memrchr.S: New file.
25146 * sysdeps/x86_64/memchr.S: Update.
25147 Replace with faster SSE2 version.
25149 2011-09-12 Marek Polacek <mpolacek@redhat.com>
25151 * elf/dl-load.c (lose): Add cast to avoid warning.
25153 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25155 * po/ca.po: Update from translation team.
25157 * inet/getnetgrent_r.c: Hook up nscd.
25158 * nscd/Makefile (routines): Add nscd_netgroup.
25159 (nscd-modules): Add netgroupcache.
25160 (CFLAGS-netgroupcache.c): Define.
25161 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25162 (cache_search): Add const to second parameter.
25163 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25165 (dbs): Add netgrdb entry.
25166 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25167 (verify_persistent_db): Handle netgrdb.
25168 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25169 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25171 (netgroup_response_header): Define.
25172 (innetgroup_response_header): Define.
25173 (datahead): Add netgroup_response_header and innetgroup_response_header
25175 * nscd/nscd.conf: Add entries for netgroup cache.
25176 * nscd/nscd.h (dbtype): Add netgrdb.
25177 (_PATH_NSCD_NETGROUP_DB): Define.
25178 (netgroup_iov_disabled): Declare.
25179 (xmalloc, xcalloc, xrealloc): Move declarations here.
25180 (cache_search): Adjust prototype.
25181 Add netgroup-related prototypes.
25182 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25183 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25184 (__nscd_innetgr): Declare.
25185 * nscd/selinux.c (perms): Use access_vector_t as element type and
25186 add netgroup-related initializers.
25187 * nscd/netgroupcache.c: New file.
25188 * nscd/nscd_netgroup.c: New file.
25189 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25190 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25191 For four parameters use innetgr.
25192 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25193 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25194 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25195 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25197 * nscd/connections.c (register_traced_file): Don't register file
25198 for disabled databases.
25200 2011-10-06 Ulrich Drepper <drepper@gmail.com>
25202 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25204 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25205 from tree and freeing node.
25207 2011-09-25 Jiri Olsa <jolsa@redhat.com>
25209 * nss/nsswitch.c (__nss_database_lookup): Handle
25210 nss_parse_service_list out of memory case.
25212 2011-09-15 Jiri Olsa <jolsa@redhat.com>
25214 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25215 out of memory case.
25217 2011-10-04 Andreas Schwab <schwab@redhat.com>
25219 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25220 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25222 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25223 elf_machine_rela, elf_machine_lazy_rel.
25224 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25225 (ELF_DYNAMIC_DO_REL): Likewise.
25226 (ELF_DYNAMIC_DO_RELA): Likewise.
25227 (ELF_DYNAMIC_RELOCATE): Likewise.
25228 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25229 to ELF_DYNAMIC_DO_REL.
25230 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25231 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25232 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25234 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25235 skip_ifunc, don't call ifunc function if non-zero.
25236 (elf_machine_rela): Likewise.
25237 (elf_machine_lazy_rel): Likewise.
25238 (elf_machine_lazy_rela): Likewise.
25239 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25240 (elf_machine_lazy_rel): Likewise.
25241 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25243 (elf_machine_lazy_rel): Likewise.
25244 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25246 (elf_machine_lazy_rel): Likewise.
25247 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25248 (elf_machine_lazy_rel): Likewise.
25249 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25250 (elf_machine_lazy_rel): Likewise.
25251 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25252 (elf_machine_lazy_rel): Likewise.
25253 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25254 (elf_machine_lazy_rel): Likewise.
25255 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25256 (elf_machine_lazy_rel): Likewise.
25257 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25258 (elf_machine_lazy_rel): Likewise.
25260 2011-09-28 Ulrich Drepper <drepper@gmail.com>
25262 * nss/nss_files/files-init.c (_nss_files_init): Use static
25263 initialization for all the *_traced_file variables.
25265 2011-09-28 Andreas Schwab <schwab@redhat.com>
25267 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25269 2011-09-27 Roland McGrath <roland@hack.frob.com>
25272 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25274 2011-09-27 Andreas Schwab <schwab@redhat.com>
25276 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25277 Reread the line before reparsing it.
25279 2011-09-26 Andreas Schwab <schwab@redhat.com>
25281 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25283 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25284 Maxim Kuvyrkov <maxim@codesourcery.com>
25285 Joseph Myers <joseph@codesourcery.com>
25287 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25288 if needed for __stack_chk_guard.
25290 2011-09-19 Roland McGrath <roland@hack.frob.com>
25292 * sysdeps/posix/spawni.c (script_execute): Always define it.
25293 It will be optimized away if unused.
25294 (maybe_script_execute): New function.
25295 (__spawni): Call it.
25297 * Makerules: Don't include tls.make.
25298 (config-tls): Always set to thread.
25299 * tls.make.c: File removed.
25301 2011-09-19 Mike Frysinger <vapier@gentoo.org>
25303 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25304 * config.make.in (CPPFLAGS-config): New substituted variable.
25306 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25308 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25311 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25312 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25314 2011-09-15 Roland McGrath <roland@hack.frob.com>
25316 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25317 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25318 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25319 (CALL_FAIL): Likewise.
25320 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25321 (CALL_FAIL): Macro removed.
25322 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25324 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25326 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25327 for __FINITE_MATH_ONLY__ == 1.
25329 2011-09-15 Andreas Schwab <schwab@redhat.com>
25331 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25332 __ieee754_sqrt instead of sqrt.
25333 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25334 __ieee754_sqrtf instead of sqrtf.
25335 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25336 __floorf instead of floorf.
25337 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25338 __floorf, __truncf instead of floorf, truncf.
25340 2011-09-14 Ulrich Drepper <drepper@gmail.com>
25342 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25344 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25345 __extern_always_inline.
25346 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25349 2011-09-14 Andreas Schwab <schwab@redhat.com>
25351 * elf/rtld.c (dl_main): Also relocate in dependency order when
25352 doing symbol dependency testing.
25354 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25357 Always define `refsym'.
25359 2011-09-13 Andreas Schwab <schwab@redhat.com>
25361 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25362 (__FD_ELT): Renamed from __FDELT.
25363 * misc/bits/select2.h (__FD_ELT): Likewise.
25364 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25365 __FD_MASK instead of __FDELT, __FDMASK.
25366 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25368 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25371 * elf/Makefile (gen-ldd): Fix pattern.
25373 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25374 (init_tls): Likewise.
25376 2011-09-12 Ulrich Drepper <drepper@gmail.com>
25378 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25380 2011-09-12 Andreas Schwab <schwab@redhat.com>
25382 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25383 `struct cmsghdr *' instead of `void *'.
25384 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25387 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25389 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25391 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25392 ldd_rewrite_script.
25394 2011-09-11 Ulrich Drepper <drepper@gmail.com>
25396 * configure.in: Remove --with-tls option.
25397 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25398 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25399 out in case it is missing.
25400 * sysdeps/ia64/elf/configure.in: Likewise.
25401 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25402 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25403 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25404 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25405 * sysdeps/sh/elf/configure.in: Likewise.
25406 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25407 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25408 * sysdeps/x86_64/elf/configure.in: Likewise.
25409 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25410 * sysdeps/mach/hurd/tls.h: Likewise.
25413 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25416 * configure.in: Fix use of AC_INIT.
25418 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25420 2011-09-10 Ulrich Drepper <drepper@gmail.com>
25422 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
25424 * malloc/hooks.c: Likewise.
25427 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
25428 variables statically.
25429 (narenas): Initialize.
25430 (list_lock): Initialize.
25431 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
25432 initializtion of main_arena and list_lock. Small cleanups.
25433 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
25434 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
25435 Add initializers to main_arena and mp_.
25436 (malloc_state): Remove pagesize member. Change all users to use
25439 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
25440 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
25441 is always initialized.
25443 * malloc/malloc.c: Removed unused configurations and dead code.
25444 * malloc/arena.c: Likewise.
25445 * malloc/hooks.c: Likewise.
25446 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
25448 * include/tls.h: Removed. USE___THREAD must always be defined.
25449 * bits/libc-tsd.h: Don't handle !USE___THREAD.
25450 * elf/dl-libc.c: Likewise.
25451 * elf/dl-tsd.c: Likewise.
25452 * include/errno.h: Likewise.
25453 * include/netdb.h: Likewise.
25454 * include/resolv.h: Likewise.
25455 * inet/herrno-loc.c: Likewise.
25456 * inet/herrno.c: Likewise.
25457 * malloc/arena.c: Likewise.
25458 * malloc/hooks.c: Likewise.
25459 * malloc/malloc.c: Likewise.
25460 * resolv/res-state.c: Likewise.
25461 * resolv/res_libc.c: Likewise.
25462 * sysdeps/i386/dl-machine.h: Likewise.
25463 * sysdeps/ia64/dl-machine.h: Likewise.
25464 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25465 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25466 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25467 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25468 * sysdeps/sh/dl-machine.h: Likewise.
25469 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25470 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25471 * sysdeps/unix/i386/sysdep.S: Likewise.
25472 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25473 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25474 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25475 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25476 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25478 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25480 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25482 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25483 * sysdeps/x86_64/dl-machine.h: Likewise.
25484 * tls.make.c: Likewise.
25486 * configure.in: Remove --with-__thread option. Make tests for
25487 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
25488 tls_model attribute fail if no support is available. Remove
25490 * Makeconfig: Adjust for dropped configure option. All features are
25492 * Makerules: Likewise.
25493 * Versions.def: Likewise.
25494 * argp/argp-fmtstream.c: Likewise.
25495 * argp/argp-fmtstream.h: Likewise.
25496 * argp/argp-help.c: Likewise.
25497 * assert/assert.c: Likewise.
25498 * config.h.in: Likewise.
25499 * config.make.in: Likewise.
25500 * configure: Likewise.
25501 * configure.in: Likewise.
25502 * csu/Versions: Likewise.
25503 * csu/init.c: Likewise.
25504 * elf/tst-audit2.c: Likewise.
25505 * elf/tst-tls10.c: Likewise.
25506 * elf/tst-tls10.h: Likewise.
25507 * elf/tst-tls11.c: Likewise.
25508 * elf/tst-tls12.c: Likewise.
25509 * elf/tst-tls14.c: Likewise.
25510 * elf/tst-tlsmod11.c: Likewise.
25511 * elf/tst-tlsmod12.c: Likewise.
25512 * elf/tst-tlsmod13.c: Likewise.
25513 * elf/tst-tlsmod13a.c: Likewise.
25514 * elf/tst-tlsmod14a.c: Likewise.
25515 * elf/tst-tlsmod15b.c: Likewise.
25516 * elf/tst-tlsmod16a.c: Likewise.
25517 * elf/tst-tlsmod16b.c: Likewise.
25518 * elf/tst-tlsmod7.c: Likewise.
25519 * elf/tst-tlsmod8.c: Likewise.
25520 * elf/tst-tlsmod9.c: Likewise.
25521 * gmon/gmon.c: Likewise.
25522 * grp/fgetgrent_r.c: Likewise.
25523 * grp/putgrent.c: Likewise.
25524 * hurd/fopenport.c: Likewise.
25525 * include/libc-symbols.h: Likewise.
25526 * include/tls.h: Likewise.
25527 * intl/gettextP.h: Likewise.
25528 * intl/loadinfo.h: Likewise.
25529 * locale/global-locale.c: Likewise.
25530 * locale/localeinfo.h: Likewise.
25531 * mach/devstream.c: Likewise.
25532 * malloc/arena.c: Likewise.
25533 * malloc/set-freeres.c: Likewise.
25534 * misc/err.c: Likewise.
25535 * misc/getttyent.c: Likewise.
25536 * misc/mntent_r.c: Likewise.
25537 * posix/getopt.c: Likewise.
25538 * posix/wordexp.c: Likewise.
25539 * pwd/fgetpwent_r.c: Likewise.
25540 * resolv/Versions: Likewise.
25541 * resolv/res_hconf.c: Likewise.
25542 * shadow/fgetspent_r.c: Likewise.
25543 * shadow/putspent.c: Likewise.
25544 * stdio-common/printf_fphex.c: Likewise.
25545 * stdio-common/tmpfile.c: Likewise.
25546 * stdlib/abort.c: Likewise.
25547 * stdlib/fmtmsg.c: Likewise.
25548 * sunrpc/auth_unix.c: Likewise.
25549 * sunrpc/clnt_perr.c: Likewise.
25550 * sunrpc/clnt_tcp.c: Likewise.
25551 * sunrpc/clnt_udp.c: Likewise.
25552 * sunrpc/clnt_unix.c: Likewise.
25553 * sunrpc/openchild.c: Likewise.
25554 * sunrpc/svc_simple.c: Likewise.
25555 * sunrpc/svc_tcp.c: Likewise.
25556 * sunrpc/svc_udp.c: Likewise.
25557 * sunrpc/svc_unix.c: Likewise.
25558 * sunrpc/xdr.c: Likewise.
25559 * sunrpc/xdr_array.c: Likewise.
25560 * sunrpc/xdr_rec.c: Likewise.
25561 * sunrpc/xdr_ref.c: Likewise.
25562 * sunrpc/xdr_stdio.c: Likewise.
25564 2011-09-09 Ulrich Drepper <drepper@gmail.com>
25566 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25568 2011-07-03 Andreas Jaeger <aj@suse.de>
25570 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
25571 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
25572 regenerate with gen-libm-tests.pl.
25574 2010-05-12 Petr Baudis <pasky@suse.cz>
25577 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
25578 around j0() zero points by switching to j1().
25579 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25580 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25581 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25584 2011-09-09 Ulrich Drepper <drepper@gmail.com>
25586 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
25588 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
25590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25591 Patch in part by Pavel Roskin <proski@gnu.org>.
25594 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
25596 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
25597 Free memory block if necessary.
25600 * libio/genops.c (INTDEF): For string streams the _lock pointer can
25601 be NULL. Don't lock in this case.
25603 2011-09-09 Roland McGrath <roland@hack.frob.com>
25605 * elf/elf.h (ELFOSABI_GNU): New macro.
25606 (ELFOSABI_LINUX): Define to that.
25608 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
25610 * string/strncat.c (strncat): Undef the symbol in case it has been
25611 defined in bits/string.h.
25613 2011-09-09 Ulrich Drepper <drepper@gmail.com>
25615 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
25617 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
25620 2011-08-17 Andreas Jaeger <aj@suse.de>
25622 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
25624 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25625 Ian Lance Taylor <iant@google.com>
25627 * math/libm-test.inc (lround_test): New testcase.
25628 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
25630 2011-09-08 Ulrich Drepper <drepper@gmail.com>
25632 * Makefile: Remove support for automatic cvs check-ins.
25633 * Makerules: Likewise.
25634 * config.make.in: Likewise.
25635 * configure.in: Likewise.
25636 * intl/Makefile: Likewise.
25637 * locale/Makefile: Likewise.
25638 * po/Makefile: Likewise.
25639 * posix/Makefile: Likewise.
25640 * sysdeps/gnu/Makefile: Likewise.
25641 * sysdeps/mach/hurd/Makefile: Likewise.
25642 * sysdeps/sparc/sparc32/Makefile: Likewise.
25645 * posix/Makefile (bug-regex32-ENV): Define.
25646 Patch by John Stanley <jpsinthemix@verizon.net>.
25648 * misc/Makefile (headers): Add bits/select2.h.
25649 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
25650 * misc/bits/select2.h: New file.
25651 * include/bits/select2.h: New file.
25652 * debug/Makefile (routines): Add fdelt_chk.
25653 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25654 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25656 * debug/fdelt_chk.c: New file.
25658 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
25659 * wcsmbs/test-wmemcmp.c: Likewise.
25660 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
25661 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
25663 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25665 * string/Makefile (strop-tests): Add memcmp.
25666 * string/test-wmemcmp.c: New file.
25667 * string/test-memcmp.c: Add wmemcmp support.
25669 2011-09-08 Roland McGrath <roland@hack.frob.com>
25672 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25675 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25676 garbage value in a __mach_port_mod_refs call in the cases of the
25677 task-self and thread-self ports.
25679 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25681 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25683 2011-09-08 Andreas Schwab <schwab@redhat.com>
25685 * elf/dl-load.c (lose): Check for non-null L.
25687 2011-09-07 Ulrich Drepper <drepper@gmail.com>
25689 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25691 * elf/dl-libc.c (dlerror_run): Pass back error code from
25695 * elf/dl-load.c (lose): Free l_origin if it is valid.
25697 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25699 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25700 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25701 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25702 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25703 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25704 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25706 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25708 * sysdeps/powerpc/fpu/e_hypot.c: New file.
25709 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25710 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25711 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25712 * sysdeps/powerpc/fpu/k_cosf.c: New file.
25713 * sysdeps/powerpc/fpu/k_sinf.c: New file.
25714 * sysdeps/powerpc/fpu/s_cosf.c: New file.
25715 * sysdeps/powerpc/fpu/s_sinf.c: New file.
25716 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25717 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25719 2011-08-15 Alan Modra <amodra@gmail.com>
25722 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25723 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25724 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
25725 ppc_mcount to static-only-routines.
25726 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25728 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25729 __mcount_internal with usual JUMPTARGET. Remove useless nop.
25731 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
25733 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25734 for finite and infinity parameters.
25736 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25738 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25739 and add nop instructions for throughput optimization.
25740 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25742 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
25744 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25745 aligned copy for power7 with vector-scalar instructions.
25746 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25748 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
25750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25753 2011-09-07 Andreas Schwab <schwab@redhat.com>
25756 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25759 2011-09-07 Ulrich Drepper <drepper@gmail.com>
25761 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25762 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25763 syscall wrapper around clock_gettime in __vdso_clock_gettime.
25764 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25767 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25769 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25770 Forgot to demangle the pointer.
25772 * sysdeps/i386/sysdep.h: Define atom_text_section.
25773 * sysdeps/x86_64/sysdep.h: Likewise.
25774 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25775 section with atom_text_section.
25776 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25777 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25778 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25779 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25780 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25782 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25783 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25784 already be defined. Change to take two parameters and don't assign
25785 result to variable. Adjust all users.
25786 Define INTERNAL_GETTIME if not already defined.
25787 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25789 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25790 HAVE_CLOCK_GETTIME_VSYSCALL.
25791 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25794 gettimeofday vsyscall, just use time.
25796 2011-09-06 Andreas Schwab <schwab@redhat.com>
25798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25801 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25803 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25805 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25807 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25808 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25809 syscall if possible.
25811 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25813 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25814 e_ident. Don't pass to find_mapsXX.
25815 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25817 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25820 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25821 * sysdeps/x86_64/multiarch/strchr.S: Update.
25822 Check bit_slow_BSF bit.
25823 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25824 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25825 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25827 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25830 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25832 (tryshell): Define.
25833 (__spawni): Change last parameter to be flag. Test
25834 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25835 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25836 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25837 * posix/spawni.c: Likewise.
25838 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25839 * posix/spawnp.c: Likewise. Change normal version to use
25840 SPAWN_XFLAGS_USE_PATH.
25841 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25842 SPAWN_XFLAGS_TRY_SHELL.
25845 * posix/glob.h: Remove gcc 1.x support.
25848 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25850 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25853 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25855 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25856 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25857 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25858 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25859 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25860 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25862 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25864 * sysdeps/x86_64/wcscmp.S: New file.
25866 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25867 wcscmp-c wcscmp-sse2
25868 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25869 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25870 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25871 * wcsmbs/wcscmp.c: Allow renaming.
25873 2011-09-05 David S. Miller <davem@davemloft.net>
25875 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25876 stack slot, rather than the struct return pointer slot.
25877 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25878 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25880 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25882 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25884 * po/ja.po: Update from translation team.
25887 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25888 kernel in 64-bit binaries.
25890 2011-09-01 David S. Miller <davem@davemloft.net>
25892 * elf/elf.h (HWCAP_SPARC_*): Move to..
25893 * sysdeps/sparc/sysdep.h: this new file and add new values.
25894 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25895 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25896 _DL_HWCAP_COUNT to 24.
25897 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25899 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25900 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25901 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25903 instead of magic constants.
25904 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25906 2011-08-31 David S. Miller <davem@davemloft.net>
25908 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25910 Reimplement to do errno handling inline.
25911 (SYSCALL_ERROR_HANDLER): New macro.
25912 (__SYSCALL_STRING): Do not do errno handling in asm.
25913 (__CLONE_SYSCALL_STRING): Delete.
25914 (__INTERNAL_SYSCALL_STRING): Delete.
25915 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25916 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25917 (PSEUDO): Reimplement to do errno handling inline.
25918 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25919 (SYSCALL_ERROR_HANDLER): New macro.
25920 (__SYSCALL_STRING): Do not do errno handling in asm.
25921 (__CLONE_SYSCALL_STRING): Delete.
25922 (__INTERNAL_SYSCALL_STRING): Delete.
25923 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25924 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25926 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25927 (inline_syscall*): Add 'err' argument.
25928 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25929 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25930 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25931 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25933 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25934 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25936 2011-08-30 Andreas Schwab <schwab@redhat.com>
25938 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25940 2011-08-29 Jiri Olsa <jolsa@redhat.com>
25942 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25945 2011-08-24 David S. Miller <davem@davemloft.net>
25947 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25949 2011-08-24 Andreas Schwab <schwab@redhat.com>
25951 * elf/Makefile: Add rules to build and run unload8 test.
25952 * elf/unload8.c: New file.
25953 * elf/unload8mod1.c: New file.
25954 * elf/unload8mod1x.c: New file.
25955 * elf/unload8mod2.c: New file.
25956 * elf/unload8mod3.c: New file.
25958 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25961 2011-08-23 David S. Miller <davem@davemloft.net>
25963 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25964 subtract stack bias.
25965 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25966 %sp not %fp in calculations.
25967 (_JMPBUF_UNWINDS_ADJ): Likewise.
25969 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25970 (aio_suspend): Call it to force an exception region around the
25971 AIO_MISC_WAIT() invocation.
25973 2011-08-23 Andreas Schwab <schwab@redhat.com>
25975 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25978 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25980 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25982 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25983 and <dl-machine.h>.
25984 (Elf64_FuncDesc): Remove.
25986 2011-08-22 David S. Miller <davem@davemloft.net>
25988 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25989 sigaltstack check, add missing cfi directives.
25990 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25991 missing cfi directives, and sigaltstack handling.
25993 2011-08-16 Andreas Schwab <schwab@redhat.com>
25996 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25997 object is seen twice.
25998 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26000 * elf/Makefile (distribute): Add tst-initorder2.c.
26001 (tests): Add tst-initorder2.
26002 (modules-names): Add tst-initorder2a tst-initorder2b
26003 tst-initorder2c tst-initorder2d. Add rules to build them.
26004 ($(objpfx)tst-initorder2.out): New rule.
26005 * elf/tst-initorder2.c: New file.
26006 * elf/tst-initorder2.exp: New file.
26008 2011-08-22 Andreas Schwab <schwab@redhat.com>
26010 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26012 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26013 dependencies back to end of function.
26015 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26016 $(elfobjdir)/ld.so.
26018 2011-08-21 Ulrich Drepper <drepper@gmail.com>
26020 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26021 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26022 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26023 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26024 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26025 of __vdso_gettimeofday.
26026 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26027 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26029 (_libc_vdso_platform_setup): Remove initialization of
26030 __vdso_gettimeofday and __vdso_time.
26032 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26034 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26035 and fgetc_unlocked.
26036 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26039 * elf/dl-open.c (add_to_global): Report additions to the global scope
26040 for LD_DEBUG=scopes.
26041 (dl_open_worker): Also print scope of newly loaded dependencies.
26042 (_dl_show_scope): Indicate if there is no scope.
26045 * stdio-common/Makefile (tests): Add bug24.
26046 * stdio-common/bug24.c: New file.
26048 2011-08-19 Andreas Jaeger <aj@suse.de>
26051 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26052 non-existant file when using close-on-exec mode.
26054 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26057 the very first instruction.
26059 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26060 the CFI state in the end.
26061 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26062 inclusion of dl-trampoline.h.
26063 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26065 2011-08-19 Andreas Schwab <schwab@redhat.com>
26067 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26068 expectations for long double.
26070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26071 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26073 2011-08-14 David S. Miller <davem@davemloft.net>
26075 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26076 artificual limit depends upon the system page size.
26078 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26080 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26081 * resolv/Makefile: Define CFLAGS-libresolv.
26083 2011-08-17 Andreas Schwab <schwab@redhat.com>
26085 * nss/makedb.c (compute_tables): Make variables used in nested
26088 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26090 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26091 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26092 if buffer was too small.
26094 * elf/pldd.c (main): Attach to all threads in the process.
26095 Rewrite /proc handling to use *at functions.
26097 2011-08-16 Ulrich Drepper <drepper@gmail.com>
26099 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26100 specifies first scope to show.
26101 (dl_open_worker): Update callers. Move printing scope of new
26102 object to before the relocation.
26103 * elf/rtld.c (dl_main): Update _dl_show_scope call.
26104 * sysdeps/generic/ldsodefs.h: Update declaration.
26106 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26107 string for the scope number.
26109 2011-08-14 Ulrich Drepper <drepper@gmail.com>
26111 * nscd/servicescache.c (cache_addserv): Make sure written is always
26114 2011-08-14 Roland McGrath <roland@hack.frob.com>
26116 * sysdeps/i386/i486/bits/atomic.h
26117 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26118 statement expression, so as to suppress "set but not used" warning.
26119 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26121 * string/strncat.c (STRNCAT): Use prototype definition.
26123 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26124 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26126 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26127 (localedef-modules): Add localedef.
26128 (locale-modules): Add locale.
26130 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26131 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26132 to avoid a warning.
26134 2011-08-14 David S. Miller <davem@davemloft.net>
26136 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26137 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26139 2011-08-13 Ulrich Drepper <drepper@gmail.com>
26141 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
26142 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26143 * elf/rtld.c (dl_main): Set l_name of vDSO.
26144 Call _dl_show_scope when DL_DEBUG_SCOPES.
26145 (process_dl_debug): Recognize scopes flag and also set it for all.
26146 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26147 Declare _dl_show_scope.
26149 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26150 (do_dlopen): Pass caller_dlopen to dl_open.
26151 (__libc_dlopen_mode): Initialize caller_dlopen.
26153 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26154 of libc. Make tolower call locale-independent. Optimize a bit by
26155 using isdigit instead of isalnum.
26156 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26158 2011-08-12 Ulrich Drepper <drepper@gmail.com>
26160 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26161 was a dependency or dynamically loaded.
26163 2011-08-11 Ulrich Drepper <drepper@gmail.com>
26165 * intl/l10nflist.c: Allow architecture-specific pop function.
26166 * sysdeps/x86_64/l10nflist.c: New file.
26168 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26171 2011-08-10 Andreas Schwab <schwab@redhat.com>
26173 * include/dirent.h: Add libc_hidden_proto for scandirat and
26174 scandirat64. Don't declare __scandirat64.
26175 * dirent/scandirat.c: Add libc_hidden_def.
26176 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26177 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26179 2011-08-10 David S. Miller <davem@davemloft.net>
26181 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26183 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26184 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26185 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26187 2011-08-09 Ulrich Drepper <drepper@gmail.com>
26189 * Versions.def [libc]: Add GLIBC_2.15.
26190 * dirent/Makefile (routines): Add scandirat and scandirat64.
26191 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26193 * dirent/dirent.h: Declare scandirat and scandirat64.
26194 * dirent/scandirat.c: New file.
26195 * dirent/scandirat64.c: New file.
26196 * sysdeps/wordsize-64/scandirat.c: New file.
26197 * sysdeps/wordsize-64/scandirat64.c: New file.
26198 * dirent/opendir.c: Define opendirat.
26199 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26201 * dirent/scandir64.c: Adjust for scandir.c change.
26202 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26203 __scandirat64, and __scandir_cancel_handler.
26204 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26205 additional parameter and use openat instead of open (outside of ld.so).
26206 Add new __opendir as wrapper around __opendirat.
26207 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26208 here without requiring old scandirat implementation.
26210 2011-08-08 Ulrich Drepper <drepper@gmail.com>
26212 * dirent/scandir.c (cancel_handler): Renamed to
26213 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26214 defined. Adjust users.
26215 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26216 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26218 2011-08-04 Ulrich Drepper <drepper@gmail.com>
26220 * string/test-string.h (IMPL): Use __STRING to expand name and then
26223 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26226 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26228 * string/Makefile: Update.
26229 (strop-tests): Append strncat.
26230 * string/test-wcscmp.c: New file.
26231 New comprehensive test for wcscmp.
26232 * string/test-strcmp.c: Update.
26233 (WIDE): New define.
26235 2011-07-22 Andreas Schwab <schwab@redhat.com>
26237 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26240 2011-07-26 Andreas Schwab <schwab@redhat.com>
26242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26243 encoding to ACE if AI_IDN.
26245 2011-08-01 Jakub Jelinek <jakub@redhat.com>
26247 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26248 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26250 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26252 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26253 Fix overflow bug in strncat.
26254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26256 * string/test-strncat.c: Update.
26257 Add new tests for checking overflow bugs.
26259 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26261 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26262 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26263 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26264 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26265 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26266 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26267 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26268 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26269 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26272 (USE_AS_STRCAT): Define.
26273 Add strcat and strncat support.
26274 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26276 2011-07-25 Andreas Schwab <schwab@redhat.com>
26278 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26279 __n bigger than INT_MAX+1.
26280 (__strncmp_g): Likewise.
26282 2011-07-23 Ulrich Drepper <drepper@gmail.com>
26284 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26285 * libio/stido.h: Likewise.
26287 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26292 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26293 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26294 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26295 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26296 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26299 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26302 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26304 (_dl_x86_64_save_sse): Likewise.
26306 2011-07-22 Ulrich Drepper <drepper@gmail.com>
26308 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26310 (_dl_x86_64_save_sse): Likewise.
26312 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26314 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26316 2011-07-21 Andreas Schwab <schwab@redhat.com>
26318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26320 (_dl_x86_64_save_sse): Use correct AVX check.
26322 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26324 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26325 bug in strncpy/strncat.
26326 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26328 2011-07-21 Ulrich Drepper <drepper@gmail.com>
26330 * string/tester.c (test_strcat): Add tests for different alignments
26331 of source and destination.
26332 (test_strncat): Likewise.
26334 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26337 * posix/glob.c (glob): Check passed in values before using them in
26338 expressions to avoid some overflows.
26339 (glob_in_dir): Likewise.
26342 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26343 check for AVX enablement so that we don't crash with old kernels and
26345 * elf/tst-audit4.c: Add same checks here.
26346 * elf/tst-audit6.c: Likewise.
26348 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
26350 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26352 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26354 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26356 * po/cs.po: Update from translation team.
26357 * po/bg.po: Likewise.
26359 2011-07-12 Marek Polacek <mpolacek@redhat.com>
26361 * misc/sys/cdefs.h: Add support for const attribute.
26362 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26363 to gnu_dev_{major,minor,makedev} functions.
26365 2011-07-20 Marek Polacek <mpolacek@redhat.com>
26367 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26369 2011-07-20 Andreas Schwab <schwab@redhat.com>
26371 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26374 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26377 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26378 register in order to avoid conflicts with the soft frame pointer
26379 being held in r11 when necessary.
26380 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26381 (INTERNAL_VSYSCALL_NCS): Likewise.
26383 2011-07-14 Marek Polacek <mpolacek@redhat.com>
26385 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26386 * elf/dl-fini.c (_dl_fini): Adjust caller.
26387 * elf/dl-close.c (_dl_close_worker): Likewise.
26388 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26390 2011-07-15 Marek Polacek <mpolacek@redhat.com>
26392 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26393 "aux_cache->nlibs < 0".
26395 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26396 in the reload-count case.
26398 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26401 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26402 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26403 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26404 * sysdeps/x86_64/multiarch/strcat.S: New file.
26405 * sysdeps/x86_64/multiarch/strncat.S: New file.
26406 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26407 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26408 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26409 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26410 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26411 (USE_AS_STRCAT): Define.
26412 Add strcat and strncat support.
26413 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26414 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26415 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26416 * string/strncat.c: Update.
26417 (USE_AS_STRNCAT): Define.
26418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26419 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26421 * sysdeps/x86_64/multiarch/init-arch.h
26422 (bit_Prefer_PMINUB_for_stringop): New.
26423 (index_Prefer_PMINUB_for_stringop): Likewise.
26424 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
26425 bit_Prefer_PMINUB_for_stringop.
26427 2011-07-19 Ulrich Drepper <drepper@gmail.com>
26429 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
26431 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
26432 of casting of buffer.
26433 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
26434 buffer32 and buffer64.
26435 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
26436 writes instead of casting of buffer.
26437 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
26439 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
26442 2011-07-19 Andreas Schwab <schwab@redhat.com>
26444 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
26446 2011-07-19 Ulrich Drepper <drepper@gmail.com>
26448 * nscd/nscd.c (termination_handler): Don't do anything for a database
26449 if it has not yet been initialized.
26451 2011-07-18 Ulrich Drepper <drepper@gmail.com>
26453 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26455 2011-07-15 Marek Polacek <mpolacek@redhat.com>
26457 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26459 2011-07-18 Ulrich Drepper <drepper@gmail.com>
26461 * po/nl.po: Update from translation team.
26462 * po/sv.po: Likewise.
26464 2011-07-16 Roland McGrath <roland@hack.frob.com>
26466 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
26467 now disallowed by GCC.
26469 * configure.in (use-default-link): Default to yes if a test -shared
26470 link meets our qualifications.
26471 * configure: Regenerated.
26473 * config.make.in (output-format): New variable.
26474 * configure.in: Check for ld --print-output-format support.
26475 * configure: Regenerated.
26476 * Makerules ($(common-objpfx)format.lds)
26477 [$(output-format) != unknown]: Just use $(output-format),
26478 instead of the linker-script munging.
26480 2011-07-14 Roland McGrath <roland@hack.frob.com>
26482 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
26483 of $(common-objpfx)shlib.lds.
26484 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
26486 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
26487 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
26489 * configure.in (-z relro check): Adjust test code to add a large
26490 writable data section after it.
26491 * configure: Regenerated.
26493 2011-07-11 Roland McGrath <roland@hack.frob.com>
26495 * configure.in (-z relro check): Fix test code to make the variable
26497 * configure: Regenerated.
26499 2011-07-11 Ulrich Drepper <drepper@gmail.com>
26501 * nscd/nscd.h (struct traced_file): Define.
26502 (struct database_dyn): Remove inotify_descr, reset_res, and filename
26503 elements. Add traced_files.
26504 (inotify_fd): Declare.
26505 (register_traced_file): Declare.
26506 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
26507 (inotify_fd): Export.
26508 (resolv_conf_descr): Remove.
26509 (nscd_init): Move inotify descriptor creation to main.
26510 Don't register files for notification here.
26511 (register_traced_file): New function.
26512 (invalidate_cache): Don't use reset_res to determine whether to call
26513 res_init, go through the list of registered files.
26514 (main_loop_poll): The inotify descriptors are now stored in the
26515 structures for the traced files.
26516 (main_loop_epoll): Likewise
26517 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
26518 to __nss_disable_nscd.
26519 * nscd/cache.c (prune_cache): There is no single inotify descriptor
26520 for a database anymore. Check the records for all the registered
26522 * nss/Makefile (libnss_files-routines): Add files-init.
26523 (libnss_db-routines): Add db-init.
26524 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
26525 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
26526 * nss/nss_db/db-init.c: New file.
26527 * nss/nss_files/files-init.c: New file.
26528 * nss/nsswitch.c (nss_load_library): New function. Broken out of
26529 __nss_lookup_function.
26530 (__nss_lookup_function): Call nss_load_library.
26531 (nss_load_all_libraries): New function.
26532 (__nss_disable_nscd): Take parameter with callback function for files
26533 to register. Set is_nscd. Load all the DSOs for the NSS modules
26534 used for the cached services.
26535 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
26536 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
26537 options for features to all the files in nscd.
26539 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
26541 2011-07-10 Roland McGrath <roland@hack.frob.com>
26543 * csu/elf-init.c (__libc_csu_init): Comment typo.
26545 2011-07-09 Ulrich Drepper <drepper@gmail.com>
26547 * po/pl.po: Update from translation team.
26548 * po/ja.po: Likewise.
26549 * po/ru.po: Likewise.
26550 * po/ko.po: Likewise.
26551 * po/fr.po: Likewise.
26553 2011-07-09 Roland McGrath <roland@hack.frob.com>
26555 * configure.in (.ctors/.dtors header and trailer check):
26556 Use an empirical test on a built program.
26557 * configure: Regenerated.
26559 * configure.in (-z relro check): Use an empirical test on a built DSO.
26560 Detect, but do not require, on ia64.
26561 * configure: Regenerated.
26563 * configure.in (READELF): Find it with AC_CHECK_TOOL.
26564 Update tests that use readelf to use $READELF instead.
26565 * configure: Regenerated.
26567 2011-07-08 Ulrich Drepper <drepper@gmail.com>
26569 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
26570 if the result is not used.
26572 2011-07-05 Andreas Jaeger <aj@suse.de>
26575 * stdlib/tst-strtod.c: Add testcase.
26577 2011-07-07 Ulrich Drepper <drepper@gmail.com>
26579 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
26580 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
26581 The latter has a higher limit. Take additional parameter to pass to
26583 (__pathconf): Pass file to __statfs_link_max.
26584 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
26586 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
26590 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
26591 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26593 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
26594 (__statfs_filesize_max): Likewise.
26595 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
26597 2011-07-05 Andreas Jaeger <aj@suse.de>
26599 * resolv/res_comp.c (dn_skipname): Remove unused variable.
26601 2011-07-06 Marek Polacek <mpolacek@redhat.com>
26603 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
26605 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
26608 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
26610 * Makefile (strop-tests): Add strncat.
26611 * string/test-strncat.c: New file.
26613 2011-06-30 Marek Polacek <mpolacek@redhat.com>
26615 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
26617 2011-06-21 Andreas Jaeger <aj@suse.de>
26619 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
26620 Copy rule from iconvdata/Makefile.
26622 2011-07-06 Ulrich Drepper <drepper@gmail.com>
26625 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
26626 but no long options are defined, just return 'W'.
26628 2011-06-22 Marek Polacek <mpolacek@redhat.com>
26631 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
26633 2011-07-06 Ulrich Drepper <drepper@gmail.com>
26635 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
26637 (innetgr): Likewise.
26639 2011-07-05 Roland McGrath <roland@hack.frob.com>
26641 * config.make.in (install_root): Default to $(DESTDIR).
26643 2011-07-05 Ulrich Drepper <drepper@gmail.com>
26645 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
26647 2011-07-02 Roland McGrath <roland@hack.frob.com>
26649 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
26651 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26652 containing directory rather than embedding absolute directory names.
26654 * scripts/check-local-headers.sh: Rewritten using awk.
26655 Match by word, not by line. Print error messages for matches.
26656 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26658 * Makerules [shlib-lds-flags empty]:
26659 ($(common-objpfx)libc_pic.opts): New target.
26660 ($(common-objpfx)libc_pic.os.clean): New target.
26661 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26663 * config.make.in (OBJCOPY): New variable.
26664 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26665 * configure: Regenerated.
26667 * config.make.in (use-default-link): New variable.
26668 * configure.in (use_default_link): Grok --with-default-link to set it.
26669 * configure: Regenerated.
26670 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26671 (shlib-lds, shlib-lds-flags): Define to empty.
26673 * Makerules (shlib-lds): New variable.
26674 (shlib-lds-flags): New variable.
26675 (build-shlib, build-moduile, build-module-asneeded): Use it.
26676 ($(common-objpfx)libc.so): Use $(shlib-lds).
26677 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26678 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26680 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26681 DT_FLAGS/DT_FLAGS_1 with zero flags.
26683 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26684 linker script munging.
26686 2011-07-02 Ulrich Drepper <drepper@gmail.com>
26688 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26690 * crypt/sha512.c (sha512_process_block): Perform total addition using
26691 128-bit if possible.
26692 (__sha512_finish_ctx): Likewise.
26693 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26695 * crypt/sha256.c (SWAP64): Define.
26696 (sha256_process_block): Perform total addition using 64-bit if
26698 (__sha256_finish_ctx): Likewise.
26700 2011-07-01 Ulrich Drepper <drepper@gmail.com>
26702 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
26703 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26704 * nscd/hstcache.c (cache_addhst): Likewise.
26705 * nscd/grpcache.c (cache_addgr): Likewise.
26706 * nscd/aicache.c (addhstaiX): Likewise
26707 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26709 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
26711 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26712 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26713 * nscd/hstcache.c (cache_addhst): Likewise.
26714 * nscd/grpcache.c (cache_addgr): Likewise.
26715 * nscd/aicache.c (addhstaiX): Likewise
26717 2011-07-01 Andreas Schwab <schwab@redhat.com>
26719 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26720 domain only when needed.
26722 2011-06-30 Andreas Schwab <schwab@redhat.com>
26724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26725 is always restored.
26727 2011-06-29 Ulrich Drepper <drepper@gmail.com>
26729 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26730 are re-adding the entry.
26731 * nscd/servicescache.c (cache_addserv): Likewise.
26733 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
26735 * sysdeps/generic/dl-irel.h: fix protection against multiple
26737 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26739 2011-06-28 Ulrich Drepper <drepper@gmail.com>
26742 * malloc/memusage.sh: Fix quoting in message.
26743 * debug/xtrace.sh: Likewise.
26745 * configure.in: Remove support for --experimental-malloc option, make
26747 * config.make.in: Likewise.
26748 * malloc/Makefile: Likewise.
26750 2011-06-27 Andreas Schwab <schwab@redhat.com>
26752 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26753 two-byte characters.
26755 2011-06-27 Roland McGrath <roland@hack.frob.com>
26757 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26758 AC_CACHE_CHECK invocation.
26759 * configure: Regenerated.
26761 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26763 2011-06-27 Ulrich Drepper <drepper@gmail.com>
26766 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26767 bit from old_res_options.
26769 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26771 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26772 value type for setfct.
26774 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26777 __gettimeofday instead of gettimeofday.
26779 2011-06-26 Ulrich Drepper <drepper@gmail.com>
26781 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26783 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26785 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26787 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26790 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26793 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26794 strcpy-sse2-unaligned strncpy-sse2-unaligned
26795 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26796 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26797 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26798 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26799 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26800 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26801 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26802 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26803 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26804 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26805 (STRCPY): Support SSE2 and SSSE3 versions.
26807 2011-06-24 Ulrich Drepper <drepper@gmail.com>
26810 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26811 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26812 kernels which artificially limit size of requests.
26814 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26817 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26818 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26819 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26820 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26821 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26822 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26823 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26825 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26826 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26827 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26828 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26829 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26830 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26832 Enable unaligned load optimization for Intel Core i3, i5 and i7
26834 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26836 (index_Fast_Unaligned_Load): Define.
26837 (HAS_FAST_UNALIGNED_LOAD): Define.
26839 2011-06-23 Marek Polacek <mpolacek@redhat.com>
26841 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26843 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26846 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26847 until it is clear that the information is realy needed.
26848 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26850 2011-06-22 Andreas Schwab <schwab@redhat.com>
26852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26854 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26857 /sys/devices/system/cpu/online if it is usable.
26859 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26860 reading the information from the /proc filesystem to once a second.
26862 2011-06-21 Andreas Jaeger <aj@suse.de>
26864 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26865 NULL after inclusion of kernel headers.
26867 2011-06-21 Ulrich Drepper <drepper@gmail.com>
26869 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26870 calls to internal_setent.
26873 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26874 addresses using gethostbyname4_r ignore IPv4 addresses.
26876 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26877 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26879 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26881 2011-06-20 David S. Miller <davem@davemloft.net>
26883 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26885 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26887 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26888 (elf_irel): Use it.
26889 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26890 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26891 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26892 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26893 * sysdeps/x86_64/dl-irel.h: Likewise.
26895 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26896 * elf/dl-sym.c: Likewise.
26898 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26900 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26901 need to dereference resplen2.
26903 2011-06-14 Andreas Schwab <schwab@redhat.com>
26905 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26907 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26909 * Makeconfig: Define vardbdir and inst_vardbdir.
26910 * nss/Makefile: Add rules to install db-Makefile.
26912 * nss/nss_db/db-XXX.c: Cleanup.
26914 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26915 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26917 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26918 * nss/makedb.c: Implement -g option to specify that value strings
26919 are generated and should not be added to table iterated over for
26921 * nss/nss_db/db-initgroups.c: New file.
26923 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26926 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26927 (internal_getgrouplist): Adjust to name change.
26928 Update use_initgroups_entry if this is not the first call.
26929 * nss/databases.def: Add initgroups entry.
26931 * nss/makedb.c (compute_tables): Check result of multiple hash table
26932 sizes to minimize maximum chain length.
26934 2011-06-14 Ulrich Drepper <drepper@gmail.com>
26936 * Versions.def: Add entry for libnss_db.
26937 * shlib-versions: Likewise.
26938 * nss/Makefile: Add rules to build libnss_db.
26939 * nss/Versions: Add libnss_db information. Organize libnss_files
26941 * nss/db-Makefile: Add gshadow support. Change rules for the new
26942 makedb progra. Some minor improvements to generate smaller files.
26943 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26945 * nss/makedb.c: ...here.
26946 Improve database format to be smaller and require less memory at
26948 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26950 * nss/nss_db/db-netgrp.c: Likewise.
26951 * nss/nss_db/db-open.c: Likewise.
26952 * nss/nss_files/flies-XXX.x: Adjust comments.
26953 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26954 * nss/nss_files/files-grp.c: Likewise.
26955 * nss/nss_files/files-hosts.c: Likewise.
26956 * nss/nss_files/files-network.c: Likewise.
26957 * nss/nss_files/files-proto.c: Likewise.
26958 * nss/nss_files/files-pwd.c: Likewise.
26959 * nss/nss_files/files-rpc.c: Likewise.
26960 * nss/nss_files/files-service.c: Likewise.
26961 * nss/nss_files/files-sgrp.c: Likewise.
26962 * nss/nss_files/files-spwd.c: Likewise.
26963 * nss/nss_db/db-alias.c: Removed.
26964 * nss/nss_db/dummy-db.h: Removed.
26966 2011-06-02 Ulrich Drepper <drepper@gmail.com>
26968 * nss/makedb.c: Rewritten to not use database library.
26969 * nss/Makefile: Update to build new makedb program.
26971 2011-06-14 Andreas Jaeger <aj@suse.de>
26973 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26974 memset declaration.
26976 2011-06-10 Andreas Schwab <schwab@redhat.com>
26978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26981 2011-06-10 Roland McGrath <roland@hack.frob.com>
26983 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26984 * elf/Makefile ($(objpfx)ld.so): Likewise.
26986 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26987 Don't list ld.so twice in dependencies.
26989 * posix/bug-regex31.c: Include <stdlib.h>.
26991 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26993 * nis/nss_compat/compat-spwd.c
26994 (getspent_next_nss_netgr): Remove unused variable.
26995 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26997 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26998 nonmembers" output to use the right array.
27000 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27002 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27004 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27005 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27006 * catgets/gencat.c (read_input_file): Likewise.
27007 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27009 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27010 variable definition inside #if's controlling its use.
27012 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27014 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27016 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27018 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27021 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27023 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27024 * configure: Regenerated.
27026 * Makerules: Revert last change.
27027 * elf/Makefile: Likewise.
27029 2011-06-09 Roland McGrath <roland@hack.frob.com>
27031 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27032 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27033 (reloc-link): Likewise.
27035 2011-06-09 Ulrich Drepper <drepper@gmail.com>
27037 * elf/Makefile: Add rules to build pldd.
27038 * elf/pldd.c: New file.
27039 * elf/pldd-xx.c: New file.
27041 2011-06-07 Ulrich Drepper <drepper@gmail.com>
27043 * version.h: Update for 2.15 development version.
27045 2011-06-07 David S. Miller <davem@davemloft.net>
27047 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27050 elf_machine_lazy_rel): Likewise.
27051 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27052 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27053 elf_machine_lazy_rel): Likewise.
27054 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27055 dl_hwcap via passed in argument.
27056 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27059 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27061 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27063 2011-06-06 Roland McGrath <roland@hack.frob.com>
27066 * manual/fdl-1.1.texi: New file, verbatim from:
27067 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27068 * manual/lgpl-2.1.texi: New file, verbatim from:
27069 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27070 * manual/Makefile (licenses): New variable, list those new file names.
27072 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27074 * manual/fdl.texi: File removed.
27075 * manual/lesser.texi: File removed.
27076 * manual/libc.texinfo (Copying, Documentation License):
27077 Use new @include file names, put @appendix directive before @include.
27079 2011-06-04 Jakub Jelinek <jakub@redhat.com>
27082 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27083 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27084 (mq_open): Add __NTH.
27086 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27089 Assume Intel Core i3/i5/i7 processor if AVX is available.
27091 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27096 2011-05-31 Andreas Schwab <schwab@redhat.com>
27098 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27099 memory. Use alloca_account. Fix memory leak when retrying.
27101 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27103 * version.h (RELEASE): Bump for 2.14 release.
27104 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27106 * config.make.in (RANLIB): Remove entry.
27108 2011-05-30 Ulrich Drepper <drepper@gmail.com>
27110 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27111 (libc.pot): Work around missing support for .ksh extension in xgettext.
27114 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27115 if both request failed.
27116 (send_dg): In case of server errors clear resplen or *resplen2.
27119 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27120 when there are multiple maps.
27121 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27122 (_dl_fini): Remove test here.
27124 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27126 2011-05-29 Ulrich Drepper <drepper@gmail.com>
27129 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27130 bit from old_res_options.
27131 (gaih_inet): Likewise.
27134 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
27137 * resolv/res_init.c (res_setoptions): Make the code more compact.
27140 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27144 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27146 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27149 * malloc/malloc.h: Declare malloc hook variables as volatile.
27151 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27155 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
27156 raise in the comment.
27157 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27158 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27159 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
27161 2011-05-28 Ulrich Drepper <drepper@gmail.com>
27164 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27165 grow the buffers more if it already has to be sufficient.
27166 (build_wcs_upper_buffer): Likewise.
27167 * posix/regexec.c (check_matching): Likewise.
27168 (clean_state_log_if_needed): Likewise.
27169 (extend_buffers): Don't enlarge buffers beyond size of the input
27171 Patches mostly by Emil Wojak <emil@wojak.eu>.
27172 * posix/bug-regex32.c: New file.
27173 * posix/Makefile (tests): Add bug-regex32.
27175 * locale/findlocale.c (_nl_find_locale): Return right away if
27176 _nl_explode_name failed.
27177 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27179 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27181 * debug/xtrace.sh: Unify messages.
27182 * malloc/memusage.sh: Likewise.
27185 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27186 time symbol from vDSO. Substitute with vsyscall if not available.
27187 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27190 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27191 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27192 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27193 Add sendmmsg and internal_sendmmsg.
27194 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27195 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27196 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27198 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27199 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27200 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27202 2011-05-27 Ulrich Drepper <drepper@gmail.com>
27205 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27206 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27208 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27212 * iconvdata/Makefile (tests): Add bug-iconv9.
27213 * iconvdata/bug-iconv9.c: New file.
27215 2011-05-27 Andreas Schwab <schwab@redhat.com>
27218 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27220 2011-05-25 Jakub Jelinek <jakub@redhat.com>
27222 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27223 (struct user_regs_struct): Change intcs field back to cs.
27225 2011-05-25 Ulrich Drepper <drepper@gmail.com>
27227 * po/ja.po: Update from translation team.
27229 2011-05-23 Ulrich Drepper <drepper@gmail.com>
27232 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27233 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27235 2011-05-20 Andreas Schwab <schwab@redhat.com>
27237 * stdlib/longlong.h: Update from GCC.
27239 2011-05-23 Andreas Schwab <schwab@redhat.com>
27241 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27243 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27244 Add parameter name.
27245 (__sysconf): Pass it down.
27247 2011-05-22 Ulrich Drepper <drepper@gmail.com>
27250 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27252 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27253 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27254 add in in __libc_use_alloca calls. Adjust callers.
27255 (glob): Use malloc in some situations.
27257 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27258 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27261 2011-05-21 Ulrich Drepper <drepper@gmail.com>
27263 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27264 and CLOCK_BOOTTIME_ALARM.
27267 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27270 * string/_strerror.c (__strerror_r): Print negative errors as signed
27274 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27275 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27276 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27278 * configure.in: Fix typo in redirection and correct removal of test
27279 files in two cases.
27282 * locale/setlocale.c (new_composite_name): Fix test to check for
27283 identical name of all categories.
27286 * libio/filedoalloc.c (local_isatty): New function.
27287 (_IO_file_doallocate): Use local_isatty.
27288 * stdio-common/perror.c (perror): In case a new stream is used
27289 forward the stream error.
27290 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27293 2011-05-20 Ulrich Drepper <drepper@gmail.com>
27296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27298 * include/alloca.h (extend_alloca_account): Define.
27301 * posix/regex.h: Fix comments with documentation of user-accessible
27302 fields after compilation and describe correct free'ing of pattern
27303 after re_compile_pattern.
27304 Patch by Reuben Thomas <rrt@sc3d.org>.
27306 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27308 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27309 and -mno-altivec to prevent the compiler from using Altivec and/or
27310 VSX instructions when the corresponding registers are not available.
27312 2011-05-19 Andreas Schwab <schwab@redhat.com>
27314 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27316 2011-05-19 Ulrich Drepper <drepper@gmail.com>
27318 * libio/freopen.c (freopen): Use __dup2, not dup2.
27319 * libio/freopen64.c (freopen64): Likewise.
27321 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27324 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27325 * math/Makefile (tests): Add test-powl.
27326 (CFLAGS-test-powl.c): Define.
27327 * math/test-powl.c: New file.
27329 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27331 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27333 2011-05-17 Ulrich Drepper <drepper@gmail.com>
27336 * iconvdata/gb18030.c: Update to GB18020-2005.
27338 2011-05-16 Ulrich Drepper <drepper@gmail.com>
27340 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27341 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27342 Patch by Aharon Robbins <arnold@skeeve.com>.
27345 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27349 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27350 through underflows.
27353 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27354 point to strings before performing equality test for error_one_per_line
27358 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27361 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27362 (struct user_fpregs_struct): Avoid __uint*_t types.
27365 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27366 symbol info. Use it instead of calling _dl_addr locally.
27367 (lock_and_info): New function.
27368 (tr_freehook): Call lock_and_info and pass symbol info as additional
27369 parameter to tr_where.
27370 (tr_mallochook): Likewise.
27371 (tr_reallochook): Likewise.
27372 (tr_memalignhook): Likewise.
27374 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27375 used and couldn't be at all thread-safe.
27377 2011-05-15 Ulrich Drepper <drepper@gmail.com>
27379 * libio/freopen.c (freopen): Don't close old file descriptor
27380 before the new one is opened. Instead dup the new file descriptor
27381 to the old one after the new stream is created.
27382 * libio/freopen64.c (freopen64): Likewise.
27383 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27384 * libio/fileops.c (_IO_new_file_close_it): Handle new
27385 _IO_FLAGS2_NOCLOSE flag.
27386 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27387 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27388 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27389 _IO_FLAGS2_NOCLOSE flag.
27390 * include/unistd.h: Add hidden_proto for dup3.
27391 Define __have_dup3.
27392 * io/dup3.c: Define hidden symbol.
27393 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27396 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27397 when an incomplete long option is used.
27398 * posix/tst-getopt_long1.c: New file.
27399 * posix/Makefile (tests): Add tst-getopt_long1.
27402 * scripts/config.guess: Update from autoconf-2.68.
27403 * scripts/config.sub: Likewise.
27406 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27408 (has_cpuclock): ...this. New function.
27409 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27410 macro here based on has_cpuclock code.
27413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27414 First byte (not low byte) is now always NUL.
27415 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27418 Use non-cancelable interfaces.
27421 * locale/iso-639.def: Add entry for Sorani.
27424 * include/stdlib.h: Move include protection to the right place.
27425 Define abort_msg_s. Declare __abort_msg with it.
27426 * stdlib/abort.c (__abort_msg): Adjust type.
27427 * assert/assert.c (__assert_fail_base): New function. Majority
27428 of code from __assert_fail. Allocate memory for __abort_msg with
27430 (__assert_fail): Now call __assert_fail_base.
27431 * assert/assert-perr.c: Remove bulk of implementation. Use
27432 __assert_fail_base.
27433 * include/assert.hL Declare __assert_fail_base.
27434 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
27436 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
27438 2011-05-14 Ulrich Drepper <drepper@gmail.com>
27442 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
27443 until all modules are registered in the DTV.
27444 * elf/Makefile: Add rules to build and run tst-tls19.
27445 * elf/tst-tls19.c: New file.
27446 * elf/tst-tls19mod1.c: New file.
27447 * elf/tst-tls19mod2.c: New file.
27448 * elf/tst-tls19mod3.c: New file.
27449 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
27452 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
27456 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
27457 two-byte sequence errors.
27458 * iconvdata/Makefile (tests): Add bug-iconv8.
27459 * iconvdata/bug-iconv8.c: New file.
27462 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
27465 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
27468 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
27469 (dummy_getcfa): New function.
27470 (init): Get _Unwind_GetCFA address, use dummy if not found.
27471 (backtrace_helper): In recursion check, also check whether CFA changes.
27472 (__backtrace): Completely initialize arg.
27474 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
27475 storing incomplete byte sequence in state object. Avoid testing for
27476 guaranteed too small input if we know there is enough data available.
27478 2011-05-11 Andreas Schwab <schwab@redhat.com>
27480 * Makeconfig (+link-pie): Indent.
27481 * Rules (binaries-pie): Define if $(have-fpie) and
27483 (binaries-shared): Also filter out $(binaries-pie).
27484 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
27485 * nscd/Makefile (others-pie): Add nscd.
27486 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
27487 ($(objpfx)nscd): Remove command override.
27488 * login/Makefile (others-pie): Add pt_chown.
27489 ($(objpfx)pt_chown): Remove command override.
27490 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
27491 remove command overrides.
27493 2011-05-13 Ulrich Drepper <drepper@gmail.com>
27495 * libio/tst_putwc.c: Fix error messages.
27498 * libio/fileops.c (_IO_new_file_close_it): Always flush when
27499 currently writing and seek to current position when not.
27500 * libio/Makefile (tests): Add bug-fclose1.
27501 * libio/bug-fclose1.c: New file.
27503 2011-05-12 Ulrich Drepper <drepper@gmail.com>
27506 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
27507 don't set DF_1_NODELETE here.
27508 (do_lookup_x): When entering new entry test for copy relocation
27509 and if necessary set DF_1_NODELETE flag.
27510 * elf/tst-unique4.cc: New file.
27511 * elf/tst-unique4.h: New file.
27512 * elf/tst-unique4lib.cc: New file.
27513 * elf/Makefile: Add rules to build and run tst-unique4.
27514 Patch by Piotr Bury <pbury@goahead.com>.
27516 2011-05-11 Ulrich Drepper <drepper@gmail.com>
27519 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
27522 * misc/mntent_r.c (addmntent): Flush the stream after the output
27525 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
27526 (is_trusted_path_normalize): Skip initial colon. Append slash
27527 to empty buffer. Duplicate is_trusted_path code but allow
27528 constructed patch to be prefix.
27529 (is_dst): Allow $ORIGIN followed by /.
27530 (_dl_dst_substitute): Correct clearing of check_for_trusted.
27531 Correct testing of result of is_trusted_path_normalize
27532 (decompose_rpath): Fix warning.
27534 2011-05-10 Ulrich Drepper <drepper@gmail.com>
27537 * grp/initgroups.c (internal_getgrouplist): When we found the service
27538 list through the initgroups entry in nsswitch.conf do not always
27539 continue on a successful lookup. Don't always use the
27540 __nss_group_database value if it is set.
27541 * nss/nsswitch.conf (initgroups): Change action for successful db
27542 lookup to continue for compatibility.
27544 2011-05-09 Ulrich Drepper <drepper@gmail.com>
27547 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
27549 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
27551 * iconvdata/tst-tables.sh: Likewise.
27552 * iconvdata/cp770.c: New file.
27553 * iconvdata/cp771.c: New file.
27554 * iconvdata/cp772.c: New file.
27555 * iconvdata/cp773.c: New file.
27556 * iconvdata/cp774.c: New file.
27557 * iconvdata/testdata/CP770: New file.
27558 * iconvdata/testdata/CP770..UTF8: New file.
27559 * iconvdata/testdata/CP771: New file.
27560 * iconvdata/testdata/CP771..UTF8: New file.
27561 * iconvdata/testdata/CP772: New file.
27562 * iconvdata/testdata/CP772..UTF8: New file.
27563 * iconvdata/testdata/CP773: New file.
27564 * iconvdata/testdata/CP773..UTF8: New file.
27565 * iconvdata/testdata/CP774: New file.
27566 * iconvdata/testdata/CP774..UTF8: New file.
27568 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
27570 * iconvdata/gen-8bit-gap.sh: Likewise.
27571 * iconvdata/gen-8bit.sh: Likewise.
27573 * locale/iso-639.def: Add ary entry.
27576 * locale/C-translit.h.in: Add U20A1 transliteration.
27579 * locale/iso-639.def: Add wae entry.
27580 Patch by Kevin Bortis <bortis@translate-wae.ch>.
27583 * locale/programs/localedef.c (construct_output_path): Use ssize_t
27587 * locale/C-translit.h.in: Add entry for U20B9.
27588 Patch by pravin.d.s@gmail.com.
27590 2011-05-08 Ulrich Drepper <drepper@gmail.com>
27593 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
27594 ENAMETOOLONG use generic getcwd.
27595 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
27596 in rtld. Use *stat64.
27597 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
27598 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
27599 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
27600 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
27601 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
27602 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
27603 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
27604 __fstatat64 macros.
27605 * include/dirent.h: Add libc_hidden_proto for rewinddir.
27606 * dirent/rewinddir.c: Add libc_hidden_def.
27607 * sysdeps/mach/hurd/rewinddir.c: Likewise.
27608 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
27610 * include/dirent.h (__alloc_dir): Add flags parameter.
27611 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
27612 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
27614 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
27615 from fdopendir if O_CLOEXEC is already set.
27617 2011-03-15 Alan Modra <amodra@gmail.com>
27619 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
27620 l_tls_firstbyte_offset non-zero. Save padding offset in
27621 l_tls_firstbyte_offset for later use.
27622 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
27623 freeing static tls block.
27625 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
27627 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
27628 where #ifdef was intended. The intent is to prevent ARG_MAX from
27629 being defined by the kernel headers.
27631 2011-05-07 Ulrich Drepper <drepper@gmail.com>
27634 * resolv/resolv.h: Define RES_NOTLDQUERY.
27635 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
27636 no-tld-query and set RES_NOTLDQUERY.
27637 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
27638 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
27639 modern BIND to search name as TLD unless forbidden.
27641 2011-05-07 Petr Baudis <pasky@suse.cz>
27642 Ulrich Drepper <drepper@gmail.com>
27645 * elf/dl-load.c (fillin_rpath): Move trusted path check...
27646 (is_trusted_path): ...to here.
27647 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
27648 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
27649 using is_trusted_path_normalize() in setuid scripts.
27651 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27653 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27654 __BEGIN/__END_DECLS.
27656 2011-05-06 Ulrich Drepper <drepper@gmail.com>
27658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27659 NSS_STATUS_NOTFOUND if no record was found.
27661 2011-05-05 Andreas Schwab <schwab@redhat.com>
27663 * sunrpc/Makefile (headers): Add rpc/netdb.h.
27664 (headers-not-in-tirpc): Remove rpc/netdb.h
27665 * resolv/netdb.h: Revert last change.
27667 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27669 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27670 circular dependency between libgcc.a and libc.a.
27672 2011-05-05 Andreas Schwab <schwab@redhat.com>
27674 * resolv/netdb.h: Don't include <rpc/netdb.h>.
27675 * nis/Makefile: Don't install rpcsvc/*.
27676 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27677 instead of <rpc/types.h>.
27678 (MAXHOSTNAMELEN): Define.
27680 2011-05-03 Andreas Schwab <schwab@redhat.com>
27682 * elf/ldconfig.c (add_dir): Don't crash on empty path.
27684 2011-04-28 Maciej Babinski <mbabinski@google.com>
27687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27688 gethostbyname4_r when IPv6 results are possible.
27690 2011-05-02 Ulrich Drepper <drepper@gmail.com>
27693 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27694 _PC_PIPE_BUF handling.
27696 2011-04-30 Bruno Haible <bruno@clisp.org>
27699 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27700 * resolv/netdb.h (getnameinfo): Change type of flags parameter
27702 * inet/getnameinfo.c (getnameinfo): Likewise.
27704 2011-04-29 Ulrich Drepper <drepper@gmail.com>
27706 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27707 to groups setting in database lookup.
27708 * nss/nsswitch.conf: Add initgroups entry.
27710 2011-04-22 Ulrich Drepper <drepper@gmail.com>
27713 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27715 Patch by Eric Blake <eblake@redhat.com>.
27717 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
27719 * sunrpc/Makefile (need-export-routines): Add svc_run.
27720 (routines): Remove svc_run.
27721 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27722 * sunrpc/clnt_perr.c (clnt_perrno): Export.
27723 * sunrpc/svc_run.c (svc_run): Likewise.
27724 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27726 2011-04-21 Ulrich Drepper <drepper@gmail.com>
27728 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27729 problem in reallocation in last patch.
27731 2011-04-20 Ulrich Drepper <drepper@gmail.com>
27733 * sunrpc/Makefile: Move inclusion of Rules.
27735 2011-04-19 Ulrich Drepper <drepper@gmail.com>
27737 * nss/nss_files/files-initgroups.c: New file.
27738 * nss/Makefile (libnss_files-routines): Add files-initgroups.
27739 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27740 _nss_files_initgroups_dyn.
27742 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
27744 * elf/elf.h (R_ARM_IRELATIVE): Define.
27746 2011-04-19 Ulrich Drepper <drepper@gmail.com>
27748 * po/ru.po: Update from translation team.
27750 2011-04-17 Ulrich Drepper <drepper@gmail.com>
27752 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27755 2011-02-06 Mike Frysinger <vapier@gentoo.org>
27758 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27759 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27760 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27762 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27764 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
27766 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27768 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27769 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27770 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27772 2011-04-17 Ulrich Drepper <drepper@gmail.com>
27775 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27777 * stdlib/bug-getcontext.c: New file.
27778 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27780 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27782 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27783 instructions into .machine "z9-109".
27784 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27785 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27787 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27789 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27790 between environment variables and auxiliary vector.
27792 2011-04-16 Ulrich Drepper <drepper@gmail.com>
27794 * Makefile: Add rules to build linkobj/libc.so.
27795 * include/libc-symbols.h: Define libc_hidden_nolink.
27796 * include/rpc/auth.h: Mark functions which are to be hidden.
27797 * include/rpc/auth_des.h: Likewise.
27798 * include/rpc/auth_unix.h: Likewise.
27799 * include/rpc/clnt.h: Likewise.
27800 * include/rpc/des_crypt.h: Likewise.
27801 * include/rpc/key_prot.h: Likewise.
27802 * include/rpc/pmap_clnt.h: Likewise.
27803 * include/rpc/pmap_prot.h: Likewise.
27804 * include/rpc/pmap_rmt.h: Likewise.
27805 * include/rpc/rpc_msg.h: Likewise.
27806 * include/rpc/svc.h: Likewise.
27807 * include/rpc/svc_auth.h: Likewise.
27808 * include/rpc/xdr.h: Likewise.
27809 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27810 * nss/Makefile: Likewise.
27811 * sunrpc/Makefile: Don't install headers. Build library with normal
27812 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27813 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27814 for the compat linking library. Remove use of INTDEF/INTUSE.
27815 * sunrpc/auth_none.c: Likewise.
27816 * sunrpc/auth_unix.c: Likewise.
27817 * sunrpc/authdes_prot.c: Likewise.
27818 * sunrpc/authuxprot.c: Likewise.
27819 * sunrpc/clnt_gen.c: Likewise.
27820 * sunrpc/clnt_perr.c: Likewise.
27821 * sunrpc/clnt_raw.c: Likewise.
27822 * sunrpc/clnt_simp.c: Likewise.
27823 * sunrpc/clnt_tcp.c: Likewise.
27824 * sunrpc/clnt_udp.c: Likewise.
27825 * sunrpc/clnt_unix.c: Likewise.
27826 * sunrpc/des_crypt.c: Likewise.
27827 * sunrpc/des_soft.c: Likewise.
27828 * sunrpc/get_myaddr.c: Likewise.
27829 * sunrpc/key_call.c: Likewise.
27830 * sunrpc/key_prot.c: Likewise.
27831 * sunrpc/netname.c: Likewise.
27832 * sunrpc/pm_getmaps.c: Likewise.
27833 * sunrpc/pm_getport.c: Likewise.
27834 * sunrpc/pmap_clnt.c: Likewise.
27835 * sunrpc/pmap_prot.c: Likewise.
27836 * sunrpc/pmap_prot2.c: Likewise.
27837 * sunrpc/pmap_rmt.c: Likewise.
27838 * sunrpc/publickey.c: Likewise.
27839 * sunrpc/rpc_cmsg.c: Likewise.
27840 * sunrpc/rpc_common.c: Likewise.
27841 * sunrpc/rpc_dtable.c: Likewise.
27842 * sunrpc/rpc_prot.c: Likewise.
27843 * sunrpc/rpc_thread.c: Likewise.
27844 * sunrpc/rtime.c: Likewise.
27845 * sunrpc/svc.c: Likewise.
27846 * sunrpc/svc_auth.c: Likewise.
27847 * sunrpc/svc_authux.c: Likewise.
27848 * sunrpc/svc_raw.c: Likewise.
27849 * sunrpc/svc_run.c: Likewise.
27850 * sunrpc/svc_simple.c: Likewise.
27851 * sunrpc/svc_tcp.c: Likewise.
27852 * sunrpc/svc_udp.c: Likewise.
27853 * sunrpc/svc_unix.c: Likewise.
27854 * sunrpc/svcauth_des.c: Likewise.
27855 * sunrpc/xcrypt.c: Likewise.
27856 * sunrpc/xdr.c: Likewise.
27857 * sunrpc/xdr_array.c: Likewise.
27858 * sunrpc/xdr_float.c: Likewise.
27859 * sunrpc/xdr_intXX_t.c: Likewise.
27860 * sunrpc/xdr_mem.c: Likewise.
27861 * sunrpc/xdr_rec.c: Likewise.
27862 * sunrpc/xdr_ref.c: Likewise.
27863 * sunrpc/xdr_sizeof.c: Likewise.
27864 * sunrpc/xdr_stdio.c: Likewise.
27866 2011-04-10 Ulrich Drepper <drepper@gmail.com>
27869 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27870 * sysdeps/ia64/dl-tls.h: Likewise.
27871 * sysdeps/powerpc/dl-tls.h: Likewise.
27872 * sysdeps/s390/dl-tls.h: Likewise.
27873 * sysdeps/sh/dl-tls.h: Likewise.
27874 * sysdeps/sparc/dl-tls.h: Likewise.
27875 * sysdeps/x86_64/dl-tls.h: Likewise.
27876 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27878 2011-03-14 Andreas Schwab <schwab@redhat.com>
27880 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27881 rpath element also skip the following colon.
27882 (expand_dynamic_string_token): Add is_path parameter and pass
27883 down to DL_DST_REQUIRED and _dl_dst_substitute.
27884 (decompose_rpath): Call expand_dynamic_string_token with
27885 non-zero is_path. Ignore empty rpaths.
27886 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27889 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27894 2011-04-09 Ulrich Drepper <drepper@gmail.com>
27897 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27898 Patch by Filipe David Manana <fdmanana@apache.org>.
27900 2011-04-07 Andreas Schwab <schwab@redhat.com>
27902 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27903 Maintain aligned stack.
27904 (CHECK_RSP): Remove unused macro.
27906 2011-04-03 Ulrich Drepper <drepper@gmail.com>
27908 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27909 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27911 2011-04-02 Ulrich Drepper <drepper@gmail.com>
27913 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27915 * include/features.h: Mention __USE_XOPEN2K8 in comment.
27917 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27920 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27921 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27922 * sysdeps/x86_64/memmove.c: New file.
27923 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27924 (memcpy): Renamed to ...
27925 (__new_memcpy): This.
27926 (memcpy): Provide GLIBC_2_14 memcpy.
27927 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27928 (memcpy): Provide GLIBC_2_2_5 memcpy.
27930 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27933 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27935 2011-03-30 Andreas Schwab <schwab@redhat.com>
27937 * misc/syncfs.c: New file.
27938 * misc/Makefile (routines): Add syncfs.
27939 * posix/unistd.h: Declare syncfs.
27940 * sysdeps/unix/syscalls.list: Add syncfs.
27942 2011-04-01 Andreas Schwab <schwab@redhat.com>
27944 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27946 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27947 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27948 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27949 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27951 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27952 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27954 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27957 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27958 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27960 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27962 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27964 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27965 sync_file_range.c with -fexceptions.
27966 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27967 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27968 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27969 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27970 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27971 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27973 sync_file_range as cancellation point
27974 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27975 now a wrapper around __call_sync_file_range with cancellation handling.
27976 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27977 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27978 function name to __call_sync_file_range.
27979 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27980 Add call_sync_file_range.
27982 2011-04-01 Andreas Schwab <schwab@redhat.com>
27984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27987 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27989 * iconv/iconv.h: Fix typo in comment.
27990 * io/fcntl.h: Likewise.
27991 * libio/stdio.h: Likewise.
27992 * posix/spawn.h: Likewise.
27993 * posix/unistd.h: Likewise.
27994 * stdlib/stdlib.h: Likewise.
27995 * time/time.h: Likewise.
27996 * wcsmbs/wchar.h: Likewise.
27998 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27999 open_by_handle): Add.
28000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28001 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28002 Augment a few comments.
28003 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28007 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28008 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28011 * io/fcntl.h (AT_EMPTY_PATH): Define.
28013 2011-03-30 Ulrich Drepper <drepper@gmail.com>
28015 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28016 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28017 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28019 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
28020 * Versions.def: Add GLIBC_2.14.
28021 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28024 2011-03-22 Ulrich Drepper <drepper@gmail.com>
28026 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28028 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28030 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28033 * string/test-strncmp.c (do_page_test): New function.
28034 (check2): Likewise.
28035 (test_main): Call check2.
28036 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28038 2011-03-20 Ulrich Drepper <drepper@gmail.com>
28041 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28042 Handle cache information in CPU leaf 4.
28043 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28045 2011-03-18 Ulrich Drepper <drepper@gmail.com>
28048 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28049 character representation.
28050 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28052 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28054 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28055 END(__isnan) to END(__isnanf) to match function entry point/label
28056 EALIGN(__isnanf,...).
28058 2011-03-10 Jakub Jelinek <jakub@redhat.com>
28060 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28062 2011-03-10 Ulrich Drepper <drepper@gmail.com>
28065 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28066 copy from the symbol referenced in the relocation to initialize the
28068 Patch by Piotr Bury <pbury@goahead.com>.
28069 * elf/Makefile: Add rules to build and tst-unique3.
28070 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28071 * elf/tst-unique3.cc: New file.
28072 * elf/tst-unique3.h: New file.
28073 * elf/tst-unique3lib.cc: New file.
28074 * elf/tst-unique3lib2.cc: New file.
28076 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28078 2011-03-10 Mike Frysinger <vapier@gentoo.org>
28080 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28081 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28084 2011-03-06 Ulrich Drepper <drepper@gmail.com>
28086 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28087 to-be-loaded object along a path to loader is ld.so.
28089 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28090 Ulrich Drepper <drepper@gmail.com>
28092 * sysdeps/x86_64/memset.S: After aligning destination, code
28093 branches to different locations depending on the value of
28094 misalignment, when multiarch is enabled. Fix this.
28096 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28098 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28099 Set _x86_64_preferred_memory_instruction for AMD processsors.
28100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28101 Set bit_Prefer_SSE_for_memop for AMD processors.
28103 2011-03-04 Ulrich Drepper <drepper@gmail.com>
28105 * libio/fmemopen.c (fmemopen): Optimize a bit.
28107 2011-03-03 Andreas Schwab <schwab@redhat.com>
28109 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28111 2011-03-03 Roland McGrath <roland@redhat.com>
28113 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28115 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28117 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
28118 __bzero_ultra1 instead of __memset_ultra1.
28120 2011-02-23 Andreas Schwab <schwab@redhat.com>
28121 Ulrich Drepper <drepper@gmail.com>
28124 * include/link.h (struct link_map): Add l_orig_initfini.
28125 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28126 returning unsuccessfully.
28127 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28128 close of a file loaded at startup, restore the original l_initfini
28130 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28131 list, store the pointer.
28132 * elf/Makefile ($(objpfx)noload-mem): New rule.
28133 (noload-ENV): Define.
28134 (tests): Add $(objpfx)noload-mem.
28135 * elf/noload.c: Include <memcheck.h>.
28136 (main): Call mtrace. Close all opened handles.
28138 2011-02-17 Andreas Schwab <schwab@redhat.com>
28141 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28142 dependencies are missing.
28144 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28146 Fix __if_freereq crash: Unlike the generic version which uses free,
28148 * sysdeps/mach/hurd/ifreq.h: New file.
28150 2011-01-27 Petr Baudis <pasky@suse.cz>
28151 Ulrich Drepper <drepper@gmail.com>
28154 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28155 to extend_alloca().
28156 * stdio-common/bug23.c: New file.
28157 * stdio-common/Makefile (tests): Add bug23.
28159 2010-09-28 Andreas Schwab <schwab@redhat.com>
28160 Ulrich Drepper <drepper@gmail.com>
28163 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28164 before performing relro protection. At old place add assertion
28165 to make sure nothing changed.
28167 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28168 Glauber de Oliveira Costa <glommer@gmail.com>
28170 * elf/elf.h: Add new ARM TLS relocs.
28172 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28175 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28177 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28179 * sysdeps/wordsize-64/tst-writev.c: New file.
28181 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28183 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28184 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28185 insns in _dl_start to prevent a TOC reference before relocs are
28188 2011-02-15 Ulrich Drepper <drepper@gmail.com>
28191 * Makeconfig: Remove RANLIB definition.
28192 * Makerules: Don't use RANLIB.
28193 * aclocal.m4: Remove ranlib test.
28194 * configure.in: No need to check for ranlib.
28195 * elf/rtld-Rules: Don't use RANLIB.
28197 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28199 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28201 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28202 inclusion protection macro.
28204 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28205 SIGRTMIN and SIGRTMAX and print information in that case only when
28206 SIGRTMIN is defined.
28208 2011-02-11 Jakub Jelinek <jakub@redhat.com>
28210 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28211 arginfo fn returning -1.
28213 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28214 and thousands string is zero terminated.
28216 2011-02-03 Andreas Schwab <schwab@redhat.com>
28218 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28219 sysdeps/unix/sysv/linux/bits/socket.h.
28221 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28223 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28224 (__CPU_COUNT): Remove old macros.
28225 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28226 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28227 (__CPU_ALLOC, __CPU_FREE): Add macros.
28228 (__sched_cpualloc, __sched_cpufree): Add declarations.
28230 2011-02-05 Ulrich Drepper <drepper@gmail.com>
28232 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28233 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28234 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28235 (readdhstai): Return value of addhstaiX call.
28236 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28237 (addgrbyX): Return value returned by cache_addgr.
28238 (readdgrbyname): Return value returned by addgrbyX.
28239 (readdgrbygid): Likewise.
28240 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28241 (addpwbyX): Return value returned by cache_addpw.
28242 (readdpwbyname): Return value returned by addhstbyX.
28243 (readdpwbyuid): Likewise.
28244 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28245 (addservbyX): Return value returned by cache_addserv.
28246 (readdservbyname): Return value returned by addservbyX:
28247 (readdservbyport): Likewise.
28248 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28249 (addhstbyX): Return value returned by cache_addhst.
28250 (readdhstbyname): Return value returned by addhstbyX.
28251 (readdhstbyaddr): Likewise.
28252 (readdhstbynamev6): Likewise.
28253 (readdhstbyaddrv6): Likewise.
28254 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28255 (readdinitgroups): Return value returned by addinitgroupsX.
28256 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28257 (prune_cache): Keep track of timeout value of re-added entries.
28258 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28259 * nscd/nscd.h: Adjust prototypes of readd* functions.
28261 2011-02-04 Roland McGrath <roland@redhat.com>
28263 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28264 (nis_stats): Likewise.
28265 * nis/nis_modify.c (nis_modify): Likewise.
28266 * nis/nis_remove.c (nis_remove): Likewise.
28267 * nis/nis_add.c (nis_add): Likewise.
28269 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28271 * posix/fnmatch_loop.c: Add some consts.
28273 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28275 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28278 * config.make.in (config-cflags-novzeroupper): Define.
28279 * configure.in: Substitute libc_cv_cc_novzeroupper.
28280 * elf/Makefile (AVX-CFLAGS): Define.
28281 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28282 (CFLAGS-tst-auditmod4a.c): Likewise.
28283 (CFLAGS-tst-auditmod4b.c): Likewise.
28284 (CFLAGS-tst-auditmod6b.c): Likewise.
28285 (CFLAGS-tst-auditmod6c.c): Likewise.
28286 (CFLAGS-tst-auditmod7b.c): Likewise.
28287 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28289 2011-02-02 Ulrich Drepper <drepper@gmail.com>
28291 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28292 function to the callback.
28293 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28295 2011-02-02 Andreas Schwab <schwab@redhat.com>
28297 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28300 2011-01-19 Ulrich Drepper <drepper@gmail.com>
28303 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28305 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28307 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28310 * elf/Makefile: Add rules to build and run new test.
28311 * elf/tst-initorder.c: New file.
28312 * elf/tst-initorder.exp: New file.
28313 * elf/tst-initordera1.c: New file.
28314 * elf/tst-initordera2.c: New file.
28315 * elf/tst-initordera3.c: New file.
28316 * elf/tst-initordera4.c: New file.
28317 * elf/tst-initorderb1.c: New file.
28318 * elf/tst-initorderb2.c: New file.
28319 * elf/tst-order-a1.c: New file.
28320 * elf/tst-order-a2.c: New file.
28321 * elf/tst-order-a3.c: New file.
28322 * elf/tst-order-a4.c: New file.
28323 * elf/tst-order-b1.c: New file.
28324 * elf/tst-order-b2.c: New file.
28325 * elf/tst-order-main.c: New file.
28326 New test case by George Gensure <werkt0@gmail.com>.
28328 2010-10-01 Andreas Schwab <schwab@redhat.com>
28330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28331 decoding ACE if AI_CANONIDN.
28333 2011-01-18 Ulrich Drepper <drepper@gmail.com>
28335 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28337 2011-01-17 Ulrich Drepper <drepper@gmail.com>
28339 * version.h (RELEASE): Bump for 2.13 release.
28340 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28342 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28344 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28346 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28347 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28348 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28349 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28350 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28351 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28353 * posix/getconf.c: Update copyright year.
28354 * catgets/gencat.c: Likewise.
28355 * csu/version.c: Likewise.
28356 * debug/catchsegv.sh: Likewise.
28357 * debug/xtrace.sh: Likewise.
28358 * elf/ldconfig.c: Likewise.
28359 * elf/ldd.bash.in: Likewise.
28360 * elf/sprof.c (print_version): Likewise.
28361 * iconv/iconv_prog.c: Likewise.
28362 * iconv/iconvconfig.c: Likewise.
28363 * locale/programs/locale.c: Likewise.
28364 * locale/programs/localedef.c: Likewise.
28365 * malloc/memusage.sh: Likewise.
28366 * malloc/mtrace.pl: Likewise.
28367 * nscd/nscd.c (print_version): Likewise.
28368 * nss/getent.c: Likewise.
28370 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28371 PF_CAIF, and PF_ALG.
28372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28374 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28376 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28377 (modules-names): Use them.
28378 (ifunc-test-modules, ifunc-pie-tests): Define.
28379 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28380 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28381 (test-extras): Likewise.
28382 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28383 $(compile-command.c).
28384 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28385 (all-built-dso): Define.
28386 (check-textrel.out, check-execstack.out): Depend on it.
28388 * configure.in: Don't override --enable-multi-arch.
28390 2011-01-15 Ulrich Drepper <drepper@gmail.com>
28393 * nscd/hstcache.c (tryagain): Define.
28394 (cache_addhst): Return tryagain not notfound for temporary errors.
28395 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28398 2011-01-14 Ulrich Drepper <drepper@gmail.com>
28401 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28402 to make the syscall.
28403 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28406 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28407 and fall back to matching as normal character if the string ends before
28408 the matching ']' is found. This is what POSIX requires.
28409 * posix/testfnm.c: Adjust test result.
28410 * posix/globtest.sh: Adjust test result. Add new test.
28411 * posix/tst-fnmatch.input: Likewise.
28412 * posix/tst-fnmatch2.c: Add new test.
28414 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
28416 * elf/Makefile (check-execstack): Revert last change. Depend on
28418 (check-execstack.h): New target.
28419 (generated): Add check-execstack.h.
28420 * elf/check-execstack.c: Include "check-execstack.h".
28421 (main): Revert last change.
28422 (handle_file): Return zero if GNU_STACK is absent and
28423 DEFAULT_STACK_PERMS doesn't include PF_X.
28425 2011-01-13 Ulrich Drepper <drepper@gmail.com>
28427 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
28428 in child fails because the descriptor is already closed.
28429 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28430 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
28431 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
28434 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
28438 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
28439 temporary buffer used to handle multi lookups locally.
28440 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
28442 2011-01-12 Ulrich Drepper <drepper@gmail.com>
28444 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
28447 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
28449 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
28450 alignment for SSE2.
28452 2011-01-12 Ulrich Drepper <drepper@gmail.com>
28455 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
28456 characters. When rounding increased number of integer digits recompute
28458 * stdio-common/tst-grouping.c: New file.
28459 * stdio-common/Makefile: Add rules to build and run tst-grouping.
28461 2011-01-09 Ulrich Drepper <drepper@gmail.com>
28463 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
28464 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
28466 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
28468 * bits/select.h: Likewise.
28470 2011-01-08 Ulrich Drepper <drepper@gmail.com>
28472 * po/ja.po: Update from translation team.
28474 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
28477 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
28478 implementation just like for lxstat, fxstatat, et al.
28480 2010-12-27 Jim Meyering <meyering@redhat.com>
28483 * posix/regexec.c (build_trtable): Return failure indication upon
28484 calloc failure. Otherwise, re_search_internal could infloop on OOM.
28486 2010-12-25 Ulrich Drepper <drepper@gmail.com>
28489 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
28490 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
28491 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
28492 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
28495 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
28498 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
28499 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
28501 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
28503 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
28504 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
28505 script has SORT_BY_INIT_PRIORITY.
28506 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
28507 NO_CTORS_DTORS_SECTIONS is defined.
28508 * elf/soinit.c: Likewise.
28509 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
28510 NO_CTORS_DTORS_SECTIONS is defined.
28511 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
28512 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
28513 * sysdeps/sh/init-first.c: Likewise.
28514 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
28516 2010-12-24 Ulrich Drepper <drepper@gmail.com>
28518 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
28519 always use the slow path.
28521 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
28523 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
28524 similar rule which adds the sysdep directories to the header search in
28525 order to pick up the correct platform stackinfo.h.
28526 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
28527 perform test if it is, otherwise return successfully without testing.
28528 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
28529 DEFAULT_STACK_PERMS define in stackinfo.h.
28530 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
28531 defined in stackinfo.h.
28532 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
28533 DEFAULT_STACK_PERMS defined in stackinfo.h.
28534 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
28535 * sysdeps/ia64/stackinfo.h: Likewise.
28536 * sysdeps/s390/stackinfo.h: Likewise.
28537 * sysdeps/sh/stackinfo.h: Likewise.
28538 * sysdeps/sparc/stackinfo.h: Likewise.
28539 * sysdeps/x86_64/stackinfo.h: Likewise.
28540 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
28541 PF_X for powerpc64. Retain PF_X for powerpc32.
28543 2010-12-19 Ulrich Drepper <drepper@gmail.com>
28545 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
28547 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
28548 GETDENTS_64BIT_ALIGNED.
28550 2010-12-14 Ulrich Drepper <dreper@gmail.com>
28552 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28554 2010-12-10 Andreas Schwab <schwab@redhat.com>
28556 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
28559 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
28560 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
28562 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
28563 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
28565 2010-12-09 Ulrich Drepper <drepper@gmail.com>
28568 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
28571 2010-12-09 Jakub Jelinek <jakub@redhat.com>
28573 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
28575 2010-12-03 Ulrich Drepper <drepper@gmail.com>
28577 * po/it.po: Update from translation team.
28579 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
28581 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
28584 2010-11-30 Ulrich Drepper <drepper@gmail.com>
28586 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
28588 2010-11-24 Andreas Schwab <schwab@redhat.com>
28590 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
28592 (gaih_getanswer_slice): Likewise.
28594 2010-10-20 Jakub Jelinek <jakub@redhat.com>
28596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
28598 2010-05-31 Petr Baudis <pasky@suse.cz>
28601 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
28602 silently even in the chroot mode.
28604 2010-11-22 Ulrich Drepper <drepper@gmail.com>
28606 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
28607 last patch a bit. Pretty printing
28609 2010-05-31 Petr Baudis <pasky@suse.cz>
28612 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
28613 initialization of skip_initgroups_dyn.
28615 2010-11-19 Ulrich Drepper <drepper@gmail.com>
28617 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
28618 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28620 2010-11-16 Ulrich Drepper <drepper@gmail.com>
28622 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
28624 2010-11-11 Andreas Schwab <schwab@redhat.com>
28626 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
28627 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
28628 (tst-fnmatch-ENV): Set MALLOC_TRACE.
28629 ($(objpfx)tst-fnmatch-mem): New rule.
28630 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
28631 * posix/tst-fnmatch.c (main): Call mtrace.
28633 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
28635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28636 Support Intel processor model 6 and model 0x2c.
28638 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
28640 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
28643 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
28646 * string/test-strncasecmp.c (check_result): New function.
28647 (do_one_test): Use it.
28648 (check1): New function.
28649 (test_main): Use it.
28650 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
28651 Support strcasecmp and strncasecmp.
28653 2010-11-08 Ulrich Drepper <drepper@gmail.com>
28656 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28657 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28659 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
28661 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28665 * sysdeps/x86_64/multiarch/bzero.S: New file.
28666 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28667 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28668 * sysdeps/x86_64/multiarch/memset.S: New file.
28669 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28671 Set bit_Prefer_SSE_for_memop for Intel processors.
28672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28674 (index_Prefer_SSE_for_memop): Define.
28675 (HAS_PREFER_SSE_FOR_MEMOP): Define.
28677 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
28679 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28680 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28682 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
28685 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28686 (__x86_64_raw_data_cache_size_half): Likewise.
28687 (__x86_64_raw_shared_cache_size): Likewise.
28688 (__x86_64_raw_shared_cache_size_half): Likewise.
28690 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28691 (__x86_64_raw_data_cache_size_half): Likewise.
28692 (__x86_64_raw_shared_cache_size): Likewise.
28693 (__x86_64_raw_shared_cache_size_half): Likewise.
28694 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28695 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28696 and __x86_64_raw_shared_cache_size_half. Round
28697 __x86_64_data_cache_size_half, __x86_64_data_cache_size
28698 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28699 to multiple of 256 bytes.
28701 2010-11-03 Ulrich Drepper <drepper@gmail.com>
28704 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28705 of inacessible symlinks. Verify result of symlink before returning it.
28706 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28707 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28709 2010-10-28 Erich Ritz <erichritz@gmail.com>
28711 * math/math.h (isinf): Fix typo in comment.
28713 2010-11-01 Ulrich Drepper <drepper@gmail.com>
28715 * po/da.po: Update from translation team.
28717 2010-10-26 Ulrich Drepper <drepper@gmail.com>
28719 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28720 is added to the list.
28722 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28723 Ulrich Drepper <drepper@gmail.com>
28725 * elf/dl-object.c (_dl_new_object): Don't append the new object to
28726 the global list here. Move code to...
28727 (_dl_add_to_namespace_list): ...here. New function.
28728 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28729 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28730 * elf/dl-load.c (lose): Don't remove the element from the list.
28731 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28732 (_dl_map_object): Likewise.
28734 2010-10-25 Ulrich Drepper <drepper@gmail.com>
28737 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28738 into all bytes of SSE register.
28739 Patch by Richard Li <richardpku@gmail.com>.
28741 2010-10-24 Ulrich Drepper <drepper@gmail.com>
28744 * malloc/malloc.c (_int_free): Fill correct number of bytes when
28747 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
28749 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28750 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28751 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28752 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28757 2010-10-22 Andreas Schwab <schwab@redhat.com>
28759 * include/dlfcn.h (__RTLD_SECURE): Define.
28760 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
28761 mode & __RTLD_SECURE instead.
28762 (open_path): Rename preloaded parameter to secure.
28763 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28764 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28765 * elf/dl-deps.c (openaux): Likewise.
28766 * elf/rtld.c (struct map_args): Remove is_preloaded.
28767 (map_doit): Don't use it.
28768 (dl_main): Likewise.
28769 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28770 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28772 2010-09-09 Andreas Schwab <schwab@redhat.com>
28774 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28775 (sysd-rules-targets): Remove duplicates.
28776 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28777 rtld-%.$o dependency.
28779 2010-10-18 Andreas Schwab <schwab@redhat.com>
28781 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28782 _dl_map_object do it.
28784 2010-10-19 Ulrich Drepper <drepper@gmail.com>
28786 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28787 fast fma builtins, define the macros in the C99 standard.
28788 (FP_FAST_FMAF): Likewise.
28789 (FP_FAST_FMAL): Likewise.
28790 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28792 * bits/mathdef.h: Update copyright year.
28793 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28795 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28797 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28798 builtins, define the macros in the C99 standard.
28799 (FP_FAST_FMAF): Likewise.
28800 (FP_FAST_FMAL): Likewise.
28801 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28803 (FP_FAST_FMAF): Likewise.
28805 2010-10-15 Jakub Jelinek <jakub@redhat.com>
28808 * math/libm-test.inc (fma_test): Some new testcases.
28809 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28810 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28811 y and infinite z. Do multiplication by C already in long double.
28812 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28814 y and infinite z. Do bitwise or of inexact bit into u.d.
28815 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28816 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28817 * sysdeps/i386/fpu/s_fma.S: Removed.
28818 * sysdeps/i386/fpu/s_fmal.S: Removed.
28820 2010-10-16 Jakub Jelinek <jakub@redhat.com>
28823 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28825 computation is not scheduled after fetestexcept. Fix value
28826 of minimum denormal long double.
28828 2010-10-14 Jakub Jelinek <jakub@redhat.com>
28831 * math/libm-test.inc (fma_test): Add some more tests.
28832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28835 2010-10-15 Andreas Schwab <schwab@redhat.com>
28837 * scripts/data/localplt-s390-linux-gnu.data: New file.
28838 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28840 2010-10-13 Jakub Jelinek <jakub@redhat.com>
28843 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28844 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28846 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28848 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28850 if one of x and y is very large and the other is subnormal.
28851 * sysdeps/s390/fpu/s_fmaf.c: New file.
28852 * sysdeps/s390/fpu/s_fma.c: New file.
28853 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28854 * sysdeps/powerpc/fpu/s_fma.S: New file.
28855 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28856 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28857 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28859 2010-10-12 Jakub Jelinek <jakub@redhat.com>
28862 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28864 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28865 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28866 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28867 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28868 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28869 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28870 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28872 2010-10-12 Ulrich Drepper <drepper@redhat.com>
28875 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28876 * posix/bug-regex31.input: Add test case.
28878 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28880 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28881 * posix/bug-regex31.input: New file.
28884 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28885 (parse_sub_exp): Fix last change, use postorder.
28887 * posix/bug-regex31.c: New file.
28888 * posix/Makefile: Add rules to build and run bug-regex31.
28890 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28893 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28896 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28897 to have entries in sys_siglist.
28900 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28903 2010-10-07 Jakub Jelinek <jakub@redhat.com>
28906 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28907 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28908 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28909 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28910 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28911 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28912 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28913 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28914 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28915 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28916 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28917 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28918 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28919 * math/ftestexcept.c (fetestexcept): Likewise.
28920 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28921 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28922 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28923 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28924 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28925 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28926 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28928 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28931 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28934 2010-10-06 Ulrich Drepper <drepper@gmail.com>
28936 * string/bug-strstr1.c: New file.
28937 * string/Makefile: Add rules to build and run bug-strstr1.
28939 2010-10-05 Eric Blake <eblake@redhat.com>
28942 * string/str-two-way.h (two_way_long_needle): Always clear memory
28943 when skipping input due to the shift table.
28945 2010-10-03 Ulrich Drepper <drepper@gmail.com>
28948 * malloc/mcheck.c: Handle large requests.
28951 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28952 for strncmp and strncasecmp.
28953 * string/stratcliff.c: Add tests for strcmp and strncmp.
28954 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28956 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28958 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28961 2010-09-30 Andreas Jaeger <aj@suse.de>
28963 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28964 (CGROUP_SUPER_MAGIC): Define.
28965 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28966 Handle btrfs and cgroup file systems.
28967 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28970 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
28972 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28973 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28975 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28978 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28979 trying to locate the ELF header.
28981 2010-09-27 Andreas Schwab <schwab@redhat.com>
28984 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28985 Mask out sign-bit copies when constructing f_fsid.
28987 2010-09-24 Petr Baudis <pasky@suse.cz>
28989 * debug/stack_chk_fail_local.c: Add missing licence exception.
28990 * debug/warning-nop.c: Likewise.
28992 2010-09-15 Joseph Myers <joseph@codesourcery.com>
28994 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28995 implementing getdents64 using getdents syscall, set d_type if
28996 __ASSUME_GETDENTS32_D_TYPE.
28998 2010-09-16 Andreas Schwab <schwab@redhat.com>
29000 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29001 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29003 2010-09-21 Ulrich Drepper <drepper@redhat.com>
29006 * posix/unistd.h: Undo change of feature selection for ftruncate from
29009 2010-09-20 Ulrich Drepper <drepper@redhat.com>
29011 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
29014 2010-09-20 Andreas Schwab <schwab@redhat.com>
29016 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29018 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29020 2010-09-14 Andreas Schwab <schwab@redhat.com>
29022 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29023 variables after CHECK_SP call.
29024 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29026 2010-09-13 Andreas Schwab <schwab@redhat.com>
29027 Ulrich Drepper <drepper@redhat.com>
29029 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29030 re-relocationg ld.so.
29031 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29032 _dl_init_paths call.
29033 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29036 2010-09-14 Ulrich Drepper <drepper@redhat.com>
29038 * resolv/res_init.c (__res_vinit): Count the default server we added.
29040 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29041 Ulrich Drepper <drepper@redhat.com>
29044 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29045 (____longjmp_chk): Use %ebx for saving value across system call.
29048 2010-09-06 Andreas Schwab <schwab@redhat.com>
29050 * manual/Makefile: Don't mix pattern rules with normal rules.
29052 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29054 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29056 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29057 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29058 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29059 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29060 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29063 2010-09-04 Ulrich Drepper <drepper@redhat.com>
29066 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29067 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29069 2010-09-02 Ulrich Drepper <drepper@redhat.com>
29071 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29072 * sysdeps/x86_64/addmul_1.S: Likewise.
29073 * sysdeps/x86_64/lshift.S: Likewise.
29074 * sysdeps/x86_64/mul_1.S: Likewise.
29075 * sysdeps/x86_64/rshift.S: Likewise.
29076 * sysdeps/x86_64/sub_n.S: Likewise.
29077 * sysdeps/x86_64/submul_1.S: Likewise.
29079 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29081 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29082 Define __sched_param instead of SCHED_* and sched_param when
29083 <bits/sched.h> is included with __need_schedparam defined.
29084 * bits/sched.h [__need_schedparam]
29085 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
29086 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29087 (__defined_schedparam): Define to 1.
29088 (__sched_param): New structure, identical to sched_param.
29089 (__need_schedparam): Undefine.
29091 2010-08-31 Mike Frysinger <vapier@gentoo.org>
29093 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29094 (epoll_create1): Declare.
29096 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29098 2010-08-31 Andreas Schwab <schwab@redhat.com>
29101 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29102 shifting retval into place.
29104 2010-09-01 Ulrich Drepper <drepper@redhat.com>
29106 * nis/rpcsvc/nis.h: Update copyright notice.
29107 * nis/rpcsvc/nis.x: Likewise.
29108 * nis/rpcsvc/nis_callback.h: Likewise.
29109 * nis/rpcsvc/nis_callback.x: Likewise.
29110 * nis/rpcsvc/nis_object.x: Likewise.
29111 * nis/rpcsvc/nis_tags.h: Likewise.
29112 * nis/rpcsvc/yp.h: Likewise.
29113 * nis/rpcsvc/yp.x: Likewise.
29114 * nis/rpcsvc/ypupd.h: Likewise.
29115 * nis/yp_xdr.c: Likewise.
29116 * nis/ypupdate_xdr.c: Likewise.
29118 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29119 mainly the body of pmap_getport. Add parameters to specify timeouts.
29120 (pmap_getport): Use __libc_rpc_getport.
29121 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29122 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29123 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29125 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29130 2010-08-27 Roland McGrath <roland@redhat.com>
29132 * sysdeps/i386/i686/multiarch/Makefile
29133 (CFLAGS-varshift.c): New variable.
29135 2010-08-27 Ulrich Drepper <drepper@redhat.com>
29137 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29138 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29142 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29144 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29146 * sysdeps/x86_64/strlen.S: Unroll the loop.
29147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29148 strlen-sse2 strlen-sse2-bsf.
29149 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29150 __strlen_no_bsf if bit_Slow_BSF is set.
29151 (__strlen_sse42): Removed.
29152 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29153 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29155 2010-08-25 Roland McGrath <roland@redhat.com>
29157 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29158 * sysdeps/x86_64/multiarch/varshift.c: New file.
29159 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29160 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29161 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29162 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29164 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29167 strlen-sse2 strlen-sse2-bsf.
29168 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29169 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29170 (__strlen_sse2): Removed.
29171 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29174 bit_Slow_BSF for Atom.
29175 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29176 (index_Slow_BSF): Define.
29177 (HAS_SLOW_BSF): Define.
29179 2010-08-25 Ulrich Drepper <drepper@redhat.com>
29182 * resolv/res_init.c (__res_vinit): When no server address at all
29183 is given default to loopback.
29185 2010-08-24 Roland McGrath <roland@redhat.com>
29187 * configure.in: Remove config-name.h generation.
29188 * configure: Regenerated.
29189 * config-name.in: File removed.
29190 * scripts/config-uname.sh: New file.
29191 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29192 ($(objdir)config-name.h): New target.
29194 * sunrpc/rpc_parse.h: Avoid nested comment.
29196 2010-08-24 Richard Henderson <rth@redhat.com>
29197 Ulrich Drepper <drepper@redhat.com>
29198 H.J. Lu <hongjiu.lu@intel.com>
29200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29202 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29203 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29204 _mm_alignr_epi8 with _mm_loadu_si128.
29205 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29206 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29207 (__m128i_shift_right): Removed.
29208 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29209 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29210 * sysdeps/x86_64/multiarch/varshift.h: New file.
29211 * sysdeps/x86_64/multiarch/varshift.S: New file.
29213 2010-08-21 Mike Frysinger <vapier@gentoo.org>
29215 * configure.in: Move assembler checks to before sysdep dir checking.
29217 2010-08-20 Petr Baudis <pasky@suse.cz>
29219 * LICENSES: Sync the sunrpc license.
29221 2010-08-19 Ulrich Drepper <drepper@redhat.com>
29223 * sunrpc/auth_des.c: Update copyright notice once again.
29224 * sunrpc/auth_none.c: Likewise.
29225 * sunrpc/auth_unix.c: Likewise.
29226 * sunrpc/authdes_prot.c: Likewise.
29227 * sunrpc/authuxprot.c: Likewise.
29228 * sunrpc/bindrsvprt.c: Likewise.
29229 * sunrpc/clnt_gen.c: Likewise.
29230 * sunrpc/clnt_perr.c: Likewise.
29231 * sunrpc/clnt_raw.c: Likewise.
29232 * sunrpc/clnt_simp.c: Likewise.
29233 * sunrpc/clnt_tcp.c: Likewise.
29234 * sunrpc/clnt_udp.c: Likewise.
29235 * sunrpc/clnt_unix.c: Likewise.
29236 * sunrpc/des_crypt.c: Likewise.
29237 * sunrpc/des_soft.c: Likewise.
29238 * sunrpc/get_myaddr.c: Likewise.
29239 * sunrpc/getrpcport.c: Likewise.
29240 * sunrpc/key_call.c: Likewise.
29241 * sunrpc/key_prot.c: Likewise.
29242 * sunrpc/openchild.c: Likewise.
29243 * sunrpc/pm_getmaps.c: Likewise.
29244 * sunrpc/pm_getport.c: Likewise.
29245 * sunrpc/pmap_clnt.c: Likewise.
29246 * sunrpc/pmap_prot.c: Likewise.
29247 * sunrpc/pmap_prot2.c: Likewise.
29248 * sunrpc/pmap_rmt.c: Likewise.
29249 * sunrpc/rpc/auth.h: Likewise.
29250 * sunrpc/rpc/auth_unix.h: Likewise.
29251 * sunrpc/rpc/clnt.h: Likewise.
29252 * sunrpc/rpc/des_crypt.h: Likewise.
29253 * sunrpc/rpc/key_prot.h: Likewise.
29254 * sunrpc/rpc/netdb.h: Likewise.
29255 * sunrpc/rpc/pmap_clnt.h: Likewise.
29256 * sunrpc/rpc/pmap_prot.h: Likewise.
29257 * sunrpc/rpc/pmap_rmt.h: Likewise.
29258 * sunrpc/rpc/rpc.h: Likewise.
29259 * sunrpc/rpc/rpc_des.h: Likewise.
29260 * sunrpc/rpc/rpc_msg.h: Likewise.
29261 * sunrpc/rpc/svc.h: Likewise.
29262 * sunrpc/rpc/svc_auth.h: Likewise.
29263 * sunrpc/rpc/types.h: Likewise.
29264 * sunrpc/rpc/xdr.h: Likewise.
29265 * sunrpc/rpc_clntout.c: Likewise.
29266 * sunrpc/rpc_cmsg.c: Likewise.
29267 * sunrpc/rpc_common.c: Likewise.
29268 * sunrpc/rpc_cout.c: Likewise.
29269 * sunrpc/rpc_dtable.c: Likewise.
29270 * sunrpc/rpc_hout.c: Likewise.
29271 * sunrpc/rpc_main.c: Likewise.
29272 * sunrpc/rpc_parse.c: Likewise.
29273 * sunrpc/rpc_parse.h: Likewise.
29274 * sunrpc/rpc_prot.c: Likewise.
29275 * sunrpc/rpc_sample.c: Likewise.
29276 * sunrpc/rpc_scan.c: Likewise.
29277 * sunrpc/rpc_scan.h: Likewise.
29278 * sunrpc/rpc_svcout.c: Likewise.
29279 * sunrpc/rpc_tblout.c: Likewise.
29280 * sunrpc/rpc_util.c: Likewise.
29281 * sunrpc/rpc_util.h: Likewise.
29282 * sunrpc/rpcinfo.c: Likewise.
29283 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29284 * sunrpc/rpcsvc/key_prot.x: Likewise.
29285 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29286 * sunrpc/rpcsvc/mount.x: Likewise.
29287 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29288 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29289 * sunrpc/rpcsvc/rex.x: Likewise.
29290 * sunrpc/rpcsvc/rstat.x: Likewise.
29291 * sunrpc/rpcsvc/rusers.x: Likewise.
29292 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29293 * sunrpc/rpcsvc/spray.x: Likewise.
29294 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29295 * sunrpc/rtime.c: Likewise.
29296 * sunrpc/svc.c: Likewise.
29297 * sunrpc/svc_auth.c: Likewise.
29298 * sunrpc/svc_authux.c: Likewise.
29299 * sunrpc/svc_raw.c: Likewise.
29300 * sunrpc/svc_run.c: Likewise.
29301 * sunrpc/svc_simple.c: Likewise.
29302 * sunrpc/svc_tcp.c: Likewise.
29303 * sunrpc/svc_udp.c: Likewise.
29304 * sunrpc/svc_unix.c: Likewise.
29305 * sunrpc/svcauth_des.c: Likewise.
29306 * sunrpc/xcrypt.c: Likewise.
29307 * sunrpc/xdr.c: Likewise.
29308 * sunrpc/xdr_array.c: Likewise.
29309 * sunrpc/xdr_float.c: Likewise.
29310 * sunrpc/xdr_mem.c: Likewise.
29311 * sunrpc/xdr_rec.c: Likewise.
29312 * sunrpc/xdr_ref.c: Likewise.
29313 * sunrpc/xdr_sizeof.c: Likewise.
29314 * sunrpc/xdr_stdio.c: Likewise.
29316 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29319 2010-08-19 Andreas Schwab <schwab@redhat.com>
29321 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29323 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
29325 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29326 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29327 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29328 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29329 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29330 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29331 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29332 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29333 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29334 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29335 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29336 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29337 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29338 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29340 2010-07-26 Anton Blanchard <anton@samba.org>
29342 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29343 * malloc/arena.c (heap_trim): Likewise.
29345 2010-08-16 Ulrich Drepper <drepper@redhat.com>
29347 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29349 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29350 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29352 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29354 * sysdeps/i386/elf/Makefile: New file.
29356 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29358 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29359 from fanotify_init.
29360 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29363 2010-08-15 Ulrich Drepper <drepper@redhat.com>
29365 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29367 * sysdeps/multiarch/strcmp.S: Likewise.
29369 2010-08-14 Ulrich Drepper <drepper@redhat.com>
29371 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29372 strncase_l-nonascii.
29373 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29374 Add strncase_l-ssse3.
29375 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29376 * sysdeps/x86_64/strcmp.S: Likewise.
29377 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29378 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29379 * sysdeps/x86_64/strncase.S: New file.
29380 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29381 * sysdeps/x86_64/strncase_l.S: New file.
29382 * string/Makefile (strop-tests): Add strncasecmp.
29383 * string/test-strncasecmp.c: New file.
29385 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29388 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29389 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29391 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29393 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29395 2010-08-12 Ulrich Drepper <drepper@redhat.com>
29397 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29398 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29399 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29401 2010-05-01 Alan Modra <amodra@gmail.com>
29403 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29404 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29405 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29406 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29407 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29408 tidying. Don't tail-call __sigjmp_save for static lib.
29409 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29411 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29412 (CALL_MCOUNT): Add eh info, and nop after bl.
29413 (TAIL_CALL_SYSCALL_ERROR): New macro.
29414 (PSEUDO_RET): Use it.
29415 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29416 Correct save location of integer regs and cr.
29417 (_dl_profile_resolve): Correct cr save location. Delete nops
29418 after bl when SHARED. Reduce cfi size a little by better
29419 placement of cfi directives.
29420 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29421 make a stack frame. Instead use parm save area as a temp.
29422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
29423 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
29424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29425 Don't make a stack frame for parent, use parm save area.
29426 Increase child stack frame to 112 bytes. Don't save unused reg,
29427 and adjust reg usage. Set up cfi on error recovery and
29428 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
29429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29430 (__makecontext): Add dummy nop after jump to exit.
29431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
29432 Use correct parm save area and cr save, reduce stack frame.
29433 Correct cfi for possible PSEUDO_RET frame setup.
29434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
29435 Branch to local label emitted by PSEUDO_RET rather than
29438 2010-08-12 Andreas Schwab <schwab@redhat.com>
29441 * locale/programs/locale.c (print_assignment): New function.
29442 (show_locale_vars): Use it.
29444 2010-08-11 Ulrich Drepper <drepper@redhat.com>
29446 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
29448 (struct statfs64): Likewise.
29449 (_STATFS_F_FLAGS): Define.
29450 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
29451 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29452 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
29453 (ST_VALID): Define locally.
29454 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
29455 __statvfs_getflags, use the provided value.
29456 * sysdeps/unix/sysv/linux/kernel-features.h: Define
29457 __ASSUME_STATFS_F_FLAGS.
29459 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
29461 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
29462 Add sys/fanotify.h.
29463 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
29464 fanotify_mask for GLIBC_2.13.
29465 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
29466 fanotify_init and fanotify_mark.
29467 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29468 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
29470 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
29472 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
29473 prlimit64 for GLIBC_2.13.
29474 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
29476 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
29478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
29479 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29480 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
29481 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
29482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
29484 * sysdeps/unix/sysv/linux/prlimit.c: New file.
29487 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
29488 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
29490 * nss/Makefile: Add rules to build and run tst-nss-test1.
29491 * shlib-versions: Add entry for libnss_test1.
29492 * nss/nss_test1.c: New file.
29493 * nss/tst-nss-test1.c: New file.
29495 * nss/nsswitch.c (__nss_database_custom): Define new variable.
29496 (__nss_configure_lookup): Set appropriate entry in
29497 __nss_configure_lookup to true.
29498 * nss/nsswitch.h: Define enum with indeces of databases in
29499 databases and __nss_database_custom arrays. Declare
29500 __nss_database_custom.
29501 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
29502 to avoid using nscd when custom rules are installed.
29503 * nss/getXXbyYY_r.c: Likewise.
29504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29506 * nss/nss_files/files-parse.c: Whitespace fixes.
29508 2010-08-09 Ulrich Drepper <drepper@redhat.com>
29511 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
29512 * posix/fnmatch_loop.c: Likewise.
29514 2010-07-17 Andi Kleen <ak@linux.intel.com>
29516 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
29517 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
29518 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
29519 * Versions.def [GLIBC_2.13]: Add.
29521 2010-08-06 Ulrich Drepper <drepper@redhat.com>
29523 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29524 Also fail if tpwd after pwuid call is NULL.
29526 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
29528 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
29529 when converting to ms.
29531 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29533 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
29534 EOPNOTSUPP errors with ENOTTY.
29535 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
29536 EOPNOTSUPP errors with ENOTTY.
29538 2010-07-31 Ulrich Drepper <drepper@redhat.com>
29540 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29541 Add strcasecmp_l-ssse3.
29542 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
29544 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
29545 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
29546 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
29548 2010-07-30 Ulrich Drepper <drepper@redhat.com>
29550 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
29552 * string/Makefile (strop-tests): Add strcasecmp.
29553 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29554 strcasecmp_l-nonascii.
29555 (gen-as-const-headers): Add locale-defines.sym.
29556 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
29557 * sysdeps/x86_64/strcasecmp.S: New file.
29558 * sysdeps/x86_64/strcasecmp_l.S: New file.
29559 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
29560 * sysdeps/x86_64/locale-defines.sym: New file.
29561 * string/test-strcasecmp.c: New file.
29563 * string/test-strcasestr.c: Test both ends of the range of characters.
29564 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
29566 2010-07-29 Roland McGrath <roland@redhat.com>
29569 * manual/locale.texi (Yes-or-No Questions): Fix example code.
29571 2010-07-27 Ulrich Drepper <drepper@redhat.com>
29573 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
29576 2010-07-27 Andreas Schwab <schwab@redhat.com>
29578 * manual/memory.texi (Malloc Tunable Parameters): Document
29581 2010-07-26 Roland McGrath <roland@redhat.com>
29584 * configure.in (-fgnu89-inline check): Set and substitute
29585 gnu89_inline, not libc_cv_gnu89_inline.
29586 * configure: Regenerated.
29587 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
29589 2010-07-26 Ulrich Drepper <drepper@redhat.com>
29591 * string/test-strnlen.c: New file.
29592 * string/Makefile (strop-tests): Add strnlen.
29593 * string/tester.c (test_strnlen): Add a few more test cases.
29594 * string/tst-strlen.c: Better error reporting.
29596 * sysdeps/x86_64/strnlen.S: New file.
29598 2010-07-24 Ulrich Drepper <drepper@redhat.com>
29600 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
29601 lower-latency instructions.
29603 2010-07-23 Ulrich Drepper <drepper@redhat.com>
29605 * string/test-strcasestr.c: New file.
29606 * string/test-strstr.c: New file.
29607 * string/Makefile (strop-tests): Add strstr and strcasestr.
29608 * string/str-two-way.h: Don't undefine MAX.
29609 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
29611 2010-07-21 Andreas Schwab <schwab@redhat.com>
29613 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29614 strcasestr-nonascii.
29615 (CFLAGS-strcasestr-nonascii.c): Define.
29616 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
29617 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
29618 Remove unused attribute.
29620 2010-07-20 Roland McGrath <roland@redhat.com>
29622 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
29623 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
29624 ld.so.cache was broken. With it, there is no way to disable dsocaps
29625 like LD_HWCAP_MASK can disable hwcaps.
29627 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29629 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
29631 2010-07-16 Ulrich Drepper <drepper@redhat.com>
29633 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
29634 call in strcasestr.
29635 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
29636 __strcasestr_sse42_nonascii.
29637 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
29638 strcasestr-nonascii.c.
29639 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
29641 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
29643 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
29644 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
29645 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
29646 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
29648 2010-07-09 Ulrich Drepper <drepper@redhat.com>
29650 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29653 2010-07-06 Andreas Schwab <schwab@redhat.com>
29656 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29659 2010-07-06 Ulrich Drepper <drepper@redhat.com>
29661 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29662 _PC_PIPE_BUF using F_GETPIPE_SZ.
29664 2010-07-05 Roland McGrath <roland@redhat.com>
29666 * manual/arith.texi (Rounding Functions): Fix rint description
29667 implicit in round description.
29669 2010-07-02 Ulrich Drepper <drepper@redhat.com>
29671 * elf/Makefile: Fix linking for a few tests to make recent linker
29674 2010-06-30 Andreas Schwab <schwab@redhat.com>
29676 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29677 $(common-objpfx)libc_nonshared.a.
29679 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
29681 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29682 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29683 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29684 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29685 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29686 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29687 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29688 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29703 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29704 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29705 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29706 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29707 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29708 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29709 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29710 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29711 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29712 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29713 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29714 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29730 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
29732 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29733 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
29734 * string/memmove.c (memmove): Renamed to ...
29735 (MEMMOVE): ...this. Default to memmove.
29736 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29737 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29740 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29741 mempcpy-ssse3-back memmove-ssse3-back.
29742 * sysdeps/x86_64/multiarch/bcopy.S: New file .
29743 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29744 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29745 * sysdeps/x86_64/multiarch/memcpy.S: New file.
29746 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29747 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29748 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29749 * sysdeps/x86_64/multiarch/memmove.c: New file.
29750 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29751 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29752 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29753 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29754 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29755 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29757 (index_Fast_Copy_Backward): Define.
29758 (HAS_ARCH_FEATURE): Define.
29759 (HAS_FAST_REP_STRING): Define.
29760 (HAS_FAST_COPY_BACKWARD): Define.
29762 2010-06-21 Andreas Schwab <schwab@redhat.com>
29764 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29765 Restore proper fallback handling.
29767 2010-06-19 Ulrich Drepper <drepper@redhat.com>
29770 * posix/group_member.c (__group_member): Correct checking loop.
29772 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29773 OOM in getpwuid_r correctly. Return error number when the caller
29774 should return, otherwise -1.
29775 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29776 call returning > 0 value.
29777 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29779 2010-06-07 Andreas Schwab <schwab@redhat.com>
29781 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29782 libc_nonshared.a from targets in modules-names.
29784 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29786 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29789 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
29791 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29792 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29793 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29794 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29796 2010-06-02 Andreas Schwab <schwab@redhat.com>
29798 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29800 2010-06-14 Ulrich Drepper <drepper@redhat.com>
29802 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29804 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29805 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29808 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29809 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29811 2010-06-14 Roland McGrath <roland@redhat.com>
29813 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29815 2010-06-07 Jakub Jelinek <jakub@redhat.com>
29817 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29818 __REDIRECT followed by __THROW.
29819 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29820 * posix/getopt.h (getopt): Likewise.
29822 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29824 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29825 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29826 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29828 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29829 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29831 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
29833 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29835 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29839 Properly check family and model.
29841 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29843 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29845 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
29847 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29849 2010-05-21 Ulrich Drepper <drepper@redhat.com>
29851 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29854 2010-05-19 Andreas Schwab <schwab@redhat.com>
29856 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29859 2010-05-21 Andreas Schwab <schwab@redhat.com>
29861 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29862 and internal_recvmmsg.
29863 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29864 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29865 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29866 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29868 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29869 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29870 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29872 2010-05-20 Andreas Schwab <schwab@redhat.com>
29874 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29876 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
29878 POWER7 optimizations.
29879 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29880 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29882 2010-05-19 Ulrich Drepper <drepper@redhat.com>
29884 * version.h: Update for 2.13 development version.
29886 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
29888 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29889 exceptions. Return 0.
29891 2010-05-07 Roland McGrath <roland@redhat.com>
29893 * elf/ldconfig.c (main): Add a const.
29895 2010-05-06 Ulrich Drepper <drepper@redhat.com>
29897 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29898 (args_options): Add no-idn option.
29899 (ahosts_keys_int): Add idn_flags to ai_flags.
29900 (parse_option): Handle 'i' option to clear idn_flags.
29902 * malloc/malloc.c (_int_free): Possible race in the most recently
29903 added check. Only act on the data if no current modification
29906 See ChangeLog.17 for earlier changes.