1 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3 * sysdeps/x86_64/memset.S (memset): New implementation.
5 (__memset_tail): New function.
7 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
11 __memcpy_sse2_unaligned ifunc selection.
12 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13 Add memcpy-sse2-unaligned.S.
14 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15 Add: __memcpy_sse2_unaligned.
17 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21 math_force_eval before restoring floating-point envrionment.
22 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27 (__nearbyintl): Use math_force_eval before restoring
28 floating-point environment.
29 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31 * math/gen-libm-test.pl (special_functions): Remove.
32 (parse_args): Don't handle TEST_extra. Handle functions with no
34 * math/libm-test.inc (struct test_sincos_data): Replace with
35 struct test_fFF_11_data.
36 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
37 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
38 (sincos_test_data): Change element type to struct
39 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
40 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42 * math/README.libm-test: Don't mention special handling of
44 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51 * math/gen-libm-test.pl (get_variable): Remove function.
52 (parse_args): Don't show pointer parameters to call in test
53 names. Use "extra output N" in test names for extra outputs
54 rather than naming variables.
56 2013-05-18 Joseph Myers <joseph@codesourcery.com>
59 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
61 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
63 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
65 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
68 * math/gen-libm-test.pl (@tests): Remove variable.
70 (new_test): Remove function.
71 (show_exceptions): New function.
72 (special_functions): Use show_exceptions instead of new_test.
73 (parse_args): Likewise.
74 (generate_testfile): Pass only function name in generated call to
75 print_max_error or print_complex_max_error.
76 (get_ulps): Do not handle complex tests specially.
77 (output_test): Rename to ...
78 (get_all_ulps_for_test): ... this. Return a string rather than
79 printing to a file. Require ulps to be present.
80 (output_ulps): Generate arrays rather than #defines.
81 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
82 (struct ulp_data): New type.
83 (BUILD_COMPLEX_ULP): Remove macro.
84 (compare_ulp_data): New function.
85 (find_ulps): Likewise.
86 (find_test_ulps): Likewise.
87 (find_function_ulps): Likewise.
88 (find_complex_function_ulps): Likewise.
89 (print_max_error): Determine allowed ulps using
91 (print_complex_max_error): Determine allowed ulps using
92 find_complex_function_ulps.
93 (check_float_internal): Determine max ulps using find_test_ulps.
94 (check_float): Do not take max_ulp parameter. Update call to
96 (check_complex): Likewise.
97 (check_int): Do not take max_ulp parameter.
98 (check_long): Likewise.
99 (check_bool): Likewise.
100 (check_longlong): Likewise.
101 (struct test_f_f_data): Remove max_ulp field.
102 (struct test_ff_f_data): Likewise.
103 (struct test_ff_f_data_nexttoward): Likewise.
104 (struct test_fi_f_data): Likewise.
105 (struct test_fl_f_data): Likewise.
106 (struct test_if_f_data): Likewise.
107 (struct test_fff_f_data): Likewise.
108 (struct test_c_f_data): Likewise.
109 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
110 (struct test_fF_f1_data): Likewise.
111 (struct test_ffI_f1_data): Likewise.
112 (struct test_c_c_data): Remove max_ulp field.
113 (struct test_cc_c_data): Likewise.
114 (struct test_f_i_data): Likewise.
115 (struct test_ff_i_data): Likewise.
116 (struct test_f_l_data): Likewise.
117 (struct test_f_L_data): Likewise.
118 (struct test_sincos_data): Likewise.
119 (RUN_TEST_f_f): Do not handle ulps.
120 (RUN_TEST_LOOP_f_f): Likewise.
121 (RUN_TEST_2_f): Likewise.
122 (RUN_TEST_LOOP_2_f): Likewise.
123 (RUN_TEST_fff_f): Likewise.
124 (RUN_TEST_LOOP_fff_f): Likewise.
125 (RUN_TEST_c_f): Likewise.
126 (RUN_TEST_LOOP_c_f): Likewise.
127 (RUN_TEST_f_f1): Likewise.
128 (RUN_TEST_LOOP_f_f1): Likewise.
129 (RUN_TEST_fF_f1): Likewise.
130 (RUN_TEST_LOOP_fF_f1): Likewise.
131 (RUN_TEST_fI_f1): Likewise.
132 (RUN_TEST_LOOP_fI_f1): Likewise.
133 (RUN_TEST_ffI_f1): Likewise.
134 (RUN_TEST_LOOP_ffI_f1): Likewise.
135 (RUN_TEST_c_c): Likewise.
136 (RUN_TEST_LOOP_c_c): Likewise.
137 (RUN_TEST_cc_c): Likewise.
138 (RUN_TEST_LOOP_cc_c): Likewise.
139 (RUN_TEST_f_i): Likewise.
140 (RUN_TEST_LOOP_f_i): Likewise.
141 (RUN_TEST_f_i_tg): Likewise.
142 (RUN_TEST_LOOP_f_i_tg): Likewise.
143 (RUN_TEST_ff_i_tg): Likewise.
144 (RUN_TEST_LOOP_ff_i_tg): Likewise.
145 (RUN_TEST_f_b): Likewise.
146 (RUN_TEST_LOOP_f_b): Likewise.
147 (RUN_TEST_f_b_tg): Likewise.
148 (RUN_TEST_LOOP_f_b_tg): Likewise.
149 (RUN_TEST_f_l): Likewise.
150 (RUN_TEST_LOOP_f_l): Likewise.
151 (RUN_TEST_f_L): Likewise.
152 (RUN_TEST_LOOP_f_L): Likewise.
153 (RUN_TEST_sincos): Likewise.
154 (RUN_TEST_LOOP_sincos): Likewise.
156 2013-05-17 Joseph Myers <joseph@codesourcery.com>
160 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
161 main case of finite arguments, set rounding mode to FE_TONEAREST
162 and discard exceptions.
163 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
165 (remainder_tonearest_test_data): New variable.
166 (remainder_test_tonearest): New function.
167 (remainder_towardzero_test_data): New variable.
168 (remainder_test_towardzero): New function.
169 (remainder_downward_test_data): New variable.
170 (remainder_test_downward): New function.
171 (remainder_upward_test_data): New variable.
172 (remainder_test_upward): New function.
173 (main): Call the new test functions.
175 * math/libm-test.inc (struct test_f_f1_data): Remove field
177 (struct test_fF_f1_data): Likewise.
178 (struct test_ffI_f1_data): Likewise.
179 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
180 based on value of EXTRA_EXPECTED.
181 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
182 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
183 EXTRA_VAR based on value of EXTRA_EXPECTED.
184 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
185 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
186 EXTRA_VAR based on value of EXTRA_EXPECTED.
187 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
188 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
189 EXTRA_VAR based on value of EXTRA_EXPECTED.
190 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
191 * math/gen-libm-test.pl (parse_args): Don't output initializers
192 for extra output values.
194 * math/libm-test.inc (check_int): Expect result to be exactly
195 equal to expected value and do not handle ulps.
196 (check_long): Likewise.
197 (check_longlong): Likewise.
199 * math/libm-test.inc (ceil_test_data): Test for "inexact"
201 (cimag_test_data): Likewise.
202 (conj_test_data): Likewise.
203 (copysign_test_data): Likewise.
204 (cproj_test_data): Likewise.
205 (creal_test_data): Likewise.
206 (fabs_test_data): Likewise.
207 (fdim_test_data): Likewise.
208 (finite_test_data): Likewise.
209 (floor_test_data): Likewise.
210 (fmax_test_data): Likewise.
211 (fmin_test_data): Likewise.
212 (fmod_test_data): Likewise.
213 (fpclassify_test_data): Likewise.
214 (frexp_test_data): Likewise.
215 (ilogb_test_data): Likewise.
216 (isfinite_test_data): Likewise.
217 (isgreater_test_data): Likewise.
218 (isgreaterequal_test_data): Likewise.
219 (isinf_test_data): Likewise.
220 (isless_test_data): Likewise.
221 (islessequal_test_data): Likewise.
222 (islessgreater_test_data): Likewise.
223 (isnan_test_data): Likewise.
224 (isnormal_test_data): Likewise.
225 (issignaling_test_data): Likewise.
226 (isunordered_test_data): Likewise.
227 (ldexp_test_data): Likewise.
228 (lrint_test_data): Likewise.
229 (lrint_test_data) [TEST_FLOAT]: Disable one test.
230 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
231 (lrint_tonearest_test_data): Test for "inexact" exceptions.
232 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
233 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
234 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
236 (lrint_towardzero_test_data): Test for "inexact" exceptions.
237 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
238 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
239 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
241 (lrint_downward_test_data): Test for "inexact" exceptions.
242 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
243 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
244 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
246 (lrint_upward_test_data): Test for "inexact" exceptions.
247 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
249 (llrint_test_data): Test for "inexact" exceptions.
250 (llrint_test_data) [TEST_FLOAT]: Disable one test.
251 (llrint_tonearest_test_data): Test for "inexact" exceptions.
252 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
253 (llrint_towardzero_test_data): Test for "inexact" exceptions.
254 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
255 (llrint_downward_test_data): Test for "inexact" exceptions.
256 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
257 (llrint_upward_test_data): Test for "inexact" exceptions.
258 (logb_test_data): Likewise.
259 (logb_downward_test_data): Likewise.
260 (nextafter_test_data): Likewise.
261 (nexttoward_test_data): Likewise.
262 (remainder_test_data): Likewise.
263 (remquo_test_data): Likewise.
264 (scalbn_test_data): Likewise.
265 (scalbln_test_data): Likewise.
266 (signbit_test_data): Likewise.
267 (sqrt_test_data): Likewise.
268 (significand_test_data): Likewise.
270 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
273 * benchtests/bench-modf.c (struct args): Mark arg0 as
275 * scripts/bench.pl: Mark members of struct args as volatile.
277 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
279 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
280 negative infinity on POWER6 or lower.
281 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
283 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
286 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
287 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
288 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
289 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
290 (_FP_SETQNAN): New macro.
291 (_FP_SETQNAN_SEMIRAW): Likewise.
292 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
293 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
294 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
295 (FP_EXTEND): Use _FP_FRAC_SNANP.
296 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
297 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
299 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
301 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
304 2013-05-16 Joseph Myers <joseph@codesourcery.com>
306 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
307 with DIVIDE_BY_ZERO_EXCEPTION.
308 (gamma_test_data): Likewise.
309 (lgamma_test_data): Likewise.
310 (log_test_data): Likewise.
311 (log10_test_data): Likewise.
312 (log2_test_data): Likewise.
313 (tgamma_test_data): Likewise.
315 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
316 (acos_test_tonearest): Likewise.
317 (acos_test_towardzero): Likewise.
318 (acos_test_downward): Likewise.
319 (acos_test_upward): Likewise.
320 (acosh_test): Likewise.
321 (asin_test): Likewise.
322 (asin_test_tonearest): Likewise.
323 (asin_test_towardzero): Likewise.
324 (asin_test_downward): Likewise.
325 (asin_test_upward): Likewise.
326 (asinh_test): Likewise.
327 (atan_test): Likewise.
328 (atanh_test): Likewise.
329 (atan2_test): Likewise.
330 (cabs_test): Likewise.
331 (cacos_test): Likewise.
332 (cacosh_test): Likewise.
333 (casin_test): Likewise.
334 (casinh_test): Likewise.
335 (catan_test): Likewise.
336 (catanh_test): Likewise.
337 (cbrt_test): Likewise.
338 (ccos_test): Likewise.
339 (ccosh_test): Likewise.
340 (cexp_test): Likewise.
341 (clog_test): Likewise.
342 (clog10_test): Likewise.
343 (cos_test): Likewise.
344 (cos_test_tonearest): Likewise.
345 (cos_test_towardzero): Likewise.
346 (cos_test_downward): Likewise.
347 (cos_test_upward): Likewise.
348 (cosh_test): Likewise.
349 (cosh_test_tonearest): Likewise.
350 (cosh_test_towardzero): Likewise.
351 (cosh_test_downward): Likewise.
352 (cosh_test_upward): Likewise.
353 (cpow_test): Likewise.
354 (csin_test): Likewise.
355 (csinh_test): Likewise.
356 (csqrt_test): Likewise.
357 (ctan_test): Likewise.
358 (ctan_test_tonearest): Likewise.
359 (ctan_test_towardzero): Likewise.
360 (ctan_test_downward): Likewise.
361 (ctan_test_upward): Likewise.
362 (ctanh_test): Likewise.
363 (ctanh_test_tonearest): Likewise.
364 (ctanh_test_towardzero): Likewise.
365 (ctanh_test_downward): Likewise.
366 (ctanh_test_upward): Likewise.
367 (erf_test): Likewise.
368 (erfc_test): Likewise.
369 (exp_test): Likewise.
370 (exp_test_tonearest): Likewise.
371 (exp_test_towardzero): Likewise.
372 (exp_test_downward): Likewise.
373 (exp_test_upward): Likewise.
374 (exp10_test): Likewise.
375 (exp2_test): Likewise.
376 (expm1_test): Likewise.
377 (fmod_test): Likewise.
378 (gamma_test): Likewise.
379 (hypot_test): Likewise.
383 (lgamma_test): Likewise.
384 (log_test): Likewise.
385 (log10_test): Likewise.
386 (log1p_test): Likewise.
387 (log2_test): Likewise.
388 (logb_test_downward): Likewise.
389 (pow_test): Likewise.
390 (pow_test_tonearest): Likewise.
391 (pow_test_towardzero): Likewise.
392 (pow_test_downward): Likewise.
393 (pow_test_upward): Likewise.
394 (remainder_test): Likewise.
395 (remquo_test): Likewise.
396 (sin_test): Likewise.
397 (sin_test_tonearest): Likewise.
398 (sin_test_towardzero): Likewise.
399 (sin_test_downward): Likewise.
400 (sin_test_upward): Likewise.
401 (sincos_test): Likewise.
402 (sinh_test): Likewise.
403 (sinh_test_tonearest): Likewise.
404 (sinh_test_towardzero): Likewise.
405 (sinh_test_downward): Likewise.
406 (sinh_test_upward): Likewise.
407 (sqrt_test): Likewise.
408 (tan_test): Likewise.
409 (tan_test_tonearest): Likewise.
410 (tan_test_towardzero): Likewise.
411 (tan_test_downward): Likewise.
412 (tan_test_upward): Likewise.
413 (tanh_test): Likewise.
414 (tgamma_test): Likewise.
419 * math/gen-libm-test.pl (adjust_arg): Remove function.
420 (special_function): Remove argument $in_func. Only handle
421 generating output for tables of tests, not inside functions.
422 (parse_args): Likewise.
423 (generate_testfile): Remove variable $in_func. Update call to
425 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
426 (MINUS_ZERO_INIT): Rename macro to minus_zero.
427 (PLUS_INFTY_INIT): Rename macro to plus_infty.
428 (MINUS_INFTY_INIT): Rename macro to minus_infty.
429 (QNAN_VALUE_INIT): Rename macro to qnan_value.
430 (MAX_VALUE_INIT): Rename macro to max_value.
431 (MIN_VALUE_INIT): Rename macro to min_value.
432 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
433 (plus_zero): Remove variable.
434 (minus_zero): Likewise.
435 (plus_infty): Likewise.
436 (minus_infty): Likewise.
437 (qnan_value): Likewise.
438 (max_value): Likewise.
439 (min_value): Likewise.
440 (min_subnorm_value): Likewise.
442 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
444 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
445 uint64_t or uint32_t usage.
446 * crypt/sha256-block.c: Likewise.
447 * crypt/sha256-crypt.c: Likewise.
448 * crypt/sha256.c: Likewise.
449 * crypt/sha512-block.c: Likewise.
450 * crypt/sha512-crypt.c: Likewise.
451 * crypt/sha512.c: Likewise.
452 * debug/backtrace-tst.c: Likewise.
453 * debug/pcprofiledump.c: Likewise.
454 * elf/cache.c: Likewise.
455 * elf/dl-cache.c: Likewise.
456 * elf/dl-misc.c: Likewise.
457 * elf/dl-profile.c: Likewise.
458 * elf/dl-support.c: Likewise.
459 * elf/ldconfig.c: Likewise.
460 * elf/sprof.c: Likewise.
461 * iconv/dummy-repertoire.c: Likewise.
462 * iconv/iconv_charmap.c: Likewise.
463 * iconv/skeleton.c: Likewise.
464 * iconvdata/8bit-generic.c: Likewise.
465 * iconvdata/cp737.h: Likewise.
466 * iconvdata/cp775.h: Likewise.
467 * iconvdata/ibm1008.h: Likewise.
468 * iconvdata/ibm1025.h: Likewise.
469 * iconvdata/ibm1046.h: Likewise.
470 * iconvdata/ibm1097.h: Likewise.
471 * iconvdata/ibm1112.h: Likewise.
472 * iconvdata/ibm1122.h: Likewise.
473 * iconvdata/ibm1123.h: Likewise.
474 * iconvdata/ibm1124.h: Likewise.
475 * iconvdata/ibm1129.h: Likewise.
476 * iconvdata/ibm1130.h: Likewise.
477 * iconvdata/ibm1132.h: Likewise.
478 * iconvdata/ibm1133.h: Likewise.
479 * iconvdata/ibm1137.h: Likewise.
480 * iconvdata/ibm1140.h: Likewise.
481 * iconvdata/ibm1141.h: Likewise.
482 * iconvdata/ibm1142.h: Likewise.
483 * iconvdata/ibm1143.h: Likewise.
484 * iconvdata/ibm1144.h: Likewise.
485 * iconvdata/ibm1145.h: Likewise.
486 * iconvdata/ibm1146.h: Likewise.
487 * iconvdata/ibm1147.h: Likewise.
488 * iconvdata/ibm1148.h: Likewise.
489 * iconvdata/ibm1149.h: Likewise.
490 * iconvdata/ibm1153.h: Likewise.
491 * iconvdata/ibm1154.h: Likewise.
492 * iconvdata/ibm1155.h: Likewise.
493 * iconvdata/ibm1156.h: Likewise.
494 * iconvdata/ibm1157.h: Likewise.
495 * iconvdata/ibm1158.h: Likewise.
496 * iconvdata/ibm1160.h: Likewise.
497 * iconvdata/ibm1161.h: Likewise.
498 * iconvdata/ibm1162.h: Likewise.
499 * iconvdata/ibm1163.h: Likewise.
500 * iconvdata/ibm1164.h: Likewise.
501 * iconvdata/ibm1166.h: Likewise.
502 * iconvdata/ibm1167.h: Likewise.
503 * iconvdata/ibm12712.h: Likewise.
504 * iconvdata/ibm1390.h: Likewise.
505 * iconvdata/ibm1399.h: Likewise.
506 * iconvdata/ibm16804.h: Likewise.
507 * iconvdata/ibm4517.h: Likewise.
508 * iconvdata/ibm4899.h: Likewise.
509 * iconvdata/ibm4909.h: Likewise.
510 * iconvdata/ibm4971.h: Likewise.
511 * iconvdata/ibm5347.h: Likewise.
512 * iconvdata/ibm803.h: Likewise.
513 * iconvdata/ibm856.h: Likewise.
514 * iconvdata/ibm901.h: Likewise.
515 * iconvdata/ibm902.h: Likewise.
516 * iconvdata/ibm9030.h: Likewise.
517 * iconvdata/ibm9066.h: Likewise.
518 * iconvdata/ibm921.h: Likewise.
519 * iconvdata/ibm922.h: Likewise.
520 * iconvdata/ibm9448.h: Likewise.
521 * iconvdata/isiri-3342.h: Likewise.
522 * iconvdata/jis0201.h: Likewise.
523 * include/link.h: Likewise.
524 * include/netdb.h: Likewise.
525 * inet/check_native.c: Likewise.
526 * inet/check_pf.c: Likewise.
527 * inet/getipv4sourcefilter.c: Likewise.
528 * inet/getnameinfo.c: Likewise.
529 * inet/getsourcefilter.c: Likewise.
530 * inet/htonl.c: Likewise.
531 * inet/setipv4sourcefilter.c: Likewise.
532 * inet/setsourcefilter.c: Likewise.
533 * inet/test-inet6_opt.c: Likewise.
534 * inet/tst-network.c: Likewise.
535 * locale/C-collate.c: Likewise.
536 * locale/C-ctype.c: Likewise.
537 * locale/C-time.c: Likewise.
538 * locale/C-translit.h: Likewise.
539 * locale/loadarchive.c: Likewise.
540 * locale/programs/3level.h: Likewise.
541 * locale/programs/charmap.c: Likewise.
542 * locale/programs/charmap.h: Likewise.
543 * locale/programs/ld-address.c: Likewise.
544 * locale/programs/ld-collate.c: Likewise.
545 * locale/programs/ld-ctype.c: Likewise.
546 * locale/programs/ld-identification.c: Likewise.
547 * locale/programs/ld-measurement.c: Likewise.
548 * locale/programs/ld-messages.c: Likewise.
549 * locale/programs/ld-monetary.c: Likewise.
550 * locale/programs/ld-name.c: Likewise.
551 * locale/programs/ld-numeric.c: Likewise.
552 * locale/programs/ld-paper.c: Likewise.
553 * locale/programs/ld-telephone.c: Likewise.
554 * locale/programs/ld-time.c: Likewise.
555 * locale/programs/linereader.c: Likewise.
556 * locale/programs/locale.c: Likewise.
557 * locale/programs/locarchive.c: Likewise.
558 * locale/programs/locfile.h: Likewise.
559 * locale/programs/repertoire.c: Likewise.
560 * locale/programs/simple-hash.c: Likewise.
561 * locale/programs/simple-hash.h: Likewise.
562 * malloc/memusage.c: Likewise.
563 * malloc/memusagestat.c: Likewise.
564 * nis/nis_defaults.c: Likewise.
565 * nis/nis_hash.c: Likewise.
566 * nis/nis_print.c: Likewise.
567 * nis/nis_xdr.c: Likewise.
568 * nscd/connections.c: Likewise.
569 * nscd/hstcache.c: Likewise.
570 * nscd/nscd_gethst_r.c: Likewise.
571 * nscd/nscd_getserv_r.c: Likewise.
572 * nscd/nscd_helper.c: Likewise.
573 * nscd/servicescache.c: Likewise.
574 * nss/makedb.c: Likewise.
575 * nss/nss_db/db-XXX.c: Likewise.
576 * nss/nss_db/db-initgroups.c: Likewise.
577 * nss/nss_db/db-netgrp.c: Likewise.
578 * nss/nss_files/files-network.c: Likewise.
579 * nss/nss_files/files-parse.c: Likewise.
580 * posix/bug-regex5.c: Likewise.
581 * posix/fnmatch_loop.c: Likewise.
582 * posix/regcomp.c: Likewise.
583 * posix/regexec.c: Likewise.
584 * posix/tst-rfc3484-2.c: Likewise.
585 * posix/tst-rfc3484-3.c: Likewise.
586 * posix/tst-rfc3484.c: Likewise.
587 * resolv/nss_dns/dns-canon.c: Likewise.
588 * resolv/nss_dns/dns-network.c: Likewise.
589 * resolv/res_init.c: Likewise.
590 * resolv/res_mkquery.c: Likewise.
591 * resolv/tst-aton.c: Likewise.
592 * stdlib/cxa_atexit.c: Likewise.
593 * stdlib/cxa_finalize.c: Likewise.
594 * stdlib/gen-fpioconst.c: Likewise.
595 * stdlib/strtol_l.c: Likewise.
596 * string/tst-endian.c: Likewise.
597 * sunrpc/auth_des.c: Likewise.
598 * sunrpc/clnt_udp.c: Likewise.
599 * sunrpc/rtime.c: Likewise.
600 * sunrpc/svcauth_des.c: Likewise.
601 * sunrpc/xdr.c: Likewise.
602 * sunrpc/xdr_intXX_t.c: Likewise.
603 * sunrpc/xdr_rec.c: Likewise.
604 * sysdeps/generic/ldconfig.h: Likewise.
605 * sysdeps/generic/ldsodefs.h: Likewise.
606 * sysdeps/generic/memusage.h: Likewise.
607 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
608 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
609 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
610 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
611 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
613 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
614 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
615 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
616 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
617 * sysdeps/posix/getaddrinfo.c: Likewise.
618 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
619 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
620 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
621 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
622 * sysdeps/powerpc/test-gettimebase.c: Likewise.
623 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
624 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
625 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
626 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
627 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
628 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
629 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
630 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
631 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
632 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
633 * sysdeps/x86_64/dl-tls.h: Likewise.
634 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
635 * time/alt_digit.c: Likewise.
636 * time/era.c: Likewise.
637 * wcsmbs/tst-c16c32-1.c: Likewise.
639 2013-05-16 Joseph Myers <joseph@codesourcery.com>
641 * math/libm-test.inc (struct test_sincos_data): New type.
642 (RUN_TEST_LOOP_sincos): New macro.
643 (sincos_test_data): New variable.
644 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
646 2013-05-16 Richard Henderson <rth@redhat.com>
648 * math/atest-exp2.c (LIMB64): New macro.
649 (CONSTSZ): New macro.
650 (mp_exp1, mp_exp_m1, mp_log2): New variables.
652 (print_mpn_fp): ... to function scope.
653 (read_mpn_hex): Remove.
655 (exp2_mpn): Use mp_log2.
658 2013-05-16 Joseph Myers <joseph@codesourcery.com>
660 * math/libm-test.inc: Remove comment about not testing "inexact"
662 (INEXACT_EXCEPTION): New macro.
663 (NO_INEXACT_EXCEPTION): Likewise.
664 (INVALID_EXCEPTION_OK): Update value.
665 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
666 (OVERFLOW_EXCEPTION_OK): Likewise.
667 (UNDERFLOW_EXCEPTION_OK): Likewise.
668 (IGNORE_ZERO_INF_SIGN): Likewise.
669 (ERRNO_UNCHANGED): Likewise.
670 (ERRNO_EDOM): Likewise.
671 (ERRNO_ERANGE): Likewise.
672 (test_exceptions): Handle testing "inexact" exceptions.
673 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
674 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
675 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
676 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
678 (rint_towardzero_test_data): Likewise.
679 (rint_downward_test_data): Likewise.
680 (rint_upward_test_data): Likewise.
682 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
683 with OVERFLOW_EXCEPTION.
684 (exp10_test_data): Likewise.
685 (exp2_test_data): Likewise.
686 (expm1_test_data): Likewise.
687 (lgamma_test_data): Likewise.
688 (pow_test_data): Likewise.
689 (tgamma_test_data): Likewise.
690 (yn_test_data): Remove duplicate test of overflow.
692 * math/libm-test.inc (struct test_cc_c_data): New type.
693 (RUN_TEST_LOOP_cc_c): New macro.
694 (cpow_test_data): New variable.
695 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
697 * math/libm-test.inc (struct test_f_L_data): New type.
698 (RUN_TEST_LOOP_f_L): New macro.
699 (llrint_test_data): New variable.
700 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
701 (llrint_tonearest_test_data): New variable.
702 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
703 (llrint_towardzero_test_data): New variable.
704 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
705 (llrint_downward_test_data): New variable.
706 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
707 (llrint_upward_test_data): New variable.
708 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
709 (llround_test_data): New variable.
710 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
712 2013-05-13 Peter Collingbourne <pcc@google.com>
714 * math/atest-exp2.c (get_log2): Remove const attribute.
716 2013-05-15 Joseph Myers <joseph@codesourcery.com>
718 * math/libm-test.inc (struct test_f_l_data): New type.
719 (RUN_TEST_LOOP_f_l): New macro.
720 (lrint_test_data): New variable.
721 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
722 (lrint_tonearest_test_data): New variable.
723 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
724 (lrint_towardzero_test_data): New variable.
725 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
726 (lrint_downward_test_data): New variable.
727 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
728 (lrint_upward_test_data): New variable.
729 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
730 (lround_test_data): New variable.
731 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
733 2013-05-15 Peter Collingbourne <pcc@google.com>
735 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
736 (EXTRACT_WORDS64) Use where appropriate.
737 (INSERT_WORDS64) Likewise.
739 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
740 constraints with x constraints.
741 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
743 * malloc/obstack.c (_obstack_compat): Add initializer.
745 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
747 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
748 si_trapno and add si_addr_lsb to _sifields.sigfault.
749 (si_trapno): Remove macro.
750 (si_addr_lsb): Define new macro.
751 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
753 2013-05-15 Joseph Myers <joseph@codesourcery.com>
755 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
757 (llrint_test_tonearest): Likewise.
758 (llrint_test_towardzero): Likewise.
759 (llrint_test_downward): Likewise.
760 (llrint_test_upward): Likewise.
761 (llround_test): Likewise.
763 * math/libm-test.inc (struct test_f_i_data): Add comment.
764 (RUN_TEST_LOOP_f_b): New macro.
765 (RUN_TEST_LOOP_f_b_tg): Likewise.
766 (finite_test_data): New variable.
767 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
768 (isfinite_test_data): New variable.
769 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
770 (isinf_test_data): New variable.
771 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
772 (isnan_test_data): New variable.
773 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
774 (isnormal_test_data): New variable.
775 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
776 (issignaling_test_data): New variable.
777 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
778 (signbit_test_data): New variable.
779 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
781 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
782 with INVALID_EXCEPTION.
783 (acosh_test_data): Likewise.
784 (asin_test_data): Likewise.
785 (atanh_test_data): Likewise.
786 (fmod_test_data): Likewise.
787 (log_test_data): Likewise.
788 (log10_test_data): Likewise.
789 (log2_test_data): Likewise.
790 (pow_test_data): Likewise.
791 (sqrt_test_data): Likewise.
792 (y0_test_data): Likewise.
793 (y1_test_data): Likewise.
794 (yn_test_data): Likewise.
796 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
799 * math/libm-test.inc (struct test_ff_i_data): New type.
800 (RUN_TEST_LOOP_ff_i_tg): New macro.
801 (isgreater_test_data): New variable.
802 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
803 (isgreaterequal_test_data): New variable.
804 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
805 (isless_test_data): New variable.
806 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
807 (islessequal_test_data): New variable.
808 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
809 (islessgreater_test_data): New variable.
810 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
811 (isunordered_test_data): New variable.
812 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
814 2013-05-14 David S. Miller <davem@davemloft.net>
816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
818 2013-05-14 Joseph Myers <joseph@codesourcery.com>
820 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
822 * math/libm-test.inc (struct test_fF_f1_data): Change type of
824 (struct test_f_i_data): Change type of max_ulp to int.
826 * math/libm-test.inc (test_ffI_f1_data): New type.
827 (RUN_TEST_LOOP_ffI_f1): New macro.
828 (remquo_test_data): New variable.
829 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
831 * setjmp/tst-setjmp-fp.c: New file.
832 * setjmp/Makefile (tests): Add tst-setjmp-fp.
833 (link-libm): New variable.
834 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
836 * math/libm-test.inc (struct test_f_i_data): New type.
837 (RUN_TEST_LOOP_f_i): New macro.
838 (RUN_TEST_LOOP_f_i_tg): Likewise.
839 (fpclassify_test_data): New variable.
840 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
841 (ilogb_test_data): New variable.
842 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
844 * math/libm-test.inc (scalbln_test): Correct function name in END
847 * math/libm-test.inc (struct test_f_f1_data): Add comment.
848 (RUN_TEST_LOOP_fI_f1): New macro.
849 (frexp_test_data): New variable.
850 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
852 * math/libm-test.inc (struct test_fF_f1_data): New type.
853 (RUN_TEST_LOOP_fF_f1): New macro.
854 (modf_test_data): New variable.
855 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
857 * math/libm-test.inc (struct test_f_f1_data): New type.
858 (RUN_TEST_LOOP_f_f1): New macro.
859 (gamma_test_data): New variable.
860 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
861 (lgamma_test_data): New variable.
862 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
864 2013-05-13 Carlos O'Donell <carlos@redhat.com>
866 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
867 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
868 (main): Comment "tls" pseudo-hwcap.
870 2013-05-13 Joseph Myers <joseph@codesourcery.com>
872 * math/libm-test.inc (struct test_fl_f_data): New type.
873 (RUN_TEST_LOOP_fl_f): New variable.
874 (scalbln_test_data): New variable.
875 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
877 * math/libm-test.inc (struct test_fi_f_data): New type.
878 (RUN_TEST_LOOP_fi_f): New macro.
879 (ldexp_test_data): New variable.
880 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
881 (scalbn_test_data): New variable.
882 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
884 * math/libm-test.inc (struct test_c_f_data): New type.
885 (RUN_TEST_LOOP_c_f): New macro.
886 (cabs_test_data): New variable.
887 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
888 (carg_test_data): New variable.
889 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
890 (cimag_test_data): New variable.
891 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
892 (creal_test_data): New variable.
893 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
895 * math/libm-test.inc (struct test_if_f_data): New type.
896 (RUN_TEST_LOOP_if_f): New macro.
897 (jn_test_data): New variable.
898 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
899 (yn_test_data): New variable.
900 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
902 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
904 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
906 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
907 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
909 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
911 * benchtests/Makefile (CPPFLAGS-nonlib): Add
912 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
913 (bench-deps): Add bench-timing.h.
914 * benchtests-bench-skeleton.c: Include bench-timing.h.
915 (main): Use TIMING_* macros instead of clock_gettime.
916 * benchtests/bench-timing.h: New file.
919 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
920 Renamed from _LIB_VERSION.
921 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
923 2013-05-12 Joseph Myers <joseph@codesourcery.com>
925 * math/libm-test.inc (struct test_fff_f_data): New type.
926 (RUN_TEST_LOOP_fff_f): New macro.
927 (fma_test_data): New variable.
928 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
929 (fma_towardzero_test_data): New variable.
930 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
931 (fma_downward_test_data): New variable.
932 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
933 (fma_upward_test_data): New variable.
934 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
936 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
937 (struct test_c_c_data): New type.
938 (RUN_TEST_LOOP_c_c): New macro.
939 (cacos_test_data): New variable.
940 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
941 (cacosh_test_data): New variable.
942 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
943 (casin_test_data): New variable.
944 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
945 (casinh_test_data): New variable.
946 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
947 (catan_test_data): New variable.
948 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
949 (catanh_test_data): New variable.
950 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
951 (ccos_test_data): New variable.
952 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
953 (ccosh_test_data): New variable.
954 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
955 (cexp_test_data): New variable.
956 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
957 (clog_test_data): New variable.
958 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
959 (clog10_test_data): New variable.
960 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
961 (conj_test_data): New variable.
962 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
963 (cproj_test_data): New variable.
964 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
965 (csin_test_data): New variable.
966 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
967 (csinh_test_data): New variable.
968 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
969 (csqrt_test_data): New variable.
970 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
971 (ctan_test_data): New variable.
972 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
973 (ctan_tonearest_test_data): New variable.
974 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
975 (ctan_towardzero_test_data): New variable.
976 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
977 (ctan_downward_test_data): New variable.
978 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
979 (ctan_upward_test_data): New variable.
980 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
981 (ctanh_test_data): New variable.
982 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
983 (ctanh_tonearest_test_data): New variable.
984 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
985 (ctanh_towardzero_test_data): New variable.
986 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
987 (ctanh_downward_test_data): New variable.
988 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
989 (ctanh_upward_test_data): New variable.
990 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
991 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
994 * math/libm-test.inc (struct test_ff_f_data): New type.
995 (struct test_ff_f_data_nexttoward): Likewise.
996 (RUN_TEST_LOOP_2_f): New macro.
997 (RUN_TEST_LOOP_ff_f): Likewise.
998 (atan2_test_data): New variable.
999 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1000 (copysign_test_data): New variable.
1001 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1002 (fdim_test_data): New variable.
1003 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1004 (fmax_test_data): New variable.
1005 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1006 (fmin_test_data): New variable.
1007 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1008 (fmod_test_data): New variable.
1009 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1010 (hypot_test_data): New variable.
1011 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1012 (nextafter_test_data): New variable.
1013 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1014 (nexttoward_test_data): New variable.
1015 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1016 (pow_test_data): New variable.
1017 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1018 (pow_tonearest_test_data): New variable.
1019 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1020 (pow_towardzero_test_data): New variable.
1021 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1022 (pow_downward_test_data): New variable.
1023 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1024 (pow_upward_test_data): New variable.
1025 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1026 (remainder_test_data): New variable.
1027 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1028 (scalb_test_data): New variable.
1029 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1030 * sysdeps/i386/fpu/libm-test-ulps: Update.
1032 2013-05-11 Joseph Myers <joseph@codesourcery.com>
1034 * math/libm-test.inc (fma_test): Use max_value instead of local
1036 (nextafter_test): Likewise.
1038 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1039 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1040 (acos_downward_test_data): New variable.
1041 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1042 (acos_upward_test_data): New variable.
1043 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1044 (acosh_test_data): New variable.
1045 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1046 (asin_test_data): New variable.
1047 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1048 (asin_tonearest_test_data): New variable.
1049 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1050 (asin_towardzero_test_data): New variable.
1051 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1052 (asin_downward_test_data): New variable.
1053 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1054 (asin_upward_test_data): New variable.
1055 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1056 (asinh_test_data): New variable.
1057 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1058 (atan_test_data): New variable.
1059 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1060 (atanh_test_data): New variable.
1061 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1062 (cbrt_test_data): New variable.
1063 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1064 (ceil_test_data): New variable.
1065 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1066 (cos_test_data): New variable.
1067 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1068 (cos_tonearest_test_data): New variable.
1069 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1070 (cos_towardzero_test_data): New variable.
1071 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1072 (cos_downward_test_data): New variable.
1073 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1074 (cos_upward_test_data): New variable.
1075 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1076 (cosh_test_data): New variable.
1077 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1078 (cosh_tonearest_test_data): New variable.
1079 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1080 (cosh_towardzero_test_data): New variable.
1081 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1082 (cosh_downward_test_data): New variable.
1083 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1084 (cosh_upward_test_data): New variable.
1085 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1086 (erf_test_data): New variable.
1087 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1088 (erfc_test_data): New variable.
1089 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1090 (exp_test_data): New variable.
1091 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1092 (exp_tonearest_test_data): New variable.
1093 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1094 (exp_towardzero_test_data): New variable.
1095 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1096 (exp_downward_test_data): New variable.
1097 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1098 (exp_upward_test_data): New variable.
1099 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1100 (exp10_test_data): New variable.
1101 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1102 (exp2_test_data): New variable.
1103 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1104 (expm1_test_data): New variable.
1105 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1106 (fabs_test_data): New variable.
1107 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1108 (floor_test_data): New variable.
1109 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1110 (j0_test_data): New variable.
1111 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1112 (j1_test_data): New variable.
1113 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1114 (log_test_data): New variable.
1115 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1116 (log10_test_data): New variable.
1117 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1118 (log1p_test_data): New variable.
1119 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1120 (log2_test_data): New variable.
1121 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1122 (logb_test_data): New variable.
1123 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1124 (logb_downward_test_data): New variable.
1125 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1126 (nearbyint_test_data): New variable.
1127 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1128 (rint_test_data): New variable.
1129 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1130 (rint_tonearest_test_data): New variable.
1131 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1132 (rint_towardzero_test_data): New variable.
1133 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1134 (rint_downward_test_data): New variable.
1135 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1136 (rint_upward_test_data): New variable.
1137 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1138 (round_test_data): New variable.
1139 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1140 (sin_test_data): New variable.
1141 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1142 (sin_tonearest_test_data): New variable.
1143 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1144 (sin_towardzero_test_data): New variable.
1145 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1146 (sin_downward_test_data): New variable.
1147 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1148 (sin_upward_test_data): New variable.
1149 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1150 (sinh_test_data): New variable.
1151 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1152 (sinh_tonearest_test_data): New variable.
1153 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1154 (sinh_towardzero_test_data): New variable.
1155 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1156 (sinh_downward_test_data): New variable.
1157 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1158 (sinh_upward_test_data): New variable.
1159 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1160 (sqrt_test_data): New variable.
1161 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1162 (tan_test_data): New variable.
1163 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1164 (tan_tonearest_test_data): New variable.
1165 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1166 (tan_towardzero_test_data): New variable.
1167 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1168 (tan_downward_test_data): New variable.
1169 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1170 (tan_upward_test_data): New variable.
1171 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1172 (tanh_test_data): New variable.
1173 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1174 (tgamma_test_data): New variable.
1175 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1176 (trunc_test_data): New variable.
1177 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1178 (y0_test_data): New variable.
1179 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1180 (y1_test_data): New variable.
1181 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1182 (significand_test_data): New variable.
1183 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1185 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1188 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1190 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1192 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1194 2013-05-10 Andreas Jaeger <aj@suse.de>
1197 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1198 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1200 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1202 * math/gen-libm-test.pl (adjust_arg): New function.
1203 (special_functions): Handle generating output in both functions
1205 (parse_args): Likewise.
1206 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1207 $in_func argument to parse_args.
1208 * math/libm-test.inc (struct test_f_f_data): New type.
1209 (IF_ROUND_INIT_): New macro.
1210 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1211 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1212 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1213 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1214 (ROUND_RESTORE_): Likewise.
1215 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1216 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1217 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1218 (ROUND_RESTORE_FE_UPWARD): Likewise.
1219 (RUN_TEST_LOOP_f_f): New macro.
1220 (acos_test_data): New variable.
1221 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1222 (acos_tonearest_test_data): New variable.
1223 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1225 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1227 * benchtests/bench-skeleton.c (startup): Fix coding style.
1229 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1232 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1233 negative infinity argument.
1234 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1235 negative infinity argument.
1236 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1237 negative infinity argument.
1238 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1241 2013-05-10 Florian Weimer <fweimer@redhat.com>
1243 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1244 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1245 * iconv/iconv_prog.c (main): Likewise.
1246 * locale/programs/charmap-dir.c (charmap_readdir)
1247 (fopen_uncompressed): Likewise.
1248 * locale/programs/locfile.c (siblings_uncached)
1249 (write_locale_data): Use lstat64 instead of lstat.
1250 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1253 2013-05-10 Andreas Jaeger <aj@suse.de>
1256 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1260 2013-05-09 Carlos O'Donell <carlos@redhat.com>
1262 * elf/dl-close.c (_dl_close_worker): Add comments.
1264 2013-05-09 Joseph Myers <joseph@codesourcery.com>
1267 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1269 (__ieee754_rem_pio2l): Update comments.
1272 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1274 (__ieee754_rem_pio2l): Update comments.
1276 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1277 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1279 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1282 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1283 (M_PI_34_LOG10El): Likewise.
1284 (M_PI2_LOG10El): Likewise.
1285 (M_PI4_LOG10El): Likewise.
1286 (M_PI_LOG10El): Likewise.
1288 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1292 2013-05-08 Joseph Myers <joseph@codesourcery.com>
1294 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1295 (MINUS_ZERO_INIT): Likewise.
1296 (PLUS_INFTY_INIT): Likewise.
1297 (MINUS_INFTY_INIT): Likewise.
1298 (QNAN_VALUE_INIT): Likewise.
1299 (MAX_VALUE_INIT): Likewise.
1300 (MIN_VALUE_INIT): Likewise.
1301 (MIN_SUBNORM_VALUE_INIT): Likewise.
1302 (plus_zero): Initialize with PLUS_ZERO_INIT.
1303 (minus_zero): Initialize with MINUS_ZERO_INIT.
1304 (plus_infty): Initialize with PLUS_INFTY_INIT.
1305 (minus_infty): Initialize with MINUS_INFTY_INIT.
1306 (qnan_value): Initialize with QNAN_VALUE_INIT.
1307 (max_value): Initialize with MAX_VALUE_INIT.
1308 (min_value): Initialize with MIN_VALUE_INIT.
1309 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1311 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1312 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1313 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1314 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1316 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1317 (RUN_TEST_2_f): Likewise.
1318 (RUN_TEST_ff_f): Likewise.
1319 (RUN_TEST_fi_f): Likewise.
1320 (RUN_TEST_fl_f): Likewise.
1321 (RUN_TEST_fff_f): Likewise.
1322 (RUN_TEST_c_f): Likewise.
1323 (RUN_TEST_f_f1): Likewise.
1324 (RUN_TEST_fF_f1): Likewise.
1325 (RUN_TEST_fI_f1): Likewise.
1326 (RUN_TEST_ffI_f1): Likewise.
1327 (RUN_TEST_c_c): Likewise.
1328 (RUN_TEST_cc_c): Likewise.
1329 (RUN_TEST_f_i): Likewise.
1330 (RUN_TEST_f_i_tg): Likewise.
1331 (RUN_TEST_ff_i_tg): Likewise.
1332 (RUN_TEST_f_b): Likewise.
1333 (RUN_TEST_f_b_tg): Likewise.
1334 (RUN_TEST_f_l): Likewise.
1335 (RUN_TEST_f_L): Likewise.
1336 (RUN_TEST_sincos): Likewise.
1337 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1338 whether to show exceptions. Do not include ");\n" in return
1340 (special_functions): Output call to RUN_TEST_sincos instead of
1341 check_float calls. Update calls to new_test.
1342 (parse_args): Output call to single RUN_TEST_* macro instead of
1343 check_* calls and other assignments. Update calls to new_test.
1349 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1350 input to result for tgamma overflow.
1351 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1352 (gamma_coeff): New variable.
1353 (NCOEFF): New macro.
1354 (gamma_positive): New function.
1355 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1356 underflow here. Use gamma_positive instead of exp (lgamma) for
1358 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1359 (gamma_coeff): New variable.
1360 (NCOEFF): New macro.
1361 (gammaf_positive): New function.
1362 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1363 underflow here. Use gamma_positive instead of exp (lgamma) for
1365 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1366 (gamma_coeff): New variable.
1367 (NCOEFF): New macro.
1368 (gammal_positive): New function.
1369 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1370 underflow here. Use gamma_positive instead of exp (lgamma) for
1372 * sysdeps/ieee754/ldbl-128ibm/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, overflow and
1377 underflow here. Handle NaN the same as positive infinity. Remove
1378 check x < 0xffffffff for negative integers. Use gamma_positive
1379 instead of exp (lgamma) for other arguments.
1380 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1381 (gamma_coeff): New variable.
1382 (NCOEFF): New macro.
1383 (gammal_positive): New function.
1384 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1385 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1386 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1387 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1389 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1390 * sysdeps/generic/math_private.h (__gamma_productf): New
1392 (__gamma_product): Likewise.
1393 (__gamma_productl): Likewise.
1394 * math/Makefile (libm-calls): Add gamma_product.
1395 * math/libm-test.inc (tgamma_test): Add more tests.
1396 * sysdeps/i386/fpu/libm-test-ulps: Update.
1397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1399 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
1401 * benchtests/bench-skeleton.c (main): Preheat CPU.
1403 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1405 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1407 2013-05-07 Roland McGrath <roland@hack.frob.com>
1409 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1410 and _dl_skip_args_internal.
1412 2013-05-07 Carlos O'Donell <carlos@redhat.com>
1414 * manual/message.texi (Message Translation): Talk about users.
1415 Message to key mapping impacts design.
1417 2013-05-06 Roland McGrath <roland@hack.frob.com>
1419 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
1421 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
1423 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
1424 * sysdeps/wordsize-64/glob64.c: ... here.
1426 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
1427 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
1430 * debug/getlogin_r_chk.c: Moved to ...
1431 * login/getlogin_r_chk.c: ... here.
1432 * debug/Makefile (routines): Move getlogin_r_chk to ...
1433 * login/Makefile (routines): ... here.
1434 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
1435 * login/Versions (libc: GLIBC_2.4): ... here.
1437 * io/poll.c (__poll): Renamed from poll.
1438 Add libc_hidden_def.
1439 (poll): Define as weak alias.
1441 * debug/ptsname_r_chk.c: Moved to ...
1442 * login/ptsname_r_chk.c: ... here.
1443 * debug/Makefile (routines): Move ptsname_r_chk to ...
1444 * login/Makefile (routines): ... here.
1445 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
1446 * login/Versions (libc: GLIBC_2.4): ... here.
1448 * posix/getlogin.c: Moved to ...
1449 * login/getlogin.c: ... here.
1450 * posix/getlogin_r.c: Moved to ...
1451 * login/getlogin_r.c: ... here.
1452 * posix/getlogin_r.c: Moved to ...
1453 * login/getlogin_r.c: ... here.
1454 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
1455 * login/Makefile (routines): ... here.
1456 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
1457 * login/Versions (libc: GLIBC_2.0): ... here.
1459 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
1460 (setrlimit): Define as weak alias.
1462 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
1463 Call __ names for open, ftruncate, and close.
1464 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
1465 (truncate): Define as weak alias.
1467 2013-05-06 Joseph Myers <joseph@codesourcery.com>
1469 * math/gen-libm-test.pl (parse_args): Initialize x before each
1470 test of frexp, modf and remquo.
1472 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
1475 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1479 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
1481 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1483 2013-05-06 Roland McGrath <roland@hack.frob.com>
1485 * elf/dl-writev.h: New file.
1486 * elf/dl-misc.c: Include it.
1487 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
1488 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
1490 2013-05-04 Joseph Myers <joseph@codesourcery.com>
1492 * math/libm-test.inc (noXFails): Remove variable.
1493 (noXPasses): Likewise.
1494 (BUILD_COMPLEX_INT): Remove macro.
1495 (print_screen): Remove xfail argument.
1496 (print_screen_max_error): Likewise.
1497 (update_stats): Likewise.
1498 (print_max_error): Likewise. Update calls to other affected
1500 (print_complex_max_error): Likewise.
1501 (test_single_exception): Update calls to print_screen.
1502 (test_single_errno): Likewise.
1503 (check_float_internal): Remove xfail argument. Update calls to
1504 other affected functions.
1505 (check_float): Likewise.
1506 (check_complex): Likewise.
1507 (check_int): Likewise.
1508 (check_long): Likewise.
1509 (check_bool): Likewise.
1510 (check_longlong): Likewise.
1511 (main): Don't print noXFails and noXPasses.
1512 * math/gen-libm-test.pl (top level): Don't mention expected
1513 failure handling in comment.
1514 (new_test): Don't handle expected failures.
1515 (parse_args): Don't mention expected failure handling in comment.
1516 (generate_testfile): Don't handle expected failures.
1517 (parse_ulps): Likewise.
1518 (print_ulps_file): Likewise.
1519 (get_failure): Remove function.
1520 (output_test): Don't handle expected failures.
1521 * make/README.libm-test: Don't mention expected failure handling.
1523 * math/libm-test.inc (plus_zero): Make const. Add initializer.
1524 (minus_zero): Likewise.
1525 (plus_infty): Likewise.
1526 (minus_infty): Likewise.
1527 (qnan_value): Likewise.
1528 (max_value): Likewise.
1529 (min_value): Likewise.
1530 (min_subnorm_value): Likewise.
1531 (initialize): Do not initialize those variables dynamically.
1533 2013-05-03 Roland McGrath <roland@hack.frob.com>
1535 * io/open.c (__open_2): Moved to ...
1536 * io/open_2.c: ... this new file.
1537 * io/open64.c (__open64_2): Moved to ...
1538 * io/open64_2.c: ... this new file.
1539 * io/openat.c (__openat_2): Moved to ...
1540 * io/openat_2.c: ... this new file.
1541 * io/openat64.c (__openat64_2): Moved to ...
1542 * io/openat64_2.c: ... this new file.
1543 * io/Makefile (routines): Add them.
1544 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
1545 * sysdeps/unix/sysv/linux/open_2.c: File removed.
1546 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
1547 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
1548 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
1549 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
1550 (__openat64): Add hidden_ver.
1551 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
1552 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
1554 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
1555 Separately conditionalize setting of GLRO(dl_sysinfo) so
1556 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
1557 as well, but the actual setting is only under [NEED_DL_SYSINFO].
1559 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1561 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
1562 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
1564 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
1565 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1566 (_libc_vdso_platform_setup): Add __vdso_time initialization.
1567 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
1568 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
1570 2013-05-03 Joseph Myers <joseph@codesourcery.com>
1572 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
1575 * math/libm-test.inc (hypot_test): Do not use
1576 IGNORE_ZERO_INF_SIGN.
1578 2013-05-03 Andreas Jaeger <aj@suse.de>
1580 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
1582 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
1583 (PF_MAX): Adjust for VSOCK change.
1585 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1589 2013-05-02 Carlos O'Donell <carlos@redhat.com>
1592 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
1593 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
1594 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
1596 2013-05-02 David S. Miller <davem@davemloft.net>
1598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1600 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
1602 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
1604 2013-05-01 Roland McGrath <roland@hack.frob.com>
1606 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
1608 2013-05-01 Richard Smith <richard@metafoo.co.uk>
1611 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
1612 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1613 Use __attribute__ ((__gnu_inline__)).
1614 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1615 Don't use __attribute__ ((__gnu_inline__)).
1617 2013-05-01 Joseph Myers <joseph@codesourcery.com>
1620 * math/s_catan.c (__catan): Handle small real or imaginary part of
1621 input specially to avoid spurious underflow.
1622 * math/s_catanf.c (__catanf): Likewise.
1623 * math/s_catanh.c (__catanh): Likewise.
1624 * math/s_catanhf.c (__catanhf): Likewise.
1625 * math/s_catanhl.c (__catanhl): Likewise.
1626 * math/s_catanl.c (__catanl): Likewise.
1627 * math/libm-test.inc (catan_test): Add more tests.
1628 (catanh_test): Likewise.
1629 * sysdeps/i386/fpu/libm-test-ulps: Update.
1630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1632 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1636 2013-04-30 Joseph Myers <joseph@codesourcery.com>
1639 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
1640 accurately for denominator in atan2.
1641 * math/s_catanf.c (__catanf): Likewise.
1642 * math/s_catanh.c (__catanh): Likewise.
1643 * math/s_catanhf.c (__catanhf): Likewise.
1644 * math/s_catanhl.c (__catanhl): Likewise.
1645 * math/s_catanl.c (__catanl): Likewise.
1646 * math/libm-test.inc (catan_test): Add more tests.
1647 (catanh_test): Likewise.
1648 * sysdeps/i386/fpu/libm-test-ulps: Update.
1649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1651 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1653 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1655 * benchtests/Makefile (bench): Remove slow benchmarks.
1656 * benchtests/atan-inputs: Add slow benchmark inputs.
1657 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1658 (BENCH_FUNC): Accept variant offset.
1660 * benchtests/bench-skeleton.c (main): Run benchmark for each
1662 * benchtests/cos-inputs: Add slow benchmark inputs.
1663 * benchtests/exp-inputs: Likewise.
1664 * benchtests/pow-inputs: Likewise.
1665 * benchtests/sin-inputs: Likewise.
1666 * benchtests/slowatan-inputs: Remove.
1667 * benchtests/slowatan.c: Remove.
1668 * benchtests/slowcos-inputs: Remove.
1669 * benchtests/slowcos.c: Remove.
1670 * benchtests/slowexp-inputs: Remove.
1671 * benchtests/slowexp.c: Remove.
1672 * benchtests/slowpow-inputs: Remove.
1673 * benchtests/slowpow.c: Remove.
1674 * benchtests/slowsin-inputs: Remove.
1675 * benchtests/slowsin.c: Remove.
1676 * benchtests/slowtan-inputs: Remove.
1677 * benchtests/slowtan.c: Remove.
1678 * benchtests/tan-inputs: Add slow benchmark inputs.
1679 * scripts/bench.pl: Parse comments and directives.
1681 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
1683 ($(objpfx)bench-%.c): Remove *-ITER.
1684 * benchtests/bench-modf.c: Remove definition of ITER.
1685 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1686 (main): Loop for DURATION seconds instead of fixed number of
1688 * scripts/bench.pl: Don't expect iterations in parameters.
1690 2013-04-29 Roland McGrath <roland@hack.frob.com>
1692 * io/fchdir.c (__fchdir): Renamed from fchdir.
1693 (fchdir): Define as weak alias.
1695 2013-04-29 Joseph Myers <joseph@codesourcery.com>
1697 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1698 (ERRNO_EDOM): Likewise.
1699 (ERRNO_ERANGE): Likewise.
1700 (noErrnoTests): New variable.
1701 (init_max_error): Set errno to 0.
1702 (test_single_errno): New function.
1703 (test_errno): Likewise.
1704 (check_float_internal): Call test_errno. Set errno to 0.
1705 (check_complex): Refer to errno tests in comment.
1706 (check_int): Call test_errno. Set errno to 0.
1707 (check_long): Likewise.
1708 (check_bool): Likewise.
1709 (check_longlong): Likewise.
1710 (cos_test): Use ERRNO_* flags for errno tests instead of
1712 (expm1_test): Likewise.
1713 (fmod_test): Likewise.
1714 (ilogb_test): Likewise.
1715 (lgamma_test): Likewise.
1716 (pow_test): Likewise.
1717 (remainder_test): Likewise.
1718 (sin_test): Likewise.
1719 (tan_test): Likewise.
1720 (yn_test): Likewise.
1721 (initialize): Set errno to 0.
1722 (main): Print number of errno tests.
1723 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1725 2013-04-29 Andreas Jaeger <aj@suse.de>
1728 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1732 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1733 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1737 * stdlib/random.c (__initstate): Return NULL if
1741 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1742 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1745 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1749 2013-04-29 Joseph Myers <joseph@codesourcery.com>
1751 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1752 of individual tests.
1753 (casin_test): Likewise.
1754 (casinh_test): Likewise.
1756 2013-04-27 Joseph Myers <joseph@codesourcery.com>
1759 * math/s_catan.c (__catan): Handle arguments with large real or
1760 imaginary part separately without squaring.
1761 * math/s_catanf.c (__catanf): Likewise.
1762 * math/s_catanh.c (__catanh): Likewise.
1763 * math/s_catanhf.c (__catanhf): Likewise.
1764 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1766 (__catanhl): Handle arguments with large real or imaginary part
1767 separately without squaring.
1768 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1770 (__catanl): Handle arguments with large real or imaginary part
1771 separately without squaring.
1772 * math/libm-test.inc (catan_test): Add more tests.
1773 (catanh_test): Likewise.
1774 * sysdeps/i386/fpu/libm-test-ulps: Update.
1775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1777 2013-04-27 Andreas Jaeger <aj@suse.de>
1780 * stdlib/stdlib.h: Update guards for qecvt.
1781 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1784 2013-04-27 Allan McRae <allan@archlinux.org>
1786 * sysdeps/i386/fpu/libm-test-ulps: Update.
1788 2013-04-26 Joseph Myers <joseph@codesourcery.com>
1791 * math/s_catan.c: Include <float.h>.
1792 (__catan): Ensure underflow exception occurs for underflowed
1794 * math/s_catanf.c: Include <float.h>.
1795 (__catanf): Ensure underflow exception occurs for underflowed
1797 * math/s_catanh.c: Include <float.h>.
1798 (__catanh): Ensure underflow exception occurs for underflowed
1800 * math/s_catanhf.c: Include <float.h>.
1801 (__catanhf): Ensure underflow exception occurs for underflowed
1803 * math/s_catanhl.c: Include <float.h>.
1804 (__catanhl): Ensure underflow exception occurs for underflowed
1806 * math/s_catanl.c: Include <float.h>.
1807 (__catanl): Ensure underflow exception occurs for underflowed
1809 * math/libm-test.inc (catan_test): Add more tests.
1810 (catanh_test): Likewise.
1813 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1815 * math/s_ccoshf.c (__ccoshf): Likewise.
1816 * math/s_ccoshl.c (__ccoshl): Likewise.
1817 * math/s_csin.c (__csin): Likewise.
1818 * math/s_csinf.c (__csinf): Likewise.
1819 * math/s_csinh.c (__csinh): Likewise.
1820 * math/s_csinhf.c (__csinhf): Likewise.
1821 * math/s_csinhl.c (__csinhl): Likewise.
1822 * math/s_csinl.c (__csinl): Likewise.
1823 * math/libm-test.inc (ccos_test): Add more tests.
1824 (ccosh_test): Likewise.
1825 (csin_test): Likewise.
1826 (csinh_test): Likewise.
1828 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1830 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1831 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1832 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1833 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1834 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1835 powerpc/power5+/fpu folders.
1836 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1839 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1843 2013-04-25 Joseph Myers <joseph@codesourcery.com>
1845 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1846 additions to variable.
1847 [$(config-machine) = x86_64] (modules-names): Likewise.
1848 ($(objpfx)tst-audit3): Remove dependency.
1849 ($(objpfx)tst-audit3.out): Likewise.
1850 ($(objpfx)tst-audit4): Likewise.
1851 ($(objpfx)tst-audit4.out): Likewise.
1852 ($(objpfx)tst-audit5): Likewise.
1853 ($(objpfx)tst-audit5.out): Likewise.
1854 ($(objpfx)tst-audit6): Likewise.
1855 ($(objpfx)tst-audit6.out): Likewise.
1856 ($(objpfx)tst-audit7): Likewise.
1857 ($(objpfx)tst-audit7.out): Likewise.
1858 (tst-audit3-ENV): Remove variable.
1859 (tst-audit4-ENV): Likewise.
1860 (tst-audit5-ENV): Likewise.
1861 (tst-audit6-ENV): Likewise.
1862 (tst-audit7-ENV): Likewise.
1863 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1864 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1865 addition to variable.
1866 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1867 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1868 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1869 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1870 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1871 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1872 tst-audit3, tst-audit4 and tst-audit5.
1873 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1874 tst-audit6 and tst-audit7.
1875 [$(subdir) = elf] (modules-names): Add audit modules for those
1877 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1878 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1879 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1880 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1881 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1882 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1883 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1884 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1885 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1886 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1887 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1888 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1889 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1890 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1891 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1892 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1894 [$(subdir) = elf && $(config-cflags-avx) = yes]
1895 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1896 [$(subdir) = elf && $(config-cflags-avx) = yes]
1897 (CFLAGS-tst-auditmod4a.c): Likewise.
1898 [$(subdir) = elf && $(config-cflags-avx) = yes]
1899 (CFLAGS-tst-auditmod4b.c): Likewise.
1900 [$(subdir) = elf && $(config-cflags-avx) = yes]
1901 (CFLAGS-tst-auditmod6b.c): Likewise.
1902 [$(subdir) = elf && $(config-cflags-avx) = yes]
1903 (CFLAGS-tst-auditmod6c.c): Likewise.
1904 [$(subdir) = elf && $(config-cflags-avx) = yes]
1905 (CFLAGS-tst-auditmod7b.c): Likewise.
1906 * elf/tst-audit3.c: Move to ...
1907 * sysdeps/x86_64/tst-audit3.c: ... here.
1908 * elf/tst-audit4.c: Move to ...
1909 * sysdeps/x86_64/tst-audit4.c: ... here.
1910 * elf/tst-audit5.c: Move to ...
1911 * sysdeps/x86_64/tst-audit5.c: ... here.
1912 * elf/tst-audit6.c: Move to ...
1913 * sysdeps/x86_64/tst-audit6.c: ... here.
1914 * elf/tst-audit7.c: Move to ...
1915 * sysdeps/x86_64/tst-audit7.c: ... here.
1916 * elf/tst-auditmod3a.c: Move to ...
1917 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1918 * elf/tst-auditmod3b.c: Move to ...
1919 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1920 * elf/tst-auditmod4a.c: Move to ...
1921 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1922 * elf/tst-auditmod4b.c: Move to ...
1923 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1924 * elf/tst-auditmod5a.c: Move to ...
1925 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1926 * elf/tst-auditmod5b.c: Move to ...
1927 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1928 * elf/tst-auditmod6a.c: Move to ...
1929 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1930 * elf/tst-auditmod6b.c: Move to ...
1931 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1932 * elf/tst-auditmod6c.c: Move to ...
1933 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1934 * elf/tst-auditmod7a.c: Move to ...
1935 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1936 * elf/tst-auditmod7b.c: Move to ...
1937 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1939 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1942 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1943 define unconditionally.
1944 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1945 define unconditionally.
1946 (INT8_C, INT16_C, etc.): Likewise.
1948 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1950 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1951 __ehdr_start with hidden visibility.
1953 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1955 2013-04-24 Carlos O'Donell <carlos@redhat.com>
1957 * math/libm-test.inc (cos_test): Use accurate hex constants.
1958 (sincost_test): Likewise.
1960 2013-04-24 Joseph Myers <joseph@codesourcery.com>
1962 * math/libm-test.inc (catan_test): Add more tests.
1963 (catanh_test): Likewise.
1965 * math/s_catanf.c (__catanf): Use suffixed floating-point
1967 * math/s_catanhf.c (__catanhf): Likewise.
1968 * math/s_catanhl.c (__catanhl): Likewise.
1969 * math/s_catanl.c (__catanl): Likewise.
1972 * math/s_catan.c (__catan): Calculate imaginary part of result
1973 with log1p not log unless computing log of number close to 0.
1974 * math/s_catanf.c (__catanf): Likewise.
1975 * math/s_catanl.c (__catanl): Likewise.
1976 * math/s_catanh.c (__catanh): Calculate real part of result with
1977 log1p not log unless computing log of number close to 0.
1978 * math/s_catanhf.c (__catanhf): Likewise.
1979 * math/s_catanhl.c (__catanhl): Likewise.
1980 * math/libm-test.inc (catan_test): Add more tests.
1981 (catanh_test): Likewise.
1982 * sysdeps/i386/fpu/libm-test-ulps: Update.
1983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1985 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1987 * benchtests/Makefile: Mention files in which fast and slow
1988 paths of math functions are implemented.
1990 2013-04-23 Roland McGrath <roland@hack.frob.com>
1992 * sysdeps/posix/timespec_get.c: New file.
1994 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1996 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1998 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2000 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2001 powerpc/power5/fpu folders.
2002 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2003 * benchtests/Makefile: Add modf testcase.
2004 * benchtests/bench-modf.c: New file: Benchmark test for mo
2006 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2009 * time/Makefile (tests): Add tst-strptime-whitespace.
2010 * time/strptime_l.c (get_number): Use ISSPACE.
2011 (__strptime_internal): Likewise.
2012 * time/tst-strptime-whitespace.c: New test case.
2014 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2016 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2018 (_nss_files_init): Set it here.
2020 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2022 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2023 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2026 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2028 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2030 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2032 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2035 2013-04-21 David S. Miller <davem@davemloft.net>
2037 * po/ru.po: Update Russion translation from translation project.
2039 2013-04-17 Adam Conrad <adconrad@0c3.net>
2041 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2044 2013-04-17 Carlos O'Donell <carlos@redhat.com>
2046 * configure.in: Remove i386 configure warning. Remove i386 case.
2047 * configure: Regenerate.
2048 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
2049 Add example to error message.
2050 * sysdeps/i386/configure: Regenerate.
2052 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2054 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2056 * benchtests/cos-inputs: New file.
2057 * benchtests/slowcos-inputs: New file.
2058 * benchtests/slowcos.c: New file.
2059 * benchtests/slowtan-inputs: New file.
2060 * benchtests/slowtan.c: New file.
2061 * benchtests/tan-inputs: New file.
2063 2013-04-16 Roland McGrath <roland@hack.frob.com>
2065 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2068 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2070 * benchtests/Makefile: Include cppflags-iterator.mk to add
2071 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2073 * Makefile.in (bench-clean): New target.
2074 * benchtests/Makefile (bench-clean): Likewise.
2076 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2078 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2080 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2082 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2084 2013-04-15 Andreas Schwab <schwab@suse.de>
2086 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2087 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2088 * nscd/pwdcache.c (cache_addpw): Likewise.
2089 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2092 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2094 * benchtests/Makefile (bench): Write all output to
2095 bench-out.tmp together.
2097 2013-04-15 Andreas Schwab <schwab@suse.de>
2099 * nscd/nscd.c (main): Don't fork again after closing files.
2101 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2103 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2105 * benchtests/Rules (bench-deps): Collect dependencies into a
2106 single variable. Add Makefile to dependencies.
2107 ($(objpfx)bench-%.c): Depend on bench-deps.
2109 2013-04-12 Roland McGrath <roland@hack.frob.com>
2110 Xavier Roche <roche+kml2@exalead.com>
2113 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2114 just that it's a file descriptor.
2115 * manual/llio.texi (Synchronizing AIO Operations): Update description
2116 for EBADF error from aio_fsync.
2118 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2120 * Rules (bench): Move target definition...
2121 * benchtests/Makefile: ... here.
2123 2013-04-11 Carlos O'Donell <carlos@redhat.com>
2125 * math/libm-test.inc (cos_test): Fix PI/2 test.
2126 (sincos_test): Likewise.
2127 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2128 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2130 2013-04-11 Andreas Schwab <schwab@suse.de>
2133 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2134 accept exponent character only when digits were seen.
2135 * stdio-common/Makefile (tests): Add bug26.
2136 * stdio-common/bug26.c: New file.
2139 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2142 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2144 * Makeconfig (rtld-prefix): Define built linker prefix.
2145 * Rules (run-bench): Use it.
2146 * math/Makefile (run-regen-ulps): Likewise.
2148 * Rules (bench): Remove eval.
2150 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2151 Roland McGrath <roland@hack.frob.com>
2152 Ondrej Bilka <neleai@seznam.cz>
2155 * time/getdate.c: Include ctype.h and alloca.h.
2156 (__getdate_r): Trim leading and trailing spaces of input.
2157 * time/tst-getdate.c (tests): Add tests with leading and
2160 2013-04-08 Roland McGrath <roland@hack.frob.com>
2163 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2164 when computing value.
2166 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2168 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2169 Use testrun.sh to run libm tests.
2172 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2174 2013-04-06 Marko Myllynen <myllynen@redhat.com>
2177 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2179 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2181 * Makefile.in (regen-ulps): New target.
2182 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2183 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2184 [ifneq (no,$(PERL)] (regen-ulps): New target.
2185 [ifeq (no,$(PERL)] (regen-ulps): New target.
2186 * math/libm-test.inc (ulps_file_name): Define.
2187 (output_dir): New variable.
2188 (options): Add "output-dir" option.
2189 (parse_opt): Handle 'o' case.
2190 (main): If output_dir is non-NULL use it as a prefix
2192 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2194 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2197 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2198 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2199 fail configure if __sync_val_compare_and_swap is not inlined.
2200 * sysdeps/i386/configure: Regenerate.
2201 * configure.in: Build for i686 when configured for i386.
2202 * configure: Regenerate.
2203 * README: Remove i386 reference.
2205 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2207 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2208 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2210 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2212 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2213 (lmsnanval): New variables.
2214 (F): Add conversion tests.
2215 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2216 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2218 * stdio-common/tstdiomisc.c (F): Properly collect individual
2222 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2223 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2224 Instead, use input NaN values or generate a qNaN by arithmetic
2225 operation. Also fix bugs to comply with the standard.
2226 * math/libm-test.inc (remainder_test): Add more tests.
2229 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2231 input NaN values or generate a qNaN by arithmetic operation.
2233 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2236 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2239 2013-04-03 Joseph Myers <joseph@codesourcery.com>
2242 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2244 * math/s_cexpf.c (__cexpf): Likewise.
2245 * math/s_cexpl.c (__cexpl): Likewise.
2246 * math/libm-test.inc (cexp_test): Add more tests.
2248 2013-04-03 Andreas Schwab <schwab@suse.de>
2251 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2252 order arrays from heap if bigger than alloca cutoff.
2254 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2256 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2257 (SNAN_TESTS_double): Refer to GCC PR56831.
2258 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2261 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2263 * Rules (bench): Move bench.out after the run is complete.
2265 * Rules (bench): Echo currently running benchmark.
2267 * benchtests/Makefile (bench): Add atan and slowatan.
2268 * benchtests/atan-inputs: New file.
2269 * benchtests/slowatan-inputs: New file.
2270 * benchtests/slowatan.c: New file.
2272 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2273 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2277 * sysdeps/unix/sysv/linux/kernel-features.h
2278 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2279 __ASSUME_XFS_RESTRICTED_CHOWN.
2280 * sysdeps/unix/sysv/linux/pathconf.c
2281 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2282 Save and restore errno.
2284 2013-04-02 Joseph Myers <joseph@codesourcery.com>
2287 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2288 arguments using __kernel_casinh.
2289 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2290 arguments using __kernel_casinhf.
2291 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2292 arguments using __kernel_casinhl.
2293 * math/libm-test.inc (cacosh_test): Add more tests.
2294 * sysdeps/i386/fpu/libm-test-ulps: Update.
2295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2297 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2299 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2302 * bench/Makefile (bench): Add sin and slowsin.
2303 * benchtests/sin-inputs: New file.
2304 * benchtests/slowsin-inputs: New file.
2305 * benchtests/slowsin.c: New file.
2307 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2308 (bench): Add slowexp and slowpow.
2309 (exp-ITER): Increase iterations.
2310 (pow-ITER): Likewise.
2311 * benchtests/exp-inputs: Change input.
2312 * benchtests/pow-inputs: Likewise.
2313 * benchtests/slowexp-inputs: New file.
2314 * benchtests/slowexp.c: New file.
2315 * benchtests/slowpow-inputs: New file.
2316 * benchtests/slowpow.c: New file.
2318 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2320 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2322 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2323 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2324 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2325 * benchtests/Makefile: Add rint benchtest.
2326 * benchtests/rint-inputs: Input for rint benchtest.
2328 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2330 * Versions.def (libm): Add GLIBC_2.18.
2331 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2332 hidden libm prototypes.
2333 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2334 * math/Makefile (libm-calls): Add s_issignaling.
2335 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2336 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2337 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2339 * math/math.h [__USE_GNU] (issignaling): New macro.
2340 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2341 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2342 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2343 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2344 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2346 * manual/arith.texi (issignaling): New section.
2347 * manual/libm-err-tab.pl (@all_functions): Update comment.
2348 * math/gen-libm-test.pl (parse_args): Apply special handling for
2350 * math/libm-test.inc (print_float, issignaling_test): New
2352 (check_float_internal): Add issignaling checks.
2353 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2355 * sysdeps/powerpc/math-tests.h: New file.
2356 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2358 * math/test-snan.c (TEST_FUNC): Likewise.
2360 2013-03-30 David S. Miller <davem@davemloft.net>
2362 * po/de.po: Update from translation team.
2364 2013-03-30 Joseph Myers <joseph@codesourcery.com>
2367 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2368 imaginary part less than 1.0 and real part less than 0.5
2370 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2371 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2372 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2373 (cacos_test): Add more tests.
2374 (casin_test): Likewise.
2375 (casinh_test): Likewise.
2376 * sysdeps/i386/fpu/libm-test-ulps: Update.
2377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2379 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2381 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2384 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2385 (__pow_mp): Replace ONE and MONE with their values.
2386 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2387 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2388 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2389 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2390 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2391 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2393 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2395 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2396 (__pow_mp): Replace ZERO and MZERO with their values.
2397 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2398 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2399 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2401 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2402 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2405 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2407 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2409 2013-03-28 Roland McGrath <roland@hack.frob.com>
2411 * include/stdlib.h [!SHARED] (__call_tls_dtors):
2412 Declare with __attribute__ ((weak)).
2413 * stdlib/exit.c (__libc_atexit) [!SHARED]:
2414 Call __call_tls_dtors only if it's not NULL.
2416 2013-03-28 Roland McGrath <roland@hack.frob.com>
2418 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
2419 didn't do it already, then set _dl_phdr and _dl_phnum based on the
2420 magic __ehdr_start linker symbol if it's defined.
2421 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
2422 them up here if it was already done.
2424 * elf/dl-support.c (_dl_phdr): Make pointer to const.
2425 (_dl_aux_init): Use const in cast when setting it.
2426 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
2427 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
2428 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
2430 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
2432 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
2433 * csu/libc-tls.c: Nor here.
2434 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
2436 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
2437 (__libc_message): Never call vsyslog.
2439 2013-03-28 Alan Modra <amodra@gmail.com>
2441 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
2443 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
2446 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2449 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
2451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2453 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2456 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2457 Don't add gid passed as argument.
2459 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
2461 2013-03-27 Joseph Myers <joseph@codesourcery.com>
2464 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2465 imaginary part between 1.0 and 1.5 and real part less than 0.5
2467 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2468 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2469 * math/libm-test.inc (cacos_test): Add more tests.
2470 (casin_test): Likewise.
2471 (casinh_test): Likewise.
2472 * sysdeps/i386/fpu/libm-test-ulps: Update.
2473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2475 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2477 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
2481 (__dbl_mp): Likewise.
2482 (add_magnitudes): Likewise.
2483 (sub_magnitudes): Likewise.
2491 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
2493 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
2494 (__dubcos): Likewise.
2495 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
2496 (__ieee754_acos): Likewise.
2497 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2498 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
2500 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2501 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2503 (my_log2): Likewise.
2504 (checkint): Likewise.
2505 * sysdeps/ieee754/dbl-64/e_remainder.c
2506 (__ieee754_remainder): Likewise.
2507 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2508 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2510 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2512 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2513 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
2514 MANTISSA_STORE_T to store computations on mantissa. Use
2515 macros for rounding and division.
2517 (__dbl_mp): Likewise.
2518 (add_magnitudes): Likewise.
2519 (sub_magnitudes): Likewise.
2522 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2523 powers of two in terms of TWOPOW macro.
2524 (mp_no): Make type of mantissa as MANTISSA_T.
2525 [!RADIXI]: Define RADIXI.
2526 [!TWO52]: Define TWO52.
2527 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2529 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2531 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
2532 llroundl symbol when building for PPC32.
2534 2013-03-24 Mark H Weaver <mhw@netris.org>
2536 * manual/arith.texi (Normalization Functions): Fix prototypes for
2537 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2539 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2542 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
2543 high value to check if expl overflow.
2544 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
2545 to check for underflow and overflow.
2546 * math/libm-test.inc: Add exp test.
2548 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
2551 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
2554 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2556 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
2559 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
2561 * math/gen-libm-test.pl (parse_args, special_functions): Properly
2562 wrap blocks consisting of several statements.
2564 * sysdeps/generic/math-tests.h: New file.
2565 * sysdeps/i386/fpu/math-tests.h: Likewise.
2566 * math/test-snan.c: Include it.
2567 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
2569 2013-03-21 Joseph Myers <joseph@codesourcery.com>
2572 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
2573 (__ieee754_j0l): Do not improve calculations using cos of twice
2574 input for inputs above LDBL_MAX / 2.0L.
2575 (__ieee754_y0l): Likewise.
2576 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
2577 (__ieee754_j1l): Do not improve calculations using cos of twice
2578 input for inputs above LDBL_MAX / 2.0L.
2579 (__ieee754_y1l): Likewise.
2580 * math/libm-test.inc (j0_test): Add another test.
2581 (j1_test): Likewise.
2582 (y0_test): Likewise.
2583 (y1_test): Likewise.
2584 * sysdeps/i386/fpu/libm-test-ulps: Update.
2586 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2588 * Rules ($(objpfx)bench-%.c): Include code from a C source
2591 2013-03-21 Joseph Myers <joseph@codesourcery.com>
2594 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2595 imaginary part 1.0 and real part less than 0.5 specially.
2596 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2597 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2598 * math/libm-test.inc (cacos_test): Add more tests.
2599 (casin_test): Likewise.
2600 (casinh_test): Likewise.
2601 * sysdeps/i386/fpu/libm-test-ulps: Update.
2602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2604 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2606 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
2607 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
2609 2013-03-20 Joseph Myers <joseph@codesourcery.com>
2611 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
2612 * config.make.in (config-cflags-sse4): Remove variable.
2613 (config-cflags-avx): Likewise.
2614 (config-cflags-sse2avx): Likewise.
2615 (config-cflags-novzeroupper): Likewise.
2616 (config-asflags-i686): Likewise.
2617 (have-mfma4): Likewise.
2618 (have-as-vis3): Likewise.
2620 * configure.in (MIG): Do not AC_SUBST.
2621 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
2622 (libc_cv_cc_sse4): Do not AC_SUBST.
2623 (libc_cv_cc_avx): Likewise.
2624 (libc_cv_cc_sse2avx): Likewise.
2625 (libc_cv_cc_novzeroupper): Likewise.
2626 (libc_cv_cc_fma4): Likewise.
2627 (libc_cv_as_i686): Likewise.
2628 (libc_cv_sparc_as_vis3): Likewise.
2629 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
2631 (config-asflags-i686): Likewise.
2632 (config-cflags-avx): Likewise.
2633 (config-cflags-sse2avx): Likewise.
2634 (have-mfma4): Likewise.
2635 (config-cflags-novzeroupper): Likewise.
2636 * sysdeps/mach/configure.in (MIG): Likewise.
2637 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
2638 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
2640 (config-cflags-avx): Likewise.
2641 (config-cflags-sse2avx): Likewise.
2642 (have-mfma4): Likewise.
2643 (config-cflags-novzeroupper): Likewise.
2644 * configure: Regenerated.
2645 * sysdeps/i386/configure: Likewise.
2646 * sysdeps/mach/configure: Likewise.
2647 * sysdeps/sparc/configure: Likewise.
2648 * sysdeps/x86_64/configure: Likewise.
2650 2013-03-20 Roland McGrath <roland@hack.frob.com>
2653 * locale/programs/localedef.c (options): Put N_ translation marker
2654 on argument names, not just descriptions.
2656 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2658 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2660 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
2663 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2665 2013-03-19 Roland McGrath <roland@hack.frob.com>
2667 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2668 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2669 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2670 [!BEFORE_ABORT] (before_abort): New function.
2671 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2672 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2673 (writev_for_fatal): New function.
2674 (WRITEV_FOR_FATAL): New macro; call that.
2675 (backtrace_and_maps): New function.
2676 (BEFORE_ABORT): New macro; call that.
2677 (struct str_list): Type removed.
2678 (__libc_message, __libc_fatal): Functions removed.
2679 Include <sysdeps/posix/libc_fatal.c> instead.
2681 2013-03-19 Joseph Myers <joseph@codesourcery.com>
2683 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2685 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2688 2013-03-19 Andreas Schwab <schwab@suse.de>
2690 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2691 * sysdeps/gnu/configure: Regenerate.
2693 * configure.in: Substitute libc_cv_rtlddir.
2694 * configure: Regenerate.
2695 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2696 * Makeconfig (rtlddir, inst_rtlddir): New variables.
2697 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2698 * elf/Makefile (install-others, CFLAGS-interp.c)
2699 (ldso_install, common-ldd-rewrite): Likewise.
2700 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2701 $(inst_slibdir)/$(rtld-installed-name).
2702 * scripts/rellns-sh: Add -p option.
2703 * Makerules (make-shlib-link): Use rellns-sh to get relative name
2706 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2708 * manual/nptl.texi: Renamed to ...
2709 * manual/threads.texi: ... this.
2710 * manual/Makefile (chapters): Update.
2712 2013-03-18 Roland McGrath <roland@hack.frob.com>
2715 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2716 on argument names, not just descriptions.
2717 * malloc/memusagestat.c (options): Likewise.
2718 * nss/getent.c (options): Likewise.
2720 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
2723 * iconv/iconv_prog.c (options): Put N_ translation marker
2724 on argument names, not just descriptions.
2725 * iconv/iconvconfig.c (options): Likewise.
2727 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
2729 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2730 implementation which is faster on all x86_64 architectures.
2731 Tested on AMD, Intel Nehalem, SNB, IVB.
2732 * sysdeps/x86_64/strnlen.S: Likewise.
2734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2735 Remove all multiarch strlen and strnlen versions.
2736 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2737 Remove strlen and strnlen related parts.
2739 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2741 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2743 * sysdeps/x86_64/multiarch/strlen.S: Remove.
2744 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2745 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2746 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2747 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2748 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2750 2013-03-17 Carlos O'Donell <carlos@redhat.com>
2752 * manual/memory.texi (Malloc Tunable Parameters):
2753 Sort parameters alphabetically. Add comments for missing entries.
2755 2013-03-17 David S. Miller <davem@davemloft.net>
2757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2759 2013-03-16 Joseph Myers <joseph@codesourcery.com>
2762 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2763 for arguments at most half maximum finite value.
2764 * math/libm-test.inc (j0_test): Add more tests.
2765 (j1_test): Likewise.
2766 (y0_test): Likewise.
2767 (y1_test): Likewise.
2768 * sysdeps/i386/fpu/libm-test-ulps: Update.
2769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2772 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2773 1 / x and functions P and Q for arguments above 0x1p256L.
2774 (__ieee754_y0l): Likewise.
2775 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2776 (__ieee754_y1l): Likewise.
2777 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2778 (j1_test): Likewise.
2779 (y0_test): Likewise.
2780 (y1_test): Likewise.
2782 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2784 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2787 2013-03-15 Roland McGrath <roland@hack.frob.com>
2789 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2790 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2791 zero since it's initialized to EXEC_PAGESIZE.
2793 * sysdeps/unix/sysv/linux/ldsodefs.h
2794 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2795 * sysdeps/generic/ldsodefs.h: ... here.
2797 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2799 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2801 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2803 * math/test-snan.c: Renamed from
2804 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2805 * math/Makefile (tests): Add test-snan.
2806 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2809 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2810 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2812 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2813 __builtin_nan family of functions.
2814 * math/libm-test.inc (initialize): Initialize qnan_value with
2815 __builtin_nan family of functions.
2816 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2818 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2820 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2821 storage class. Initialize qNaN_var and sNaN_var with
2822 __builtin_nan and __builtin_nans families of functions,
2825 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2826 (sqrt_test): Remove duplicate test with qNaN input.
2827 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2828 (round_test, signbit_test, significand_test): Note missing +/-Inf
2829 as well as qNaN tests.
2831 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2832 qNaN_var. Fix a few strings, too.
2833 * math/libm-test.inc (nan_value): Rename to qnan_value.
2834 * math/gen-libm-test.pl (%beautify): Adjust to that.
2835 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2836 * math/test-misc.c (main): Likewise.
2837 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2838 to __qnan_bytes, and __qnan_union, respectively.
2839 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2841 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2842 and lqnanval, respectively.
2843 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2844 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2845 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2846 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2848 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2849 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2852 * math/test-misc.c (main): Fix copy'n'pastos.
2853 * misc/tst-efgcvt.c (special): Likewise.
2855 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2856 Remove declarations.
2858 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2860 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2861 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2862 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2863 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2865 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2867 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2868 macro to return vdso values correctly in IFUNC implementations.
2869 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2870 Optimization by using IFUNC.
2872 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2873 Richard Henderson <rth@redhat.com>
2874 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2876 * Makefile.in (bench): New target.
2877 * NEWS: Mention the benchmark framework.
2878 * Rules (bench): Likewise.
2879 (binaries-bench): Generate binaries for functions to
2881 * benchtests/Makefile: New makefile for benchmark tests.
2882 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2884 * benchtests/exp-inputs: New input file for EXP function.
2885 * benchtests/pow-inputs: New input file for POW function.
2886 * scripts/bench.pl: New script to generate source files for
2889 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2891 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2892 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2893 computations on mantissa. Use macros for rounding and
2896 (__dbl_mp): Likewise.
2897 (add_magnitudes): Likewise.
2898 (sub_magnitudes): Likewise.
2901 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2902 powers of two in terms of TWOPOW macro.
2903 (mp_no): Make type of mantissa as MANTISSA_T.
2904 [!RADIXI]: Define RADIXI.
2905 [!TWO52]: Define TWO52.
2906 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2908 * manual/nptl.texi (cindex): Modify threads to pthreads.
2910 2013-03-15 Joseph Myers <joseph@codesourcery.com>
2912 * sysdeps/x86_64/preconfigure: Regenerated.
2914 2013-03-14 Joseph Myers <joseph@codesourcery.com>
2917 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2919 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2920 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2922 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2923 * math/libm-test.inc (j0_test): Do not allow one spurious
2924 underflow exception.
2925 (y1_test): Likewise.
2927 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2929 * manual/Makefile (chapters): Add nptl.
2930 * manual/debug.texi (Debugging Support): Add link to Threads
2932 * manual/nptl.texi: New file.
2934 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2936 2013-03-14 Petr Baudis <pasky@ucw.cz>
2938 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2939 for non-NULL pointer before the memory validity test. Pointed
2940 out by Holger Brunck <holger.brunck@keymile.com>.
2942 2013-03-13 Andreas Schwab <schwab@suse.de>
2944 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2947 2013-03-13 Joseph Myers <joseph@codesourcery.com>
2949 * timezone/zic.c: Update from tzcode 2013b.
2951 2013-03-12 Carlos O'Donell <carlos@redhat.com>
2953 * manual/install.texi (Configuring and compiling):
2954 Mention i686 and i586.
2955 * INSTALL: Regenerate.
2957 2013-03-12 Roland McGrath <roland@hack.frob.com>
2959 * sysdeps/init_array/elf-init.c: New file.
2961 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2962 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2964 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2965 __gmon_start__ as global, but as static with a .preinit_array pointer.
2966 * sysdeps/init_array/gmon-start.c: New file. Use that.
2967 * sysdeps/init_array/crti.S: New file, empty except for comments.
2968 * sysdeps/init_array/crtn.S: Likewise.
2970 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
2972 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2975 Remove Prefer_SSE_for_memop.
2976 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2977 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2978 HAS_PREFER_SSE_FOR_MEMOP.
2979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2982 Remove bzero, memset ifunc support.
2983 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2984 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2985 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2986 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2988 2013-03-11 Andreas Schwab <schwab@suse.de>
2991 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2994 (GLIBC_2.16): Remove pthread_atfork.
2996 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2998 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2999 (ptestcases.h): Likewise.
3001 2013-03-08 Roland McGrath <roland@hack.frob.com>
3003 * Makeconfig ($(common-objpfx)config.status): Depend on
3004 sysdeps/*/preconfigure{,.in} too.
3006 2013-03-08 Joseph Myers <joseph@codesourcery.com>
3008 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3009 (__free_hook): Use void * instead of __malloc_ptr_t.
3010 (__malloc_hook): Likewise.
3011 (__realloc_hook): Likewise.
3012 (__memalign_hook): Likewise.
3013 (__after_morecore_hook): Likewise.
3014 * malloc/arena.c (save_malloc_hook): Likewise.
3015 (save_free_hook): Likewise.
3016 * malloc/hooks.c (malloc_hook_ini): Likewise.
3017 (realloc_hook_ini): Likewise.
3018 (memalign_hook_ini): Likewise.
3019 * malloc/malloc.c (malloc_hook_ini): Likewise.
3020 (realloc_hook_ini): Likewise.
3021 (memalign_hook_ini): Likewise.
3022 (__free_hook): Likewise.
3023 (__malloc_hook): Likewise.
3024 (__realloc_hook): Likewise.
3025 (__memalign_hook): Likewise.
3026 (__libc_malloc): Likewise.
3027 (__libc_free): Likewise.
3028 (__libc_realloc): Likewise.
3029 (__libc_memalign): Likewise.
3030 (__libc_valloc): Likewise.
3031 (__libc_pvalloc): Likewise.
3032 (__libc_calloc): Likewise.
3033 (__posix_memalign): Likewise.
3034 * malloc/morecore.c (__sbrk): Likewise.
3035 (__default_morecore): Likewise.
3037 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3039 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3040 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3043 * malloc/malloc.h (__malloc_size_t): Remove macro.
3044 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3046 (old_memalign_hook): Likewise.
3047 (old_realloc_hook): Likewise.
3048 (struct hdr): Likewise.
3050 (mallochook): Likewise.
3051 (memalignhook): Likewise.
3052 (reallochook): Likewise.
3053 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3054 (tr_old_realloc_hook): Likewise.
3055 (tr_old_memalign_hook): Likewise.
3056 (tr_mallochook): Likewise.
3057 (tr_reallochook): Likewise.
3058 (tr_memalignhook): Likewise.
3060 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3062 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3063 default_ldbl_pack and using as default implementation.
3064 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3066 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3067 redundant definition.
3068 (ldbl_insert_mantissa): Likewise.
3069 (ldbl_canonicalize): Likewise.
3070 (ldbl_nearbyint): Likewise.
3071 (ldbl_pack): Rename to ldbl_pack_ppc.
3072 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3073 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3074 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3076 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3079 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3080 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3081 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3083 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3084 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3085 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3087 2013-03-07 Andreas Jaeger <aj@suse.de>
3089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3092 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3094 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3095 Include mpa.h and declare __MPEXP.
3096 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3097 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3098 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3099 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3100 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3101 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3102 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3104 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3105 (__slowpow): Use long double EXPL and LOGL functions to
3107 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3108 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3109 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3110 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3111 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3112 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3115 intermediate variable to calculate exponent.
3117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3121 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3122 [!NO__SQR]: Define __sqr.
3123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3124 and NO__SQR. Remove all code except __mul and __sqr. Include
3125 sysdeps/ieee754/dbl-64/mpa.c.
3126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3129 * posix/Makefile (tests): Add tst-pathconf.
3130 * posix/tst-pathconf.c: New test case.
3131 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3133 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3135 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
3137 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3139 2013-03-06 Andreas Jaeger <aj@suse.de>
3141 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3142 definition via __MAP_ANONYMOUS.
3144 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3145 it's not part of Linux headers.
3147 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3148 (MAP_HUGE_MASK): Define.
3150 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3152 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3153 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3155 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3156 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3158 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3159 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3161 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3163 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3164 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3165 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3166 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3167 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3168 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3170 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3173 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3174 Handle f2fs and efivarfs.
3176 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3179 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3180 (EFIVARFS_MAGIC): Add.
3181 (F2FS_LINK_MAX): Add.
3183 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3185 * stdio-common/vfprintf.c: Replace __builtin_expect with
3188 2013-03-06 Joseph Myers <joseph@codesourcery.com>
3191 * sysdeps/generic/bp-sym.h: Remove file.
3192 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3193 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3194 <bp-sym.h> and <bp-asm.h>.
3195 (__longjmp): Don't use BP_SYM.
3196 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3198 (memcpy): Don't use BP_SYM.
3199 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3200 <bp-sym.h> and <bp-asm.h>.
3201 (memcpy): Don't use BP_SYM.
3202 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3204 (memcpy): Don't use BP_SYM.
3205 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3207 (memset): Don't use BP_SYM.
3208 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3209 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3210 (__bzero): Don't use BP_SYM.
3211 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3212 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3213 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3214 <bp-sym.h> and <bp-asm.h>.
3215 (memcmp): Don't use BP_SYM. Remove comment about bounded
3217 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3218 <bp-sym.h> and <bp-asm.h>.
3219 (memcpy): Don't use BP_SYM.
3220 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3221 <bp-sym.h> and <bp-asm.h>.
3222 (memset): Don't use BP_SYM.
3223 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3224 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3225 (__bzero): Don't use BP_SYM.
3226 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3227 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3228 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3229 <bp-sym.h> and <bp-asm.h>.
3230 (strncmp): Don't use BP_SYM. Remove comment about bounded
3232 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3233 <bp-sym.h> and <bp-asm.h>.
3234 (memcpy): Don't use BP_SYM.
3235 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3236 <bp-sym.h> and <bp-asm.h>.
3237 (memset): Don't use BP_SYM.
3238 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3239 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3240 (__bzero): Don't use BP_SYM.
3241 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3242 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3243 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3244 <bp-sym.h> and <bp-asm.h>.
3245 (__memchr): Don't use BP_SYM.
3246 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3247 <bp-sym.h> and <bp-asm.h>.
3248 (memcmp): Don't use BP_SYM. Remove comment about bounded
3250 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3251 <bp-sym.h> and <bp-asm.h>.
3252 (memcpy): Don't use BP_SYM.
3253 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3254 <bp-sym.h> and <bp-asm.h>.
3255 (__mempcpy): Don't use BP_SYM.
3256 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3257 <bp-sym.h> and <bp-asm.h>.
3258 (__memrchr): Don't use BP_SYM.
3259 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3260 <bp-sym.h> and <bp-asm.h>.
3261 (memset): Don't use BP_SYM.
3262 (__bzero): Likewise.
3263 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3264 <bp-sym.h> and <bp-asm.h>.
3265 (__rawmemchr): Don't use BP_SYM.
3266 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3267 <bp-sym.h> and <bp-asm.h>.
3268 (__STRCMP): Don't use BP_SYM.
3269 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3270 <bp-sym.h> and <bp-asm.h>.
3271 (strchr): Don't use BP_SYM.
3272 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3273 <bp-sym.h> and <bp-asm.h>.
3274 (__strchrnul): Don't use BP_SYM.
3275 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3276 <bp-sym.h> and <bp-asm.h>.
3277 (strlen): Don't use BP_SYM.
3278 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3279 <bp-sym.h> and <bp-asm.h>.
3280 (strncmp): Don't use BP_SYM. Remove comment about bounded
3282 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3283 <bp-sym.h> and <bp-asm.h>.
3284 (__strnlen): Don't use BP_SYM.
3285 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3286 <bp-sym.h> and <bp-asm.h>.
3287 (__GI__setjmp): Don't use BP_SYM.
3288 (_setjmp): Likewise.
3289 (__sigsetjmp): Likewise.
3290 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3291 (L(start_addresses)): Don't use BP_SYM.
3293 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3295 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3296 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3297 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3298 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3299 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3301 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3302 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3303 about bounded pointers.
3304 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3305 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3306 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3308 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3309 about bounded pointers. Remove GKM FIXME comments.
3310 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3311 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3313 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3314 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3315 Remove GKM FIXME comments.
3316 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3317 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3318 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3320 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3321 about bounded pointers. Remove GKM FIXME comment.
3322 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3324 (strncmp): Don't use BP_SYM. Remove comment about bounded
3326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3327 <bp-sym.h> and <bp-asm.h>.
3328 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3330 <bp-sym.h> and <bp-asm.h>.
3331 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3334 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3336 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3339 2013-03-05 David S. Miller <davem@davemloft.net>
3341 * po/es.po: Update from translation team.
3343 2013-03-05 Andreas Jaeger <aj@suse.de>
3345 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3346 <bits/mman-linux.h>.
3347 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3349 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3350 <bits/mman-linux.h> to end of file.
3351 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3353 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3354 <bits/mman-linux.h> to end of file.
3355 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3357 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3358 <bits/mman-linux.h> to end of file.
3360 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3361 (MCL_CURRENT, MCL_FUTURE): Define here.
3363 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3366 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3368 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3370 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3372 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3373 fourth parameter needed for rt_sigprocmask syscall.
3374 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3375 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3376 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3377 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3378 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3379 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3381 2013-03-04 Joseph Myers <joseph@codesourcery.com>
3384 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3385 comment about bounded pointers.
3386 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3387 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3389 2013-03-04 Andreas Jaeger <aj@suse.de>
3391 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3394 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3395 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3396 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3397 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3398 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3399 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3401 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3404 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3405 __ieee754_sqrl instead of __sqrl.
3407 2013-03-01 Joseph Myers <joseph@codesourcery.com>
3409 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3410 * sysdeps/powerpc/fpu_control.h: ... here.
3411 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3412 * sysdeps/powerpc/bits/fenvinline.h: ... here.
3413 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3414 * sysdeps/powerpc/bits/mathinline.h: ... here.
3416 2013-03-01 Roland McGrath <roland@hack.frob.com>
3418 * elf/dl-hwcaps.c (_dl_important_hwcaps):
3419 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
3420 to just [NEED_DL_SYSINFO_DSO].
3421 * elf/dl-support.c: Likewise.
3422 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3423 * elf/rtld.c (dl_main): Likewise.
3424 * elf/setup-vdso.h (setup_vdso): Likewise.
3425 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
3426 * sysdeps/unix/sysv/linux/dl-sysdep.c
3427 (_dl_discover_osversion): Likewise.
3429 2013-03-01 Carlos O'Donell <carlos@redhat.com>
3431 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
3432 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3434 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3436 * NEWS: Mention libm performance improvements and non-x86 PI
3439 * csu/libc-start.c (__pthread_initialize_minimal): Change
3441 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3443 2013-02-28 Joseph Myers <joseph@codesourcery.com>
3446 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
3447 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
3448 <bp-sym.h> and <bp-asm.h>.
3449 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3450 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
3452 (memcpy): Don't use BP_SYM.
3453 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
3455 (__mpn_add_n): Don't use BP_SYM.
3456 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
3457 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
3459 (__mpn_addmul_1): Don't use BP_SYM.
3460 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3461 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
3463 (_setjmp): Don't use BP_SYM.
3464 (__novmx_setjmp): Likewise.
3465 (__GI__setjmp): Likewise.
3466 (__vmx_setjmp): Likewise.
3467 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
3469 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
3470 (__bzero): Don't use BP_SYM.
3471 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3472 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3473 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
3474 <bp-sym.h> and <bp-asm.h>.
3475 (memcpy): Don't use BP_SYM.
3476 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
3477 <bp-sym.h> and <bp-asm.h>.
3478 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3479 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
3480 <bp-sym.h> and <bp-asm.h>.
3481 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3482 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
3484 (__mpn_lshift): Don't use BP_SYM.
3485 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3486 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
3488 (memset): Don't use BP_SYM.
3489 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3490 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3491 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
3493 (__mpn_mul_1): Don't use BP_SYM.
3494 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
3496 <bp-sym.h> and <bp-asm.h>.
3497 (memcmp): Don't use BP_SYM.
3498 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
3499 <bp-sym.h> and <bp-asm.h>.
3500 (memcpy): Don't use BP_SYM.
3501 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
3502 <bp-sym.h> and <bp-asm.h>.
3503 (memset): Don't use BP_SYM.
3504 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
3505 <bp-sym.h> and <bp-asm.h>.
3506 (strncmp): Don't use BP_SYM.
3507 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
3508 <bp-sym.h> and <bp-asm.h>.
3509 (memcpy): Don't use BP_SYM.
3510 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
3511 <bp-sym.h> and <bp-asm.h>.
3512 (memset): Don't use BP_SYM.
3513 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
3514 <bp-sym.h> and <bp-asm.h>.
3515 (__memchr): Don't use BP_SYM.
3516 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
3517 <bp-sym.h> and <bp-asm.h>.
3518 (memcmp): Don't use BP_SYM.
3519 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
3520 <bp-sym.h> and <bp-asm.h>.
3521 (memcpy): Don't use BP_SYM.
3522 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
3523 <bp-sym.h> and <bp-asm.h>.
3524 (__mempcpy): Don't use BP_SYM.
3525 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
3526 <bp-sym.h> and <bp-asm.h>.
3527 (__memrchr): Don't use BP_SYM.
3528 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
3529 <bp-sym.h> and <bp-asm.h>.
3530 (memset): Don't use BP_SYM.
3531 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
3532 <bp-sym.h> and <bp-asm.h>.
3533 (__rawmemchr): Don't use BP_SYM.
3534 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
3535 <bp-sym.h> and <bp-asm.h>.
3536 (__STRCMP): Don't use BP_SYM.
3537 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
3538 <bp-sym.h> and <bp-asm.h>.
3539 (strchr): Don't use BP_SYM.
3540 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
3541 <bp-sym.h> and <bp-asm.h>.
3542 (__strchrnul): Don't use BP_SYM.
3543 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
3544 <bp-sym.h> and <bp-asm.h>.
3545 (strlen): Don't use BP_SYM.
3546 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
3547 <bp-sym.h> and <bp-asm.h>.
3548 (strncmp): Don't use BP_SYM.
3549 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
3550 <bp-sym.h> and <bp-asm.h>.
3551 (__strnlen): Don't use BP_SYM.
3552 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
3554 (__mpn_rshift): Don't use BP_SYM.
3555 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3556 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
3557 <bp-sym.h> and <bp-asm.h>.
3558 (__sigsetjmp): Don't use BP_SYM.
3559 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
3560 (L(start_addresses)): Don't use BP_SYM.
3562 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
3564 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
3565 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3566 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3567 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
3569 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
3570 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3571 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3572 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
3574 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3576 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3577 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
3579 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
3581 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3582 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3583 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
3585 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3587 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
3589 (strncmp): Don't use BP_SYM,
3590 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
3592 (__mpn_sub_n): Don't use BP_SYM.
3593 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3594 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
3596 (__mpn_submul_1): Don't use BP_SYM.
3597 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
3599 <bp-sym.h> and <bp-asm.h>.
3600 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
3602 <bp-sym.h> and <bp-asm.h>.
3603 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3606 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
3609 Use ZK to minimize writes to Z.
3610 (sub_magnitudes): Simplify code a bit.
3611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
3612 Use ZK to minimize writes to Z.
3613 (sub_magnitudes): Simplify code a bit.
3615 2013-02-27 Roland McGrath <roland@hack.frob.com>
3617 * csu/gmon-start.c: Add special exception to license text.
3619 2013-02-27 Richard Henderson <rth@redhat.com>
3621 * scripts/config.guess: Update from config.git.
3622 * scripts/config.sub: Likewise.
3624 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3626 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
3628 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
3630 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
3632 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
3634 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
3636 2013-02-26 Roland McGrath <roland@hack.frob.com>
3638 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
3639 [$(build-shared = yes].
3641 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3643 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
3644 (__mul): Reduce iterations for calculating mantissa.
3646 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3648 (__mpranred): Likewise.
3651 * malloc/memusagestat.c (main): Draw graphs for heap and stack
3652 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3654 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
3656 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3657 Define __attribute__.
3659 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3661 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3663 * posix/regex_internal.h (__attribute): Remove.
3664 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3665 (re_string_context_at): Likewise.
3666 (bitset_not): Use __attribute__ and mark function as possibly
3668 (bitset_merge): Likewise.
3669 (bitset_mask): Likewise.
3670 (re_string_char_size_at): Likewise.
3671 (re_string_wchar_at): Likewise.
3672 (re_string_elem_size_at): Likewise.
3674 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3676 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3680 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3685 (__dbl_mp): Likewise.
3686 (add_magnitudes): Likewise.
3687 (sub_magnitudes): Likewise.
3691 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3694 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3697 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3701 up changes with default code.
3702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3705 2013-02-24 Allan McRae <allan@archlinux.org>
3707 * manual/socket.texi (The Internet Namespace): Order menu items
3708 to match that in the file.
3710 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3711 node listing of the info page menu.
3713 2013-02-21 Joseph Myers <joseph@codesourcery.com>
3716 * sysdeps/i386/bp-asm.h: Remove file.
3717 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3718 (PARMS): Do not use macros from bp-asm.h.
3722 (__mpn_add_n): Do not use BP_SYM
3723 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3725 (PARMS): Do not use macros from bp-asm.h.
3728 (__mpn_addmul_1): Do not use BP_SYM
3729 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3731 (PARMS): Do not use macros from bp-asm.h.
3733 (_setjmp): Likewise. Do not use BP_SYM.
3734 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3736 (PARMS): Do not use macros from bp-asm.h.
3738 (setjmp): Likewise. Do not use BP_SYM.
3739 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3741 (PARMS): Do not use macros from bp-asm.h.
3742 (__frexp): Do not use BP_SYM.
3744 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3746 (PARMS): Do not use macros from bp-asm.h.
3747 (__frexpf): Do not use BP_SYM.
3749 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3751 (PARMS): Do not use macros from bp-asm.h.
3752 (__frexpl): Do not use BP_SYM.
3754 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3756 (PARMS): Do not use macros from bp-asm.h.
3757 (__remquo): Do not use BP_SYM.
3759 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3761 (PARMS): Do not use macros from bp-asm.h.
3762 (__remquof): Do not use BP_SYM.
3763 (remquof): Likewise.
3764 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3766 (PARMS): Do not use macros from bp-asm.h.
3767 (__remquol): Do not use BP_SYM.
3768 (remquol): Likewise.
3769 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3771 (PARMS): Do not use macros from bp-asm.h.
3774 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3775 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3777 (PARMS): Do not use macros from bp-asm.h.
3778 (strlen): Do not use BP_SYM.
3779 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3781 (PARMS): Do not use macros from bp-asm.h.
3785 (__mpn_add_n): Do not use BP_SYM.
3786 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3788 (PARMS): Do not use macros from bp-asm.h.
3791 (__mpn_addmul_1): Do not use BP_SYM.
3792 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3795 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3797 (PARMS): Do not use macros from bp-asm.h.
3800 (__mpn_lshift): Do not use BP_SYM.
3801 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3803 (PARMS): Do not use macros from bp-asm.h.
3807 (memcpy): Likewise. Do not use BP_SYM.
3808 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3809 libc_hidden_def and weak_alias.
3810 (mempcpy): Do not use BP_SYM in weak_alias.
3811 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3813 (PARMS): Do not use macros from bp-asm.h.
3816 [!BZERO_P] (CHR): Likewise.
3817 (memset): Likewise. Do not use BP_SYM.
3818 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3820 (PARMS): Do not use macros from bp-asm.h.
3823 (__mpn_mul_1): Do not use BP_SYM.
3824 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3826 (PARMS): Do not use macros from bp-asm.h.
3829 (__mpn_rshift): Do not use BP_SYM.
3830 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3832 (PARMS): Do not use macros from bp-asm.h.
3835 (strchr): Likewise. Do not use BP_SYM.
3836 (index): Do not use BP_SYM in weak_alias.
3837 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3839 (PARMS): Do not use macros from bp-asm.h.
3842 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3843 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3845 (PARMS): Do not use macros from bp-asm.h.
3846 (strlen): Do not use BP_SYM.
3847 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3849 (PARMS): Do not use macros from bp-asm.h.
3853 (__mpn_sub_n): Do not use BP_SYM.
3854 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3856 (PARMS): Do not use macros from bp-asm.h.
3859 (__mpn_submul_1): Do not use BP_SYM.
3860 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3862 (PARMS): Do not use macros from bp-asm.h.
3866 (__mpn_add_n): Do not use BP_SYM.
3867 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3870 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3872 (PARMS): Do not use macros from bp-asm.h.
3875 (memcmp): Do not use BP_SYM.
3876 (bcmp): Do not use BP_SYM in weak_alias.
3877 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3879 (PARMS): Do not use macros from bp-asm.h.
3883 (memcpy): Likewise. Do not use BP_SYM.
3884 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3886 (PARMS): Do not use macros from bp-asm.h.
3890 (memmove): Likewise. Do not use BP_SYM.
3891 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3893 (PARMS): Do not use macros from bp-asm.h.
3897 (__mempcpy): Likewise. Do not use BP_SYM.
3898 (mempcpy): Do not use BP_SYM in weak_alias.
3899 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3901 (PARMS): Do not use macros from bp-asm.h.
3904 [!BZERO_P] (CHR): Likewise.
3905 (memset): Likewise. Do not use BP_SYM.
3906 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3908 (PARMS): Do not use macros from bp-asm.h.
3910 (strcmp): Do not use BP_SYM.
3911 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3913 (PARMS): Do not use macros from bp-asm.h.
3916 [USE_AS_STRTOK_R] (SAVE): Likewise.
3917 (FUNCTION): Likewise. Do not use BP_SYM.
3918 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3920 (strtok_r): Likewise.
3921 (__GI___strtok_r): Likewise.
3922 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3923 (PARMS): Do not use macros from bp-asm.h.
3926 (__mpn_lshift): Do not use BP_SYM.
3927 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3928 (PARMS): Do not use macros from bp-asm.h.
3931 (__memchr): Do not use BP_SYM.
3932 (memchr): Do not use BP_SYM in weak_alias.
3933 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3934 (PARMS): Do not use macros from bp-asm.h.
3937 (memcmp): Do not use BP_SYM.
3938 (bcmp): Do not use BP_SYM in weak_alias.
3939 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3940 (PARMS): Do not use macros from bp-asm.h.
3943 (__mpn_mul_1): Do not use BP_SYM.
3944 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3946 (PARMS): Do not use macros from bp-asm.h.
3949 (__rawmemchr): Do not use BP_SYM.
3950 (rawmemchr): Do not use BP_SYM in weak_alias.
3951 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3952 (PARMS): Do not use macros from bp-asm.h.
3955 (__mpn_rshift): Do not use BP_SYM.
3956 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3957 (PARMS): Do not use macros from bp-asm.h.
3959 (__sigsetjmp): Likewise. Do not use BP_SYM.
3960 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3961 (_start): Do not use BP_SYM.
3962 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3963 (PARMS): Do not use macros from bp-asm.h.
3966 (__stpcpy): Likewise. Do not use BP_SYM.
3967 (stpcpy): Do not use BP_SYM in weak_alias.
3968 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3970 (PARMS): Do not use macros from bp-asm.h.
3974 (__stpncpy): Likewise. Do not use BP_SYM.
3975 (stpncpy): Do not use BP_SYM in weak_alias.
3976 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3977 (PARMS): Do not use macros from bp-asm.h.
3980 (strchr): Likewise. Do not use BP_SYM.
3981 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3983 (PARMS): Do not use macros from bp-asm.h.
3986 (__strchrnul): Likewise. Do not use BP_SYM.
3987 (strchrnul): Do not use BP_SYM in weak_alias.
3988 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3990 (PARMS): Do not use macros from bp-asm.h.
3992 (strcspn): Do not use BP_SYM.
3993 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3995 (PARMS): Do not use macros from bp-asm.h.
3998 (strpbrk): Likewise. Do not use BP_SYM.
3999 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4001 (PARMS): Do not use macros from bp-asm.h.
4004 (strrchr): Likewise. Do not use BP_SYM.
4005 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4006 (PARMS): Do not use macros from bp-asm.h.
4008 (strspn): Do not use BP_SYM.
4009 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4010 (PARMS): Do not use macros from bp-asm.h.
4014 (FUNCTION): Likewise. Do not use BP_SYM.
4015 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4017 (strtok_r): Likewise.
4018 (__GI___strtok_r): Likewise.
4019 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4020 (PARMS): Do not use macros from bp-asm.h.
4024 (__mpn_sub_n): Do not use BP_SYM.
4025 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4027 (PARMS): Do not use macros from bp-asm.h.
4030 (__mpn_submul_1): Do not use BP_SYM.
4031 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4033 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4035 (PARMS): Do not use macros from bp-asm.h.
4040 (__clone): Do not use BP_SYM.
4041 (clone): Do not use BP_SYM in weak_alias.
4042 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4044 (PARMS): Do not use macros from bp-asm.h.
4046 (__mmap64): Do not use BP_SYM.
4047 (mmap64): Do not use BP_SYM in weak_alias.
4048 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4049 <bp-sym.h> and <bp-asm.h>.
4050 (PARMS): Do not use macros from bp-asm.h.
4051 (__posix_fadvise64_l64): Do not use BP_SYM.
4052 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4053 (PARMS): Do not use macros from bp-asm.h.
4055 (semtimedop): Do not use BP_SYM.
4056 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4059 2013-02-21 Allan McRae <allan@archlinux.org>
4061 * manual/message.texi (Charset conversion in gettext):
4062 Move @end statement to beginning of line.
4064 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4071 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4076 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4078 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4079 tail-call to the resolved function if pltexit isn't needed.
4081 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4084 or Y being zero as being unlikely.
4085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4088 2013-02-20 Carlos O'Donell <carlos@redhat.com>
4090 * manual/nss.texi (System Databases and Name Service Switch):
4091 Remove frobnicate @pxref.
4093 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4095 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4096 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4098 2013-02-20 Petr Machata <pmachata@redhat.com>
4100 * elf/elf.h (R_ARM_TARGET1): New macro.
4101 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4102 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4103 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4104 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4105 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4106 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4107 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4108 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4109 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4110 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4111 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4112 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4113 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4114 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4115 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4116 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4117 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4118 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4119 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4120 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4121 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4122 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4123 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4124 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4125 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4126 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4127 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4128 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4129 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4130 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4131 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4132 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4133 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4134 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4135 (R_ARM_THM_GOT_BREL12): Likewise.
4136 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4137 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4138 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4139 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4140 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4141 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4142 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4143 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4144 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4146 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4148 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4149 __attribute_used__ to __attribute__ ((unused)).
4151 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4153 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4159 2013-02-19 Joseph Myers <joseph@codesourcery.com>
4162 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4164 (ENTER): Remove both macro definitions.
4166 (CHECK_BOUNDS_LOW): Likewise.
4167 (CHECK_BOUNDS_HIGH): Likewise.
4168 (CHECK_BOUNDS_BOTH): Likewise.
4169 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4170 (RETURN_BOUNDED_POINTER): Likewise.
4171 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4172 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4173 (POP_ERRNO_LOCATION_RETURN): Likewise.
4174 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4175 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4176 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4178 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4179 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4180 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4181 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4182 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4183 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4184 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4185 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4186 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4187 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4188 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4189 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4190 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4191 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4193 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4194 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4196 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4197 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4198 * sysdeps/i386/i586/memset.S (memset): Likewise.
4199 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4200 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4201 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4203 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4204 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4205 Change uses of L(2) to L(out).
4206 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4207 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4208 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4209 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4210 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4212 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4213 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4215 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4216 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4217 (RETURN): Do not use macro LEAVE.
4218 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4219 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4220 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4221 * sysdeps/i386/i686/memset.S (memset): Likewise.
4222 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4223 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4224 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4225 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4227 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4228 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4229 L(1_2) and L(1_3) into L(1).
4230 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4231 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4232 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4233 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4234 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4235 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4236 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4237 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4238 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4240 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4241 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4242 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4243 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4244 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4245 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4246 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4247 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4248 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4249 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4250 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4251 * sysdeps/i386/strspn.S (strspn): Likewise.
4252 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4254 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4255 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4256 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4257 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4259 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4260 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4261 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4263 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4265 2013-02-19 Jakub Jelinek <jakub@redhat.com>
4267 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4270 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4272 * math/atest-exp.c (exp_mpn): Remove ROUND.
4273 * math/atest-exp2.c (exp_mpn): Likewise.
4274 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4276 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4277 * stdlib/tst-tls-atexit-lib.c: Likewise.
4278 * stdlib/tst-tls-atexit.c: Likewise.
4280 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4282 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4283 and __attribute_alloc_size__.
4285 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4287 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4288 __attribute_alloc_size__.
4289 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4290 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4292 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4294 * include/programs/xmalloc.h: New file.
4295 * catgets/gencat.c: Include it.
4296 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4297 * elf/pldd.c: Likewise.
4298 * iconv/iconv_charmap.c: Likewise.
4299 * iconv/iconvconfig.c: Likewise.
4300 * iconv/strtab.c: Likewise.
4301 * locale/programs/locale.c: Likewise.
4302 * locale/programs/localedef.h: Likewise.
4303 * locale/programs/simple-hash.c: Likewise.
4304 * nscd/nscd.h: Likewise.
4305 * nss/makedb.c: Likewise.
4306 * sysdeps/generic/ldconfig.h: Likewise.
4308 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4310 * Versions.def: Add GLIBC_2.18.
4311 * include/link.h (struct link_map): New member l_tls_dtor_count.
4312 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4313 (__call_tls_dtors): Likewise.
4314 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4315 __cxa_thread_atexit_impl.
4316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4324 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4332 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4333 (tests): Add test case tst-tls-atexit.
4334 (modules-names): Add shared library for tst-tls-atexit.
4335 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4336 (GLIBC_PRIVATE): Add __call_tls_dtors.
4337 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4339 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4340 * stdlib/tst-tls-atexit.c: New test case.
4341 * stdlib/tst-tls-atexit-lib.c: New test case.
4343 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
4345 * elf/Versions (ld): Add _dl_find_dso_for_object.
4346 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4347 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4348 (dl_open_worker): Use _dl_find_dso_for_object.
4349 * elf/dl-sym.c (do_sym): Likewise.
4350 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4352 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4354 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4355 Syntactic changes only.
4356 (_dl_runtime_profile): Do a tail-call to the resolved function.
4358 2013-02-17 Joseph Myers <joseph@codesourcery.com>
4361 * sysdeps/x86_64/bp-asm.h: Remove file.
4362 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4363 <bp-sym.h> and <bp-asm.h>.
4364 (__clone): Do not use BP_SYM.
4365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4366 <bp-sym.h> and <bp-asm.h>.
4367 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4368 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4370 (_setjmp): Do not use BP_SYM.
4371 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4373 (setjmp): Do not use BP_SYM.
4374 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4376 (mempcpy): Do not use BP_SYM in weak_alias.
4377 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4379 (strchr): Do not use BP_SYM.
4380 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4382 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4383 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4384 (_start): Do not use BP_SYM.
4385 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4387 (strcat): Do not use BP_SYM.
4388 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4390 (STRCMP): Do not use BP_SYM.
4391 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4393 (STRCPY): Do not use BP_SYM.
4394 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4396 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4398 (FUNCTION): Do not use BP_SYM.
4399 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4401 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4403 2013-02-17 Andreas Jaeger <aj@suse.de>
4405 * time/Versions: Sort entries.
4406 * string/Versions: Likewise.
4407 * resolv/Versions: Likewise.
4408 * posix/Versions: Likewise.
4409 * iconv/Versions: Likewise.
4410 * elf/Versions: Likewise.
4411 * wcsmbs/Versions: Likewise.
4413 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4415 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
4416 loop termination condition.
4418 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4419 variable to calculate EZ.
4422 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4423 the lower precision input.
4425 2013-02-15 Joseph Myers <joseph@codesourcery.com>
4428 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
4429 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
4430 (run-via-rtld-prefix): Do not handle %-bp tests.
4431 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
4432 (all-object-suffixes): Remove .ob.
4433 (bppfx): Remove variable.
4434 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
4435 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
4436 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
4437 [$(build-bounded) = yes] (libtype.ob): Likewise.
4438 * Makerules (elide-routines.ob): Remove variable.
4439 (do-tests-clean): Do not handle *-bp.out.
4440 (common-mostlyclean): Do not handle *-bp and *-bp.out.
4441 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
4442 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
4443 (tests): Do not include $(tests-bp.out).
4444 (xtests): Do not include $(xtests-bp.out).
4445 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
4446 [$(build-bounded) = yes] ($(addprefix
4447 $(objpfx),$(binaries-bounded))): Remove rule.
4448 ($(objpfx)%-bp.out): Remove rule.
4449 * config.make.in (build-bounded): Remove variable.
4450 * crypt/Makefile [$(build-bounded) = yes]
4451 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
4452 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
4454 [$(build-bounded) = yes] (install-lib): Likewise.
4455 [$(build-bounded) = yes] (generated): Likewise.
4456 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
4458 * intl/Makefile [$(build-bounded) = yes]
4459 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
4460 * math/Makefile [$(build-bounded) = yes]
4461 ($(tests:%=$(objpfx)%-bp): Likewise.
4462 * misc/Makefile [$(build-bounded) = yes]
4463 ($(objpfx)tst-tsearch-bp): Likewise.
4464 * nptl/Makeconfig (bounded-thread-library): Remove variable.
4465 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
4467 * string/Makefile (o-objects.ob): Remove variable.
4468 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
4469 (CFLAGS-.ob): Remove variable.
4470 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
4471 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
4472 both definitions of variable.
4473 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
4474 (ASFLAGS-.ob): Remove variable.
4476 2013-02-14 Joseph Myers <joseph@codesourcery.com>
4479 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
4480 Remove __BOUNDED_POINTERS__ from condition.
4481 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
4482 * string/bits/string2.h [!__NO_STRING_INLINES &&
4483 !__BOUNDED_POINTERS__]: Likewise.
4484 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
4486 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
4487 Remove conditional code.
4488 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
4489 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
4490 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
4494 * csu/libc-start.c: Do not include <bp-sym.h>.
4495 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
4496 * elf/dl-open.c: Do not include <bp-sym.h>.
4497 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
4498 * math/fegetenv.c: Do not include <bp-sym.h>.
4499 (fegetenv): Do not use BP_SYM in versioned symbols.
4500 * nptl/sysdeps/pthread/bits/libc-lockP.h
4501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
4503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4504 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
4505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4506 (__pthread_mutex_destroy): Likewise.
4507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4508 (__pthread_mutex_lock): Likewise.
4509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4510 (__pthread_mutex_trylock): Likewise.
4511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4512 (__pthread_mutex_unlock): Likewise.
4513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4514 (__pthread_mutexattr_init): Likewise.
4515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4516 (__pthread_mutexattr_destroy): Likewise.
4517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4518 (__pthread_mutexattr_settype): Likewise.
4519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4520 (__pthread_rwlock_init): Likewise.
4521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4522 (__pthread_rwlock_destroy): Likewise.
4523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4524 (__pthread_rwlock_rdlock): Likewise.
4525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4526 (__pthread_rwlock_tryrdlock): Likewise.
4527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4528 (__pthread_rwlock_wrlock): Likewise.
4529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4530 (__pthread_rwlock_trywrlock): Likewise.
4531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4532 (__pthread_rwlock_unlock): Likewise.
4533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4534 (__pthread_key_create): Likewise.
4535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4536 (__pthread_setspecific): Likewise.
4537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4538 (__pthread_getspecific): Likewise.
4539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
4541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4542 (_pthread_cleanup_push_defer): Likewise.
4543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4544 (_pthread_cleanup_pop_restore): Likewise.
4545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4546 (pthread_setcancelstate): Likewise.
4547 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
4549 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
4550 (memchr): Do not use BP_SYM in weak_alias.
4551 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
4552 (fegetenv): Do not use BP_SYM in versioned symbols.
4553 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
4554 (fesetenv): Do not use BP_SYM in versioned symbols.
4555 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4556 (feupdateenv): Do not use BP_SYM in versioned symbols.
4557 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4558 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4559 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
4560 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
4561 (open64): Do not use BP_SYM in weak_alias.
4562 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
4563 (fegetenv): Do not use BP_SYM in versioned symbols.
4564 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
4565 (fesetenv): Do not use BP_SYM in versioned symbols.
4566 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4567 (feupdateenv): Do not use BP_SYM in versioned symbols.
4568 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
4569 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
4570 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
4571 (feraiseexcept): Do not use BP_SYM in versioned symbols.
4572 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4573 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4574 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
4576 (__libc_start_main): Do not use BP_SYM.
4578 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
4581 redundant return line.
4585 (sub_magnitudes): Likewise.
4591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
4595 (sub_magnitudes): Likewise.
4602 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
4604 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4605 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
4608 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
4609 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
4610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
4611 of __mul for squares.
4612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
4614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
4616 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
4617 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4619 2013-02-13 Joseph Myers <joseph@codesourcery.com>
4622 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
4624 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
4625 prototype or function definition. Rename ubp_* variables and
4626 parameters. Remove argv definitions conditional on
4627 [__BOUNDED_POINTERS__].
4628 * debug/backtrace.c (__backtrace): Do not use __unbounded.
4629 * elf/dl-runtime.c (_dl_fixup): Likewise.
4630 * include/set-hooks.h (RUN_HOOK): Likewise.
4631 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
4633 * string/strcpy.c (strcpy): Do not use __unbounded.
4634 * sysdeps/generic/frame.h (struct layout): Likewise.
4635 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
4636 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
4637 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
4638 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
4639 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
4640 (__backtrace): Likewise.
4641 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
4643 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4644 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4645 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4647 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4648 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4649 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4650 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4651 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4652 Do not use __unbounded.
4653 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4654 Rename __unboundedrlimits parameter to rlimits in prototype.
4655 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4656 Do not use __unbounded.
4657 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4659 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4660 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4661 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4662 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4663 __ptrvalue or __unbounded.
4664 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4665 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4667 (__new_msgctl): Do not use __ptrvalue.
4668 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4670 (__libc_msgrcv): Do not use __ptrvalue.
4671 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4672 startup_info): Do not use __unbounded.
4673 (__libc_start_main): Likewise. Rename ubp_* variables and
4674 parameters. Remove argv definitions conditional on
4675 [__BOUNDED_POINTERS__].
4676 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4678 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4680 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4682 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4684 (__new_shmctl): Do not use __ptrvalue.
4685 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4686 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4688 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4689 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4690 (__libc_sigaction): Likewise.
4691 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4692 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4694 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4696 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
4698 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
4700 * string/mempcpy.c: Implement by calling memcpy.
4702 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4704 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4709 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4710 values in the mantissa.
4712 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4713 minimize writes to Z.
4714 (sub_magnitudes): Simplify code a bit.
4716 2013-02-12 Roland McGrath <roland@hack.frob.com>
4718 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4719 from the message. The linker prefixes all warnings with that already.
4721 2013-02-12 Andreas Schwab <schwab@suse.de>
4724 * posix/regexec.c (extend_buffers): Add parameter min_len.
4725 (check_matching): Pass minimum needed length.
4726 (clean_state_log_if_needed): Likewise.
4727 (get_subexp): Likewise.
4728 * posix/Makefile (tests): Add bug-regex34.
4729 (bug-regex34-ENV): Define.
4730 * posix/bug-regex34.c: New file.
4733 * posix/regcomp.c (parse_bracket_exp): When looking up collating
4734 elements compare against the byte sequence of it, not its name.
4735 * posix/Makefile (tests): Add bug-regex35.
4736 (bug-regex35-ENV): Define.
4737 * posix/bug-regex35.c: New file.
4739 2013-02-11 Tom de Vries <tom@codesourcery.com>
4741 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
4743 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4744 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4745 (CHECK_EOL): Add undef.
4747 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
4749 * bits/stdlib-bsearch.h: New file.
4750 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
4751 * stdlib/stdlib.h: Likewise.
4753 2013-02-11 Roland McGrath <roland@hack.frob.com>
4755 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4756 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4758 * manual/search.texi (Array Search Function): Add missing const in
4760 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4761 declaration to use rlim_t.
4762 (Basic Scheduling Functions): Remove erroneous const from
4763 sched_getparam prototype. Remove erroneous * from
4764 sched_get_priority_max and sched_get_priority_min prototypes.
4765 (Resource Usage): Fix summary @comment on vtimes to refer to
4766 sys/vtimes.h rather than vtimes.h.
4767 Add missing *s in vtimes prototype.
4768 (Limits on Resources): Fix ulimit prototype to return long int.
4769 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4770 prototypes to use long int rather than double.
4771 (BSD Random): Fix initstate and setstate to use char *, not void *.
4772 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4773 prototype to make second argument 'struct aiocb64 *const[]'.
4774 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4775 (Status of AIO Operations): Remove erroneous const in aio_return and
4776 aio_return64 prototypes.
4777 (Synchronizing I/O): Fix sync prototype to return void.
4778 * manual/startup.texi (Suboptions): Remove an erroneous const in
4779 getsubopt prototype.
4780 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4781 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4782 use size_t rather than int.
4783 (Scanning All Users): Likewise for getpwent_r.
4784 (Setting Groups): Add missing const to setgroups prototype.
4785 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4786 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4787 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4788 'const void *' rather than 'const char *'.
4789 (Host Address Functions): Likewise for inet_ntop.
4790 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4791 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4792 ssize_t for return value.
4793 (Sending Data): Likewise for send, sendto, sendmsg.
4794 (Socket Option Functions): Add a missing const in setsockopt prototype.
4795 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4796 use wchar_t for the argument.
4797 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4798 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4800 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4801 double/float/long double for second argument.
4802 Fix return types of significand, significandf, significandl.
4803 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4804 argument in fchmod prototype.
4805 (File Owner): Use uid_t and gid_t in fchown prototype.
4806 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4807 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4808 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4809 use 'const struct dirent **' as argument types to CMP function pointer
4811 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4812 (File Times): Fix summary magic @comment for struct utimbuf and utime
4813 to refer to utime.h, not time.h.
4814 * manual/string.texi (Argz Functions): Add missing const in
4815 argz_extract and argz_next prototypes.
4816 (Finding Tokens in a String): Likewise for basename.
4817 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4818 (Copying and Concatenation): Fix typo in wmemmove prototype.
4819 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4820 (Signal Stack): Remove erroneous const in sigstack prototype.
4821 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4823 (Simple Calendar Time): Likewise for stime.
4824 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4826 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4827 say sys/sysctl.h instead.
4828 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4829 and vsyslog prototypes.
4831 2013-02-11 Tom de Vries <tom@codesourcery.com>
4833 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4836 2013-02-11 Roland McGrath <roland@hack.frob.com>
4838 * misc/sys/mman.h: Fix typo in mremap comment.
4840 2013-02-08 Roland McGrath <roland@hack.frob.com>
4842 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4843 the '\0' terminator.
4845 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4848 * debug/segfault.c: Don't include <bp-checks.h>.
4849 * sysdeps/generic/bp-checks.h: Remove file.
4850 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4851 (__GETDENTS): Don't use CHECK_N.
4852 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4853 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4854 (__getgroups): Don't use CHECK_N.
4855 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4856 (setgroups): Don't use CHECK_N.
4857 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4858 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4859 (__libc_msgrcv): Don't use CHECK_N.
4860 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4861 (__libc_msgsnd): Don't use CHECK_N.
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4864 (__libc_pread): Don't use CHECK_N.
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4866 include <bp-checks.h>.
4867 (__libc_pread64): Don't use CHECK_N.
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4869 include <bp-checks.h>.
4870 (__libc_pwrite): Don't use CHECK_N.
4871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4872 include <bp-checks.h>.
4873 (__libc_pwrite64): Don't use CHECK_N.
4874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4876 (__libc_pread): Don't use CHECK_N.
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4878 include <bp-checks.h>.
4879 (__libc_pread64): Don't use CHECK_N.
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4881 include <bp-checks.h>.
4882 (__libc_pwrite): Don't use CHECK_N.
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4884 include <bp-checks.h>.
4885 (__libc_pwrite64): Don't use CHECK_N.
4886 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4887 (do_pread): Don't use CHECK_N.
4888 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4889 (do_pread64): Don't use CHECK_N.
4890 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4891 (do_pwrite): Don't use CHECK_N.
4892 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4893 (do_pwrite64): Don't use CHECK_N.
4894 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4895 (__libc_readv): Don't use CHECK_N.
4896 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4897 (semop): Don't use CHECK_N.
4898 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4900 (semtimedop): Don't use CHECK_N.
4901 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4902 (__libc_pread): Don't use CHECK_N.
4903 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4905 (__libc_pread64): Don't use CHECK_N.
4906 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4908 (__libc_pwrite): Don't use CHECK_N.
4909 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4911 (__libc_pwrite64): Don't use CHECK_N.
4912 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4914 (__libc_msgrcv): Don't use CHECK_N.
4915 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4916 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4917 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4918 (__libc_writev): Don't use CHECK_N.
4920 2013-02-08 Roland McGrath <roland@hack.frob.com>
4922 * string/strcpy.c: Removed unused variable.
4924 * Makeconfig (+sysdep-includes): Define with := rather than =.
4925 Use an existing include/ subdir of each sysdeps dir before it.
4927 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4929 * nscd/connection.c (register_traced_file): Comment function.
4930 [HAVE_INOTIFY] (union __inev): Define.
4931 [HAVE_INOTIFY] (inotify_check_files): New function.
4932 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4933 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4935 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4937 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4939 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4940 loaded if not already and that a failure is permanent.
4942 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4945 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4946 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4948 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4951 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4952 (CHECK_1_NULL_OK): Likewise.
4953 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4954 (__fxstat): Do not use CHECK_1.
4955 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4957 (___fxstat64): Do not use CHECK_1.
4958 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4960 (__fxstatat): Do not use CHECK_1.
4961 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4963 (__fxstatat64): Do not use CHECK_1.
4964 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4966 (__fxstat): Do not use CHECK_1.
4967 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4969 (__fxstatat): Do not use CHECK_1.
4970 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4972 (__getresgid): Do not use CHECK_1.
4973 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4975 (__getresuid): Do not use CHECK_1.
4976 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4978 (__lxstat): Do not use CHECK_1.
4979 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4981 (__old_msgctl): Do not use CHECK_1.
4982 (__new_msgctl): Likewise.
4983 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4985 (__new_setrlimit): Do not use CHECK_1.
4986 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4988 (__old_shmctl): Do not use CHECK_1.
4989 (__new_shmctl): Likewise.
4990 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4992 (__xstat): Do not use CHECK_1.
4993 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4994 (__lxstat): Do not use CHECK_1.
4995 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4997 (___lxstat64): Do not use CHECK_1.
4998 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4999 (__old_msgctl): Do not use CHECK_1.
5000 (__new_msgctl): Likewise.
5001 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5003 (__gettimeofday): Do not use CHECK_1.
5004 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5005 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5006 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5008 (__gettimeofday): Do not use CHECK_1.
5009 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5010 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5011 (__new_shmctl): Do not use CHECK_1.
5012 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5014 (do_sigtimedwait): Do not use CHECK_1.
5015 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5017 (do_sigwaitinfo): Do not use CHECK_1.
5018 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5020 (msgctl): Do not use CHECK_1.
5021 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5023 (shmctl): Do not use CHECK_1.
5024 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5025 (ustat): Do not use CHECK_1.
5026 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5028 (__fxstat): Do not use CHECK_1.
5029 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5031 (__fxstatat): Do not use CHECK_1.
5032 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5034 (__lxstat): Do not use CHECK_1.
5035 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5037 (__xstat): Do not use CHECK_1.
5038 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5039 (__xstat): Do not use CHECK_1.
5040 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5041 (___xstat64): Do not use CHECK_1.
5044 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5046 (CHECK_BOUNDS_HIGH): Likewise.
5047 * string/strcpy.c: Do not include <bp-checks.h>.
5048 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5050 2013-02-07 Roland McGrath <roland@hack.frob.com>
5052 * nscd/nscd-client.h (__nscd_drop_map_ref):
5053 Add __attribute__ ((unused)).
5054 * nis/nss-nisplus.h (niserr2nss): Likewise.
5056 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5057 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5059 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5060 Remove inline keyword.
5061 * include/rounding-mode.h (round_away): Likewise.
5062 * libio/wfileops.c (adjust_wide_data): Likewise.
5063 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5064 (__m128i_strloadu_tolower): Likewise.
5065 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5066 (__m128i_strloadu_tolower): Likewise.
5067 * time/mktime.c (ydhms_diff): Likewise.
5068 * locale/elem-hash.h (elem_hash): Likewise.
5069 * locale/setlocale.c (setdata): Likewise.
5070 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5071 (re_string_wchar_at): Likewise.
5072 (bitset_not, bitset_merge, bitset_mask): Likewise.
5073 [!(__GNUC__ > 3)] (inline): Remove macro.
5074 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5075 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5076 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5077 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5078 * string/memcmp.c (memcmp_bytes): Likewise.
5079 * locale/programs/locarchive.c (compute_hashval): Likewise.
5080 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5081 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5082 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5083 * nss/getent.c (print_rpc, print_protocols): Likewise.
5084 (print_passwd, print_group, print_aliases): Likewise.
5085 * nis/nss-nisplus.h (niserr2nss): Likewise.
5086 * nscd/connections.c (restart_p): Likewise.
5087 Change return type to bool.
5089 2013-02-05 Roland McGrath <roland@hack.frob.com>
5091 * Makeconfig (all-Depend-files): Add existing
5092 $(sorted-subdirs:=/Depend) files.
5093 (all-subdirs): Remove nss.
5094 * sysdeps/unix/inet/Subdirs: Add it here instead.
5095 * hesiod/Depend: New file.
5097 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5098 instead of calling alloca.
5100 * io/lseek.c (__lseek): Rename to __libc_lseek.
5101 Define __lseek as an alias.
5103 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5105 2013-02-04 Carlos O'Donell <carlos@redhat.com>
5107 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5108 else clause and remove check for non-standard endianness.
5110 2013-02-04 David S. Miller <davem@davemloft.net>
5112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5114 2013-02-04 Joseph Myers <joseph@codesourcery.com>
5117 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5118 (__ubp_memchr): Remove prototype.
5119 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5120 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5121 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5122 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5123 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5125 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5126 (__ubp_memchr): Likewise.
5127 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5128 (__ubp_memchr): Likewise.
5129 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5130 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5131 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5132 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5134 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5135 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5136 (__getcwd): Do not use CHECK_STRING.
5137 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5139 (__real_chown): Do not use CHECK_STRING.
5140 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5142 (fchownat): Do not use CHECK_STRING.
5143 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5145 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5147 (__lchown): Do not use CHECK_STRING.
5148 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5149 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5150 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5151 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5153 include <bp-checks.h>.
5154 (truncate64): Do not use CHECK_STRING.
5155 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5157 (__real_chown): Do not use CHECK_STRING.
5158 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5160 (__lchown): Do not use CHECK_STRING.
5161 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5163 (__chown): Do not use CHECK_STRING.
5164 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5166 (truncate64): Do not use CHECK_STRING.
5167 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5169 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5170 (__xmknod): Do not use CHECK_STRING.
5171 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5173 (__xmknodat): Do not use CHECK_STRING.
5174 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5175 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5177 2013-02-04 Andreas Schwab <schwab@suse.de>
5180 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5181 * include/netdb.h: Likewise for h_errno.
5182 * elf/tst-stackguard1.c: Include <tls.h>.
5184 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5186 * elf/link.h (struct link_map): Extend the l_addr comment.
5187 * include/link.h (struct link_map): Likewise.
5189 2013-02-01 Joseph Myers <joseph@codesourcery.com>
5192 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5193 (BOUNDED_1): Remove macro.
5194 * debug/backtrace.c: Don't include <bp-checks.h>.
5195 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5196 (__backtrace): Likewise.
5197 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5199 (__backtrace): Don't use BOUNDED_1.
5200 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5202 (__backtrace): Don't use BOUNDED_1.
5203 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5204 (__backtrace): Don't use BOUNDED_1.
5205 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5206 (shmat): Don't use BOUNDED_N.
5208 2013-01-31 Joseph Myers <joseph@codesourcery.com>
5211 * sysdeps/generic/bp-start.h: Remove file.
5212 * csu/libc-start.c: Don't include <bp-start.h>.
5213 (LIBC_START_MAIN): Set up __environ directly instead of using
5214 INIT_ARGV_and_ENVIRON.
5215 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5219 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5221 (CHECK_FCNTL): Likewise.
5222 (CHECK_N_PAGES): Likewise.
5225 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5227 (CHECK_SIGSET_NULL_OK): Likewise.
5228 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5230 (sigpending): Don't use CHECK_SIGSET.
5231 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5233 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5234 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5236 (do_sigsuspend): Don't use CHECK_SIGSET.
5237 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5239 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5240 (do_sigwait): Don't use CHECK_SIGSET.
5241 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5243 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5244 include <bp-checks.h>.
5245 (sigpending): Don't use CHECK_SIGSET.
5246 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5247 include <bp-checks.h>.
5248 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5249 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5251 (sigpending): Don't use CHECK_SIGSET.
5252 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5254 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5257 * sysdeps/generic/bp-semctl.h: Remove file.
5258 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5259 <bp-checks.h> and <bp-semctl.h>.
5260 (__old_semctl): Don't use CHECK_SEMCTL.
5261 (__new_semctl): Likewise.
5262 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5264 (__old_semctl): Don't use CHECK_SEMCTL.
5265 (__new_semctl): Likewise.
5266 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5267 <bp-checks.h> and <bp-semctl.h>.
5268 (__old_semctl): Don't use CHECK_SEMCTL.
5269 (__new_semctl): Likewise.
5270 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5271 <bp-checks.h> and <bp-semctl.h>.
5272 (semctl): Don't use CHECK_SEMCTL.
5275 * Makerules (elide-bp-thunks): Remove variable.
5276 (elide-routines.oS): Don't use $(elide-bp-thunks).
5277 (elide-routines.os): Likewise.
5278 (elide-routines.o): Likewise.
5279 (elide-routines.op): Likewise.
5280 (elide-routines.og): Likewise.
5281 (objects): Don't use $(bp-thunks).
5282 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5284 (common-generated): Do not add s-proto-bp.d.
5285 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5288 Do not generate makefile rules for bounded-pointer thunks.
5289 * sysdeps/generic/bp-thunks.h: Remove file.
5290 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5291 * sysdeps/unix/s-proto-bp.S: Likewise.
5294 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5295 parts of result separately when argument is not close to line from
5296 -i to i and one part of argument is small.
5297 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5298 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5299 * math/libm-test.inc (cacos_test): Add more tests.
5300 (casin_test): Likewise.
5301 (casinh_test): Likewise.
5302 * sysdeps/i386/fpu/libm-test-ulps: Update.
5303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5305 2013-01-31 David S. Miller <davem@davemloft.net>
5307 * po/de.po: Update from translation team.
5309 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5311 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5313 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5315 * configure.in (_AC_PROG_CC_C89): New definition.
5316 * configure: Regenerate.
5318 * configure.in (AC_PROG_CPP): New definition.
5319 * configure: Regenerate.
5321 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5323 * debug/tst-backtrace.h: New file.
5324 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5325 (ret): Remove variable.
5327 (FAIL): Remove macro.
5328 (NO_INLINE): Likewise.
5329 (fn1): Use match function instead of strstr.
5330 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5331 (ret): Remove variable.
5333 (FAIL): Remove macro.
5334 (NO_INLINE): Likewise.
5335 (fn): Use match function instead of strstr.
5336 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5337 (ret): Remove variable.
5339 (FAIL): Remove macro.
5340 (NO_INLINE): Likewise.
5341 (handle_signal): Use match function instead of strstr.
5342 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5343 (ret): Remove variable.
5345 (FAIL): Remove macro.
5346 (NO_INLINE): Likewise.
5347 (handle_signal): Use match function instead of strstr.
5349 2013-01-23 Roland McGrath <roland@hack.frob.com>
5351 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5353 2013-01-23 David S. Miller <davem@davemloft.net>
5355 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5356 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5357 argument of CAS if possible.
5358 * sysdeps/sparc/sparc64/bits/atomic.h
5359 (__arch_compare_and_exchange_val_32_acq): Likewise.
5360 (__arch_compare_and_exchange_val_64_acq): Likewise.
5362 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5364 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5365 * sysdeps/posix/ulimit.c: ... this.
5367 * sysdeps/unix/bsd/ulimit.c: Remove file.
5369 2013-01-23 Adam Conrad <adconrad@0c3.net>
5371 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5372 (LDFLAGS-tst-array5): Likewise.
5374 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5377 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5378 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5379 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5380 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5382 2013-01-21 David S. Miller <davem@davemloft.net>
5384 * sysdeps/sparc/backtrace.c: New file.
5385 * sysdeps/sparc/sparc32/backtrace.h: New file.
5386 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5387 * sysdeps/sparc/sparc64/backtrace.h: New file.
5388 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5389 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5392 2013-01-21 Andreas Schwab <schwab@suse.de>
5395 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5398 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5404 2013-01-18 Joseph Myers <joseph@codesourcery.com>
5405 Mark Mitchell <mark@codesourcery.com>
5406 Tom de Vries <tom@codesourcery.com>
5407 Paul Pluzhnikov <ppluzhnikov@google.com>
5409 * debug/tst-backtrace2.c: New file.
5410 * debug/tst-backtrace3.c: Likewise.
5411 * debug/tst-backtrace4.c: Likewise.
5412 * debug/tst-backtrace5.c: Likewise.
5413 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5414 (CFLAGS-tst-backtrace3.c): Likewise.
5415 (CFLAGS-tst-backtrace4.c): Likewise.
5416 (CFLAGS-tst-backtrace5.c): Likewise.
5417 (LDFLAGS-tst-backtrace2): Likewise.
5418 (LDFLAGS-tst-backtrace3): Likewise.
5419 (LDFLAGS-tst-backtrace4): Likewise.
5420 (LDFLAGS-tst-backtrace5): Likewise.
5421 (tests): Add new tests tst-backtrace2, tst-backtrace3,
5422 tst-backtrace4 and tst-backtrace5.
5424 2013-01-18 Anton Blanchard <anton@samba.org>
5425 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5427 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
5428 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
5429 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
5430 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
5431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5432 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
5433 "+r" and remove output regs list as redundant. Add explicit inline
5434 asm to specify register of return val to work around compiler codegen
5435 bug. Remove (int) cast on return value. Add return type parameter to
5436 use in macro so that this macro does not truncate return value for
5438 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
5439 pass to INTERNAL_VSYSCALL_NCS.
5440 (INLINE_VSYSCALL): Add 'long int' as return type to
5441 INTERNAL_VSYSCALL_NCS macro invocation.
5442 (INTERNAL_VSYSCALL): Add 'long int' as return type to
5443 INTERNAL_VSYSCALL_NCS macro invocation.
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5446 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5449 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
5450 Fix application of SIMD FP exception mask.
5452 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
5453 mp_no from a power of two.
5454 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
5455 __mpexp_twomm1. Use __pow_mp.
5457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
5460 2013-01-17 David S. Miller <davem@davemloft.net>
5462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5464 2013-01-17 Joseph Myers <joseph@codesourcery.com>
5467 * include/complex.h: Condition contents on [!_COMPLEX_H].
5468 (__kernel_casinhf): New prototype.
5469 (__kernel_casinh): Likewise.
5470 (__kernel_casinhl): Likewise.
5471 * math/Makefile (libm_calls): Add k_casinh.
5472 * math/k_casinh.c: New file.
5473 * math/k_casinhf.c: Likewise.
5474 * math/k_casinhl.c: Likewise.
5475 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
5476 finite nonzero arguments.
5477 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
5478 finite nonzero arguments.
5479 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
5480 finite nonzero arguments.
5481 * math/s_casinh.c: Do not include <float.h>.
5482 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
5483 * math/s_casinhf.c: Do not include <float.h>.
5484 (__casinhf): Move code for finite nonzero arguments to
5486 * math/s_casinhl.c: Do not include <float.h>.
5487 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
5489 (__casinhl): Move code for finite nonzero arguments to
5491 * math/libm-test.inc (cacos_test): Add more tests.
5492 * sysdeps/i386/fpu/libm-test-ulps: Update.
5493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5495 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
5497 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
5498 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
5499 [!HAVE_MREMAP]: Remove [defined linux] case.
5500 * malloc/arena.c: Do not include <malloc-sysdep.h>.
5502 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5504 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
5506 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
5508 * elf/elf.h (R_386_SIZE32): New relocation.
5509 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
5511 (elf_machine_rela): Likewise.
5512 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5513 R_X86_64_SIZE64 and R_X86_64_SIZE32.
5515 2013-01-17 Joseph Myers <joseph@codesourcery.com>
5517 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
5518 (FP_FAST_FMA): Do not define.
5519 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
5520 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
5521 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
5522 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
5523 !_SOFT_FLOAT]: Likewise.
5524 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
5525 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
5527 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
5528 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
5529 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
5530 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
5531 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
5532 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
5535 2013-01-16 Andreas Schwab <schwab@suse.de>
5538 * include/stdlib.h (__mktemp): Add declaration.
5539 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
5540 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
5542 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5544 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
5546 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5547 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
5548 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
5550 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
5551 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
5553 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
5555 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
5556 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
5557 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
5559 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
5560 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
5562 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5564 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
5566 2013-01-15 David S. Miller <davem@davemloft.net>
5568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5569 trunc{,f} to libm-sysdep_routes.
5570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
5573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
5574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
5576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
5578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
5579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
5580 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
5581 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
5582 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
5583 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
5584 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
5585 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
5587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5588 nearbyint{,f} to libm-sysdep_routes.
5589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
5592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
5594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
5596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
5598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
5599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
5600 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
5602 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
5603 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
5605 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
5606 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
5607 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
5609 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5610 libc_feholdexcept and libc_fesetenv.
5612 2013-01-15 Mike Frysinger <vapier@gentoo.org>
5614 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
5616 2013-01-14 David S. Miller <davem@davemloft.net>
5618 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
5619 (SPARC_ASM_VIS2_IFUNC): Likewise.
5620 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
5621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
5622 use of 'siam' instruction.
5623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
5625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
5627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
5629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
5635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
5637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
5639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
5641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
5642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
5643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
5644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5651 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5656 routines to libm-sysdep_routines.
5657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5660 fdim/fdimf to libm-sysdep_routines.
5661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5669 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5670 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5671 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5672 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5674 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5676 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5679 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5684 local variable MPTWO.
5685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5688 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5690 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5693 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5695 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5697 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5699 * manual/pattern.texi (glob_t): Document gl_flags.
5700 (glob64_t): Likewise.
5702 2013-01-11 David S. Miller <davem@davemloft.net>
5704 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5705 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5706 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
5707 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5708 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5709 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5710 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5711 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5712 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5713 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5714 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5715 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5716 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5718 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5719 sparc V9 rather than using V8 code.
5720 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5721 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5723 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5725 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5728 2013-01-11 Roland McGrath <roland@hack.frob.com>
5730 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5731 not in the main loop.
5732 * configure: Regenerated.
5734 2013-01-11 Joseph Myers <joseph@codesourcery.com>
5736 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5737 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5739 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
5740 [!__GLIBC_HAVE_LONG_LONG] case.
5741 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5742 condition to just #else.
5743 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5744 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5745 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5746 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5748 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5749 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5750 #elif condition to just #else.
5751 * sysdeps/unix/sysv/linux/sys/sysmacros.h
5752 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5753 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5754 #elif condition to just #else.
5756 2013-01-11 Steve Ellcey <sellcey@mips.com>
5758 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5759 (EF_MIPS_ARCH_64): Fix value.
5760 (EF_MIPS_ARCH_32R2): New.
5761 (EF_MIPS_ARCH_64R2): New.
5763 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5765 * Makeconfig (+link-pie-before-libc): New.
5766 (+link-pie-after-libc): Likewise.
5767 (+link-pie-tests): Likewise.
5768 (+link-pie): Rewritten.
5769 (link-before-libc): Remove $(config-LDFLAGS).
5770 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5771 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5772 (config-LDFLAGS): Renamed to ...
5773 (rtld-LDFLAGS): This.
5774 (rtld-tests-LDFLAGS): New macro.
5775 (link-libc-rpath-link): Likewise.
5776 (link-libc-tests-rpath-link): Likewise.
5777 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5778 (link-libc): Prepand $(link-libc-rpath-link).
5779 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5780 (test-program-prefix): New macro.
5781 (test-via-rtld-prefix): Likewise.
5782 (test-program-cmd): Likewise.
5783 (host-test-program-cmd): Likewise.
5784 * Makefile ($(common-objpfx)testrun.sh): Replace
5785 $(run-program-prefix) with $(test-program-prefix).
5786 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5788 ($(common-objpfx)shlib.lds): Likewise.
5789 (build-module-helper): Likewise.
5790 ($(common-objpfx)format.lds): Likewise.
5791 * Rules (binaries-pie-tests): New.
5792 (binaries-pie-notests): Likewise.
5793 (binaries-pie): Rewritten.
5794 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5795 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5796 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5797 (make-test-out): Replace $(host-built-program-cmd) with
5798 $(host-test-program-cmd).
5799 * config.make.in (build-hardcoded-path-in-tests): New variable.
5800 * configure.in (--enable-hardcoded-path-in-tests): New configure
5802 (hardcoded_path_in_tests): New AC_SUBST.
5803 * configure: Regenerated.
5804 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5805 $(built-program-cmd) with $(test-program-cmd).
5806 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5807 (test_program_cmd): This.
5808 * elf/Makefile ($(objpfx)order.out): Run test with
5809 $(test-program-prefix).
5810 ($(objpfx)order2.out): Likewise.
5811 ($(objpfx)tst-initorder.out): Likewise.
5812 ($(objpfx)tst-initorder2.out): Likewise.
5813 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5814 $(test-program-cmd).
5815 ($(objpfx)tst-array1-static.out): Likewise.
5816 ($(objpfx)tst-array2.out): Likewise.
5817 ($(objpfx)tst-array3.out): Likewise.
5818 ($(objpfx)tst-array4.out): Likewise.
5819 ($(objpfx)tst-array5.out): Likewise.
5820 ($(objpfx)tst-array5-static.out): Likewise.
5821 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5822 $(test-program-cmd).
5823 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5824 $(run-program-prefix) with $(test-program-prefix).
5825 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5826 (test_program_prefix): This.
5827 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5828 $(run-program-prefix) with $(test-program-prefix).
5829 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5830 (test_program_prefix): This.
5831 * iconvdata/tst-tables.sh: Likewise.
5832 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5833 $(run-program-prefix) with $(test-program-prefix).
5834 ($(objpfx)tst-translit.out): Likewise.
5835 ($(objpfx)tst-gettext2.out): Likewise.
5836 ($(objpfx)tst-gettext4.out): Likewise.
5837 ($(objpfx)tst-gettext6.out): Likewise.
5838 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5839 (test_program_prefix): This.
5840 * intl/tst-gettext2.sh: Likewise.
5841 * intl/tst-gettext4.sh Likewise.
5842 * intl/tst-gettext6.sh: Likewise.
5843 * intl/tst-translit.sh: Likewise.
5844 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5845 with $(test-program-cmd).
5846 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5847 $(run-program-prefix) with $(test-program-prefix).
5848 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5849 (test_program_prefix): This.
5850 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5851 $(run-program-prefix) with $(test-program-prefix).
5852 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5853 (test_program_prefix): This.
5854 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5855 * posix/Makefile ($(objpfx)globtest.out): Replace
5856 $(run-via-rtld-prefix) and $(test-wrapper) with
5857 $(test-program-prefix) and $(test-via-rtld-prefix).
5858 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5859 $(test-program-prefix).
5860 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5861 $(host-test-program-cmd).
5862 (tst-spawn-ARGS): Likewise.
5863 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5864 $(test-program-prefix).
5865 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5866 (test_via_rtld_prefix): This.
5867 (test_wrapper): Renamed to ...
5868 (test_program_prefix): This.
5869 (run_program_prefix): Replaced by test_program_prefix.
5870 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5871 (test_program_prefix): This.
5872 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5873 with $(host-test-program-cmd).
5874 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5875 $(run-program-prefix) with $(test-program-prefix).
5876 ($(objpfx)tst-printf.out): Likewise.
5877 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5878 $(test-program-cmd).
5879 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5880 (test_program_prefix): This.
5881 * stdio-common/tst-unbputc.sh: Likewise.
5882 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5883 $(run-program-prefix) with $(test-program-prefix).
5884 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5885 (test_program_prefix): This.
5886 * string/Makefile ($(objpfx)tst-svc.out): Replace
5887 $(built-program-cmd) with $(test-program-cmd).
5889 2013-01-11 Andreas Jaeger <aj@suse.de>
5892 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5893 value. Sync with Linux 3.7.
5895 2013-01-10 David S. Miller <davem@davemloft.net>
5897 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5898 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5899 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5901 2013-01-10 Roland McGrath <roland@hack.frob.com>
5903 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5905 * configure: Regenerated.
5907 2013-01-10 David S. Miller <davem@davemloft.net>
5909 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5910 sparc V9 rather than using V8 code.
5911 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5912 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5914 2013-01-10 Roland McGrath <roland@hack.frob.com>
5916 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5917 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5918 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5919 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5920 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5921 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5922 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5923 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5924 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5925 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5926 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5927 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5928 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5929 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5930 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5931 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5932 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5933 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5934 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5935 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5936 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5937 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5938 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5939 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5940 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5941 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5942 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5944 2013-01-10 David S. Miller <davem@davemloft.net>
5946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5948 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5950 * posix/Makefile (tests-static): New variable.
5951 (tests): Add $(tests-static).
5952 (tst-exec-static-ARGS): New variable.
5953 (tst-spawn-static-ARGS): Likewise.
5954 * posix/tst-exec-static.c: New file.
5955 * posix/tst-spawn-static.c: Likewise.
5956 * posix/tst-exec.c: Support run directly.
5957 * posix/tst-spawn.c: Likewise.
5959 2013-01-10 Joseph Myers <joseph@codesourcery.com>
5961 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5963 * math/bits/mathcalls.h (llrint): Likewise.
5964 (llround): Likewise.
5965 * stdlib/stdlib.h (struct drand48_data): Likewise.
5966 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5967 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5968 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5970 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5972 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5973 (elf_greg_t): Likewise.
5974 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5975 (__jmp_buf): Likewise.
5976 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5978 (llrint): Likewise, for all definitions.
5979 (llrintl): Likewise.
5981 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5982 Remove [__GNUC__] condition.
5983 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5984 condition to just [__USE_ISOC99].
5985 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5987 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5990 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5991 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5993 (_POSIX_V6_ILP32_OFF32): Likewise.
5994 (_XBS5_ILP32_OFF32): Likewise.
5995 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5996 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5998 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6000 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6003 doubles __mpexp_twomm1. Adjust usage.
6004 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6007 2013-01-10 Andreas Schwab <schwab@suse.de>
6010 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6011 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6013 2013-01-09 David S. Miller <davem@davemloft.net>
6016 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6017 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6018 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6019 TCP_FASTOPEN): Define.
6020 (tcp_repair_opt): New structure.
6021 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6023 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6024 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6025 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6026 (tcp_cookie_transactions): New structure.
6028 2013-01-09 Anton Blanchard <anton@samba.org>
6030 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6031 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6032 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6033 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6035 2013-01-09 Joseph Myers <joseph@codesourcery.com>
6037 * include/features.h (__USE_ANSI): Remove.
6039 2013-01-09 Roland McGrath <roland@hack.frob.com>
6041 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6043 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6045 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6047 * sysdeps/s390/fpu/libm-test-ulps: Update.
6049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6051 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6056 (__mp_dbl): Likewise.
6057 (__dbl_mp): Likewise.
6058 (add_magnitudes): Likewise.
6059 (sub_magnitudes): Likewise.
6065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6070 (__mp_dbl): Likewise.
6071 (__dbl_mp): Likewise.
6072 (add_magnitudes): Likewise.
6073 (sub_magnitudes): Likewise.
6079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6084 (__mp_dbl): Likewise.
6085 (__dbl_mp): Likewise.
6086 (add_magnitudes): Likewise.
6087 (sub_magnitudes): Likewise.
6094 2013-01-08 Joseph Myers <joseph@codesourcery.com>
6096 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6097 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6098 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6099 2 && __USE_EXTERN_INLINES]: Likewise.
6101 2013-01-08 Andreas Jaeger <aj@suse.de>
6104 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6106 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6107 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6109 2013-01-07 Anton Blanchard <anton@samba.org>
6111 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6112 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6113 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6114 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6115 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6116 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6117 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6118 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6120 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6121 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6122 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6123 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6124 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6125 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6126 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6127 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6128 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6129 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6130 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6131 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6132 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6133 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6134 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6135 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6136 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6137 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6138 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6139 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6140 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6141 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6143 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6144 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6145 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6146 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6147 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6148 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6149 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6150 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6151 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6152 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6153 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6155 2013-01-07 Joseph Myers <joseph@codesourcery.com>
6157 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6158 (__MALLOC_PMT): Likewise.
6159 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6160 [__GNUC__], only on [_LIBC].
6161 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6162 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6163 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6164 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6165 forward declaration.
6166 (realloc_hook_ini): Likewise.
6167 (memalign_hook_ini): Likewise.
6168 (__libc_memalign): Do not use __MALLOC_PMT in variable
6170 (__libc_valloc): Likewise.
6171 (__libc_pvalloc): Likewise.
6172 (__libc_calloc): Likewise.
6173 (__posix_memalign): Likewise.
6176 * math/s_casinh.c: Include <float.h>.
6177 (__casinh): Do not do computation with squaring and square root
6178 for large arguments.
6179 * math/s_casinhf.c: Include <float.h>.
6180 (__casinhf): Do not do computation with squaring and square root
6181 for large arguments.
6182 * math/s_casinhl.c: Include <float.h>.
6183 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6184 (__casinhl): Do not do computation with squaring and square root
6185 for large arguments.
6186 * math/libm-test.inc (casin_test): Add more tests.
6187 (casinh_test): Likewise.
6188 * sysdeps/i386/fpu/libm-test-ulps: Update.
6189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6191 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6193 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6194 (__x86_64_raw_data_cache_size): Likewise.
6195 (__x86_64_data_cache_size_half): Likewise.
6196 (__x86_64_raw_data_cache_size_half): Likewise.
6197 (__x86_64_shared_cache_size): Likewise.
6198 (__x86_64_raw_shared_cache_size): Likewise.
6199 (__x86_64_shared_cache_size_half): Likewise.
6200 (__x86_64_raw_shared_cache_size_half): Likewise.
6201 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6203 (__x86_data_cache_size): This.
6204 (__x86_64_raw_data_cache_size): Renamed to ...
6205 (__x86_raw_data_cache_size): This.
6206 (__x86_64_data_cache_size_half): Renamed to ...
6207 (__x86_data_cache_size_half): This.
6208 (__x86_64_raw_data_cache_size_half): Renamed to ...
6209 (__x86_raw_data_cache_size_half): This.
6210 (__x86_64_shared_cache_size): Renamed to ...
6211 (__x86_shared_cache_size): This.
6212 (__x86_64_raw_shared_cache_size): Renamed to ...
6213 (__x86_raw_shared_cache_size): This.
6214 (__x86_64_shared_cache_size_half): Renamed to ...
6215 (__x86_shared_cache_size_half): This.
6216 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6217 (__x86_raw_shared_cache_size_half): This.
6218 * sysdeps/x86_64/memcpy.S: Updated.
6219 * sysdeps/x86_64/memset.S: Likewise.
6220 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6221 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6222 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6224 2013-01-04 David S. Miller <davem@davemloft.net>
6226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6228 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6230 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6231 1 to avoid redefinition warning.
6232 (__USE_GNU): Don't define.
6233 (init_signaling_nan): Protoize.
6235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6237 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6239 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6241 (__cpymn): Likewise.
6242 (norm): Remove commented code.
6244 (__mp_dbl): Likewise.
6246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6247 (__cpymn): Likewise.
6248 (norm): Remove commented code.
6250 (__mp_dbl): Likewise.
6253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6254 mp_no value for 1.0 and 2.0.
6255 (norm): Use RADIXI instead of radixi.d.
6257 (__mul): Use 0.0 instead of zero.d.
6258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6259 mp_no value for 1.0 and 2.0.
6260 (norm): Use RADIXI instead of radixi.d.
6262 (__mul): Use 0.0 instead of zero.d.
6264 2013-01-04 Joseph Myers <joseph@codesourcery.com>
6267 * math/s_casinh.c (__casinh): Reduce finite argument to first
6268 quadrant then set signs of results at the end.
6269 * math/s_casinhf.c (__casinhf): Likewise.
6270 * math/s_casinhl.c (__casinhl): Likewise.
6271 * math/libm-test.inc (casin_test): Add more tests.
6272 (casinh_test): Likewise.
6273 * sysdeps/i386/fpu/libm-test-ulps: Update.
6274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6276 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6278 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6280 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6282 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6285 (__mp_dbl): Likewise.
6288 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6289 and adjust the header comment.
6291 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6292 variable name from declaration.
6294 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6297 Initialize COMMON_CPUID_INDEX_7 element.
6298 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6299 (CPUID_RTM): Likewise.
6300 (HAS_RTM): Likewise.
6301 (COMMON_CPUID_INDEX_7): New enum.
6303 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6306 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6307 size is zero, record memory as freed.
6309 2013-01-03 Andreas Jaeger <aj@suse.de>
6311 * po/ia.po: Add new Interlingua translation.
6313 2012-01-03 Allan McRae <allan@archlinux.org>
6315 * locale/programs/localedef.c: Fix description of '--posix' flag.
6317 2013-01-02 Joseph Myers <joseph@codesourcery.com>
6319 * NEWS: Update dates in second copyright notice.
6320 * README: Update copyright dates in example.
6321 * manual/libc.texinfo: Update copyright dates.
6322 * scripts/test-installation.pl: Update copyright date in --version
6325 * hurd/ctty-input.c: Fix copyright notice formatting.
6326 * hurd/ctty-output.c: Likewise.
6327 * hurd/dtable.c: Likewise.
6328 * hurd/hurd-raise.c: Likewise.
6329 * hurd/hurdprio.c: Likewise.
6330 * hurd/msgportdemux.c: Likewise.
6331 * misc/sys/file.h: Likewise.
6332 * misc/sys/ioctl.h: Likewise.
6333 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6334 * sysdeps/mach/hurd/chdir.c: Likewise.
6335 * sysdeps/mach/hurd/fchdir.c: Likewise.
6336 * sysdeps/mach/hurd/rename.c: Likewise.
6337 * sysdeps/mach/hurd/rmdir.c: Likewise.
6338 * sysdeps/mach/hurd/seekdir.c: Likewise.
6339 * sysdeps/mach/hurd/setsid.c: Likewise.
6340 * sysdeps/posix/wait3.c: Likewise.
6342 * All files with FSF copyright notices: Update copyright dates
6343 using scripts/update-copyrights.
6344 * intl/plural.c: Regenerated.
6345 * locale/programs/charmap-kw.h: Likewise.
6346 * locale/programs/locfile-kw.h: Likewise.
6348 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6350 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6353 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6354 calculation loop and add branch prediction.
6356 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6357 check access beyond bounds of m1np.
6359 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6361 (__inv): Remove local variable MPTWO to use the global
6363 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6364 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6366 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6367 MP3HALFS static const.
6369 2013-01-01 David S. Miller <davem@davemloft.net>
6371 * po/ca.po: Update from translation team.
6373 2013-01-01 Joseph Myers <joseph@codesourcery.com>
6375 * scripts/update-copyrights: New file.
6376 * Makeconfig: Reformat copyright notice.
6377 * ctype/ctype.h: Likewise.
6378 * debug/swprintf_chk.c: Likewise.
6379 * elf/dl-cache.c: Likewise.
6380 * elf/dl-debug.c: Likewise.
6381 * elf/dl-object.c: Likewise.
6382 * grp/initgroups.c: Likewise.
6383 * hurd/Makefile: Likewise.
6384 * hurd/hurd/signal.h: Likewise.
6385 * hurd/hurdfault.c: Likewise.
6386 * hurd/hurdioctl.c: Likewise.
6387 * hurd/hurdlookup.c: Likewise.
6388 * hurd/intr-msg.c: Likewise.
6389 * iconv/gconv_open.c: Likewise.
6390 * libio/swprintf.c: Likewise.
6391 * locale/lc-ctype.c: Likewise.
6392 * locale/nl_langinfo.c: Likewise.
6393 * mach/Machrules: Likewise.
6394 * mach/Makefile: Likewise.
6395 * malloc/obstack.h: Likewise.
6396 * manual/Makefile: Likewise.
6397 * manual/tsort.awk: Likewise.
6398 * misc/bits/stab.def: Likewise.
6399 * nis/nis_print_group_entry.c: Likewise.
6400 * nis/nis_table.c: Likewise.
6401 * nis/nss_compat/compat-pwd.c: Likewise.
6402 * nis/nss_compat/compat-spwd.c: Likewise.
6403 * po/Makefile: Likewise.
6404 * posix/fnmatch.c: Likewise.
6405 * posix/regex.h: Likewise.
6406 * resolv/Makefile: Likewise.
6407 * resolv/nss_dns/dns-network.c: Likewise.
6408 * resolv/res_hconf.c: Likewise.
6409 * scripts/gen-sorted.awk: Likewise.
6410 * soft-fp/soft-fp.h: Likewise.
6411 * stdio-common/printf.h: Likewise.
6412 * stdlib/monetary.h: Likewise.
6413 * stdlib/random.c: Likewise.
6414 * stdlib/random_r.c: Likewise.
6415 * sysdeps/generic/Makefile: Likewise.
6416 * sysdeps/gnu/Makefile: Likewise.
6417 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6418 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6425 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6427 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6428 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6438 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
6445 * sysdeps/mach/hurd/errnos.awk: Likewise.
6446 * sysdeps/mach/hurd/fork.c: Likewise.
6447 * sysdeps/mach/hurd/getcwd.c: Likewise.
6448 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
6449 * sysdeps/mach/hurd/mmap.c: Likewise.
6450 * sysdeps/mach/hurd/utimes.c: Likewise.
6451 * sysdeps/mach/hurd/xmknod.c: Likewise.
6452 * sysdeps/posix/profil.c: Likewise.
6453 * sysdeps/posix/readdir_r.c: Likewise.
6454 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6455 * sysdeps/powerpc/bits/setjmp.h: Likewise.
6456 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
6457 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6459 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6460 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6461 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6463 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6464 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6465 * sysdeps/pthread/lio_listio.c: Likewise.
6466 * sysdeps/sparc/dl-procinfo.h: Likewise.
6467 * sysdeps/unix/i386/sysdep.S: Likewise.
6468 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6469 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
6470 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6471 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
6472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6473 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6474 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6475 * sysdeps/unix/sysv/linux/speed.c: Likewise.
6476 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6477 * sysdeps/wordsize-32/divdi3.c: Likewise.
6478 * time/sys/time.h: Likewise.
6479 * wcsmbs/Makefile: Likewise.
6481 2013-01-01 David S. Miller <davem@davemloft.net>
6483 * po/fr.po: Update from translation team.
6485 * catgets/gencat.c: Update copyright year.
6486 * csu/version.c: Likewise.
6487 * debug/catchsegv.sh: Likewise.
6488 * debug/pcprofiledump.c: Likewise.
6489 * debug/xtrace.sh: Likewise.
6490 * elf/ldconfig.c: Likewise.
6491 * elf/ldd.bash.in: Likewise.
6492 * elf/pldd.c: Likewise.
6493 * elf/sotruss.ksh: Likewise.
6494 * elf/sprof.c: Likewise.
6495 * iconv/iconv_prog.c: Likewise.
6496 * iconv/iconvconfig.c: Likewise.
6497 * locale/programs/locale.c: Likewise.
6498 * locale/programs/localedef.c: Likewise.
6499 * login/programs/pt_chown.c: Likewise.
6500 * malloc/memusage.sh: Likewise.
6501 * malloc/memusagestat.c: Likewise.
6502 * malloc/mtrace.pl: Likewise.
6503 * nscd/nscd.c: Likewise.
6504 * nss/getent.c: Likewise.
6505 * nss/makedb.c: Likewise.
6506 * posix/getconf.c: Likewise.
6508 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6510 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
6513 2012-12-30 Mike Frysinger <vapier@gentoo.org>
6515 * math/bits/mathcalls.h (modf): Use __nonnull.
6517 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6519 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
6520 (split): Use macro CN instead of the bare value.
6521 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
6523 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
6524 instead of the bare value.
6527 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6529 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
6531 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6533 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
6535 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6536 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6537 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
6538 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6540 2012-12-28 Andreas Jaeger <aj@suse.de>
6542 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
6543 values are from Linux 3.7.
6545 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
6546 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
6548 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6550 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
6553 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
6555 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
6556 variables with preprocessor constants.
6557 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6558 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6559 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6561 2012-12-27 Bruno Haible <bruno@clisp.org>
6564 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
6567 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
6570 and use variable directly.
6571 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
6573 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6575 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
6576 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6578 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6580 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
6581 include directive. Remove local variable MPONE.
6582 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
6583 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
6584 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6586 2012-12-25 David S. Miller <davem@davemloft.net>
6588 * version.h (RELEASE): Set to "development".
6589 (VERSION): Set to "2.17.90".
6590 * NEWS: Add 2.18 section.
6592 2012-12-21 David S. Miller <davem@davemloft.net>
6594 * po/hr.po: Update from translation team.
6596 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6598 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
6600 2012-12-19 Steve Ellcey <sellcey@mips.com>
6602 * NEWS: Mention new memcpy for MIPS.
6604 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6606 * manual/contrib.texi (Contributors): Spelling correction.
6608 2012-12-15 David S. Miller <davem@davemloft.net>
6610 * po/ru.po: Update from translation team.
6612 2012-12-13 David S. Miller <davem@davemloft.net>
6614 * NEWS: Mention IFUNC testsuite enhancements.
6616 * po/pl.po: Update from translation team.
6617 * po/bg.po: Likewise.
6619 * manual/contrib.texi (Contributors): Update entries for Hongjiu
6620 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
6622 2012-12-11 David S. Miller <davem@davemloft.net>
6624 * po/sv.po: Update from translation team.
6626 * po/vi.po: Update from translation team.
6628 * po/cs.po: Update from translation team.
6630 * po/de.po: Update from translation team.
6631 * po/eo.po: Likewise.
6632 * po/nl.po: Likewise.
6634 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6637 * manual/argp.texi (Argp Helper Functions): Move node to follow
6641 * manual/conf.texi (Limits on File System Capacity): Mention if
6642 terminating null is included in the max size.
6644 2012-12-10 Andreas Jaeger <aj@suse.de>
6646 * po/cs.po: Update from translation team.
6648 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6650 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6651 void pointer and cast to uintptr_t.
6652 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6654 * sysdeps/s390/s390-64/memcpy.S: Likewise.
6655 * sysdeps/s390/s390-64/memset.S: Likewise.
6657 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
6660 * menual/message.texi (Message Translation): Fix typos.
6661 (Helper programs for gettext): Likewise.
6663 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
6666 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6669 2012-12-07 David S. Miller <davem@davemloft.net>
6671 * po/libc.pot: Update.
6673 2012-12-07 Richard Henderson <rth@redhat.com>
6676 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6677 normal/normal case to before the switch.
6678 (_FP_DIV): Likewise.
6680 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
6681 Mike Frysinger <vapier@gentoo.org>
6683 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6684 check for __NR_fadvise64_64.
6686 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
6688 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6689 0, not just to plain "0" as a statement.
6690 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6693 2012-12-06 Joseph Myers <joseph@codesourcery.com>
6695 * NEWS: Use sourceware.org in Bugzilla URL.
6697 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6700 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6702 * stdio-common/tst-put-error.c (do_test): Add newline to the
6703 padded test to ensure flush.
6705 2012-12-05 Jeff Law <law@redhat.com>
6707 * sunrpc/etc.rpc (fedfs_admin): Add entry.
6709 2012-12-05 Joseph Myers <joseph@codesourcery.com>
6711 * README: Don't refer to ports add-on as distributed separately.
6712 Mention AArch64 in list of systems supported in the ports add-on.
6714 * LICENSES: Add more non-FSF copyright and license notices.
6716 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6719 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6721 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6722 10000 as width of padded output.
6724 2012-12-04 Joseph Myers <joseph@codesourcery.com>
6726 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6728 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6729 variable LX with __attribute__ ((unused)).
6730 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6732 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6733 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6734 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6735 with __attribute__ ((unused)).
6737 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
6739 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6741 2012-12-04 Joseph Myers <joseph@codesourcery.com>
6743 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6744 (CFLAGS-nldbl-acos.c): New variable.
6745 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6746 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6747 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6748 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6749 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6750 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6751 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6752 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6753 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6754 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6755 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6756 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6757 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6758 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6759 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6760 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6761 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6762 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6763 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6764 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6765 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6766 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6767 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6768 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6769 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6770 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6771 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6772 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6773 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6774 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6775 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6776 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6777 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6778 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6779 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6780 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6781 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6782 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6783 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6784 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6785 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6786 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6787 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6788 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6789 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6790 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6791 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6792 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6793 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6794 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6795 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6796 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6797 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6798 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6799 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6800 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6801 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6802 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6803 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6804 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6805 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6806 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6807 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6808 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6809 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6810 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6811 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6812 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6813 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6814 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6815 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6816 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6817 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6818 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6819 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6820 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6821 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6822 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6823 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6824 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6825 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6826 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6827 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6828 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6829 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6830 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6831 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6832 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6833 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6834 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6835 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6836 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6837 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6838 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6839 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6840 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6841 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6844 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6847 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6848 whole low double instead of just low 47 bits when splitting values
6851 2012-12-03 Allan McRae <allan@archlinux.org>
6853 * manual/stdio.texi (Predefined Printf Handlers): Remove
6854 @hsep and @vsep usage.
6856 2012-12-03 Mike Frysinger <vapier@gentoo.org>
6858 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6859 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6861 2012-12-03 Jeff Law <law@redhat.com>
6863 * time/sys/time.h (settimeofday): Do not mark TV argument
6866 2012-12-01 Mike Frysinger <vapier@gentoo.org>
6868 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6869 when currently writing and seek to current position when not.
6870 * libio/Makefile (tests): Remove bug-fclose1.
6871 * libio/bug-fclose1.c: Delete.
6873 2012-12-01 Joseph Myers <joseph@codesourcery.com>
6875 * manual/arith.texi (feenableexcept): Fix typo.
6876 (fedisableexcept): Likewise.
6878 2012-11-30 Roland McGrath <roland@hack.frob.com>
6880 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6881 second, differently-typed declaration, rather than a cast.
6883 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6885 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6886 * include/rpc/svc.h: ... here.
6888 2012-11-30 Aurelien Jarno <aurel32@debian.org>
6891 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6892 depending n and resplen2 to catch cases where answer
6895 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6897 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6898 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6900 2012-11-29 Mike Frysinger <vapier@gentoo.org>
6902 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6904 2012-11-29 Roland McGrath <roland@hack.frob.com>
6906 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6908 2012-11-28 Jeff Law <law@redhat.com>
6911 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6912 dataset_temporary. Track alloca usage into alloca_used.
6913 If dataset is large allocate and release it via malloc/free.
6915 2012-06-04 Florian Weimer <fweimer@redhat.com>
6918 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6920 2012-11-28 David S. Miller <davem@davemloft.net>
6922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6924 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6927 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6928 of pi/2 rounded to nearest to 64 bits.
6929 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6931 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6934 2012-11-28 Jeff Law <law@redhat.com>
6935 Martin Osvald <mosvald@redhat.com>
6938 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6939 * sunrpc/svc.c: Include time.h.
6940 (__svc_accept_failed): New function.
6941 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6942 any reason other than EINTR, call __svc_accept_failed.
6943 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6944 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6946 2012-11-28 Andreas Schwab <schwab@suse.de>
6948 * scripts/abilist.awk: Also handle indirect functions in .opd
6951 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6954 * sysdeps/x86/fpu/powl_helper.c: New file.
6955 * sysdeps/x86/fpu/Makefile: Likewise.
6956 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6958 (__ieee754_powl): Use __powl_helper for finite arguments except
6959 integer exponents below 8.
6960 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6962 (__ieee754_powl): Use __powl_helper for finite arguments except
6963 integer exponents below 8.
6964 * math/libm-test.inc (pow_test): Add more tests and enable some
6965 previously disabled tests.
6966 * sysdeps/i386/fpu/libm-test-ulps: Update.
6967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6969 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6970 Carlos O'Donell <carlos_odonell@mentor.com>
6972 * nss/makedb.c (is_prime): Assert that input is odd and greater
6973 than 4. Note that fact in a comment too.
6974 (next_prime): Add 4 to input.
6976 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6979 * libio/Makefile (tests): Add test case tst-fwrite-error.
6980 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6981 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6982 * libio/tst-fwrite-error.c: New test case.
6984 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6986 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6987 before casting to void *.
6988 * include/libc-internal.h (__pointer_type): New macro.
6989 (__integer_if_pointer_type_sub): Likewise.
6990 (__integer_if_pointer_type): Likewise.
6991 (cast_to_integer): Likewise.
6992 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6993 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6994 before casting to atomic64_t.
6995 (atomic_exchange_acq): Likewise.
6996 (__arch_exchange_and_add_body): Likewise.
6997 (__arch_add_body): Likewise.
6998 (atomic_add_negative): Likewise.
6999 (atomic_add_zero): Likewise.
7001 2012-11-26 Joseph Myers <joseph@codesourcery.com>
7003 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7004 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7005 (add_fdes): Likewise.
7006 (linear_search_fdes): Likewise.
7007 (binary_search_unencoded_fdes): Likewise.
7009 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7011 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7013 2012-11-24 Adam Conrad <adconrad@0c3.net>
7015 * configure.in: Autodetect C++ header directories.
7016 * configure: Regenerated.
7018 2012-11-23 Mike Frysinger <vapier@gentoo.org>
7020 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7022 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7026 2012-11-22 Joseph Myers <joseph@codesourcery.com>
7028 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7029 LDBL_MANT_DIG == 106]: Disable some tests.
7030 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7032 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7036 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7037 input for small inputs. Return +/- pi/2 for large inputs.
7038 * math/libm-test.inc (atan_test): Add more tests.
7040 * sysdeps/generic/unwind-dw2-fde-glibc.c
7041 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7042 __attribute__ ((unused)).
7045 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7046 x * y if x and y are nonzero and z is zero.
7049 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7050 nonzero exponents with absolute value below 0x1p-117 to +/-
7054 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7055 up arguments below 2**-450, not just those below 2**-500.
7056 * math/libm-test.inc (hypot_test): Add another test.
7059 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7060 Return a+b for ratio over 2**120, not 2**60.
7061 * math/libm-test.inc (hypot_test): Add another test.
7063 * math/libm-test.inc (clog_test): Use
7064 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7065 (clog10_test): Likewise.
7068 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7070 2012-11-22 Andreas Schwab <schwab@suse.de>
7072 * sysdeps/i386/fpu/libm-test-ulps: Update.
7074 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7076 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7077 printf output with newline.
7079 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7082 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7083 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7084 -z nodlopen, -z initfirst and -z execstack support.
7085 * configure: Regenerated.
7087 * elf/elf.h (DF_1_NODIRECT): New macro.
7088 (DF_1_IGNMULDEF): Likewise.
7089 (DF_1_NOKSYMS): Likewise.
7090 (DF_1_NOHDR): Likewise.
7091 (DF_1_EDITED): Likewise.
7092 (DF_1_NORELOC): Likewise.
7093 (DF_1_SYMINTPOSE): Likewise.
7094 (DF_1_GLOBAUDIT): Likewise.
7095 (DF_1_SINGLETON): Likewise.
7096 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7097 DT_1_SUPPORTED_MASK bits.
7098 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7100 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7102 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7104 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7106 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7109 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7110 (sendmmsg): Move declarations...
7111 * socket/sys/socket.h: ... here.
7112 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7113 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7115 * socket/recvmmsg.c: ... this new file.
7116 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7117 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7118 definition of __sendmmsg hidden.
7119 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7120 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7121 Move ENOSYS stub into and include it from...
7122 * socket/sendmmsg.c: ... this new file.
7123 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7124 (sysdep_routines): Move recvmmsg and sendmmsg...
7125 * socket/Makefile (routines): ... here.
7126 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7127 (GLIBC_PRIVATE): Add __sendmmsg.
7128 * include/sys/socket.h (__sendmmsg): Add declarations.
7129 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7132 2012-11-20 Joseph Myers <joseph@codesourcery.com>
7134 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7135 variable I1 with __attribute__ ((unused)).
7136 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7138 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7140 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7141 DUMMY variables with __attribute__ ((unused)).
7143 * bits/byteswap.h: Include <bits/types.h>.
7144 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7146 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7148 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7149 string_t. Do not manually set errno.
7150 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7151 length with __strnlen. Make sure to both set errno and return it on
7154 2012-11-19 David S. Miller <davem@davemloft.net>
7156 With help from Joseph Myers.
7157 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7158 very large arguments properly.
7159 * math/libm-test.inc (atan_test): New tests.
7160 (atan2_test): New tests.
7161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7164 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7167 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7170 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7171 [POSIX] (EADDRNOTAVAIL): Likewise.
7172 [POSIX] (EAFNOSUPPORT): Likewise.
7173 [POSIX] (EALREADY): Likewise.
7174 [POSIX] (ECONNABORTED): Likewise.
7175 [POSIX] (ECONNREFUSED): Likewise.
7176 [POSIX] (ECONNRESET): Likewise.
7177 [POSIX] (EDESTADDRREQ): Likewise.
7178 [POSIX] (EDQUOT): Likewise.
7179 [POSIX] (EHOSTUNREACH): Likewise.
7180 [POSIX] (EIDRM): Likewise.
7181 [POSIX] (EISCONN): Likewise.
7182 [POSIX] (ELOOP): Likewise.
7183 [POSIX] (EMULTIHOP): Likewise.
7184 [POSIX] (ENETDOWN): Likewise.
7185 [POSIX] (ENETUNREACH): Likewise.
7186 [POSIX] (ENOBUFS): Likewise.
7187 [POSIX] (ENODATA): Likewise.
7188 [POSIX] (ENOLINK): Likewise.
7189 [POSIX] (ENOMSG): Likewise.
7190 [POSIX] (ENOPROTOOPT): Likewise.
7191 [POSIX] (ENOSR): Likewise.
7192 [POSIX] (ENOSTR): Likewise.
7193 [POSIX] (ENOTCONN): Likewise.
7194 [POSIX] (ENOTSOCK): Likewise.
7195 [POSIX] (EOPNOTSUPP): Likewise.
7196 [POSIX] (EOVERFLOW): Likewise.
7197 [POSIX] (EPROTO): Likewise.
7198 [POSIX] (EPROTONOSUPPORT): Likewise.
7199 [POSIX] (EPROTOTYPE): Likewise.
7200 [POSIX] (ESTALE): Likewise.
7201 [POSIX] (ETIME): Likewise.
7202 [POSIX] (ETXTBSY): Likewise.
7203 [POSIX] (EWOULDBLOCK): Likewise.
7204 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7205 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7206 [POSIX] (SEEK_CUR): Likewise.
7207 [POSIX] (SEEK_END): Likewise.
7208 [POSIX || UNIX98] (mode_t): Do not require.
7209 [POSIX] (off_t): Likewise.
7210 [POSIX] (pid_t): Likewise.
7211 [POSIX] (sys/stat.h): Do not allow header.
7212 [POSIX] (unistd.h): Likewise.
7213 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7214 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7215 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7216 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7218 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7219 sigevent): Specify elements.
7220 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7222 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7223 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7225 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7226 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7227 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7228 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7229 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7230 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7231 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7232 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7233 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7234 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7235 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7236 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7237 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7238 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7240 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7242 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7244 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7246 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7247 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7248 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7249 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7250 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7251 Specify lower bound on value.
7252 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7253 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7254 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7255 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7256 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7257 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7258 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7259 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7261 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7263 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7264 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7265 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7266 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7267 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7268 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7269 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7270 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7271 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7272 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7273 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7274 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7275 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7276 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7277 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7278 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7280 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7282 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7283 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7284 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7285 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7286 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7287 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7289 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7290 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7291 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7292 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7293 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7294 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7295 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7297 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7298 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7299 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7300 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7301 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7302 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7303 specify as optional.
7304 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7305 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7306 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7307 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7308 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7309 [XPG3] (NL_LANGMAX): Likewise.
7310 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7311 [POSIX || XPG3] (NL_NMAX): Likewise.
7312 [POSIX || XPG3] (NL_SETMAX): Likewise.
7313 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7314 [XPG3] (NZERO): Likewise.
7315 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7316 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7317 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7318 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7319 (REG_ERANGE): Expect.
7320 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7322 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7323 Use (void) in prototype.
7324 [POSIX] (*_t): Allow.
7325 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7326 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7327 (WRDE_BADVAL): Expect.
7329 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7331 [XPG3 || XPG4] (O_RSYNC): Likewise.
7332 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7334 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7335 [XPG3 || XPG4] (sigqueue): Likewise.
7336 [XPG3 || XPG4] (sigtimedwait): Likewise.
7337 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7338 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7339 [XPG3 || XPG4] (vsnprintf): Likewise.
7340 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7342 [XPG3 || XPG4] (blksize_t): Likewise.
7343 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7345 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7346 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7347 [XPG3 || XPG4] (struct itimerspec): Likewise.
7348 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7349 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7350 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7351 [XPG3 || XPG4] (clockid_t): Likewise.
7352 [XPG3 || XPG4] (timer_t): Likewise.
7353 [XPG3 || XPG4] (clock_getres): Likewise.
7354 [XPG3 || XPG4] (clock_gettime): Likewise.
7355 [XPG3 || XPG4] (clock_settime): Likewise.
7356 [XPG3 || XPG4] (nanosleep): Likewise.
7357 [XPG3 || XPG4] (timer_create): Likewise.
7358 [XPG3 || XPG4] (timer_delete): Likewise.
7359 [XPG3 || XPG4] (timer_gettime): Likewise.
7360 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7361 [XPG3 || XPG4] (timer_settime): Likewise.
7362 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7363 [XPG3 || XPG4] (getlogin_r): Likewise.
7364 [XPG3 || XPG4] (pread): Likewise.
7365 [XPG3 || XPG4] (pthread_atfork): Likewise.
7366 [XPG3 || XPG4] (pwrite): Likewise.
7369 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7372 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7374 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7375 finalizing MALLSTREAM.
7377 * sysdeps/mach/hurd/syncfs.c: New file.
7379 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7382 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7383 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7384 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7385 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7386 (_nss_dns_gethostbyname4_r): Likewise.
7387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7388 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7390 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7393 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7395 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7397 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7398 * elf/cache.c (print_entry): Print ",AArch64" for
7401 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7402 * elf/cache.c (print_entry): Print ",hard-float" for
7405 2012-11-18 David S. Miller <davem@davemloft.net>
7407 With help from Joseph Myers.
7408 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7410 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7412 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7413 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7415 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7416 * math/libm-test.inc (y0_test): New tests.
7417 (y1_test): New tests.
7418 * sysdeps/i386/fpu/libm-test-ulps: Update.
7419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7422 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
7424 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
7426 * configure: Regenerated.
7428 2012-11-17 David S. Miller <davem@davemloft.net>
7431 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
7432 nonzero exponents with absolute value below 0x1p-128 to +/-
7435 2012-11-17 Joseph Myers <joseph@codesourcery.com>
7437 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
7439 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
7441 * posix/getconf-speclist.c: New file.
7442 * posix/posix-envs.def: Likewise.
7443 * posix/confstr.c (START_ENV_GROUP): New macro.
7444 (END_ENV_GROUP): Likewise.
7445 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7446 (KNOWN_PRESENT_ENV_STRING): Likewise.
7447 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7448 (UNKNOWN_ENVIRONMENT): Likewise.
7449 (confstr): Include posix-envs.def instead of handling
7450 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
7451 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
7452 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
7453 (END_ENV_GROUP): Likewise.
7454 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7455 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7456 (UNKNOWN_ENVIRONMENT): Likewise.
7457 (__sysconf): Include posix-envs.def instead of handling associated
7458 cases directly here.
7459 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
7460 preprocessing getconf-speclist.c rather than running getconf or
7461 generating empty file.
7463 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
7465 * scripts/check-local-headers.sh: Ignore 'mach' headers.
7467 2012-11-16 Andrej Lajovic <natrij@gmail.com>
7470 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
7472 2012-11-16 David S. Miller <davem@davemloft.net>
7474 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
7475 smaller than LDBL_EPSILON/2.0L, just return xm1.
7477 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
7479 * elf/tst-array1.c (init): Set constructor priority to 1000.
7480 (fini): Set destructor priority to 1000.
7481 * elf/tst-array2dep.c: Likewise.
7483 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7486 * libio/fileops.c (_IO_new_file_write): Correctly return error.
7487 (_IO_new_file_xsputn): Also return EOF if none of the input
7488 data was written when overflow failed.
7489 * libio/iopadn.c (_IO_padn): Likewise.
7490 * libio/iowpadn.c (_IO_wpadn): Likewise.
7491 * stdio-common/tst-put-error.c: Add copyright notice.
7492 (do_test): Add case for printing padded string.
7493 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
7494 _IO_padn returned error.
7495 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
7496 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
7499 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7501 * libio/libioP.h: Add comment note that the references to C++
7502 bits are now obsolete.
7504 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7506 * math/libm-test.inc (check_complex): Use asprintf.
7508 2012-11-14 Joseph Myers <joseph@codesourcery.com>
7510 * debug/pcprofiledump.c (print_version): Update copyright year.
7511 * malloc/memusagestat.c (print_version): Likewise.
7513 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
7516 * elf/Makefile (tests): Add tst-audit8.
7517 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
7518 ($(objpfx)tst-audit8.out): New target.
7519 (tst-audit8-ENV): New variable.
7520 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
7521 audit if l_reloc_result is NULL.
7522 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
7523 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
7524 * elf/tst-audit8.c: New file.
7526 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7528 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
7529 * misc/Makefile (CFLAGS-select.c): Define.
7530 * posix/Makefile (CFLAGS-pause.c): Define.
7532 2012-11-13 David S. Miller <davem@davemloft.net>
7534 * crypt/Makefile: Move test targets after toplevel Rules
7535 inclusion. Grab any necessary sysdep routines when linking.
7536 * crypt/md5.c (md5_process_block): Remove define, we will always
7537 name it __md5_process_block.
7538 (md5_finish_ctx): Update md5_process_block call.
7539 (md5_stream): Likewise.
7540 (md5_process_bytes): Likewise.
7541 (md5_process_block): Rename to __md5_process_block and move to ...
7542 * crypt/md5-block.c: ... here.
7543 * crypt/sha256.c (sha256_process_block): Move to ...
7544 * crypt/sha256-block.c: ... here.
7545 * crypt/sha512.c (sha512_process_block): Move to ...
7546 * crypt/sha512-block.c: ... here.
7547 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
7549 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
7550 * sysdeps/sparc/sparc64/multiarch/Makefile
7551 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
7553 (localedef-aux): Add md5 crypto assembler when in locale subdir.
7554 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
7556 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
7557 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
7558 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
7559 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
7560 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
7561 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
7562 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
7563 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
7564 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
7566 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
7567 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
7569 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
7571 2012-11-13 Joseph Myers <joseph@codesourcery.com>
7573 * timezone/tzselect.ksh: Update from tzcode git revision
7574 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
7575 * timezone/zdump.c: Likewise.
7576 * timezone/zic.c: Likewise.
7577 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
7578 in TZVERSION setting, not $(PKGVERSION).
7579 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
7580 REPORT_BUGS_TO settings.
7583 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
7586 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7588 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
7589 detection to immediately after _FP_ROUND().
7590 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
7593 2012-11-11 David S. Miller <davem@davemloft.net>
7595 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
7597 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
7598 __close rather than their public counterparts.
7600 2012-11-10 Joseph Myers <joseph@codesourcery.com>
7602 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
7604 [UNIX98] (sem_timedwait): Do not expect.
7605 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
7606 [XPG4 || UNIX98] (sockatmark): Do not expect.
7607 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
7608 (clock_getcpuclockid): Do not expect.
7609 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
7610 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
7612 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
7613 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
7614 [UNIX98] (vwscanf): Likewise.
7615 [UNIX98] (vswscanf): Likewise.
7617 2012-11-09 Joseph Myers <joseph@codesourcery.com>
7619 * timezone/version.h: Remove file.
7620 * timezone/README: Do not refer to version.h.
7621 * timezone/Makefile ($(objpfx)zic.o): New dependency on
7623 ($(objpfx)zdump.o): Likewise.
7624 ($(objpfx)version.h): New target.
7626 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
7628 * timezone/README: Don't mention modification to tzselect.ksh.
7629 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
7630 work on unmodified tzselect.ksh. Substitute version numbers in
7633 * Makefile (format-me): Remove.
7634 (INSTALL): Adjust indentation. Use commands directly instead of
7637 * aclocal.m4 (ACX_PKGVERSION): New macro.
7638 (ACX_BUGURL): Likewise.
7639 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
7640 (PKGVERSION): New AC_DEFINE_UNQUOTED.
7641 (REPORT_BUGS_TO): Likewise.
7642 * configure: Regenerated.
7643 * config.h.in (PKGVERSION): New macro.
7644 (REPORT_BUGS_TO): Likewise.
7645 * config.make.in (PKGVERSION): New variable.
7646 (PKGVERSION_TEXI): Likewise.
7647 (REPORT_BUGS_TO): Likewise.
7648 (REPORT_BUGS_TEXI): Likewise.
7649 * Makefile (format-me): Use -I$(common-objpfx)manual.
7650 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7651 ($(common-objpfx)manual/%): New target.
7652 (manual/%): Remove target.
7653 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7654 (print_version): Use PKGVERSION.
7655 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7656 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7658 ($(objpfx)xtrace): Likewise.
7659 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7660 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7661 (print_version): Use PKGVERSION.
7662 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7663 (do_version): Use PKGVERSION.
7664 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7666 (common-ldd-rewrite): Likewise.
7667 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7668 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7669 (print_version): Use PKGVERSION.
7670 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7671 * elf/pldd.c (argp_program_bug_address): Remove variable.
7672 (more_help): New function.
7673 (argp): Use more_help.
7674 (print_version): Use PKGVERSION.
7675 * elf/sln.c (main): Use PKGVERSION.
7676 (usage): Use REPORT_BUGS_TO.
7677 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7678 (top level): Use PKGVERSION.
7679 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7680 (print_version): Use PKGVERSION.
7681 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7682 (print_version): Use PKGVERSION.
7683 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7684 (print_version): Use PKGVERSION.
7685 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7686 (print_version): Use PKGVERSION.
7687 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7688 (print_version): Use PKGVERSION.
7689 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7690 (print_version): Use PKGVERSION.
7691 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7693 ($(objpfx)memusage): Likewise.
7694 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7695 (do_version): Use PKGVERSION.
7696 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7697 (print_version): Use PKGVERSION.
7698 * malloc/mtrace.pl ($PACKAGE): Remove variable.
7699 ($PKGVERSION): New variable.
7700 ($REPORT_BUGS_TO): Likewise.
7701 (usage): Use $REPORT_BUGS_TO.
7702 (top level): Use $PKGVERSION.
7703 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7704 ($(objpfx)pkgvers.texi): New rule.
7705 ($(objpfx)stamp-pkgvers): Likewise.
7706 * manual/install.texi: Include pkgvers.texi.
7707 (--with-pkgversion): Document new configure option.
7708 (--with-bugurl): Likewise.
7709 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7710 than necessarily for this particular distribution. Use
7711 REPORT_BUGS_TO for where to report bugs.
7712 * INSTALL: Regenerated.
7713 * manual/libc.texinfo: Include pkgvers.texi.
7714 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7715 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7716 (print_version): Use PKGVERSION.
7717 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7718 (print_version): Use PKGVERSION.
7719 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7720 (print_version): Use PKGVERSION.
7721 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7722 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7724 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7725 (print_version): Use PKGVERSION.
7726 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7727 (print_version): Use PKGVERSION.
7728 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7731 * timezone/checktab.awk: Update from tzcode 2012i.
7732 * timezone/ialloc.c: Likewise.
7733 * timezone/private.h: Likewise.
7734 * timezone/scheck.c: Likewise.
7735 * timezone/tzfile.h: Likewise.
7736 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7737 (TZVERSION): Hardcode tzcode version number.
7738 * timezone/zdump.c: Update from tzcode 2012i.
7739 * timezone/zic.c: Likewise.
7740 * timezone/version.h: New file.
7741 * timezone/README: Describe version.h. Update upstream location.
7744 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7745 (mktemp): Enable declaration.
7746 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7747 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7748 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7749 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7751 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7753 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7755 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7757 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7759 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7763 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7764 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7765 for copies of such integer values.
7766 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7767 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7769 2012-11-09 Andreas Jaeger <aj@suse.de>
7771 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7772 definitions and declarations that are provided by
7773 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7775 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7777 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
7778 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7779 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7782 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7784 * elf/elf.h: Update comment before AArch64 relocations.
7786 2012-11-07 David S. Miller <davem@davemloft.net>
7788 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7789 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7790 (__start_context): Declare.
7791 (__makecontext_ret): Delete.
7792 (__makecontext): Hook up __start_context instead of
7794 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7795 (sysdep_routines): Add __start_context when in stdlib.
7797 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7799 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7800 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7801 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7803 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7804 (READELF): New variable. Use it instead of hardcoded "readelf".
7806 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7808 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7809 * sysdeps/x86/Makefile: Here.
7810 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7811 * sysdeps/x86/tst-xmmymm.sh: This.
7813 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7815 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7817 [UNIX98] (pthread_barrier_t): Do not expect.
7818 [UNIX98] (pthread_barrierattr_t): Likewise.
7819 [UNIX98] (pthread_spinlock_t): Likewise.
7820 [UNIX98] (pthread_barrier_destroy): Likewise.
7821 [UNIX98] (pthread_barrier_init): Likewise.
7822 [UNIX98] (pthread_barrier_wait): Likewise.
7823 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7824 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7825 [UNIX98] (pthread_barrierattr_init): Likewise.
7826 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7827 [UNIX98] (pthread_getcpuclockid): Likewise.
7828 [UNIX98] (pthread_mutex_timedlock): Likewise.
7829 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7830 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7831 [UNIX98] (pthread_sigmask): Likewise.
7832 [UNIX98] (pthread_spin_destroy): Likewise.
7833 [UNIX98] (pthread_spin_init): Likewise.
7834 [UNIX98] (pthread_spin_lock): Likewise.
7835 [UNIX98] (pthread_spin_trylock): Likewise.
7836 [UNIX98] (pthread_spin_unlock): Likewise.
7837 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7839 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7840 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7841 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7842 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7843 [XPG3 || XPG4] (pthread_key_t): Likewise.
7844 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7845 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7846 [XPG3 || XPG4] (pthread_once_t): Likewise.
7847 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7848 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7849 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7850 [XPG3 || XPG4] (pthread_t): Likewise.
7852 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7854 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7856 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7857 Change function return type to int.
7859 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7860 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7861 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7862 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7863 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7864 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7865 [!POSIX] (posix_madvise): Likewise.
7866 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7868 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7869 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7871 (posix_mem_offset): Likewise.
7872 (posix_typed_mem_get_info): Likewise.
7873 (posix_typed_mem_open): Likewise.
7875 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7876 Change condition to [XOPEN2K8].
7878 * conform/conformtest.pl: Preprocess allow-header data with -x c
7879 instead of from stdin.
7880 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7881 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7882 [C99-based standards] (cerfc): Likewise.
7883 [C99-based standards] (cexp2): Likewise.
7884 [C99-based standards] (cexpm1): Likewise.
7885 [C99-based standards] (clog10): Likewise.
7886 [C99-based standards] (clog1p): Likewise.
7887 [C99-based standards] (clog2): Likewise.
7888 [C99-based standards] (clgamma): Likewise.
7889 [C99-based standards] (ctgamma): Likewise.
7890 [C99-based standards] (cerff): Likewise.
7891 [C99-based standards] (cerfcf): Likewise.
7892 [C99-based standards] (cexp2f): Likewise.
7893 [C99-based standards] (cexpm1f): Likewise.
7894 [C99-based standards] (clog10f): Likewise.
7895 [C99-based standards] (clog1pf): Likewise.
7896 [C99-based standards] (clog2f): Likewise.
7897 [C99-based standards] (clgammaf): Likewise.
7898 [C99-based standards] (ctgammaf): Likewise.
7899 [C99-based standards] (cerfl): Likewise.
7900 [C99-based standards] (cerfcl): Likewise.
7901 [C99-based standards] (cexp2l): Likewise.
7902 [C99-based standards] (cexpm1l): Likewise.
7903 [C99-based standards] (clog10l): Likewise.
7904 [C99-based standards] (clog1pl): Likewise.
7905 [C99-based standards] (clog2l): Likewise.
7906 [C99-based standards] (clgammal): Likewise.
7907 [C99-based standards] (ctgammal): Likewise.
7908 * conform/data/inttypes.h-data [C99-based standards]: Include
7909 stdint.h-data. Remove all expectations for stdint.h contents.
7910 [C99-based standards] (PRI*): Do not allow.
7911 [C99-based standards] (SCN*): Likewise.
7912 [C99-based standards] (*_t): Likewise.
7913 [C99-based-standards] (PRId8): Expect macro.
7914 [C99-based-standards] (PRIi8): Likewise.
7915 [C99-based-standards] (PRIo8): Likewise.
7916 [C99-based-standards] (PRIu8): Likewise.
7917 [C99-based-standards] (PRIx8): Likewise.
7918 [C99-based-standards] (PRIX8): Likewise.
7919 [C99-based-standards] (SCNd8): Likewise.
7920 [C99-based-standards] (SCNi8): Likewise.
7921 [C99-based-standards] (SCNo8): Likewise.
7922 [C99-based-standards] (SCNu8): Likewise.
7923 [C99-based-standards] (SCNx8): Likewise.
7924 [C99-based-standards] (PRIdLEAST8): Likewise.
7925 [C99-based-standards] (PRIiLEAST8): Likewise.
7926 [C99-based-standards] (PRIoLEAST8): Likewise.
7927 [C99-based-standards] (PRIuLEAST8): Likewise.
7928 [C99-based-standards] (PRIxLEAST8): Likewise.
7929 [C99-based-standards] (PRIXLEAST8): Likewise.
7930 [C99-based-standards] (SCNdLEAST8): Likewise.
7931 [C99-based-standards] (SCNiLEAST8): Likewise.
7932 [C99-based-standards] (SCNoLEAST8): Likewise.
7933 [C99-based-standards] (SCNuLEAST8): Likewise.
7934 [C99-based-standards] (SCNxLEAST8): Likewise.
7935 [C99-based-standards] (PRIdFAST8): Likewise.
7936 [C99-based-standards] (PRIiFAST8): Likewise.
7937 [C99-based-standards] (PRIoFAST8): Likewise.
7938 [C99-based-standards] (PRIuFAST8): Likewise.
7939 [C99-based-standards] (PRIxFAST8): Likewise.
7940 [C99-based-standards] (PRIXFAST8): Likewise.
7941 [C99-based-standards] (SCNdFAST8): Likewise.
7942 [C99-based-standards] (SCNiFAST8): Likewise.
7943 [C99-based-standards] (SCNoFAST8): Likewise.
7944 [C99-based-standards] (SCNuFAST8): Likewise.
7945 [C99-based-standards] (SCNxFAST8): Likewise.
7946 [C99-based-standards] (PRId16): Likewise.
7947 [C99-based-standards] (PRIi16): Likewise.
7948 [C99-based-standards] (PRIo16): Likewise.
7949 [C99-based-standards] (PRIu16): Likewise.
7950 [C99-based-standards] (PRIx16): Likewise.
7951 [C99-based-standards] (PRIX16): Likewise.
7952 [C99-based-standards] (SCNd16): Likewise.
7953 [C99-based-standards] (SCNi16): Likewise.
7954 [C99-based-standards] (SCNo16): Likewise.
7955 [C99-based-standards] (SCNu16): Likewise.
7956 [C99-based-standards] (SCNx16): Likewise.
7957 [C99-based-standards] (PRIdLEAST16): Likewise.
7958 [C99-based-standards] (PRIiLEAST16): Likewise.
7959 [C99-based-standards] (PRIoLEAST16): Likewise.
7960 [C99-based-standards] (PRIuLEAST16): Likewise.
7961 [C99-based-standards] (PRIxLEAST16): Likewise.
7962 [C99-based-standards] (PRIXLEAST16): Likewise.
7963 [C99-based-standards] (SCNdLEAST16): Likewise.
7964 [C99-based-standards] (SCNiLEAST16): Likewise.
7965 [C99-based-standards] (SCNoLEAST16): Likewise.
7966 [C99-based-standards] (SCNuLEAST16): Likewise.
7967 [C99-based-standards] (SCNxLEAST16): Likewise.
7968 [C99-based-standards] (PRIdFAST16): Likewise.
7969 [C99-based-standards] (PRIiFAST16): Likewise.
7970 [C99-based-standards] (PRIoFAST16): Likewise.
7971 [C99-based-standards] (PRIuFAST16): Likewise.
7972 [C99-based-standards] (PRIxFAST16): Likewise.
7973 [C99-based-standards] (PRIXFAST16): Likewise.
7974 [C99-based-standards] (SCNdFAST16): Likewise.
7975 [C99-based-standards] (SCNiFAST16): Likewise.
7976 [C99-based-standards] (SCNoFAST16): Likewise.
7977 [C99-based-standards] (SCNuFAST16): Likewise.
7978 [C99-based-standards] (SCNxFAST16): Likewise.
7979 [C99-based-standards] (PRId32): Likewise.
7980 [C99-based-standards] (PRIi32): Likewise.
7981 [C99-based-standards] (PRIo32): Likewise.
7982 [C99-based-standards] (PRIu32): Likewise.
7983 [C99-based-standards] (PRIx32): Likewise.
7984 [C99-based-standards] (PRIX32): Likewise.
7985 [C99-based-standards] (SCNd32): Likewise.
7986 [C99-based-standards] (SCNi32): Likewise.
7987 [C99-based-standards] (SCNo32): Likewise.
7988 [C99-based-standards] (SCNu32): Likewise.
7989 [C99-based-standards] (SCNx32): Likewise.
7990 [C99-based-standards] (PRIdLEAST32): Likewise.
7991 [C99-based-standards] (PRIiLEAST32): Likewise.
7992 [C99-based-standards] (PRIoLEAST32): Likewise.
7993 [C99-based-standards] (PRIuLEAST32): Likewise.
7994 [C99-based-standards] (PRIxLEAST32): Likewise.
7995 [C99-based-standards] (PRIXLEAST32): Likewise.
7996 [C99-based-standards] (SCNdLEAST32): Likewise.
7997 [C99-based-standards] (SCNiLEAST32): Likewise.
7998 [C99-based-standards] (SCNoLEAST32): Likewise.
7999 [C99-based-standards] (SCNuLEAST32): Likewise.
8000 [C99-based-standards] (SCNxLEAST32): Likewise.
8001 [C99-based-standards] (PRIdFAST32): Likewise.
8002 [C99-based-standards] (PRIiFAST32): Likewise.
8003 [C99-based-standards] (PRIoFAST32): Likewise.
8004 [C99-based-standards] (PRIuFAST32): Likewise.
8005 [C99-based-standards] (PRIxFAST32): Likewise.
8006 [C99-based-standards] (PRIXFAST32): Likewise.
8007 [C99-based-standards] (SCNdFAST32): Likewise.
8008 [C99-based-standards] (SCNiFAST32): Likewise.
8009 [C99-based-standards] (SCNoFAST32): Likewise.
8010 [C99-based-standards] (SCNuFAST32): Likewise.
8011 [C99-based-standards] (SCNxFAST32): Likewise.
8012 [C99-based-standards] (PRId64): Likewise.
8013 [C99-based-standards] (PRIi64): Likewise.
8014 [C99-based-standards] (PRIo64): Likewise.
8015 [C99-based-standards] (PRIu64): Likewise.
8016 [C99-based-standards] (PRIx64): Likewise.
8017 [C99-based-standards] (PRIX64): Likewise.
8018 [C99-based-standards] (SCNd64): Likewise.
8019 [C99-based-standards] (SCNi64): Likewise.
8020 [C99-based-standards] (SCNo64): Likewise.
8021 [C99-based-standards] (SCNu64): Likewise.
8022 [C99-based-standards] (SCNx64): Likewise.
8023 [C99-based-standards] (PRIdLEAST64): Likewise.
8024 [C99-based-standards] (PRIiLEAST64): Likewise.
8025 [C99-based-standards] (PRIoLEAST64): Likewise.
8026 [C99-based-standards] (PRIuLEAST64): Likewise.
8027 [C99-based-standards] (PRIxLEAST64): Likewise.
8028 [C99-based-standards] (PRIXLEAST64): Likewise.
8029 [C99-based-standards] (SCNdLEAST64): Likewise.
8030 [C99-based-standards] (SCNiLEAST64): Likewise.
8031 [C99-based-standards] (SCNoLEAST64): Likewise.
8032 [C99-based-standards] (SCNuLEAST64): Likewise.
8033 [C99-based-standards] (SCNxLEAST64): Likewise.
8034 [C99-based-standards] (PRIdFAST64): Likewise.
8035 [C99-based-standards] (PRIiFAST64): Likewise.
8036 [C99-based-standards] (PRIoFAST64): Likewise.
8037 [C99-based-standards] (PRIuFAST64): Likewise.
8038 [C99-based-standards] (PRIxFAST64): Likewise.
8039 [C99-based-standards] (PRIXFAST64): Likewise.
8040 [C99-based-standards] (SCNdFAST64): Likewise.
8041 [C99-based-standards] (SCNiFAST64): Likewise.
8042 [C99-based-standards] (SCNoFAST64): Likewise.
8043 [C99-based-standards] (SCNuFAST64): Likewise.
8044 [C99-based-standards] (SCNxFAST64): Likewise.
8045 [C99-based-standards] (PRIdMAX): Likewise.
8046 [C99-based-standards] (PRIiMAX): Likewise.
8047 [C99-based-standards] (PRIoMAX): Likewise.
8048 [C99-based-standards] (PRIuMAX): Likewise.
8049 [C99-based-standards] (PRIxMAX): Likewise.
8050 [C99-based-standards] (PRIXMAX): Likewise.
8051 [C99-based-standards] (SCNdMAX): Likewise.
8052 [C99-based-standards] (SCNiMAX): Likewise.
8053 [C99-based-standards] (SCNoMAX): Likewise.
8054 [C99-based-standards] (SCNuMAX): Likewise.
8055 [C99-based-standards] (SCNxMAX): Likewise.
8056 [C99-based-standards] (PRIdPTR): Likewise.
8057 [C99-based-standards] (PRIiPTR): Likewise.
8058 [C99-based-standards] (PRIoPTR): Likewise.
8059 [C99-based-standards] (PRIuPTR): Likewise.
8060 [C99-based-standards] (PRIxPTR): Likewise.
8061 [C99-based-standards] (PRIXPTR): Likewise.
8062 [C99-based-standards] (SCNdPTR): Likewise.
8063 [C99-based-standards] (SCNiPTR): Likewise.
8064 [C99-based-standards] (SCNoPTR): Likewise.
8065 [C99-based-standards] (SCNuPTR): Likewise.
8066 [C99-based-standards] (SCNxPTR): Likewise.
8067 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8069 * conform/data/stdint.h-data: Update comments to clarify
8071 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8073 [C99-based standards] (INT8_MAX): Likewise.
8074 [C99-based standards] (INT16_MIN): Likewise.
8075 [C99-based standards] (INT16_MAX): Likewise.
8076 [C99-based standards] (INT32_MIN): Likewise.
8077 [C99-based standards] (INT32_MAX): Likewise.
8078 [C99-based standards] (INT64_MIN): Likewise.
8079 [C99-based standards] (INT64_MAX): Likewise.
8080 [C99-based standards] (UINT8_MAX): Likewise.
8081 [C99-based standards] (UINT16_MAX): Likewise.
8082 [C99-based standards] (UINT32_MAX): Likewise.
8083 [C99-based standards] (UINT64_MAX): Likewise.
8084 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8085 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8086 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8087 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8088 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8089 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8090 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8091 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8092 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8093 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8094 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8095 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8096 [C99-based standards] (INT_FAST8_MIN): Likewise.
8097 [C99-based standards] (INT_FAST8_MAX): Likewise.
8098 [C99-based standards] (INT_FAST16_MIN): Likewise.
8099 [C99-based standards] (INT_FAST16_MAX): Likewise.
8100 [C99-based standards] (INT_FAST32_MIN): Likewise.
8101 [C99-based standards] (INT_FAST32_MAX): Likewise.
8102 [C99-based standards] (INT_FAST64_MIN): Likewise.
8103 [C99-based standards] (INT_FAST64_MAX): Likewise.
8104 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8105 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8106 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8107 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8108 [C99-based standards] (INTPTR_MIN): Likewise.
8109 [C99-based standards] (INTPTR_MAX): Likewise.
8110 [C99-based standards] (UINTPTR_MAX): Likewise.
8111 [C99-based standards] (INTMAX_MIN): Likewise.
8112 [C99-based standards] (INTMAX_MAX): Likewise.
8113 [C99-based standards] (UINTMAX_MAX): Likewise.
8114 [C99-based standards] (PTRDIFF_MIN): Likewise.
8115 [C99-based standards] (PTRDIFF_MAX): Likewise.
8116 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8117 [C99-based standards] (SIZE_MAX): Likewise.
8118 [C99-based standards] (WCHAR_MAX): Likewise.
8119 [C99-based standards] (WINT_MAX): Likewise.
8120 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8121 constraint on value.
8122 [C99-based standards] (WCHAR_MIN): Likewise.
8123 [C99-based standards] (WINT_MIN): Likewise.
8124 [C99-based standards] (*_t): Allow.
8125 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8126 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8127 Include math.h-data and complex.h-data. Remove all expectations
8128 of math.h and complex.h contents.
8129 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8131 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8132 (struct tm): Expect tag.
8133 [C99-based-standards] (wcstof): Expect function.
8134 [C99-based-standards] (wcstold): Likewise.
8135 [C99-based-standards] (wcstoll): Likewise.
8136 [C99-based-standards] (wcstoull): Likewise.
8137 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8138 macro-int-constant. Specify type.
8139 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8140 constraint on value.
8141 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8143 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8145 [ISO C standards]: Do not allow headers.
8146 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8147 wcs[abcdefghijklmnopqrstuvwxyz]*.
8148 [ISO C standards] (*_t): Do not allow.
8149 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8151 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8152 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8154 [ISO C standards]: Do not allow headers.
8155 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8156 is[abcdefghijklmnopqrstuvwxyz]*.
8157 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8158 to[abcdefghijklmnopqrstuvwxyz]*.
8159 [ISO C standards] (*_t): Do not allow.
8160 * conform/data/stdalign.h-data: New file.
8161 * conform/data/stdbool.h-data: Likewise.
8162 * conform/data/stdnoreturn.h-data: Likewise.
8164 2012-11-07 Roland McGrath <roland@hack.frob.com>
8167 * manual/filesys.texi (Directory Entries): Typo fix.
8168 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8170 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8172 * elf/elf.h (EM_AARCH64): New macro.
8173 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8174 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8175 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8176 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8177 (R_AARCH64_TLSDESC): Likewise.
8178 (NT_ARM_TLS): Likewise.
8179 (NT_ARM_HW_BREAK): Likewise.
8180 (NT_ARM_HW_WATCH): Likewise.
8182 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8185 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8186 (__ieee754_powl): Saturate nonzero exponents with absolute value
8187 below 0x1p-79 to +/- 0x1p-79.
8188 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8189 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8190 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8191 nonzero exponents with absolute value below 0x1p-32 to +/-
8193 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8194 (__ieee754_powl): Saturate nonzero exponents with absolute value
8195 below 0x1p-79 to +/- 0x1p-79.
8196 * math/libm-test.inc (pow_test): Add more tests.
8198 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8200 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8201 _dl_s390_cap_flags with kernel. Increase string length.
8202 (_dl_s390_platforms): Add z196 and zEC12.
8204 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8206 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8207 Change XOPEN21K to XOPEN2K.
8209 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8211 * string/memmove.c: Use memcpy when possible.
8213 2012-11-06 Andreas Jaeger <aj@suse.de>
8215 * po/eo.po: Update from translation team.
8217 2012-11-06 Joseph Myers <joseph@codesourcery.com>
8220 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8221 exponent and small x and y exponents, scale x or y up. Increase
8222 by 2 the exponent used in scaling up.
8223 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8224 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8225 * math/libm-test.inc (fma_test): Add more tests.
8226 (fma_test_towardzero): Likewise.
8227 (fma_test_downward): Likewise.
8228 (fma_test_upward): Likewise.
8230 2012-11-05 Joseph Myers <joseph@codesourcery.com>
8233 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8237 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8238 namespace for names of struct fields.
8239 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8241 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8242 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8244 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8247 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8249 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8251 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8255 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8258 2012-11-04 Joseph Myers <joseph@codesourcery.com>
8261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8262 definitely overflow as x * y not x * y + z.
8263 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8264 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8265 * math/libm-test.inc (fma_test): Add more tests.
8266 (fma_test_towardzero): Likewise.
8267 (fma_test_downward): Likewise.
8268 (fma_test_upward): Likewise.
8270 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8274 * include/stub-tag.h: Remove file.
8275 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8277 * manual/maint.texi (Porting): Don't reference it.
8278 * Makerules ($(objpfx)stubs): Likewise.
8279 * dirent/closedir.c: Don't include <stub-tag.h>.
8280 * dirent/dirfd.c: Likewise.
8281 * dirent/fdopendir.c: Likewise.
8282 * dirent/getdents.c: Likewise.
8283 * dirent/getdents64.c: Likewise.
8284 * dirent/opendir.c: Likewise.
8285 * dirent/readdir.c: Likewise.
8286 * dirent/readdir64.c: Likewise.
8287 * dirent/readdir64_r.c: Likewise.
8288 * dirent/readdir_r.c: Likewise.
8289 * dirent/rewinddir.c: Likewise.
8290 * dirent/seekdir.c: Likewise.
8291 * dirent/telldir.c: Likewise.
8292 * gmon/profil.c: Likewise.
8293 * grp/setgroups.c: Likewise.
8294 * inet/if_index.c: Likewise.
8295 * io/access.c: Likewise.
8296 * io/chdir.c: Likewise.
8297 * io/chmod.c: Likewise.
8298 * io/chown.c: Likewise.
8299 * io/close.c: Likewise.
8300 * io/dup.c: Likewise.
8301 * io/dup2.c: Likewise.
8302 * io/dup3.c: Likewise.
8303 * io/euidaccess.c: Likewise.
8304 * io/faccessat.c: Likewise.
8305 * io/fchdir.c: Likewise.
8306 * io/fchmod.c: Likewise.
8307 * io/fchmodat.c: Likewise.
8308 * io/fchown.c: Likewise.
8309 * io/fchownat.c: Likewise.
8310 * io/fcntl.c: Likewise.
8311 * io/flock.c: Likewise.
8312 * io/fstatfs.c: Likewise.
8313 * io/fstatfs64.c: Likewise.
8314 * io/fstatvfs.c: Likewise.
8315 * io/fstatvfs64.c: Likewise.
8316 * io/futimens.c: Likewise.
8317 * io/fxstat.c: Likewise.
8318 * io/fxstat64.c: Likewise.
8319 * io/fxstatat.c: Likewise.
8320 * io/fxstatat64.c: Likewise.
8321 * io/getcwd.c: Likewise.
8322 * io/isatty.c: Likewise.
8323 * io/lchmod.c: Likewise.
8324 * io/lchown.c: Likewise.
8325 * io/link.c: Likewise.
8326 * io/linkat.c: Likewise.
8327 * io/lseek.c: Likewise.
8328 * io/lseek64.c: Likewise.
8329 * io/lxstat64.c: Likewise.
8330 * io/mkdir.c: Likewise.
8331 * io/mkdirat.c: Likewise.
8332 * io/mkfifo.c: Likewise.
8333 * io/mkfifoat.c: Likewise.
8334 * io/open.c: Likewise.
8335 * io/open64.c: Likewise.
8336 * io/openat.c: Likewise.
8337 * io/openat64.c: Likewise.
8338 * io/pipe.c: Likewise.
8339 * io/pipe2.c: Likewise.
8340 * io/poll.c: Likewise.
8341 * io/posix_fadvise.c: Likewise.
8342 * io/posix_fadvise64.c: Likewise.
8343 * io/posix_fallocate.c: Likewise.
8344 * io/posix_fallocate64.c: Likewise.
8345 * io/read.c: Likewise.
8346 * io/readlink.c: Likewise.
8347 * io/readlinkat.c: Likewise.
8348 * io/rmdir.c: Likewise.
8349 * io/sendfile.c: Likewise.
8350 * io/sendfile64.c: Likewise.
8351 * io/statfs.c: Likewise.
8352 * io/statfs64.c: Likewise.
8353 * io/statvfs.c: Likewise.
8354 * io/statvfs64.c: Likewise.
8355 * io/symlink.c: Likewise.
8356 * io/symlinkat.c: Likewise.
8357 * io/ttyname.c: Likewise.
8358 * io/ttyname_r.c: Likewise.
8359 * io/umask.c: Likewise.
8360 * io/unlink.c: Likewise.
8361 * io/unlinkat.c: Likewise.
8362 * io/utime.c: Likewise.
8363 * io/utimensat.c: Likewise.
8364 * io/write.c: Likewise.
8365 * io/xmknod.c: Likewise.
8366 * io/xmknodat.c: Likewise.
8367 * io/xstat.c: Likewise.
8368 * io/xstat64.c: Likewise.
8369 * login/getpt.c: Likewise.
8370 * login/grantpt.c: Likewise.
8371 * login/unlockpt.c: Likewise.
8372 * math/e_acoshl.c: Likewise.
8373 * math/e_acosl.c: Likewise.
8374 * math/e_asinl.c: Likewise.
8375 * math/e_atan2l.c: Likewise.
8376 * math/e_atanhl.c: Likewise.
8377 * math/e_coshl.c: Likewise.
8378 * math/e_expl.c: Likewise.
8379 * math/e_fmodl.c: Likewise.
8380 * math/e_gammal_r.c: Likewise.
8381 * math/e_hypotl.c: Likewise.
8382 * math/e_j0l.c: Likewise.
8383 * math/e_j1l.c: Likewise.
8384 * math/e_jnl.c: Likewise.
8385 * math/e_lgammal_r.c: Likewise.
8386 * math/e_log10l.c: Likewise.
8387 * math/e_log2l.c: Likewise.
8388 * math/e_logl.c: Likewise.
8389 * math/e_powl.c: Likewise.
8390 * math/e_rem_pio2l.c: Likewise.
8391 * math/e_sinhl.c: Likewise.
8392 * math/e_sqrtl.c: Likewise.
8393 * math/fclrexcpt.c: Likewise.
8394 * math/fedisblxcpt.c: Likewise.
8395 * math/feenablxcpt.c: Likewise.
8396 * math/fegetenv.c: Likewise.
8397 * math/fegetexcept.c: Likewise.
8398 * math/fegetround.c: Likewise.
8399 * math/feholdexcpt.c: Likewise.
8400 * math/fesetenv.c: Likewise.
8401 * math/fesetround.c: Likewise.
8402 * math/feupdateenv.c: Likewise.
8403 * math/fgetexcptflg.c: Likewise.
8404 * math/fraiseexcpt.c: Likewise.
8405 * math/fsetexcptflg.c: Likewise.
8406 * math/ftestexcept.c: Likewise.
8407 * math/k_cosl.c: Likewise.
8408 * math/k_rem_pio2l.c: Likewise.
8409 * math/k_sinl.c: Likewise.
8410 * math/k_tanl.c: Likewise.
8411 * math/s_asinhl.c: Likewise.
8412 * math/s_atanl.c: Likewise.
8413 * math/s_cbrtl.c: Likewise.
8414 * math/s_erfl.c: Likewise.
8415 * math/s_expm1l.c: Likewise.
8416 * math/s_log1pl.c: Likewise.
8417 * math/s_tanhl.c: Likewise.
8418 * misc/acct.c: Likewise.
8419 * misc/brk.c: Likewise.
8420 * misc/chflags.c: Likewise.
8421 * misc/chroot.c: Likewise.
8422 * misc/fchflags.c: Likewise.
8423 * misc/fgetxattr.c: Likewise.
8424 * misc/flistxattr.c: Likewise.
8425 * misc/fremovexattr.c: Likewise.
8426 * misc/fsetxattr.c: Likewise.
8427 * misc/fsync.c: Likewise.
8428 * misc/ftruncate.c: Likewise.
8429 * misc/futimes.c: Likewise.
8430 * misc/futimesat.c: Likewise.
8431 * misc/getdomain.c: Likewise.
8432 * misc/getdtsz.c: Likewise.
8433 * misc/gethostid.c: Likewise.
8434 * misc/gethostname.c: Likewise.
8435 * misc/getloadavg.c: Likewise.
8436 * misc/getpagesize.c: Likewise.
8437 * misc/getsysstats.c: Likewise.
8438 * misc/getxattr.c: Likewise.
8439 * misc/gtty.c: Likewise.
8440 * misc/ioctl.c: Likewise.
8441 * misc/lgetxattr.c: Likewise.
8442 * misc/listxattr.c: Likewise.
8443 * misc/llistxattr.c: Likewise.
8444 * misc/lremovexattr.c: Likewise.
8445 * misc/lsetxattr.c: Likewise.
8446 * misc/lutimes.c: Likewise.
8447 * misc/madvise.c: Likewise.
8448 * misc/mincore.c: Likewise.
8449 * misc/mlock.c: Likewise.
8450 * misc/mlockall.c: Likewise.
8451 * misc/mmap.c: Likewise.
8452 * misc/mprotect.c: Likewise.
8453 * misc/msync.c: Likewise.
8454 * misc/munlock.c: Likewise.
8455 * misc/munlockall.c: Likewise.
8456 * misc/munmap.c: Likewise.
8457 * misc/preadv.c: Likewise.
8458 * misc/preadv64.c: Likewise.
8459 * misc/ptrace.c: Likewise.
8460 * misc/pwritev.c: Likewise.
8461 * misc/pwritev64.c: Likewise.
8462 * misc/readv.c: Likewise.
8463 * misc/reboot.c: Likewise.
8464 * misc/remap_file_pages.c: Likewise.
8465 * misc/removexattr.c: Likewise.
8466 * misc/revoke.c: Likewise.
8467 * misc/select.c: Likewise.
8468 * misc/setdomain.c: Likewise.
8469 * misc/setegid.c: Likewise.
8470 * misc/seteuid.c: Likewise.
8471 * misc/sethostid.c: Likewise.
8472 * misc/sethostname.c: Likewise.
8473 * misc/setregid.c: Likewise.
8474 * misc/setreuid.c: Likewise.
8475 * misc/setxattr.c: Likewise.
8476 * misc/sstk.c: Likewise.
8477 * misc/stty.c: Likewise.
8478 * misc/swapoff.c: Likewise.
8479 * misc/swapon.c: Likewise.
8480 * misc/sync.c: Likewise.
8481 * misc/syncfs.c: Likewise.
8482 * misc/syscall.c: Likewise.
8483 * misc/truncate.c: Likewise.
8484 * misc/ualarm.c: Likewise.
8485 * misc/usleep.c: Likewise.
8486 * misc/ustat.c: Likewise.
8487 * misc/utimes.c: Likewise.
8488 * misc/vhangup.c: Likewise.
8489 * misc/writev.c: Likewise.
8490 * posix/_exit.c: Likewise.
8491 * posix/alarm.c: Likewise.
8492 * posix/execve.c: Likewise.
8493 * posix/fexecve.c: Likewise.
8494 * posix/fork.c: Likewise.
8495 * posix/fpathconf.c: Likewise.
8496 * posix/getaddrinfo.c: Likewise.
8497 * posix/getegid.c: Likewise.
8498 * posix/geteuid.c: Likewise.
8499 * posix/getgid.c: Likewise.
8500 * posix/getgroups.c: Likewise.
8501 * posix/getlogin.c: Likewise.
8502 * posix/getlogin_r.c: Likewise.
8503 * posix/getpgid.c: Likewise.
8504 * posix/getpid.c: Likewise.
8505 * posix/getppid.c: Likewise.
8506 * posix/getresgid.c: Likewise.
8507 * posix/getresuid.c: Likewise.
8508 * posix/getsid.c: Likewise.
8509 * posix/getuid.c: Likewise.
8510 * posix/glob64.c: Likewise.
8511 * posix/nanosleep.c: Likewise.
8512 * posix/pathconf.c: Likewise.
8513 * posix/pause.c: Likewise.
8514 * posix/posix_madvise.c: Likewise.
8515 * posix/pread.c: Likewise.
8516 * posix/pread64.c: Likewise.
8517 * posix/pwrite.c: Likewise.
8518 * posix/pwrite64.c: Likewise.
8519 * posix/sched_getaffinity.c: Likewise.
8520 * posix/sched_getp.c: Likewise.
8521 * posix/sched_gets.c: Likewise.
8522 * posix/sched_primax.c: Likewise.
8523 * posix/sched_primin.c: Likewise.
8524 * posix/sched_rr_gi.c: Likewise.
8525 * posix/sched_setaffinity.c: Likewise.
8526 * posix/sched_setp.c: Likewise.
8527 * posix/sched_sets.c: Likewise.
8528 * posix/sched_yield.c: Likewise.
8529 * posix/setgid.c: Likewise.
8530 * posix/setlogin.c: Likewise.
8531 * posix/setpgid.c: Likewise.
8532 * posix/setresgid.c: Likewise.
8533 * posix/setresuid.c: Likewise.
8534 * posix/setsid.c: Likewise.
8535 * posix/setuid.c: Likewise.
8536 * posix/sleep.c: Likewise.
8537 * posix/spawni.c: Likewise.
8538 * posix/sysconf.c: Likewise.
8539 * posix/times.c: Likewise.
8540 * posix/wait.c: Likewise.
8541 * posix/wait3.c: Likewise.
8542 * posix/wait4.c: Likewise.
8543 * posix/waitpid.c: Likewise.
8544 * resolv/gai_sigqueue.c: Likewise.
8545 * resource/getpriority.c: Likewise.
8546 * resource/getrlimit.c: Likewise.
8547 * resource/getrusage.c: Likewise.
8548 * resource/nice.c: Likewise.
8549 * resource/setpriority.c: Likewise.
8550 * resource/setrlimit.c: Likewise.
8551 * resource/ulimit.c: Likewise.
8552 * rt/aio_cancel.c: Likewise.
8553 * rt/aio_fsync.c: Likewise.
8554 * rt/aio_read.c: Likewise.
8555 * rt/aio_sigqueue.c: Likewise.
8556 * rt/aio_suspend.c: Likewise.
8557 * rt/aio_write.c: Likewise.
8558 * rt/clock_getres.c: Likewise.
8559 * rt/clock_gettime.c: Likewise.
8560 * rt/clock_nanosleep.c: Likewise.
8561 * rt/clock_settime.c: Likewise.
8562 * rt/lio_listio.c: Likewise.
8563 * rt/mq_close.c: Likewise.
8564 * rt/mq_getattr.c: Likewise.
8565 * rt/mq_notify.c: Likewise.
8566 * rt/mq_open.c: Likewise.
8567 * rt/mq_receive.c: Likewise.
8568 * rt/mq_send.c: Likewise.
8569 * rt/mq_setattr.c: Likewise.
8570 * rt/mq_timedreceive.c: Likewise.
8571 * rt/mq_timedsend.c: Likewise.
8572 * rt/mq_unlink.c: Likewise.
8573 * rt/shm_open.c: Likewise.
8574 * rt/shm_unlink.c: Likewise.
8575 * rt/timer_create.c: Likewise.
8576 * rt/timer_delete.c: Likewise.
8577 * rt/timer_getoverr.c: Likewise.
8578 * rt/timer_gettime.c: Likewise.
8579 * rt/timer_settime.c: Likewise.
8580 * setjmp/__longjmp.c: Likewise.
8581 * setjmp/setjmp.c: Likewise.
8582 * signal/kill.c: Likewise.
8583 * signal/killpg.c: Likewise.
8584 * signal/raise.c: Likewise.
8585 * signal/sigaction.c: Likewise.
8586 * signal/sigaltstack.c: Likewise.
8587 * signal/sigblock.c: Likewise.
8588 * signal/sigignore.c: Likewise.
8589 * signal/sigintr.c: Likewise.
8590 * signal/signal.c: Likewise.
8591 * signal/sigpause.c: Likewise.
8592 * signal/sigpending.c: Likewise.
8593 * signal/sigqueue.c: Likewise.
8594 * signal/sigreturn.c: Likewise.
8595 * signal/sigset.c: Likewise.
8596 * signal/sigsetmask.c: Likewise.
8597 * signal/sigstack.c: Likewise.
8598 * signal/sigsuspend.c: Likewise.
8599 * signal/sigtimedwait.c: Likewise.
8600 * signal/sigvec.c: Likewise.
8601 * signal/sigwait.c: Likewise.
8602 * signal/sigwaitinfo.c: Likewise.
8603 * signal/sysv_signal.c: Likewise.
8604 * socket/accept.c: Likewise.
8605 * socket/accept4.c: Likewise.
8606 * socket/bind.c: Likewise.
8607 * socket/connect.c: Likewise.
8608 * socket/getpeername.c: Likewise.
8609 * socket/getsockname.c: Likewise.
8610 * socket/getsockopt.c: Likewise.
8611 * socket/isfdtype.c: Likewise.
8612 * socket/listen.c: Likewise.
8613 * socket/recv.c: Likewise.
8614 * socket/recvfrom.c: Likewise.
8615 * socket/recvmsg.c: Likewise.
8616 * socket/send.c: Likewise.
8617 * socket/sendmsg.c: Likewise.
8618 * socket/sendto.c: Likewise.
8619 * socket/setsockopt.c: Likewise.
8620 * socket/shutdown.c: Likewise.
8621 * socket/sockatmark.c: Likewise.
8622 * socket/socket.c: Likewise.
8623 * socket/socketpair.c: Likewise.
8624 * stdio-common/ctermid.c: Likewise.
8625 * stdio-common/cuserid.c: Likewise.
8626 * stdio-common/remove.c: Likewise.
8627 * stdio-common/rename.c: Likewise.
8628 * stdio-common/renameat.c: Likewise.
8629 * stdio-common/tempname.c: Likewise.
8630 * stdlib/getcontext.c: Likewise.
8631 * stdlib/makecontext.c: Likewise.
8632 * stdlib/setcontext.c: Likewise.
8633 * stdlib/swapcontext.c: Likewise.
8634 * stdlib/system.c: Likewise.
8635 * streams/fattach.c: Likewise.
8636 * streams/fdetach.c: Likewise.
8637 * streams/getmsg.c: Likewise.
8638 * streams/getpmsg.c: Likewise.
8639 * streams/putmsg.c: Likewise.
8640 * streams/putpmsg.c: Likewise.
8641 * sysdeps/unix/bsd/getpt.c: Likewise.
8642 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
8643 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
8644 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8647 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8648 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8649 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8650 * sysvipc/msgctl.c: Likewise.
8651 * sysvipc/msgget.c: Likewise.
8652 * sysvipc/msgrcv.c: Likewise.
8653 * sysvipc/msgsnd.c: Likewise.
8654 * sysvipc/semctl.c: Likewise.
8655 * sysvipc/semget.c: Likewise.
8656 * sysvipc/semop.c: Likewise.
8657 * sysvipc/semtimedop.c: Likewise.
8658 * sysvipc/shmat.c: Likewise.
8659 * sysvipc/shmctl.c: Likewise.
8660 * sysvipc/shmdt.c: Likewise.
8661 * sysvipc/shmget.c: Likewise.
8662 * termios/tcdrain.c: Likewise.
8663 * termios/tcflow.c: Likewise.
8664 * termios/tcflush.c: Likewise.
8665 * termios/tcgetattr.c: Likewise.
8666 * termios/tcgetpgrp.c: Likewise.
8667 * termios/tcsendbrk.c: Likewise.
8668 * termios/tcsetattr.c: Likewise.
8669 * termios/tcsetpgrp.c: Likewise.
8670 * time/adjtime.c: Likewise.
8671 * time/clock.c: Likewise.
8672 * time/getitimer.c: Likewise.
8673 * time/gettimeofday.c: Likewise.
8674 * time/setitimer.c: Likewise.
8675 * time/settimeofday.c: Likewise.
8676 * time/stime.c: Likewise.
8677 * time/time.c: Likewise.
8679 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
8681 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8684 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8686 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8688 2012-11-03 Joseph Myers <joseph@codesourcery.com>
8691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8692 FE_TONEAREST before applying Dekker multiplication and Knuth
8693 addition. Clear inexact exceptions and check for exact zero
8695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8696 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8698 * math/libm-test.inc (fma_test): Add more tests.
8699 (fma_test_towardzero): Likewise.
8700 (fma_test_downward): Likewise.
8701 (fma_test_upward): Likewise.
8702 * sysdeps/generic/math_private.h (default_libc_fesetround): New
8704 (libc_fesetround): New macro.
8705 (libc_fesetroundf): Likewise.
8706 (libc_fesetroundl): Likewise.
8707 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8709 (libc_fesetround_387): Likewise.
8710 (libc_fesetroundf): New macro.
8711 (libc_fesetround): Likewise.
8712 (libc_fesetroundl): Likewise.
8713 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8715 (libc_fesetroundf): New macro.
8716 (libc_fesetround): Likewise.
8717 (libc_fesetroundl): Likewise.
8718 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8719 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8720 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8722 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8723 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8725 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8726 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8728 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8732 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8733 integer constant usable in #if and use that to give value to enum
8735 (FE_DIVBYZERO): Likewise.
8736 (FE_UNDERFLOW): Likewise.
8737 (FE_OVERFLOW): Likewise.
8738 (FE_INVALID): Likewise.
8739 (FE_INVALID_SNAN): Likewise.
8740 (FE_INVALID_ISI): Likewise.
8741 (FE_INVALID_IDI): Likewise.
8742 (FE_INVALID_ZDZ): Likewise.
8743 (FE_INVALID_IMZ): Likewise.
8744 (FE_INVALID_COMPARE): Likewise.
8745 (FE_INVALID_SOFTWARE): Likewise.
8746 (FE_INVALID_SQRT): Likewise.
8747 (FE_INVALID_INTEGER_CONVERSION): Likewise.
8748 (FE_TONEAREST): Likewise.
8749 (FE_TOWARDZERO): Likewise.
8750 (FE_UPWARD): Likewise.
8751 (FE_DOWNWARD): Likewise.
8752 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8753 (FE_DIVBYZERO): Likewise.
8754 (FE_OVERFLOW): Likewise.
8755 (FE_UNDERFLOW): Likewise.
8756 (FE_INEXACT): Likewise.
8757 (FE_TONEAREST): Likewise.
8758 (FE_DOWNWARD): Likewise.
8759 (FE_UPWARD): Likewise.
8760 (FE_TOWARDZERO): Likewise.
8761 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8762 (FE_UNDERFLOW): Likewise.
8763 (FE_OVERFLOW): Likewise.
8764 (FE_DIVBYZERO): Likewise.
8765 (FE_INVALID): Likewise.
8766 (FE_TONEAREST): Likewise.
8767 (FE_TOWARDZERO): Likewise.
8768 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8769 (FE_OVERFLOW): Likewise.
8770 (FE_UNDERFLOW): Likewise.
8771 (FE_DIVBYZERO): Likewise.
8772 (FE_INEXACT): Likewise.
8773 (FE_TONEAREST): Likewise.
8774 (FE_TOWARDZERO): Likewise.
8775 (FE_UPWARD): Likewise.
8776 (FE_DOWNWARD): Likewise.
8777 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8778 (FE_DIVBYZERO): Likewise.
8779 (FE_OVERFLOW): Likewise.
8780 (FE_UNDERFLOW): Likewise.
8781 (FE_INEXACT): Likewise.
8782 (FE_TONEAREST): Likewise.
8783 (FE_DOWNWARD): Likewise.
8784 (FE_UPWARD): Likewise.
8785 (FE_TOWARDZERO): Likewise.
8787 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8789 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8791 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8793 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8794 commands. Quote $PWD.
8795 (blacklist_exports): Don't use remove_newlines. Replace "declare
8797 (remove_newlines): Remove.
8799 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8801 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8802 * stdlib/stdlib.h (atof): Moved to ...
8803 * include/bits/stdlib-float.h: Here. New file.
8804 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8805 * stdlib/bits/stdlib-float.h: New file.
8806 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8808 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8811 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8813 * conform/conformtest.pl (@headers): Add fenv.h.
8814 * conform/data/fenv.h-data: New file.
8815 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8816 include of <math/fenv.h>.
8818 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8819 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8820 && !UNIX98]. Enables tests for XOPEN2K8.
8821 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8822 POSIX2008]: Likewise.
8824 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8825 (struct rusage): Do not expect type or its members.
8828 * math/math.h (FP_NAN): Define macro to integer constant usable in
8829 #if and use that to give value to enum constant.
8830 (FP_INFINITE): Likewise.
8831 (FP_ZERO): Likewise.
8832 (FP_SUBNORMAL): Likewise.
8833 (FP_NORMAL): Likewise.
8835 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8837 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8838 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8841 2012-11-02 Roland McGrath <roland@hack.frob.com>
8843 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8844 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8845 autoconf-time if not.
8846 * configure.in: Remove AC_PREREQ.
8848 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8850 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8851 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8852 of the internal implementation.
8854 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8856 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8857 except include of <misc/sys/syslog.h>.
8859 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8862 function returns with a NULL context exit with zero.
8864 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8866 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8868 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8870 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8871 (run_program_cmd): This.
8872 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8873 (tst_langinfo): New variable. Use it.
8875 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8877 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8878 floating point opcodes.
8880 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8882 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8885 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8887 * sysdeps/mach/hurd/powerpc: Remove directory.
8888 * sysdeps/mach/powerpc: Likewise.
8890 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8892 * scripts/check-local-headers.sh: Ignore c++ headers.
8894 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8896 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8897 __libc_cleanup_region_start argument.
8899 2012-11-01 Joseph Myers <joseph@codesourcery.com>
8903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8904 x * y using scaling, not as x * y + z.
8905 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8906 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8907 * math/libm-test.inc (fma_test): Add more tests.
8908 (fma_test_towardzero): Likewise.
8909 (fma_test_downward): Likewise.
8910 (fma_test_upward): Likewise.
8912 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8914 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8916 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8918 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8921 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8923 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8925 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8932 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8935 Fix the order of the list for glibc 2.17.
8936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8939 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8943 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8946 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8947 for low part of x being zero before using __atanl (y).
8948 * math/libm-test.inc (atan2_test): Add another test.
8950 * manual/install.texi (Configuring and compiling): Document
8951 general use of test-wrapper and test-wrapper-env.
8952 * INSTALL: Regenerated.
8954 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8955 (__fma): Do not extract and scale down low bits on after-rounding
8956 systems when result rounded to normal precision would have normal
8958 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8959 (__fmal): Do not extract and scale down low bits on after-rounding
8960 systems when result rounded to normal precision would have normal
8962 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8963 (__fmal): Do not extract and scale down low bits on after-rounding
8964 systems when result rounded to normal precision would have normal
8966 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8968 (fma_test): Add more tests.
8969 (fma_test_towardzero): Likewise.
8970 (fma_test_downward): Likewise.
8971 (fma_test_upward): Likewise.
8973 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8975 * sysdeps/i386/tininess.h: Renamed to ...
8976 * sysdeps/x86/tininess.h: This.
8977 * sysdeps/x86_64/tininess.h: Removed.
8979 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8981 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8982 input. Use $(build-program-cmd).
8983 ($(objpfx)tst-array1-static.out): Likewise.
8984 ($(objpfx)tst-array2.out): Likewise.
8985 ($(objpfx)tst-array3.out): Likewise.
8986 ($(objpfx)tst-array4.out): Likewise.
8987 ($(objpfx)tst-array5.out): Likewise.
8988 ($(objpfx)tst-array5-static.out): Likewise.
8990 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8992 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8995 * nss/nsswitch.h (nss_interface_function): Provide new
8996 macro for use with NSS functions.
8997 * grp/initgroups.c: Use new macro.
8998 * nss/getXXbyYY.c: Likewise.
8999 * nss/getXXbyYY_r.c: Likewise.
9000 * nss/getXXent.c: Likewise.
9001 * nss/getXXent_r.c: Likewise.
9002 * sysdeps/posix/getaddrinfo.c: Likewise.
9004 2012-10-30 Andreas Jaeger <aj@suse.de>
9006 * po/ru.po: Update Russion translation from translation project.
9008 2012-10-30 Joseph Myers <joseph@codesourcery.com>
9012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9013 result and shift together with sticky bit instead of replicating
9014 round-to-nearest rounding.
9015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9016 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9017 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9018 missing underflow exceptions.
9019 (fma_test_towardzero): Add more tests.
9020 (fma_test_downward): Likewise.
9021 (fma_test_upward): Likewise.
9024 * sysdeps/generic/tininess.h: New file.
9025 * sysdeps/i386/tininess.h: Likewise.
9026 * sysdeps/sh/tininess.h: Likewise.
9027 * sysdeps/x86_64/tininess.h: Likewise.
9028 * stdlib/tst-strtod-underflow.c: Likewise.
9029 * stdlib/tst-tininess.c: Likewise.
9030 * stdlib/strtod_l.c: Include <tininess.h>.
9031 (round_and_return): Do not set errno for exact underflow cases.
9032 Force an underflow exception when setting errno for underflow.
9033 Determine underflow based on rounding to normal precision if
9034 TININESS_AFTER_ROUNDING.
9035 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9036 ERANGE for exact underflow cases.
9037 * stdlib/Makefile (tests): Add tst-tininess and
9038 tst-strtod-underflow.
9039 ($(objpfx)tst-tininess): Use $(link-libm).
9040 ($(objpfx)tst-strtod-underflow): Likewise.
9042 2012-10-30 Andreas Jaeger <aj@suse.de>
9045 * elf/Makefile (tests): Remove conditional for have-initfini-array
9046 since this is now always required and the variable does not exist
9048 (tests-static): Likewise.
9049 (modules-names): Likewise.
9051 * po/eo.po: Add Esperanto translation from translation project.
9053 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9054 merged with constructor/destructor.
9055 (init_array): Likewise.
9056 * elf/tst-array2dep.c (fini_array): Likewise.
9057 (init_array): Likewise.
9059 2012-10-29 Mike Frysinger <vapier@gentoo.org>
9061 * manual/message.texi: Delete @cartouche tags.
9063 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9065 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9067 * sysdeps/mach/hurd/fsync.c: Likewise.
9069 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9070 [_POSIX_REALTIME_SIGNALS]: Change condition to
9071 [_POSIX_REALTIME_SIGNALS > 0].
9073 2012-10-27 Andreas Jaeger <aj@suse.de>
9075 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9076 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9078 [__WORDSIZE != 64]: Likewise.
9080 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9082 * iconvdata/tst-table.sh: Remove ${SHELL}.
9083 * iconvdata/tst-tables.sh: Likewise.
9085 2012-10-25 David S. Miller <davem@davemloft.net>
9087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9088 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9093 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9094 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9095 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9098 2012-10-25 Roland McGrath <roland@hack.frob.com>
9100 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9101 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9104 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9105 Jim Blandy <jimb@codesourcery.com>
9107 * scripts/cross-test-ssh.sh: New file.
9108 * manual/install.texi (Configuring and compiling): Document use of
9110 * INSTALL: Regenerated.
9112 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9114 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9117 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9119 * Makeconfig (run-program-prefix): Fix comment.
9121 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9122 Jim Blandy <jimb@codesourcery.com>
9124 * Makeconfig (test-wrapper): New variable,
9125 (test-wrapper-env): Likewise.
9126 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9127 (run-built-tests): Define to yes.
9128 (run-program-prefix): Use $(test-wrapper).
9129 (built-program-cmd): Likewise.
9130 * Rules (make-test-out): Use $(test-wrapper-env) and
9131 $(host-built-program-cmd).
9132 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9133 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9135 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9136 $(test-wrapper-env) to tst-rtld-load-self.sh.
9137 ($(objpfx)order2.out): Use $(test-wrapper).
9138 ($(objpfx)tst-initorder.out): Likewise.
9139 ($(objpfx)tst-initorder2.out): Likewise.
9140 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9141 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9142 (test_wrapper_env): New variable. Use it to run ld.so.
9143 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9144 Use it to run ld.so.
9145 (test_wrapper_env): Likewise.
9146 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9147 $(test-wrapper) to run-iconv-test.sh.
9148 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9149 (ICONV): Use $test_wrapper.
9150 * posix/Makefile ($(objpfx)globtest.out): Pass
9151 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9152 globtest.sh, not $(run-program-prefix).
9153 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9154 (test_wrapper): Likewise.
9155 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9156 set together with run_via_rtld_prefix.
9157 (run_program_prefix): Define in terms of test_wrapper and
9158 run_via_rtld_prefix.
9160 2012-10-24 Roland McGrath <roland@hack.frob.com>
9162 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9163 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9167 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9168 Declare __clock_getres, __clock_gettime, __clock_settime,
9169 __clock_nanosleep, and __clock_getcpuclockid.
9170 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9171 Remove librt_hidden_def (clock_gettime).
9172 * sysdeps/unix/clock_gettime.c: Likewise.
9173 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9174 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9175 * rt/clock_getres.c: Define __clock_getres as an alias.
9176 * sysdeps/posix/clock_getres.c: Likewise.
9177 * rt/clock_settime.c: Define __clock_settime as an alias.
9178 * sysdeps/unix/clock_settime.c: Likewise.
9179 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9180 * sysdeps/unix/clock_nanosleep.c: Likewise.
9181 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9182 * rt/clock-compat.c: New file.
9183 * rt/Makefile (librt-routines): Add clock-compat and move
9184 $(clock-routines) to ...
9185 (routines): ... here, new variable.
9186 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9187 Don't add get_clockfreq here.
9188 * rt/Versions (libc: GLIBC_2.17): New version set.
9189 Add clock_* symbols here.
9190 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9191 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9192 (GLIBC_2.17): Add clock_* symbols.
9193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9195 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9204 * NEWS: Mention the move.
9206 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9207 Use __open, __read, __close rather than their public counterparts.
9208 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9209 (__get_clockfreq_via_cpuinfo): Likewise.
9210 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9211 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9213 * config.h.in (HAVE_IFUNC): New #undef.
9214 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9216 * configure: Regenerated.
9218 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9220 * configure.in: Move READELF check to start of file.
9221 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9222 libc_cv_asm_gnu_indirect_function in the process.
9223 * configure: Regenerated.
9225 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9227 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9228 send the output to /dev/null.
9229 (libc_cv_cc_with_libunwind): Likewise.
9230 (libc_cv_as_noexecstack): Likewise.
9231 * configure: Regenerate.
9233 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9235 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9237 * posix/globtest.sh (TMPDIR): Do not set.
9238 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9239 (testout): Likewise.
9241 2012-10-24 Andreas Jaeger <aj@suse.de>
9243 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9244 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9245 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9246 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9247 posix_fadvise64, posix_fallocate64.
9249 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9250 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9251 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9253 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9255 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9258 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9259 <bits/fcntl-linux.h>.
9260 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9263 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9264 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9265 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9266 [__WORDSIZE != 64]: Likewise.
9268 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9270 * Makeconfig (run-built-tests): New variable.
9271 * Rules [$(cross-compiling) = yes]: Change condition to
9272 [$(run-built-tests) = no].
9273 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9274 to [$(run-built-tests) = yes].
9275 * elf/Makefile [$(cross-compiling) = no]: Likewise
9276 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9277 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9278 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9279 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9280 * io/Makefile [$(cross-compiling) = no]: Likewise.
9281 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9282 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9283 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9284 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9285 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9286 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9287 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9288 * string/Makefile [$(cross-compiling) = no]: Likewise.
9290 * posix/Makefile ($(objpfx)globtest.out): Pass
9291 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9292 $(rtld-installed-name).
9293 * posix/globtest.sh (elf_objpfx): Remove variable.
9294 (rtld_installed_name): Likewise.
9295 (library_path): Likewise.
9296 (run_program_prefix): New variable. Use for running globtest
9299 2012-10-23 Jim Blandy <jimb@codesourcery.com>
9300 Joseph Myers <joseph@codesourcery.com>
9302 * Makeconfig (host-built-program-cmd): New variable.
9303 * elf/Makefile (tst-stackguard1-ARGS): Use
9304 $(host-built-program-cmd).
9305 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9306 (tst-spawn-ARGS): Likewise.
9307 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9309 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9310 Jim Blandy <jimb@codesourcery.com>
9312 * Makeconfig (run-via-rtld-prefix): New variable.
9313 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9314 (built-program-cmd): Likewise.
9316 2012-10-22 Andreas Jaeger <aj@suse.de>
9318 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9319 __O_RSYNC if it exists, otherwise to O_SYNC.
9321 2012-10-22 Jim Blandy <jimb@codesourcery.com>
9322 Joseph Myers <joseph@codesourcery.com>
9324 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9326 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9328 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9331 2012-10-22 Andreas Jaeger <aj@suse.de>
9333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9335 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9340 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9341 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9348 2012-10-21 Jim Blandy <jimb@codesourcery.com>
9349 Joseph Myers <joseph@codesourcery.com>
9351 * config.make.in (NM): New variable.
9353 2012-10-21 Andreas Jaeger <aj@suse.de>
9355 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9356 definitions and declarations that are provided by
9357 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9359 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9362 * elf/Makefile (tests-static): Add tst-leaks1-static.
9363 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9364 ($(objpfx)tst-leaks1-static): New rule.
9365 ($(objpfx)tst-leaks1-static-mem): Likewise.
9366 (tst-leaks1-static-ENV): New macro.
9367 * elf/dl-open.c (dl_open_worker): Check the main application
9368 only if SHARED is defined.
9369 * elf/tst-leaks1-static.c: New file.
9371 2012-10-20 Andreas Jaeger <aj@suse.de>
9373 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9374 generic values for Linux.
9375 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9376 and declarations that are provided by <bits/fcntl-linux.h> and
9377 include <bits/fcntl-linux.h>.
9378 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9379 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9381 2012-10-20 Roland McGrath <roland@hack.frob.com>
9383 * io/fcntl.h: Move include of <bits/types.h> to the top and
9384 include it unconditionally.
9386 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9388 * wcsmbs/Makefile (tests-ifunc): New variable.
9389 (tests): Add $(tests-ifunc).
9390 * wcsmbs/test-wcschr-ifunc.c: New file.
9391 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9392 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9393 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9394 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9395 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9397 * string/Makefile (tests-ifunc): New variable.
9398 (tests): Add $(tests-ifunc).
9399 * string/test-memccpy.c (TEST_NAME): New macro.
9400 * string/test-memchr.c (TEST_NAME): Likewise.
9401 * string/test-memcmp.c (TEST_NAME): Likewise.
9402 * string/test-memcpy.c (TEST_NAME): Likewise.
9403 * string/test-memmem.c (TEST_NAME): Likewise.
9404 * string/test-memmove.c (TEST_NAME): Likewise.
9405 * string/test-memset.c (TEST_NAME): Likewise.
9406 * string/test-rawmemchr.c (TEST_NAME): Likewise.
9407 * string/test-stpcpy.c (TEST_NAME): Likewise.
9408 * string/test-stpncpy.c (TEST_NAME): Likewise.
9409 * string/test-strcasecmp.c (TEST_NAME): Likewise.
9410 * string/test-strcasestr.c (TEST_NAME): Likewise.
9411 * string/test-strcat.c (TEST_NAME): Likewise.
9412 * string/test-strchr.c (TEST_NAME): Likewise.
9413 * string/test-strcmp.c(TEST_NAME): Likewise.
9414 * string/test-strcpy.c (TEST_NAME): Likewise.
9415 * string/test-strcspn.c (TEST_NAME): Likewise.
9416 * string/test-strlen.c (TEST_NAME): Likewise.
9417 * string/test-strncasecmp.c (TEST_NAME): Likewise.
9418 * string/test-strncmp.c (TEST_NAME): Likewise.
9419 * string/test-strncpy.c (TEST_NAME): Likewise.
9420 * string/test-strnlen.c (TEST_NAME): Likewise.
9421 * string/test-strpbrk.c (TEST_NAME): Likewise.
9422 * string/test-strrchr.c (TEST_NAME): Likewise.
9423 * string/test-strspn.c (TEST_NAME): Likewise.
9424 * string/test-strstr.c (TEST_NAME): Likewise.
9425 * string/test-bcopy-ifunc.c: New file.
9426 * string/test-bzero-ifunc.c: Likewise.
9427 * string/test-memccpy-ifunc.c: Likewise.
9428 * string/test-memchr-ifunc.c: Likewise.
9429 * string/test-memcmp-ifunc.c: Likewise.
9430 * string/test-memcpy-ifunc.c: Likewise.
9431 * string/test-memmem-ifunc.c: Likewise.
9432 * string/test-memmove-ifunc.c: Likewise.
9433 * string/test-mempcpy-ifunc.c: Likewise.
9434 * string/test-memset-ifunc.c: Likewise.
9435 * string/test-rawmemchr-ifunc.c: Likewise.
9436 * string/test-stpcpy-ifunc.c: Likewise.
9437 * string/test-stpncpy-ifunc.c: Likewise.
9438 * string/test-strcasecmp-ifunc.c: Likewise.
9439 * string/test-strcasestr-ifunc.c: Likewise.
9440 * string/test-strcat-ifunc.c: Likewise.
9441 * string/test-strchr-ifunc.c: Likewise.
9442 * string/test-strchrnul-ifunc.c: Likewise.
9443 * string/test-strcmp-ifunc.c: Likewise.
9444 * string/test-strcpy-ifunc.c: Likewise.
9445 * string/test-strcspn-ifunc.c: Likewise.
9446 * string/test-strlen-ifunc.c: Likewise.
9447 * string/test-strncasecmp-ifunc.c: Likewise.
9448 * string/test-strncat-ifunc.c: Likewise.
9449 * string/test-strncmp-ifunc.c: Likewise.
9450 * string/test-strncpy-ifunc.c: Likewise.
9451 * string/test-strnlen-ifunc.c: Likewise.
9452 * string/test-strpbrk-ifunc.c: Likewise.
9453 * string/test-strrchr-ifunc.c: Likewise.
9454 * string/test-strspn-ifunc.c: Likewise.
9455 * string/test-strstr-ifunc.c: Likewise.
9457 * debug/Makefile (tests-ifunc): New variable.
9458 (tests): Add $(tests-ifunc).
9459 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
9460 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
9461 * debug/test-stpcpy_chk-ifunc.c: New file.
9462 * debug/test-strcpy_chk-ifunc.c: Likewise.
9464 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9467 * elf/dl-load.c (open_verify): Retry read if the entire ELF
9468 header is not read in.
9470 2012-10-19 Joseph Myers <joseph@codesourcery.com>
9472 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
9473 script to $(SHELL) as $<. Pass $(common-objpfx) to script
9474 directly. Pass built executable to script as
9475 $(built-program-cmd).
9476 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
9477 $testprogram without using LD_LIBRARY_PATH and $ldso.
9479 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
9480 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
9481 $(rtld-installed-name).
9482 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
9483 (rtld_installed_name): Likewise.
9484 (library_path): Likewise.
9485 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
9486 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
9487 $(run-program-prefix) to tst-tables.sh.
9488 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
9489 it to run tst-table-from and tst-table-to.
9490 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
9491 Pass it to tst-table.sh.
9492 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
9493 $(run-program-prefix) to tst-gettext.sh.
9494 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
9496 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
9498 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
9500 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
9501 to run tst-gettext2.
9502 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
9503 to run tst-translit.
9504 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
9505 $(run-program-prefix) to tst-mtrace.sh.
9506 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
9508 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
9509 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
9510 $(rtld-installed-name).
9511 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
9512 (rtld_installed_name): Likewise.
9513 (run_program_prefix): New variable. Use it to run wordexp-test.
9515 * Makeconfig (ARCH): Remove all definitions.
9516 (machine): Likewise.
9517 [ARCH]: Remove conditional code.
9518 [!objdir]: Give error.
9519 [!objdir] (objpfx): Remove.
9520 [!objdir] (common-objpfx): Likewise.
9521 [!objdir] (common-objdir): Likewise.
9522 * configure.in (config_makefile): Remove. Hardcode Makefile in
9523 AC_CONFIG_FILES call.
9524 * configure: Regenerated.
9527 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
9529 (testout): Likewise.
9531 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
9532 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
9533 $(rtld-installed-name).
9534 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
9535 (rtld_installed_name): Likwise.
9536 (runit): Remove function.
9537 (run_getconf): New variable, Use it for running getconf binary.
9539 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
9542 * string/test-memmem.c (check_result): New function.
9543 (do_one_test): Use it.
9544 (check1): New function.
9545 (test_main): Use it.
9547 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
9549 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
9551 2012-10-18 Joseph Myers <joseph@codesourcery.com>
9553 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
9554 (_G_LSEEK64): Likewise.
9555 (_G_MMAP64): Likewise.
9556 (_G_FSTAT64): Likewise.
9557 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
9558 (_G_LSEEK64): Likewise.
9559 (_G_MMAP64): Likewise.
9560 (_G_FSTAT64): Likewise.
9561 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
9562 unconditional. Call __mmap64 directly.
9563 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
9564 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
9566 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
9567 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
9569 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
9570 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
9572 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
9573 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
9575 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
9576 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
9578 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
9579 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
9580 __fxstat64 directly.
9581 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
9582 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
9584 (freopen64) [!_G_OPEN64]: Remove conditional code.
9585 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
9587 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
9588 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
9590 (ftello64) [!_G_LSEEK64]: Remove conditional code.
9591 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
9593 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9594 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
9596 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
9597 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
9599 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9600 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
9602 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9603 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
9605 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9607 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9610 * manual/memory.texi (Malloc Tunable Parameters): Add note
9611 about free list pointers overwriting some perturb bytes.
9612 Wording suggested by Roland McGrath.
9614 2012-10-17 Joseph Myers <joseph@codesourcery.com>
9616 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
9617 (lgamma_test): Likewise.
9618 (tgamma_test): Likewise.
9620 2012-10-16 Florian Weimer <fweimer@redhat.com>
9623 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
9624 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
9626 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
9628 * NEWS: Mention BZ #14716.
9629 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
9630 when removing AVAILABLE1_USES_J macro.
9632 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
9634 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
9635 (__bswap_64): __uint64_t for unsigned 64-bit int.
9637 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
9639 * include/string.h (memmem): Declare libc hidden alias.
9640 * string/memmem.c (memmem): Define libc hidden alias.
9641 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
9642 __read, __close instead of open, read, close.
9644 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
9646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9647 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9649 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9650 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9651 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9653 (__rawmemchr_sse2): Likewise.
9654 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9655 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9656 (__strchr_sse2): Likewise.
9657 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9658 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9659 (__strcasecmp_sse2): Likewise.
9660 (__strncasecmp_sse2): Likewise.
9661 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9662 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9663 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9664 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9665 (__strrchr_sse2): Likewise.
9666 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9668 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9669 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9670 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9671 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9672 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9673 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9674 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9675 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9676 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9677 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9678 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9679 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9680 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9681 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9682 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9683 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9684 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9685 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9686 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9687 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9688 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9689 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9690 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9691 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9692 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9693 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9694 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9695 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9696 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9697 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9699 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9701 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9702 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9703 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9704 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9706 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9708 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9709 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9710 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9711 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9713 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9714 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9715 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9716 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9717 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9718 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9719 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9720 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9721 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9722 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9723 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9724 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9725 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9726 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9727 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9728 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9729 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9730 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9731 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9732 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9733 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9734 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9735 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9736 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9737 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9738 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9739 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9740 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9741 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9742 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9743 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9744 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9745 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9746 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9747 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9748 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9749 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9750 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9751 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9752 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9753 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9755 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9756 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9757 * include/ifunc-impl-list.h: New file.
9758 * misc/ifunc-impl-list.c: Likewise.
9759 * misc/Makefile (routines): Add ifunc-impl-list.
9760 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9761 * string/test-string.h: Include <ifunc-impl-list.h>.
9762 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9763 impl_array): New variables.
9764 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9766 (test_init): Call __libc_ifunc_impl_list to initialize
9767 func_list if TEST_IFUNC and TEST_NAME are defined.
9769 * string/Makefile (strop-tests): Add bcopy and bzero.
9770 * string/test-bcopy.c: New file.
9771 * string/test-bzero.c: Likewise.
9772 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9774 * string/test-memset.c: Support bzero test if TEST_BZERO is
9776 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9778 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9780 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9783 2012-10-10 Joseph Myers <joseph@codesourcery.com>
9785 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9786 * configure: Regenerated.
9788 * Makeconfig (+link-static-before-libc): Don't include
9789 $(link-static-libc).
9791 * libio/libio.h (_IO_pos_t): Remove.
9793 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9795 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9798 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9800 * crypt/crypt-entry.c: Include fips-private.h.
9801 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9802 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9803 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9804 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9806 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9808 * crypt/crypt-private.h: Include stdbool.h.
9809 (_ufc_setup_salt_r): Return bool.
9810 * crypt/crypt-entry.c: Include errno.h.
9811 (__crypt_r): Return NULL with EINVAL for bad salt.
9812 * crypt/crypt_util.c (bad_for_salt): New.
9813 (_ufc_setup_salt_r): Check that salt is long enough and within
9814 the specified alphabet.
9815 * crypt/badsalttest.c: New file.
9816 * crypt/Makefile (tests): Add it.
9817 ($(objpfx)badsalttest): New.
9819 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9821 * NEWS: Add entry for BZ #14602.
9823 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9825 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9827 * math/libm-test.inc: Update comment listing what functions and
9829 (isgreater_test): New function.
9830 (isgreaterequal_test): Likewise.
9831 (isless_test): Likewise.
9832 (islessequal_test): Likewise.
9833 (islessgreater_test): Likewise.
9834 (isunordered_test): Likewise.
9835 (main): Call the new functions.
9837 2012-10-09 Roland McGrath <roland@hack.frob.com>
9839 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9840 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9841 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9842 * sysdeps/i386/configure: Regenerated.
9843 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9844 * sysdeps/mach/configure: Regenerated.
9845 * sysdeps/mach/hurd/configure: Regenerated.
9846 * sysdeps/powerpc/configure: Regenerated.
9847 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9848 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9849 * sysdeps/s390/s390-32/configure: Regenerated.
9850 * sysdeps/s390/s390-64/configure: Regenerated.
9851 * sysdeps/sh/configure: Regenerated.
9852 * sysdeps/sparc/configure: Regenerated.
9853 * sysdeps/unix/sysv/linux/configure: Regenerated.
9854 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9855 * sysdeps/x86_64/configure: Regenerated.
9857 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9858 defined. Don't check if MAP is NULL.
9860 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9862 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9863 (_G_stat64): Likewise.
9864 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9865 (_G_stat64): Likewise.
9866 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9867 instead of struct _G_stat64.
9868 * libio/fileops.c (mmap_remap_check): Likewise.
9869 (decide_maybe_mmap): Likewise.
9870 (_IO_new_file_seekoff): Likewise.
9871 (_IO_file_stat): Likewise.
9872 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9874 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9875 instead of struct _G_stat64.
9876 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9878 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9881 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9883 (CHECK_EOL): New macro.
9884 (two_way_short_needle): Check beginning of haystack for EOL. Use
9886 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9887 Replace with CHECK_EOL.
9888 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9889 Replace with CHECK_EOL.
9891 2012-10-08 Joseph Myers <joseph@codesourcery.com>
9893 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9895 * math/libm-test.inc: Update comment listing what functions and
9897 (finite_test): New function.
9898 (isinf_test): Likewise.
9899 (isnan_test): Likewise.
9900 (fpclassify_test): Test subnormal input.
9901 (isfinite_test): Likewise.
9902 (isnormal_test): Likewise.
9903 (main): Call the new functions.
9905 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9908 * Makerules (%.dynsym): Force C locale when running
9909 $(OBJDUMP) --dynamic-syms.
9911 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9913 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9916 2012-10-06 David S. Miller <davem@davemloft.net>
9918 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9919 upper 32-bits of the length value in %o2 since we use branch-on-register
9920 tests which consider the entire 64-bit register.
9922 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9924 * string/test-strstr.c (check2): Add a test for page boundary.
9926 2012-10-05 David S. Miller <davem@davemloft.net>
9928 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9929 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9931 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9933 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9934 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9935 and bzero when HWCAP_SPARC_CRYPTO is present.
9937 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9940 * string/test-strstr.c (check2): New function.
9941 (test_main): Call check2.
9943 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9945 * string/bug-strcasestr1.c (do_test): Moved to ...
9946 * string/test-strcasestr.c (check1): Here. New function.
9947 (do_one_test): Break out result checking code into ...
9948 (check_result): This. New function.
9949 (do_one_test): Call check_result.
9950 (test_main): Call check1.
9951 * string/bug-strchr1.c (do_test): Moved to ...
9952 * string/test-strchr.c (check1): Here. New function.
9953 (do_one_test): Break out result checking code into ...
9954 (check_result): This. New function.
9955 (do_one_test): Call check_result.
9956 (test_main): Call check1.
9957 * string/bug-strstr1.c (main): Moved to ...
9958 * string/test-strstr.c (check1): Here. New function.
9959 (do_one_test): Break out result checking code into ...
9960 (check_result): This. New function.
9961 (do_one_test): Call check_result.
9962 (test_main): Call check1.
9963 * string/bug-strcasestr1.c: Removed.
9964 * string/bug-strchr1.c: Likewise.
9965 * string/bug-strstr1.c: Likewise.
9967 * elf/Makefile (dl-routines): Add hwcaps.
9968 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9969 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9970 (_dl_important_hwcaps): Moved to ...
9971 * elf/dl-hwcaps.c: Here. New file.
9972 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9975 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9976 if IS_IN_rtld isn't defined.
9978 * elf/dl-support.c (_dl_sysinfo_map): New.
9979 Include "get-dynamic-info.h" and "setup-vdso.h".
9980 (_dl_non_dynamic_init): Call setup_vdso.
9981 * elf/dynamic-link.h: Don't include <assert.h>.
9982 (elf_get_dynamic_info): Moved to ...
9983 * elf/get-dynamic-info.h: Here. New file.
9984 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9985 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9986 * elf/setup-vdso.h: Here. New file.
9987 * elf/rtld.c: Include "setup-vdso.h".
9988 (dl_main): Call setup_vdso.
9990 2012-10-05 Joseph Myers <joseph@codesourcery.com>
9992 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9993 creal in comment listing functions tested. List finite, isinf,
9994 isnan, isless, islessequal, isgreater, isgreaterequal,
9995 islessgreater, isunordered, lgamma_r and pow10 as functions and
9996 macros not tested. Mention which functions not tested are aliases
9997 for other functions. Fix typo. Note that signs of NaNs are not
10000 * scripts/config.guess: Update from config.git.
10001 * scripts/config.sub: Likewise.
10003 2012-10-04 Roland McGrath <roland@hack.frob.com>
10005 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10006 * misc/madvise.c (madvise): Renamed to __madvise.
10007 Make madvise a weak alias.
10008 * include/sys/mman.h: Declare __madvise.
10009 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10010 * sysdeps/unix/syscalls.list
10011 (madvise): Make __madvise the strong name, and madvise a weak alias.
10012 * sysdeps/unix/sysv/linux/syscalls.list
10013 (madvise, mmap): Remove redundant entries.
10014 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10015 * malloc/malloc.c (mtrim): Likewise.
10016 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10018 2012-10-03 Roland McGrath <roland@hack.frob.com>
10020 * sysdeps/mach/hurd/dl-cache.c: File removed.
10021 * config.h.in (USE_LDCONFIG): New #undef.
10022 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10023 * configure: Regenerated.
10024 * elf/Makefile (dl-routines): Add dl-cache only under
10025 [$(use-ldconfig) = yes].
10026 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10027 cache on [USE_LDCONFIG].
10028 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10030 * elf/rtld.c (dl_main): Likewise.
10032 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10034 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10035 _SC_LEVEL4_CACHE_LINESIZE.
10037 2012-10-03 Roland McGrath <roland@hack.frob.com>
10039 * sysdeps/unix/bsd/confstr.h: File removed.
10041 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
10043 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10046 2012-10-02 Roland McGrath <roland@hack.frob.com>
10048 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10049 Make 'mapoff' field ElfW(Off) rather than off_t.
10051 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10053 * nscd/Makefile: Remove nscd-cflags and all its users.
10054 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10055 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10058 * malloc.c (malloc_printerr): Clarify error message.
10060 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10064 Set bit_FMA_Usable if FMA is supported.
10065 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10067 (bit_FMA4_Usable): Updated.
10068 (index_FMA_Usable): New macro.
10069 (CPUID_FMA): Likewise
10070 (HAS_FMA): Defined with bit_FMA_Usable.
10072 2012-10-01 Roland McGrath <roland@hack.frob.com>
10074 * bits/types.h (__swblk_t): Type removed.
10075 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10076 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10077 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10078 (__SWBLK_T_TYPE): Likewise.
10079 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10080 (__SWBLK_T_TYPE): Likewise.
10081 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10082 (__SWBLK_T_TYPE): Likewise.
10083 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10084 (__SWBLK_T_TYPE): Likewise.
10086 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
10087 Honza Horak <hhorak@redhat.com>
10089 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10090 (xdr_mapname): Use YPMAXMAP as maxsize.
10091 (xdr_peername): Use YPMAXPEER as maxsize.
10092 (xdr_keydat): Use YPAXRECORD as maxsize.
10093 (xdr_valdat): Use YPMAXRECORD as maxsize.
10095 2012-10-01 Roland McGrath <roland@hack.frob.com>
10097 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10099 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10100 * csu/init-first.c: ... here.
10101 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10102 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10103 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10104 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10105 * sysdeps/i386/init-first.c: File removed.
10106 * sysdeps/sh/init-first.c: File removed.
10108 2012-10-01 Joseph Myers <joseph@codesourcery.com>
10111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10112 if x * y might underflow to zero and z is zero.
10113 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10114 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10115 * math/libm-test.inc (min_subnorm_value): New variable.
10116 (fma_test): Add more tests.
10117 (fma_test_towardzero): Likewise.
10118 (fma_test_downward): Likewise
10119 (fma_test_upward): Likewise.
10120 (initialize): Set min_subnorm_value.
10122 2012-09-29 Joseph Myers <joseph@codesourcery.com>
10125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10127 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10128 mode for addition resulting in exact zero.
10129 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10132 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10134 * math/libm-test.inc (fma_test): Add more tests.
10135 (fma_test_towardzero): New function.
10136 (fma_test_downward): Likewise.
10137 (fma_test_upward): Likewise.
10138 (main): Call the new functions.
10140 2012-09-28 David S. Miller <davem@davemloft.net>
10142 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10144 2012-09-28 Roland McGrath <roland@hack.frob.com>
10146 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10147 instead of SIGALRM.
10149 * sysdeps/gnu/_G_config.h: Moved to ...
10150 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10151 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10152 * sysdeps/generic/_G_config.h: ... here.
10154 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10156 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10158 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10159 Conditionalize target on [libnss_test1.so-version].
10161 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10163 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10164 (elfobjdir): Move out of conditionals.
10166 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10167 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10168 (__nss_lookup_function): Conditionalize label remove_from_tree on
10169 [!DO_STATIC_NSS || SHARED], matching its only use.
10171 2012-09-28 David S. Miller <davem@davemloft.net>
10173 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10174 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10176 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10178 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10180 when HWCAP_SPARC_CRYPTO is present.
10182 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10184 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10186 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10189 * stdio-common/vfprintf.c (process_string_arg): Revert
10192 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10194 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10196 * stdio-common/tst-sprintf.c: Include <locale.h>
10197 (main): Test sprintf's handling of incomplete multibyte
10200 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10202 * elf/dl-runtime.c (VERSYMIDX): Removed.
10203 * elf/dl-version.c (VERSYMIDX): Likewise.
10204 * elf/do-rel.h (VERSYMIDX): Likewise.
10205 (VALIDX): Likewise.
10206 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10207 * elf/rtld.c (VALIDX): Likewise.
10208 (ADDRIDX): Likewise.
10209 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10210 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10211 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
10212 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10213 (VALIDX): Likewise.
10214 (ADDRIDX): Likewise.
10216 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10218 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10220 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10223 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10225 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10226 addresses are in the same scope as 192.0.2/24.
10227 * posix/gai.conf: Document new scope table defaults.
10229 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10232 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10233 for ftell. Compute offsets from write pointers instead.
10234 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10236 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10239 * libio/Makefile (tests): New test case tst-fseek.
10240 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10241 combination works in wide mode.
10242 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10243 state when the external buffer state changes.
10245 2012-09-27 David S. Miller <davem@davemloft.net>
10248 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10249 pass reloc->r_addend in as the 'high' argument to
10250 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10254 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10256 * rt/tst-aio2.c: Include <pthread.h>.
10257 * rt/tst-aio3.c: Likewise.
10259 2012-09-27 Steve Ellcey <sellcey@mips.com>
10261 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10263 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10265 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10266 contents on [SHARED].
10268 2012-09-26 Marek Polacek <polacek@redhat.com>
10272 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10273 for C++ and GCC <4.3 as well as for non GCC compilers.
10275 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10279 2012-09-25 Roland McGrath <roland@hack.frob.com>
10281 * Makefile.in (all, install): Declare with .PHONY.
10282 Reported by Michael Hope <michael.hope@linaro.org>.
10284 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10286 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10287 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10289 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10291 (sydep_routines): Add the new and the internal functions.
10292 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10293 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10295 (GLIBC_2.17): Add the new function.
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10297 (GLIBC_2.17): Likewise.
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10299 (GLIBC_2.17): Likewise.
10300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10301 (GLIBC_2.17): Likewise.
10302 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10304 2012-09-25 Alan Modra <amodra@gmail.com>
10306 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10307 Add release barrier before setting once_control to say
10308 initialisation is done. Add hints on lwarx. Use macro in
10310 (clear_once_control): Add release barrier.
10312 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10315 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10317 * math/s_clog10.c (__clog10): Likewise.
10318 * math/s_clog10f.c (__clog10f): Likewise.
10319 * math/s_clog10l.c (__clog10l): Likewise.
10320 * math/s_clogf.c (__clogf): Likewise.
10321 * math/s_clogl.c (__clogl): Likewise.
10322 * math/Makefile (libm-calls): Add x2y2m1.
10323 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10324 (__x2y2m1): Likewise.
10325 (__x2y2m1l): Likewise.
10326 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10327 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10330 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10331 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10332 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10333 * sysdeps/i386/fpu/libm-test-ulps: Update.
10334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10337 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10338 int as type of variable DEPTH.
10339 (glob): Use size_t instead of int as type of variables NEWCOUNT
10342 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10344 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10345 Add s_sincosf-sse2.
10346 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10347 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10348 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10349 macros for using routine as __sincosf_ia32.
10350 Use macro for function declaration and weak_alias.
10351 * sysdeps/i386/fpu/libm-test-ulps: Update.
10353 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10356 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
10357 subnormal argument.
10358 * math/s_cexpf.c (__cexpf): Likewise.
10359 * math/s_csinf.c (__csinf): Likewise.
10360 * math/s_csinhf.c (__csinhf): Likewise.
10361 * math/s_ctanf.c (__ctanf): Likewise.
10362 * math/s_ctanhf.c (__ctanhf): Likewise.
10363 * math/s_ccosh.c (__ccoshf): Likewise.
10364 * math/s_cexp.c (__cexpl): Likewise.
10365 * math/s_csin.c (__csin): Likewise.
10366 * math/s_csinh.c (__csinh): Likewise.
10367 * math/s_ctan.c (__ctan): Likewise.
10368 * math/s_ctanh.c (ctanh): Likewise.
10369 * math/s_ccoshl.c (__ccoshl): Likewise.
10370 * math/s_cexpl.c (__cexpl): Likewise.
10371 * math/s_csinl.c (__csinl): Likewise.
10372 * math/s_csinhl.c (__csinhl): Likewise.
10373 * math/s_ctanl.c (__ctanl): Likewise.
10374 * math/s_ctanhl.c (__ctanhl): Likewise.
10376 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10378 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10379 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10380 (_IO_off_t): Define to __off_t, not _G_off_t.
10381 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10382 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10383 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10384 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10385 type of __dummy and __dummy2 fields.
10386 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10387 (_G_ssize_t): Likewise.
10388 (_G_off_t): Likewise.
10389 (_G_pid_t): Likewise.
10390 (_G_uid_t): Likewise.
10391 (_G_wchar_t): Likewise.
10392 (_G_wint_t): Likewise.
10393 * sysdeps/gnu/_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/mach/hurd/_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.
10408 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10410 * malloc/arena.c: Include malloc-sysdep.h.
10411 (shrink_heap): Use check_may_shrink_heap to decide if madvise
10412 is sufficient to shrink the heap or an unmap is needed.
10413 * sysdeps/generic/malloc-sysdep.h: New file. Define
10414 new function check_may_shrink_heap.
10415 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
10416 new function check_may_shrink_heap.
10418 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10420 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
10423 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
10425 * catgets/test-gencat.sh: Add "set -e".
10426 * elf/tst-pathopt.sh: Likewise.
10427 * grp/tst_fgetgrent.sh: Likewise.
10428 * iconvdata/run-iconv-test.sh: Likewise.
10429 * intl/tst-gettext.sh: Likewise.
10430 * intl/tst-gettext2.sh: Likewise.
10431 * intl/tst-gettext4.sh: Likewise.
10432 * intl/tst-gettext6.sh: Likewise.
10433 * intl/tst-translit.sh: Likewise.
10434 * io/ftwtest-sh: Likewise.
10435 * libio/test-freopen.sh: Likewise.
10436 * malloc/tst-mtrace.sh: Likewise.
10437 * posix/globtest.sh: Likewise.
10438 * posix/tst-getconf.sh: Likewise.
10439 * posix/wordexp-tst.sh: Likewise.
10440 * stdio-common/tst-printf.sh: Likewise.
10441 * stdio-common/tst-unbputc.sh: Likewise.
10442 * stdlib/tst-fmtmsg.sh: Likewise.
10443 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10444 * catgets/Makefile: Do not specify -e option when running
10445 testsuite shell scripts.
10446 * elf/Makefile: Likewise.
10447 * grp/Makefile: Likewise.
10448 * iconvdata/Makefile: Likewise.
10449 * intl/Makefile: Likewise.
10450 * io/Makefile: Likewise.
10451 * libio/Makefile: Likewise.
10452 * malloc/Makefile: Likewise.
10453 * posix/Makefile: Likewise.
10454 * stdio-common/Makefile: Likewise.
10455 * stdlib/Makefile: Likewise.
10456 * sysdeps/x86_64/Makefile: Likewise.
10458 * io/ftwtest-sh: Add copyright header.
10459 * posix/globtest.sh: Likewise.
10460 * posix/tst-getconf.sh: Likewise.
10461 * posix/wordexp-tst.sh: Likewise.
10462 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10464 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
10467 * Makeconfig (+link): Defined as $(+link-static) if
10468 $(build-shared) isn't yes.
10469 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
10471 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
10473 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
10476 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
10477 new chunk size with MALLOC_ALIGN_MASK.
10479 2012-09-24 Joseph Myers <joseph@codesourcery.com>
10482 * stdio-common/printf_fphex.c: Include <stdbool.h> and
10484 (__printf_fphex): Determine rounding using get_rounding_mode and
10486 * stdio-common/tst-printf-round.c (struct hex_test): New
10488 (hex_tests): New variable.
10489 (test_hex_in_one_mode): New function.
10490 (do_test): Also run tests for hex float output.
10492 2012-09-21 Joseph Myers <joseph@codesourcery.com>
10494 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10495 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10496 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
10497 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10498 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10499 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
10500 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10501 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10503 2012-09-20 Joseph Myers <joseph@codesourcery.com>
10505 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
10506 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
10507 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
10508 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
10510 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
10513 * elf/rtld.c (dl_main): Limit the check for self loading to normal
10515 * elf/tst-rtld-load-self.sh: New test.
10516 * elf/Makefile: Run it.
10518 2012-09-18 Joseph Myers <joseph@codesourcery.com>
10520 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
10521 (tst-writev-ENV): Remove.
10522 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
10524 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
10526 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
10528 2012-09-17 Joseph Myers <joseph@codesourcery.com>
10530 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
10532 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
10534 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
10535 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
10536 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
10539 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
10542 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
10543 * config.make.in (have-cpp-asm-debuginfo): Removed.
10544 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
10545 * configure: Regenerated.
10547 2012-09-14 Joseph Myers <joseph@codesourcery.com>
10550 * stdio-common/printf_fp.c: Include <stdbool.h> and
10552 (___printf_fp): Determine rounding using get_rounding_mode and
10554 * stdio-common/tst-printf-round.c: New file.
10555 * stdio-common/Makefile (tests): Add tst-printf-round.
10556 (link-libm): New variable.
10557 ($(objpfx)tst-printf-round): Depend in $(link-libm).
10559 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
10562 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
10563 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
10565 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
10568 2012-09-13 Joseph Myers <joseph@codesourcery.com>
10570 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
10571 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10572 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10573 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10575 2012-09-12 Joseph Myers <joseph@codesourcery.com>
10578 * include/rounding-mode.h: New file.
10579 * sysdeps/generic/get-rounding-mode.h: Likewise.
10580 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
10581 * stdlib/strtod_l.c: Include <rounding-mode.h>.
10582 (MAX_VALUE): New macro.
10583 (MIN_VALUE): Likewise.
10584 (overflow_value): New function.
10585 (underflow_value): Likewise.
10586 (round_and_return): Use overflow_value and underflow_value to
10587 determine return values in overflow and underflow cases. Use
10588 round_away to determine rounding depending on rounding mode.
10589 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
10590 determine return values in overflow and underflow cases.
10591 * stdlib/tst-strtod-round.c: Include <fenv.h>.
10592 (struct test_results): New structure.
10593 (struct test): Use struct test_results to store expected results
10594 for all rounding modes.
10595 (TEST): Include expected results for all rounding modes.
10596 (test_in_one_mode): New function.
10597 (do_test): Use test_in_one_mode to compute and check results.
10598 Check results for all rounding modes.
10599 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
10602 2012-12-09 Allan McRae <allan@archlinux.org>
10604 * sysdeps/i386/fpu/libm-test-ulps: Update
10606 2012-09-11 Joseph Myers <joseph@codesourcery.com>
10608 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
10609 (_G_int32_t): Likewise.
10610 (_G_uint16_t): Likewise.
10611 (_G_uint32_t): Likewise.
10612 (_G_HAVE_BOOL): Likewise.
10613 (_G_HAVE_ATEXIT): Likewise.
10614 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10615 (_G_HAVE_IO_FILE_OPEN): Likewise.
10616 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
10617 (_G_int32_t): Likewise.
10618 (_G_uint16_t): Likewise.
10619 (_G_uint32_t): Likewise.
10620 (_G_HAVE_BOOL): Likewise.
10621 (_G_HAVE_ATEXIT): Likewise.
10622 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10623 (_G_HAVE_IO_FILE_OPEN): Likewise.
10624 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
10625 (_G_int32_t): Likewise.
10626 (_G_uint16_t): Likewise.
10627 (_G_uint32_t): Likewise.
10628 (_G_HAVE_BOOL): Likewise.
10629 (_G_HAVE_ATEXIT): Likewise.
10630 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10631 (_G_HAVE_IO_FILE_OPEN): Likewise.
10633 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
10635 * csu/libc-tls.c: Update copyright years.
10637 2012-09-10 Joseph Myers <joseph@codesourcery.com>
10639 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
10640 [!_G_USING_THUNKS]: Remove conditional code.
10641 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10642 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
10644 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10645 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10646 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10647 (_G_VTABLE_LABEL_PREFIX): Likewise.
10648 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10649 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10650 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10651 (_G_VTABLE_LABEL_PREFIX): Likewise.
10652 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10653 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10654 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10655 (_G_VTABLE_LABEL_PREFIX): Likewise.
10656 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10658 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
10660 * libio/Makefile: Include ../Makeconfig before tests.
10661 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10662 only if $(build-shared) is yes.
10664 * iconv/gconv_db.c: Update copyright years.
10666 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10668 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10669 unwind info if defined PIC. Fix special cases description.
10670 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10672 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10674 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10676 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
10678 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10680 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10683 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10684 (LDLIBS-tst-chk4): This.
10685 (LDFLAGS-tst-chk5): Renamed to ...
10686 (LDLIBS-tst-chk5): This.
10687 (LDFLAGS-tst-chk6): Renamed to ...
10688 (LDLIBS-tst-chk6): This.
10689 (LDFLAGS-tst-lfschk4): Renamed to ...
10690 (LDLIBS-tst-lfschk4): This.
10691 (LDFLAGS-tst-lfschk5): Renamed to ...
10692 (LDLIBS-tst-lfschk5): This.
10693 (LDFLAGS-tst-lfschk6): Renamed to ...
10694 (LDLIBS-tst-lfschk6): This.
10696 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10697 on $(common-objpfx)soversions.mk.
10699 2012-09-07 Joseph Myers <joseph@codesourcery.com>
10702 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10705 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10707 * malloc/arena.c (arena_get_retry): New function that gets
10708 another arena for the caller to try its request on.
10709 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10710 current arena cannot fulfill the request.
10711 (__libc_memalign): Likewise.
10712 (__libc_memalign): Likewise.
10713 (__libc_pvalloc): Likewise.
10714 (__libc_calloc): Likewise.
10716 2012-09-05 John Tobey <john.tobey@gmail.com>
10719 * manual/arith.texi (Operations on Complex): Fix description
10720 of carg branch cut.
10722 2012-09-06 Joseph Myers <joseph@codesourcery.com>
10725 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10729 * manual/memory.texi (Memory): Make order of menu items match
10732 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10734 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10735 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
10736 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10738 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10740 * csu/libc-tls.c (static_dtv): Renamed to ...
10741 (_dl_static_dtv): This. Make it global.
10742 (_dl_initial_dtv): Removed.
10743 (__libc_setup_tls): Updated.
10744 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10745 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10748 2012-09-06 Petr Machata <pmachata@redhat.com>
10750 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10751 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10752 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10753 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10755 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10758 * csu/libc-tls.c (_dl_initial_dtv): New variable.
10759 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10762 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10765 * Makeconfig (link-static-before-libc): Replace $(+prector)
10767 (link-static-after-libc): Replace $(+postctor) with
10769 (link-bounded): Replace $(+prector)/$(+postctor) with
10770 $(+prectorT)/$(+postctorT).
10771 (+prectorT): New macro.
10772 (+postctorT): Likewise.
10774 2012-09-06 Joseph Myers <joseph@codesourcery.com>
10776 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10777 (round_str): Handle values above the maximum for IBM long double
10779 * stdlib/tst-strtod-round.c (tests): Regenerated.
10781 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10783 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10785 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10786 zarch_nohighgprs around the zarch optimized routines.
10787 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10788 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10789 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10792 2012-09-05 David S. Miller <davem@davemloft.net>
10794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10796 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10797 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10798 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10799 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10802 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10804 * malloc/arena.c: Fold copyright years.
10805 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10807 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10809 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10811 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10813 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10815 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10817 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10818 change internal state upon failure.
10820 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10822 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10823 * malloc/memusage.c (mmap): Likewise.
10824 (mmap64, mremap): Likewise. Adjust name in comment.
10826 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10828 * libio/fileops.c: Fix typos in comments.
10829 * libio/oldfileops.c: Likewise.
10830 * libio/wfileops.c: Likewise.
10832 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10835 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10836 (tst-malloc-usable-ENV): Set environment for test case.
10837 * malloc/hooks.c (malloc_check_get_size): New function to get
10839 * malloc/malloc.c (musable): Use malloc_check_get_size.
10840 * malloc/tst-malloc-usable.c: New test case.
10842 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10844 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10846 2012-09-05 Allan McRae <allan@archlinux.org>
10849 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10850 determine header location.
10851 * configure: Regenerated.
10853 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10855 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10857 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
10858 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10860 (test): Regenerate.
10862 2012-09-04 David S. Miller <davem@davemloft.net>
10864 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10865 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10866 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10868 2012-09-04 Florian Weimer <fweimer@redhat.com>
10870 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10873 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10875 2012-09-04 Joseph Myers <joseph@codesourcery.com>
10878 * libio/iogetdelim.c: Include <limits.h>.
10879 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10880 + len + 1 would overflow.
10882 2012-09-03 Andreas Jaeger <aj@suse.de>
10884 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10885 * sysdeps/i386/fpu/libm-test-ulps: Update.
10887 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10889 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10890 Add s_sinf-sse2, s_conf-sse2.
10892 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10893 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10894 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10895 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10897 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10898 for using routine as __sinf_ia32.
10899 Use macro for function declaration and weak_alias.
10900 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10901 for using routine as __cosf_ia32.
10902 Use macro for function declaration and weak_alias.
10904 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10905 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10907 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10908 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10911 * math/libm-test.inc (cos_test): Add more test cases.
10912 (sin_test): Likewise.
10913 (sincos_test): Likewise.
10915 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10917 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10918 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10920 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10922 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10925 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10926 first element of the GOT.
10927 (elf_machine_load_address): Return the difference between
10928 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10930 2012-09-01 Allan McRae <allan@archlinux.org>
10933 * configure.in (AWK): Require gawk version 3.0 or later.
10934 * configure: Regenerated.
10936 2012-09-01 Joseph Myers <joseph@codesourcery.com>
10938 * sysdeps/unix/sysv/linux/kernel-features.h
10939 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10940 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10941 [__NR_clock_getres]: Make code unconditional.
10942 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10943 (clock_getcpuclockid): Remove code left unreachable by removal of
10945 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10946 code unconditional.
10947 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10948 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10949 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10950 Make code unconditional.
10951 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10952 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10953 * sysdeps/unix/sysv/linux/clock_settime.c
10954 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10956 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10957 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10959 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10962 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10963 scripts/test-installation.pl.
10965 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10966 and $ld_so_version if it is set.
10968 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10971 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10972 failure if reading from procfs failed.
10973 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10975 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10977 * sysdeps/unix/sysv/linux/kernel-features.h
10978 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10979 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10980 Remove conditional code.
10981 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10982 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10983 Remove conditional code.
10984 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10985 * sysdeps/unix/sysv/linux/i386/fxstat.c
10986 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10987 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10988 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10989 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10990 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10991 * sysdeps/unix/sysv/linux/i386/lxstat.c
10992 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10993 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10994 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10995 Remove conditional code.
10996 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10997 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10998 Remove conditional code.
10999 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11000 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11001 <kernel-features.h>.
11002 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11004 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11005 Remove conditional code.
11006 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11007 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11008 Remove conditional.
11010 2012-08-27 Mike Frysinger <vapier@gentoo.org>
11013 * NEWS: Add fixed bug number.
11015 2012-08-27 Joseph Myers <joseph@codesourcery.com>
11018 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11019 underflowing exponent in case of negative sign.
11020 * stdlib/tst-strtod-round-data: Add more tests.
11021 * stdlib/tst-strtod-round.c (tests): Regenerated.
11024 * stdlib/strtod_l.c (NDIG): Remove.
11025 (HEXNDIG): Likewise.
11026 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11027 smallest representable value.
11028 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11029 lie within an exact representation of 1/2 ulp of the result.
11030 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11032 (TENS_P9_IDX): Define unconditionally.
11033 (TENS_P9_SIZE): Likewise.
11034 (TENS_P10_IDX): Likewise.
11035 (TENS_P10_SIZE): Likewise.
11036 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11037 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11038 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11039 entries for 10^2^13 and 10^2^14.
11040 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11041 (TENS_P13_IDX): Define.
11042 (TENS_P13_SIZE): Likewise.
11043 (TENS_P14_IDX): Likewise.
11044 (TENS_P14_SIZE): Likewise.
11045 (_fpioconst_pow10): Change array size to
11046 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11048 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11049 1024]: Add entries for 10^2^13 and 10^2^14.
11050 [LAST_POW10 > _LAST_POW10]: Remove #error.
11051 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11052 (_fpioconst_pow10): Change array size to
11053 FPIOCONST_POW10_ARRAY_SIZE.
11054 * stdlib/gen-fpioconst.c: New file.
11055 * stdlib/gen-tst-strtod-round.c: Likewise.
11056 * stdlib/tst-strtod-round-data: Likewise.
11057 * stdlib/tst-strtod-round.c: Likewise.
11058 * stdlib/Makefile (tests): Add tst-strtod-round.
11061 * stdlib/strtod_l.c: Include <stdint.h>.
11062 (NDEBUG): Do not define.
11063 (round_and_return): Change EXPONENT parameter to type intmax_t.
11064 Rearrange calculations to avoid internal overflow possibilities.
11065 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11066 Rearrange calculations to avoid internal overflow possibilities.
11067 Assert that number fits inside MPNSIZE limbs.
11068 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11069 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11070 calculations and add assertions to avoid internal overflow
11071 possibilities. Add casts to avoid signed/unsigned operations.
11072 * stdlib/tst-strtod-overflow.c: New file.
11073 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11075 2012-08-25 Marek Polacek <polacek@redhat.com>
11077 * time/time.h: Fix some typos in comments.
11079 2012-08-23 Roland McGrath <roland@hack.frob.com>
11081 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11082 * posix/tst-rfc3484-2.c: Likewise.
11083 * posix/tst-rfc3484-3.c: Likewise.
11085 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11087 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11088 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11090 2012-08-23 Joseph Myers <joseph@codesourcery.com>
11092 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11093 #include of fxstatat64.c.
11095 2012-08-22 Roland McGrath <roland@hack.frob.com>
11097 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11098 * shadow/getspent_r.c: Likewise.
11099 * shadow/getspnam.c: Likewise.
11100 * shadow/getspnam_r.c: Likewise.
11101 * gshadow/getsgent.c: Likewise.
11102 * gshadow/getsgent_r.c: Likewise.
11103 * gshadow/getsgnam.c: Likewise.
11104 * gshadow/getsgnam_r.c: Likewise.
11105 * inet/getnetbyad.c: Likewise.
11106 * inet/getnetbyad_r.c: Likewise.
11107 * inet/getnetbynm.c: Likewise.
11108 * inet/getnetbynm_r.c: Likewise.
11109 * inet/getnetent.c: Likewise.
11110 * inet/getnetent_r.c: Likewise.
11111 * inet/getproto.c: Likewise.
11112 * inet/getproto_r.c: Likewise.
11113 * inet/getprtent.c: Likewise.
11114 * inet/getprtent_r.c: Likewise.
11115 * inet/getprtname.c: Likewise.
11116 * inet/getprtname_r.c: Likewise.
11117 * inet/getrpcbyname.c: Likewise.
11118 * inet/getrpcbyname_r.c: Likewise.
11119 * inet/getrpcbynumber.c: Likewise.
11120 * inet/getrpcbynumber_r.c: Likewise.
11121 * inet/getrpcent.c: Likewise.
11122 * inet/getrpcent_r.c: Likewise.
11123 * inet/getaliasent.c: Likewise.
11124 * inet/getaliasent_r.c: Likewise.
11125 * inet/getaliasname.c: Likewise.
11126 * inet/getaliasname_r.c: Likewise.
11127 * nscd/getgrgid_r.c: Likewise.
11128 * nscd/getgrnam_r.c: Likewise.
11129 * nscd/gethstbyad_r.c: Likewise.
11130 * nscd/gethstbynm3_r.c: Likewise.
11131 * nscd/getpwnam_r.c: Likewise.
11132 * nscd/getpwuid_r.c: Likewise.
11133 * nscd/getsrvbynm_r.c: Likewise.
11134 * nscd/getsrvbypt_r.c: Likewise.
11135 * nscd/gai.c: Likewise.
11137 * configure.in (build_nscd): New substituted variable, set
11138 by --disable-build-nscd and defaults to $use_nscd.
11139 * configure: Regenerated.
11140 * config.make.in (build-nscd): New substituted variable.
11141 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11142 Change conditional to require [$(build-nscd) = yes] as well.
11143 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11146 * configure.in (use_nscd): New substituted variable, set by
11147 --disable-nscd. If enabled, define USE_NSCD.
11148 * configure: Regenerated.
11149 * config.h.in: Add USE_NSCD.
11150 * config.make.in (use-nscd): New substituted variable.
11151 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11152 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11153 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11154 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11155 (CFLAGS-getgrnam_r.c): Likewise.
11156 (CFLAGS-initgroups.c): Likewise.
11157 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11158 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11160 * inet/getnetgrent_r.c
11161 (nscd_setnetgrent): New function, broken out of ...
11162 (setnetgrent): ... here. Call it.
11163 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11164 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11165 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11166 * nscd/Makefile (routines, aux): Move definitions after include of
11167 Makeconfig. Conditionalize on [$(use-nscd) != no].
11168 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11169 Conditionalize on [USE_NSCD].
11170 (is_nscd, nscd_init_cb): Likewise.
11171 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11172 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11173 * nss/nss_db/db-init.c: Likewise.
11174 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11176 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11177 (make_request): Use it.
11178 (cache_valid_p): New function.
11179 (__check_pf): Use it.
11180 * NEWS: Add item for --disable-nscd.
11182 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11184 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11185 to support sed >= 4.2.1-20-ga9bf076.
11186 * configure: Regenerated.
11188 2012-08-22 Roland McGrath <roland@hack.frob.com>
11190 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11191 Conditionalize whole body on [IREL].
11193 2012-08-22 Jeff Law <law@redhat.com>
11196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11197 if the family is PF_UNSPEC.
11199 2012-08-22 Mike Frysinger <vapier@gentoo.org>
11201 * Makerules (lib-version): Rename from V.
11202 (install-lib-nosubdir): Change V to lib-version.
11204 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11207 * powerpc32/power6/wcschr.c: New file.
11208 * powerpc32/power6/wcscpy.c: New file.
11209 * powerpc32/power6/wcsrchr.c: New file.
11210 * powerpc64/power6/wcschr.c: New file.
11211 * powerpc64/power6/wcscpy.c: New file.
11212 * powerpc64/power6/wcsrchr.c: New file.
11214 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11216 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11217 (two_way_short_needle): Use it.
11218 * string/strstr.c (AVAILABLE1_USES_J): Define.
11219 * string/strcasestr.c: Likewise.
11221 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11223 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11226 * NEWS: Add an entry.
11227 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11228 define their defaults.
11229 (two_way_short_needle): Detect end-of-string on-the-fly.
11230 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11231 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11232 * string/bug-strcasestr1.c: New test.
11233 * string/Makefile: Run it.
11235 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11238 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11239 the first character.
11241 2012-08-21 Roland McGrath <roland@hack.frob.com>
11243 * csu/elf-init.c (__libc_csu_irel): Function removed.
11244 * csu/libc-start.c (apply_irel): New function.
11245 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11247 2012-08-21 Joseph Myers <joseph@codesourcery.com>
11249 * sysdeps/unix/sysv/linux/kernel-features.h
11250 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11251 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11252 <kernel-features.h>.
11253 [__NR_fadvise64_64]: Make code unconditional.
11254 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11255 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11256 !__NR_fadvise64_64)]: Likewise.
11257 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11258 !__NR_fadvise64_64))]: Likewise.
11259 [__NR_fadvise64]: Make code unconditional.
11260 [!__NR_fadvise64]: Remove conditional code.
11261 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11262 <kernel-features.h>.
11263 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11265 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11268 not include <kernel-features.h>.
11269 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11271 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11273 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11274 include <kernel-features.h>.
11275 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11277 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11280 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11282 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11283 slight instruction rearrangements per scrollpipe analysis.
11284 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11286 2012-08-20 Roland McGrath <roland@hack.frob.com>
11288 * manual/syslog.texi (syslog; vsyslog, closelog):
11289 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11290 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11292 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11293 DSOCAPS to match condition on defining it.
11295 2012-08-20 Joseph Myers <joseph@codesourcery.com>
11297 * sysdeps/unix/sysv/linux/kernel-features.h
11298 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11300 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11301 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11303 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11304 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11306 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11307 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11309 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11310 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11312 * sysdeps/unix/sysv/linux/kernel-features.h
11313 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11314 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11316 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11317 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11318 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11319 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11320 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11321 Make code unconditional.
11322 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11323 (__mmap64) [!__NR_mmap2]: Likewise.
11324 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11325 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11326 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11327 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11328 [__NR_mmap2]: Make code unconditional.
11329 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11330 (__mmap64) [!__NR_mmap2]: Likewise.
11332 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11334 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11336 2012-08-18 Andreas Jaeger <aj@suse.de>
11338 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11340 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11342 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11343 * include/unistd.h (__have_sock_cloexec): Likewise.
11344 (__have_pipe2): Likewise.
11345 (__have_dup3): Likewise.
11347 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11350 * include/unistd.h (__have_pipe2): Change define into an extern int.
11351 (__have_dup3): Likewise.
11352 * socket/have_sock_cloexec.c: Include fcntl.h.
11353 (__have_pipe2): New variable.
11354 (__have_dup3): Likewise.
11356 2012-08-17 Mike Frysinger <vapier@gentoo.org>
11358 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11360 2012-08-17 Marek Polacek <polacek@redhat.com>
11362 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11363 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11365 2012-08-17 Roland McGrath <roland@hack.frob.com>
11367 * configure.in: Add AC_SUBST for sysheaders.
11368 * configure: Regenerated.
11369 * config.make.in (sysheaders): New substituted variable.
11371 * sysdeps/unix/mkfifo.c: Moved ...
11372 * sysdeps/posix/mkfifo.c: ... here.
11373 * sysdeps/unix/mkfifoat.c: Moved ...
11374 * sysdeps/posix/mkfifoat.c: ... here.
11376 * sysdeps/unix/utime.c: Moved ...
11377 * sysdeps/posix/utime.c: ... here.
11379 * sysdeps/unix/time.c: Moved ...
11380 * sysdeps/posix/time.c: ... here.
11381 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11382 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
11384 * sysdeps/unix/nice.c: Moved ...
11385 * sysdeps/posix/nice.c: ... here.
11387 * sysdeps/unix/alarm.c: Moved ...
11388 * sysdeps/posix/alarm.c: ... here.
11390 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11392 2012-08-17 Jeff Law <law@redhat.com>
11394 * intl/Makefile (codeset_mo): New variable.
11395 ($(codeset_mo)): New target.
11396 (tst-codeset.out): Depend on that. Remove explicit rule.
11397 (tst-gettext3.out, tst-gettext5.out): Likewise.
11398 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11399 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11400 * intl/tst-codeset.sh: Remove.
11401 * intl/tst-gettext3.sh: Likewise.
11402 * intl/tst-gettext5.sh: Likewise.
11404 2012-08-17 Roland McGrath <roland@hack.frob.com>
11406 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
11407 * sysdeps/unix/syscalls.list: ... here.
11409 * sysdeps/posix/getaddrinfo.c
11410 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11411 (gaiconf_init, gaiconf_reload): Use them.
11412 [!_STATBUF_ST_NSEC]
11413 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11414 Define using time_t rather than struct timespec.
11416 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11417 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
11419 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
11421 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
11422 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
11425 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
11426 __libc_cleanup_push argument.
11428 * bits/param.h: New file.
11429 * misc/sys/param.h: New file.
11430 * include/sys/param.h: New file.
11431 * misc/Makefile (headers): Add bits/param.h.
11432 * sysdeps/generic/sys/param.h: File removed.
11433 * sysdeps/unix/sysv/linux/bits/param.h: New file.
11434 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
11435 * sysdeps/mach/hurd/bits/param.h: New file.
11436 * sysdeps/mach/hurd/sys/param.h: File removed.
11438 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
11441 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
11443 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
11444 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
11447 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
11448 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
11449 rather than -D_IO_MTSAFE_IO conditionally.
11450 * stdio-common/Makefile (CPPFLAGS): Likewise.
11451 * wcsmbs/Makefile (CPPFLAGS): Likewise.
11452 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
11453 Use $(libio-mtsafe).
11454 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
11455 of -D_IO_MTSAFE_IO.
11456 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
11457 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
11458 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
11459 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
11460 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
11461 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
11462 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
11463 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
11464 (CFLAGS-fread_u_chk.c): Likewise.
11465 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
11466 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
11467 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
11468 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
11469 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
11470 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
11471 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
11472 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
11473 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
11475 * libio/Makefile: Test [$(libc-reentrant) = yes]
11476 instead of [$(filter %REENTRANT, $(defines)) nonempty].
11479 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
11480 * sysdeps/pthread/configure: File removed.
11481 * sysdeps/pthread/Makeconfig: New file.
11482 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
11483 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
11485 2012-08-16 Gary Benson <gbenson@redhat.com>
11487 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
11488 unmapping the first object in a namespace.
11490 2012-08-16 Roland McGrath <roland@hack.frob.com>
11492 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
11493 (__internal_setnetgrent): ... this. Add internal_function to
11494 definition. Add libc_hidden_def.
11495 (setnetgrent): Update caller.
11496 (internal_endnetgrent): Renamed to ...
11497 (__internal_endnetgrent): ... this. Add internal_function to
11498 definition. Add libc_hidden_def.
11499 (endnetgrent): Update caller.
11500 (internal_getnetgrent_r): Renamed to ...
11501 (__internal_getnetgrent_r): ... this. Add internal_function to
11502 definition. Add libc_hidden_def.
11503 (__getnetgrent_r): Update caller.
11504 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
11506 2012-08-16 Joseph Myers <joseph@codesourcery.com>
11508 * stdlib/longlong.h: Update from GCC.
11510 2012-08-16 Roland McGrath <roland@hack.frob.com>
11512 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
11513 on _QL, which is set by umul_ppmm but never used.
11514 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
11515 variables, which are set by GMP macros but never used.
11516 * stdio-common/_itowa.c (_itowa): Likewise.
11517 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
11518 * stdlib/mod_1.c (mpn_mod_1): Likewise.
11520 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
11522 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
11523 struct La_sh_regs is not constant.
11524 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
11525 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
11526 and struct La_sparc64_regs are not constant.
11528 2012-08-16 Joseph Myers <joseph@codesourcery.com>
11530 * sysdeps/unix/sysv/linux/kernel-features.h
11531 (__ASSUME_POSIX_TIMERS): Remove.
11532 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11533 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11534 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
11535 Make code unconditional.
11536 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11537 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
11538 Make code unconditional.
11539 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11540 * sysdeps/unix/sysv/linux/clock_nanosleep.c
11541 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
11542 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11543 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
11544 Make code unconditional.
11545 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11546 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
11547 (__libc_missing_posix_timers): Remove.
11549 2012-08-15 Roland McGrath <roland@hack.frob.com>
11551 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
11552 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
11554 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
11556 * elf/dl-sym.c: Include <stdlib.h>.
11558 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
11559 constants, which avoids warnings in 32-bit builds.
11561 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
11562 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
11564 * misc/lseek.c: File moved to ...
11565 * io/lseek.c: ... here.
11567 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
11569 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
11570 shifting LEN more than 31 bits at once.
11572 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11575 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
11576 segmentation fault for a case of two empty input strings.
11577 * string/test-strncasecmp.c (check1): Renamed to...
11578 (bz12205): ...this.
11579 (bz14195): Add new testcase for two empty input strings and N > 0.
11580 (test_main): Call new testcase, adapt for renamed function.
11582 2012-08-15 Andreas Jaeger <aj@suse.de>
11585 * crypt/md5test2.c: New test, based on test supplied by Serge
11586 Belyshev <belyshev@depni.sinp.msu.ru>.
11587 * crypt/Makefile (xtests): Add md5test-giant..
11588 * crypt/Makefile ($(objpfx)md5test-giant): Add.
11590 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
11593 * crypt/md5.c (md5_process_block): Don't assume the buffer
11594 length is less than 2**32.
11595 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
11596 length is less than 2**64.
11598 2012-08-15 Roland McGrath <roland@hack.frob.com>
11600 * string/str-two-way.h: Include <sys/param.h>.
11601 (MAX): Macro removed.
11603 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
11604 Move #define and #undef of memmove to just before and after
11605 including <string.h>.
11607 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
11608 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
11609 and after including <string.h>. Move declarations of
11610 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
11611 to before #include "string/memmove.c".
11613 * include/dirent.h: Declare __getdirentries.
11615 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
11616 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
11618 2012-08-14 Mike Frysinger <vapier@gentoo.org>
11620 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
11621 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
11622 * sysdeps/i386/configure: Regenerated.
11623 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
11624 STABS_CURRENT_FILE, and STABS_FUN.
11625 (END): Remove call to STABS_FUN_END.
11626 (STABS_CURRENT_FILE1): Delete.
11627 (STABS_CURRENT_FILE): Likewise.
11628 (STABS_FUN): Likewise.
11629 (STABS_FUN_END): Likewise.
11630 (STABS_FUN2): Likewise.
11631 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
11632 * sysdeps/x86_64/configure: Regenerated.
11634 2012-08-14 Roland McGrath <roland@hack.frob.com>
11636 * elf/dl-open.c: Include <atomic.h>.
11637 * elf/dl-lookup.c: Likewise.
11639 2012-08-14 Joseph Myers <joseph@codesourcery.com>
11641 * sysdeps/unix/sysv/linux/kernel-features.h
11642 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
11643 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11645 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11647 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11648 condition on __ASSUME_CLONE_THREAD_FLAGS.
11650 2012-08-14 Andreas Jaeger <aj@suse.de>
11652 * sysdeps/i386/fpu/libm-test-ulps: Update.
11654 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
11656 * include/atomic.h (atomic_exchange_and_add): Split into ...
11657 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11660 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
11662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11664 2012-08-13 Jeff Law <law@redhat.com>
11666 * manual/stdio.texi (snprintf): Clarify handling of the trailing
11667 null byte in the output string.
11669 2012-08-10 Joseph Myers <joseph@codesourcery.com>
11671 * sysdeps/unix/sysv/linux/kernel-features.h
11672 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11673 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11674 (__ASSUME_ARG_MAX_STACK_BASED): Define.
11675 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11676 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11677 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
11678 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11680 2012-08-09 Jeff Law <law@redhat.com>
11683 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11684 When avoid_arena is set, don't retry in the that arena. Pick the
11685 next one, whatever it might be.
11686 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11687 (arena_lock): Pass in new parameter to arena_get2.
11688 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11690 (__libc_malloc): Unify retrying after main arena failure with
11691 __libc_memalign version.
11692 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11694 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
11697 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11698 to __redirect_strstr.
11699 (__strstr_sse42): Use typeof __redirect_strstr.
11700 (__strstr_ia32): Likewise.
11701 (__libc_strstr): New prototype.
11702 (strstr): Renamed to ...
11703 (__libc_strstr): This.
11704 (strstr): New strong alias of __libc_strstr.
11705 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11706 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11709 (__libc_time): New prototype.
11710 (time_ifunc): Replace time with __libc_time.
11711 (time): New strong alias and hidden definition of __libc_time.
11712 (__GI_time): Remove strong alias.
11713 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11714 Include <stddef.h>.
11715 (memmove): Redefined to __redirect_memmove.
11716 (__memmove_sse2): Use typeof __redirect_memmove.
11717 (__memmove_ssse3): Likewise.
11718 (__memmove_ssse3_back): Likewise.
11719 (__libc_memmove): New prototype.
11720 (memmove): Renamed to ...
11721 (__libc_memmove): This.
11722 (memmove): New strong alias of __libc_memmove.
11724 2012-08-08 Mark Salter <msalter@redhat.com>
11727 (R_MN10300_TLS_GD): Define.
11728 (R_MN10300_TLS_LD): Likewise.
11729 (R_MN10300_TLS_LDO): Likewise.
11730 (R_MN10300_TLS_GOTIE): Likewise.
11731 (R_MN10300_TLS_IE): Likewise.
11732 (R_MN10300_TLS_LE): Likewise.
11733 (R_MN10300_TLS_DTPMOD): Likewise.
11734 (R_MN10300_TLS_DTPOFF): Likewise.
11735 (R_MN10300_TLS_TPOFF): Likewise.
11736 (R_MN10300_SYM_DIFF): Likewise.
11737 (R_MN10300_ALIGN): Likewise.
11738 (R_MN10300_NUM): Update.
11740 2012-08-08 Joseph Myers <joseph@codesourcery.com>
11742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11745 2012-08-08 Roland McGrath <roland@hack.frob.com>
11747 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11749 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11750 sysdeps/unix -> sysdeps/posix move.
11751 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11753 2012-08-07 Allan McRae <allan@archlinux.org>
11756 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11757 (SUNOS_CPP): Likewise.
11758 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11760 (open_input): Call CPP using execvp.
11762 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11764 * sysdeps/unix/sysv/linux/kernel-features.h
11765 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11766 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11767 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11768 (__ASSUME_WAITID_SYSCALL): Likewise.
11769 * sysdeps/unix/sysv/linux/dl-execstack.c
11770 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11771 code unconditional.
11772 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11774 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11775 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11776 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11778 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11780 [__ASSUME_WAITID_SYSCALL]: Likewise.
11781 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11783 2012-08-07 Roland McGrath <roland@hack.frob.com>
11785 * sysdeps/unix/closedir.c: Renamed to ...
11786 * sysdeps/posix/closedir.c: ... here.
11787 * sysdeps/unix/dirfd.c: Renamed to ...
11788 * sysdeps/posix/dirfd.c: ... here.
11789 * sysdeps/unix/dirstream.h: Renamed to ...
11790 * sysdeps/posix/dirstream.h: ... here.
11791 * sysdeps/unix/fdopendir.c: Renamed to ...
11792 * sysdeps/posix/fdopendir.c: ... here.
11793 * sysdeps/unix/opendir.c: Renamed to ...
11794 * sysdeps/posix/opendir.c: ... here.
11795 * sysdeps/unix/readdir.c: Renamed to ...
11796 * sysdeps/posix/readdir.c: ... here.
11797 * sysdeps/unix/readdir_r.c: Renamed to ...
11798 * sysdeps/posix/readdir_r.c: ... here.
11799 * sysdeps/unix/rewinddir.c: Renamed to ...
11800 * sysdeps/posix/rewinddir.c: ... here.
11801 * sysdeps/unix/seekdir.c: Renamed to ...
11802 * sysdeps/posix/seekdir.c: ... here.
11803 * sysdeps/unix/telldir.c: Renamed to ...
11804 * sysdeps/posix/telldir.c: ... here.
11805 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11806 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11807 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11808 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11810 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11811 * bits/fcntl.h: ... here.
11813 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11815 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11816 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11817 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11818 (struct flock): Move l_start, l_len to the beginning.
11819 Use __pid_t for l_pid.
11820 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11821 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11822 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11823 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11824 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11825 [__USE_LARGEFILE64] (struct flock64): New type.
11826 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11828 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11829 * bits/dirent.h: ... here.
11831 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11832 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11834 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11836 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11837 Change from 2.6.0 to 2.6.16.
11838 * sysdeps/unix/sysv/linux/configure: Regenerated.
11839 * sysdeps/unix/sysv/linux/kernel-features.h
11840 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11841 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11843 (__ASSUME_UTIMES): Likewise.
11844 (__ASSUME_CLONE_STOPPED): Remove.
11845 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11846 architectures, not kernel version.
11847 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11848 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11849 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11850 (__ASSUME_WAITID_SYSCALL): Likewise.
11851 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11852 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11853 * README: State 2.6.16 as minimum Linux kernel version. Do not
11854 refer to older versions.
11856 2012-08-06 Roland McGrath <roland@hack.frob.com>
11858 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11859 Define alphasort64 as an alias.
11860 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11861 Define versionsort64 as an alias.
11862 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11863 Define scandir64 as an alias.
11864 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11865 Define scandirat64 as an alias.
11866 * dirent/alphasort64.c (alphasort64):
11867 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11868 * dirent/versionsort64.c: Likewise.
11869 * dirent/scandir64.c: Likewise.
11870 * dirent/scandirat64.c: Likewise.
11871 * sysdeps/wordsize-64/alphasort.c: File removed.
11872 * sysdeps/wordsize-64/alphasort64.c: File removed.
11873 * sysdeps/wordsize-64/scandir.c: File removed.
11874 * sysdeps/wordsize-64/scandir64.c: File removed.
11875 * sysdeps/wordsize-64/scandirat.c: File removed.
11876 * sysdeps/wordsize-64/scandirat64.c: File removed.
11877 * sysdeps/wordsize-64/versionsort.c: File removed.
11878 * sysdeps/wordsize-64/versionsort64.c: File removed.
11879 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11880 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11881 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11882 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11883 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11884 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11885 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11886 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11888 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11890 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11892 [defined __arch64__ || defined __sparcv9]
11893 (__INO_T_MATCHES_INO64_T): New macro.
11894 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11895 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11896 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11897 * sysdeps/unix/sysv/linux/bits/dirent.h
11898 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11899 (_DIRENT_MATCHES_DIRENT64): New macro.
11901 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11902 Define lockf64 as an alias.
11903 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11904 Define fseeko64 as an alias.
11905 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11906 Define ftello64 as an alias.
11907 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11908 Define _IO_fgetpos64 and fgetpos64 as aliases.
11909 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11910 Define _IO_fsetpos64 and fsetpos64 as aliases.
11911 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11912 Conditionalize body on this.
11913 * libio/fseeko64.c: Likewise.
11914 * libio/ftello64.c: Likewise.
11915 * libio/iofgetpos64.c: Likewise.
11916 * libio/iofsetpos64.c: Likewise.
11917 * sysdeps/wordsize-64/lockf.c: File removed.
11918 * sysdeps/wordsize-64/lockf64.c: File removed.
11919 * sysdeps/wordsize-64/fseeko.c: File removed.
11920 * sysdeps/wordsize-64/fseeko64.c: File removed.
11921 * sysdeps/wordsize-64/ftello.c: File removed.
11922 * sysdeps/wordsize-64/ftello64.c: File removed.
11923 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11924 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11925 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11926 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11927 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11928 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11929 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11930 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11931 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11932 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11933 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11934 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11935 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11936 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11938 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11939 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11940 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11941 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11942 [defined __arch64__ || defined __sparcv9]
11943 (__OFF_T_MATCHES_OFF64_T): New macro.
11944 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11945 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11946 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11947 (__OFF_T_MATCHES_OFF64_T): New macro.
11949 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11951 * stdlib/secure-getenv.c (__secure_getenv): Replace
11952 GLIBC_2_16 with GLIBC_2_17.
11954 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11956 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11957 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11959 2012-08-03 David S. Miller <davem@davemloft.net>
11961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11963 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11965 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11967 (__ASSUME_CORRECT_SI_PID): Likewise.
11968 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11969 (__ASSUME_TMPFS_NAME): Likewise.
11970 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11971 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11972 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11973 (HAVE_AUX_SECURE): Make definition unconditional.
11974 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11975 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11977 2012-08-03 Roland McGrath <roland@hack.frob.com>
11979 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11980 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11981 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11982 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11983 __eloop_threshold instead of SYMLOOP_MAX.
11985 * sysdeps/generic/eloop-threshold.h: New file.
11986 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11988 * elf/chroot_canon.c (chroot_canon): Likewise.
11990 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11993 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11994 Change to 2.6.0 everywhere.
11995 * sysdeps/unix/sysv/linux/configure: Regenerated.
11996 * sysdeps/unix/sysv/linux/kernel-features.h
11997 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11998 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12000 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12001 (__ASSUME_FUTEX_REQUEUE): Remove.
12002 (__ASSUME_STATFS64): Define unconditionally.
12003 (__ASSUME_AT_SECURE): Likewise.
12004 (__ASSUME_CORRECT_SI_PID): Likewise.
12005 (__ASSUME_TGKILL): Define without depending on kernel version for
12007 (__ASSUME_UTIMES): Likewise.
12008 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12010 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12011 (__ASSUME_TMPFS_NAME): Likewise.
12012 * README: Update reference to Linux kernel versions.
12014 2012-08-02 Marek Polacek <polacek@redhat.com>
12017 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12018 libc_cv_asm_type_prefix with %.
12019 * configure: Regenerated.
12020 * include/libc-symbols.h: Remove comment about
12021 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12022 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12023 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12024 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12025 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12026 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12027 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12028 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12029 * elf/tst-unique2mod1.c: Likewise.
12030 * elf/tst-unique1mod2.c: Likewise.
12031 * elf/tst-unique1mod1.c: Likewise.
12032 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12033 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12034 Replace ASM_TYPE_DIRECTIVE with .type.
12035 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12036 * sysdeps/i386/sysdep.h: Likewise.
12037 * sysdeps/x86_64/sysdep.h: Likewise.
12038 * sysdeps/sh/sysdep.h: Likewise.
12039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12040 Do not define ASM_TYPE_DIRECTIVE.
12041 * sysdeps/powerpc/sysdep.h: Likewise.
12042 * sysdeps/powerpc/powerpc32/sysdep.h:
12043 Replace ASM_TYPE_DIRECTIVE with .type.
12044 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12045 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12046 * sysdeps/i386/fpu/e_powf.S: Likewise.
12047 * sysdeps/i386/fpu/e_expl.S: Likewise.
12048 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12049 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12050 * sysdeps/i386/fpu/e_pow.S: Likewise.
12051 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12052 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12053 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12054 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12055 * sysdeps/i386/fpu/e_log2.S: Likewise.
12056 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12057 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12058 * sysdeps/i386/fpu/e_powl.S: Likewise.
12059 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12060 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12061 * sysdeps/i386/fpu/e_logl.S: Likewise.
12062 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12063 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12064 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12065 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12066 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12067 * sysdeps/i386/fpu/e_log.S: Likewise.
12068 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12069 * sysdeps/i386/fpu/e_logf.S: Likewise.
12070 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12071 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12072 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12073 * sysdeps/i386/fpu/e_log10.S: Likewise.
12074 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12075 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12076 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12077 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12078 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12079 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12080 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12081 * sysdeps/i386/i686/strtok.S: Likewise.
12082 * sysdeps/i386/i386-mcount.S: Likewise.
12083 * sysdeps/i386/strtok.S: Likewise.
12084 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12085 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12086 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12087 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12088 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12089 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12090 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12091 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12092 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12093 * sysdeps/x86_64/_mcount.S: Likewise.
12094 * sysdeps/x86_64/strtok.S: Likewise.
12095 * sysdeps/sh/_mcount.S: Likewise.
12097 2012-08-01 Roland McGrath <roland@hack.frob.com>
12099 * libio/iofopen.c: Include <fcntl.h>.
12100 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12101 (_IO_fopen64, fopen64): Define as aliases.
12102 * libio/iofopen64.c: Include <fcntl.h>.
12103 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12104 Conditionalize body on this.
12105 * sysdeps/wordsize-64/iofopen.c: File removed.
12106 * sysdeps/wordsize-64/iofopen64.c: File removed.
12108 2012-08-01 Marek Polacek <polacek@redhat.com>
12110 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12111 Use dlfcn directly instead of a variable.
12112 (binfmt-subdir): Do not define.
12115 2012-08-01 Joseph Myers <joseph@codesourcery.com>
12117 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12118 Remove all definitions.
12119 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12120 <kernel-features.h>.
12121 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12122 (miss_F_GETOWN_EX): Remove all definitions.
12123 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12125 [!__ASSUME_FCNTL64]: Remove conditional code.
12126 [__ASSUME_FCNTL64]: Make code unconditional.
12127 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12128 <kernel-features.h>.
12129 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12130 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12131 (lockf64) [__NR_fcntl64]: Make code unconditional.
12132 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12134 * sysdeps/unix/sysv/linux/kernel-features.h
12135 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12136 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12137 Make code unconditional.
12138 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12139 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12141 [__NR_vfork]: Make code unconditional.
12142 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12143 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12145 [__NR_vfork]: Make code unconditional.
12146 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12147 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12149 2012-08-01 Roland McGrath <roland@hack.frob.com>
12151 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12152 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12154 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12155 Define mkstemp64 as an alias.
12156 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12157 Define mkstemps64 as an alias.
12158 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12159 Define mkostemp64 as an alias.
12160 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12161 Define mkostemps64 as an alias.
12162 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12163 Conditionalize body on this.
12164 * misc/mkostemp64.c: Likewise.
12165 * misc/mkostemps64.c: Likewise.
12166 * misc/mkstemps64.c: Likewise.
12167 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12168 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12169 * sysdeps/wordsize-64/mkostemp.c: File removed.
12170 * sysdeps/wordsize-64/mkstemp.c: File removed.
12171 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12172 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12173 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12174 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12177 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12178 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12179 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12180 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12182 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12183 compat_symbol macros from <shlib-compat.h> rather than the underlying
12184 default_symbol_version and symbol_version macros, so that DEFAULT
12185 lines in shlib-versions are respected.
12186 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12188 2012-08-01 Florian Weimer <fweimer@redhat.com>
12190 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12191 Declare with warn_unused_result.
12192 (setgid, setregid, setegid, setresgid): Likewise.
12193 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12195 * WUR-REPORT: Remove set*id functions.
12197 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12199 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12201 2012-07-31 Roland McGrath <roland@hack.frob.com>
12204 * include/sys/socket.h (__libc_accept, __libc_accept4):
12205 Add attribute_hidden.
12206 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12208 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12210 * inet/getnetgrent_r.c (setup): Likewise.
12212 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12214 2012-07-31 David S. Miller <davem@davemloft.net>
12216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12218 2012-07-31 Joseph Myers <joseph@codesourcery.com>
12221 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12222 value between 1.0 and 2.0 and smaller part has absolute value less
12224 * math/s_clog10.c (__clog10): Likewise.
12225 * math/s_clog10f.c (__clog10f): Likewise.
12226 * math/s_clog10l.c (__clog10l): Likewise.
12227 * math/s_clogf.c (__clogf): Likewise.
12228 * math/s_clogl.c (__clogl): Likewise.
12229 * math/libm-test.inc (clog_test): Add more tests.
12230 (clog10_test): Likewise.
12231 * sysdeps/i386/fpu/libm-test-ulps: Update.
12232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12234 2012-07-31 Florian Weimer <fweimer@redhat.com>
12236 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12237 Exit with zero in case no suitable GID is found, and write a
12238 message to standard error.
12240 2012-07-30 Roland McGrath <roland@hack.frob.com>
12242 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12244 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12245 (MAXPATHLEN): Removed.
12246 (NOGROUP, NODEV): New macros.
12247 (setbit, clrbit, isset, isclr): New macros.
12248 (howmany, roundup, powerof2): New macros.
12249 (DEV_BSIZE): New macro.
12251 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12252 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12254 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12255 definition on [!__NO_LONG_DOUBLE_MATH].
12257 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12258 PTR_MANGLE and PTR_DEMANGLE.
12260 * socket/accept4.c (accept4): Rename to __libc_accept4.
12261 Define accept4 as a weak alias.
12263 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12264 on [_DIRENT_HAVE_D_TYPE].
12265 * io/ftw.c (ftw_dir): Likewise.
12267 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12269 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12271 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12272 Use the BSD numbers rather than the arbitrary ones we had.
12273 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12274 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12275 (SIGXCPU, SIGXFSZ): New macros.
12278 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12279 initializer on [_LIBC_REENTRANT].
12281 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12282 definitions inside [_POSIX_MAPPED_FILES].
12284 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12286 * dirent/opendir.c: Include <fcntl.h>.
12288 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12289 (__libc_getspecific): Likewise.
12290 (__libc_key_create): Likewise.
12292 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12293 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12294 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12295 (tmpfile64): Define as alias.
12296 * sysdeps/wordsize-64/tmpfile.c: File removed.
12297 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12298 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12299 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12301 * stdio-common/vfscanf.c: Include <stdbool.h>.
12302 * nss/makedb.c: Likewise.
12303 * stdio-common/_i18n_number.h: Likewise.
12304 * argp/argp-help.c: Likewise.
12305 * posix/wordexp.c: Likewise.
12306 * sysdeps/posix/spawni.c: Likewise.
12307 * nss/nss_files/files-initgroups.c: Likewise.
12308 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12309 * nss/nss_files/files-initgroups.c: Likewise.
12310 * nss/nss_db/db-netgrp.c: Likewise.
12311 * nss/nss_db/db-initgroups.c: Likewise.
12312 * io/fchmodat.c: Include <sys/stat.h>.
12314 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12315 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12317 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12320 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12321 Add multiple inclusion protection.
12323 2012-07-27 David S. Miller <davem@davemloft.net>
12325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12327 2012-07-27 Gary Benson <gbenson@redhat.com>
12330 * elf/rtld.c: Include <stap-probe.h>.
12331 (dl_main): Added static probes "init_start" and "init_complete".
12332 * elf/dl-load.c: Include <stap-probe.h>.
12333 (lose): Take new parameter "nsid".
12334 Added static probe "map_failed".
12335 (_dl_map_object_from_fd): Pass namespace id to lose.
12336 Added static probe "map_start".
12337 (open_verify): Pass namespace id to lose.
12338 * elf/dl-open.c: Include <stap-probe.h>.
12339 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12340 and "reloc_complete".
12341 * elf/dl-close.c: Include <stap-probe.h>.
12342 (_dl_close_worker): Added static probes "unmap_start" and
12344 * elf/rtld-debugger-interface.txt: New file documenting the above.
12346 2012-07-26 Roland McGrath <roland@hack.frob.com>
12348 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12349 rather than a string variable.
12350 * sunrpc/rpc_main.c (h_output): Likewise.
12351 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12353 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12355 * inet/check_native.c: New file.
12357 2012-07-26 Joseph Myers <joseph@codesourcery.com>
12360 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12361 if larger part has absolute value 1.0.
12362 * math/s_clog10.c (__clog10): Likewise.
12363 * math/s_clog10f.c (__clog10f): Likewise.
12364 * math/s_clog10l.c (__clog10l): Likewise.
12365 * math/s_clogf.c (__clogf): Likewise.
12366 * math/s_clogl.c (__clogl): Likewise.
12367 * math/libm-test.inc (clog_test): Add more tests.
12368 (clog10_test): Likewise.
12369 * sysdeps/i386/fpu/libm-test-ulps: Update.
12370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12372 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12373 (pltexit): Likewise.
12374 (La_regs): Likewise.
12375 (La_retval): Likewise.
12376 (int_retval): Likewise.
12377 Update #error for removed macros to refer only to definitions in
12379 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12381 (pltexit): Likewise.
12382 (La_regs): Likewise.
12383 (La_retval): Likewise.
12384 (int_retval): Likewise.
12385 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12387 (pltexit): Likewise.
12388 (La_regs): Likewise.
12389 (La_retval): Likewise.
12390 (int_retval): Likewise.
12391 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12393 (pltexit): Likewise.
12394 (La_regs): Likewise.
12395 (La_retval): Likewise.
12396 (int_retval): Likewise.
12397 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12399 (pltexit): Likewise.
12400 (La_regs): Likewise.
12401 (La_retval): Likewise.
12402 (int_retval): Likewise.
12403 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12405 (pltexit): Likewise.
12406 (La_regs): Likewise.
12407 (La_retval): Likewise.
12408 (int_retval): Likewise.
12409 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12411 (pltexit): Likewise.
12412 (La_regs): Likewise.
12413 (La_retval): Likewise.
12414 (int_retval): Likewise.
12415 * sysdeps/generic/tst-audit.h: Update comment to refer only to
12416 macro definitions in tst-audit.h.
12417 * sysdeps/i386/tst-audit.h: New file.
12418 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
12419 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
12420 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
12421 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
12422 * sysdeps/sh/tst-audit.h: Likewise.
12423 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
12424 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
12425 * sysdeps/x86_64/tst-audit.h: Likewise.
12427 2012-07-26 Andreas Jaeger <aj@suse.de>
12429 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
12432 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
12433 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
12434 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
12436 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
12437 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
12438 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
12440 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
12443 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
12445 (si_call_addr, si_syscall, si_arch): Define new macro.
12446 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
12448 (si_call_addr, si_syscall, si_arch): Define new marcro.
12449 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
12451 (si_call_addr, si_syscall, si_arch): Define new macro.
12452 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
12454 (si_call_addr, si_syscall, si_arch): Define new macro.
12456 2012-07-25 Joseph Myers <joseph@codesourcery.com>
12459 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12460 Change to 2.4.21 where previously 2.4.1.
12461 * sysdeps/unix/sysv/linux/configure: Regenerated.
12462 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
12463 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
12464 Linux kernel version.
12465 (__ASSUME_STD_AUXV): Remove.
12466 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
12468 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
12469 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
12470 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
12471 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
12472 (__ASSUME_NETLINK_SUPPORT): Likewise.
12473 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
12474 (__no_netlink_support): Remove conditional definition.
12475 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
12477 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12478 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
12479 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
12480 (if_nameindex_ioctl): Remove.
12481 (if_nameindex_netlink): Do not handle __no_netlink_support.
12482 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12484 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
12485 Remove conditional code.
12486 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12488 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
12490 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12491 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
12492 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
12494 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
12495 [!__ASSUME_STD_AUXV]: Remove conditional code.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
12497 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
12498 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
12500 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
12501 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12503 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12505 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
12506 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12508 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12510 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12513 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
12516 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12517 code unconditional.
12518 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12520 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12522 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12525 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12527 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12530 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12531 code unconditional.
12532 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12534 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12536 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12539 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12540 code unconditional.
12541 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12543 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12545 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12548 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
12550 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
12551 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
12552 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12553 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
12554 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
12555 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12556 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12557 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12558 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
12559 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12560 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
12561 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
12562 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
12563 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12564 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12565 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
12566 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
12567 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
12568 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
12569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
12570 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
12571 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12572 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12574 2012-07-25 Florian Weimer <fweimer@redhat.com>
12576 * Versions.def: Add GLIBC_2.17.
12577 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
12578 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
12579 Introduce __libc_secure_getenv.
12580 * stdlib/Versions (2.17): Add secure_getenv
12581 (GLIBC_PRIVATE): Add __libc_secure_getenv.
12582 * stdlib/secure-getenv.c: Rename __secure_getenv to
12583 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
12584 symbol __secure_getenv for GLIBC_2.0.
12585 * stdlib/tst-secure-getenv.c: New.
12586 * stdlib/Makefile (tests): Add testcase.
12587 * manual/startup.texi (Environment Access): Document
12589 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
12590 __libc_secure_getenv.
12591 * inet/ruserpass.c (ruserpass): Likewise.
12592 * malloc/mtrace.c (mtrace): Likewise.
12593 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
12594 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12595 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
12596 * sysdeps/posix/tempname.c: Likewise. Evaluate
12597 HAVE_SECURE_GETENV.
12598 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
12599 __secure_getenv to __libc_secure_getenv.
12600 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
12601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12613 2012-07-25 Joseph Myers <joseph@codesourcery.com>
12615 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
12616 (struct La_i86_retval): Likewise.
12617 (struct La_x86_64_regs): Likewise.
12618 (struct La_x86_64_retval): Likewise.
12619 (struct La_x32_regs): Likewise.
12620 (struct La_x32_retval): Likewise.
12621 (struct La_ppc32_regs): Likewise.
12622 (struct La_ppc32_retval): Likewise.
12623 (struct La_ppc64_regs): Likewise.
12624 (struct La_ppc64_retval): Likewise.
12625 (struct La_sh_regs): Likewise.
12626 (struct La_sh_retval): Likewise.
12627 (struct La_s390_32_regs): Likewise.
12628 (struct La_s390_32_retval): Likewise.
12629 (struct La_s390_64_regs): Likewise.
12630 (struct La_s390_64_retval): Likewise.
12631 (struct La_sparc32_regs): Likewise.
12632 (struct La_sparc32_retval): Likewise.
12633 (struct La_sparc64_regs): Likewise.
12634 (struct La_sparc64_retval): Likewise.
12635 (struct audit_ifaces): Remove architecture-specific pltenter and
12637 * sysdeps/i386/ldsodefs.h: New file.
12638 * sysdeps/powerpc/ldsodefs.h: Likewise.
12639 * sysdeps/s390/ldsodefs.h: Likewise.
12640 * sysdeps/sh/ldsodefs.h: Likewise.
12641 * sysdeps/sparc/ldsodefs.h: Likewise.
12642 * sysdeps/x86_64/ldsodefs.h: Likewise.
12644 2012-07-25 Marek Polacek <polacek@redhat.com>
12647 * math/libm-test.inc (yn_test): Add another test.
12648 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12649 to ERANGE when the result is +-Inf.
12650 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12651 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12652 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12653 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12655 2012-07-24 Joseph Myers <joseph@codesourcery.com>
12657 * conform/data/time.h-data (NULL): Use macro-constant. Require
12659 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
12661 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
12663 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
12665 * configure.in <sysdeps resolving>: Correct printing
12667 * configure: Regenerate.
12669 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
12671 * math/w_ilogb.c: Include <limits.h>.
12672 * math/w_ilogbl.c: Likewise.
12674 2012-07-20 Joseph Myers <joseph@codesourcery.com>
12676 * manual/lang.texi (__va_copy): Document primarily as ISO C99
12677 va_copy. Document allowing for unavailable va_copy only as
12678 pre-C99 compatibility.
12679 * manual/string.texi (Copying and Concatenation): Use va_copy
12680 instead of __va_copy in concat example.
12682 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
12684 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12685 (__sendto): Use create_address_port. Initialize APORT and deallocate
12688 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12689 with O_NOLINK passed to __file_name_lookup.
12691 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12692 with O_NOLINK passed to __file_name_lookup.
12694 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12695 negative N or less than NGIDS.
12697 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12698 type to string_t. Set ERANGE as errno and return it if NAME is not big
12699 enough. Use memcpy instead of strncpy.
12701 2012-07-20 Joseph Myers <joseph@codesourcery.com>
12703 * elf/Makefile (check-data): Remove.
12704 (localplt.data): New vpath directive.
12705 ($(objpfx)check-localplt.out): Use localplt.data from vpath
12706 instead of $(check-data).
12707 * scripts/data/localplt-generic.data: Move to ...
12708 * sysdeps/generic/localplt.data: ... here.
12709 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12710 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12711 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12714 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12717 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12720 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12723 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12726 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12730 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12732 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12733 PPC32 and PPC64 files.
12734 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12735 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12737 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12739 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12740 __makecontext_ret to ...
12741 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12742 ... here and call exit if uc_link is NULL. New file.
12743 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12744 __makecontext_ret.S.
12745 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12746 __makecontext_ret to ...
12747 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12748 ... here and call exit if uc_link is NULL. New file.
12749 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12750 __makecontext_ret.S.
12752 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12754 * elf/elf.h (R_390_IRELATIVE): New definition.
12755 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12756 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
12757 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12758 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12759 (elf_machine_lazy_rel): Likewise.
12760 * sysdeps/s390/dl-irel.h: New file.
12761 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12762 * sysdeps/s390/s390-64/memset.S: New asm code.
12763 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12764 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12765 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12766 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12767 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12768 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12769 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12770 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12771 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12772 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12773 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12774 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12775 * sysdeps/s390/s390-32/memset.S: New asm code.
12776 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12778 2012-07-17 Marek Polacek <polacek@redhat.com>
12781 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12782 * sysdeps/s390/s390-64/configure.in: Likewise.
12783 * sysdeps/sparc/configure.in: Likewise.
12784 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12785 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12786 * sysdeps/i386/configure.in: Likewise.
12787 * sysdeps/x86_64/configure.in: Likewise.
12788 * sysdeps/sh/configure.in: Likewise.
12789 * sysdeps/s390/s390-32/configure: Regenerated.
12790 * sysdeps/s390/s390-64/configure: Likewise.
12791 * sysdeps/x86_64/configure: Likewise.
12792 * sysdeps/sh/configure: Likewise.
12793 * sysdeps/powerpc/powerpc64/configure: Likewise.
12794 * sysdeps/powerpc/powerpc32/configure: Likewise.
12795 * sysdeps/sparc/configure: Likwise.
12796 * sysdeps/i386/configure: Likewise.
12798 * elf/dl-open.c: Comment fixes.
12800 2012-07-17 Joseph Myers <joseph@codesourcery.com>
12802 * Makefile [CXX] (check-data): Remove.
12803 [CXX] (c++-types.data): New vpath directive.
12804 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12805 vpath. Do not allow for C++ type data being missing.
12806 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12807 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12808 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12809 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12810 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12811 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12812 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12815 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12818 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12821 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12824 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12827 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12830 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12833 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12836 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12837 definitions to architecture-specific files.
12838 (TLS_IE): Likewise.
12839 (TLS_LD): Likewise.
12840 (TLS_GD): Likewise.
12841 * sysdeps/i386/tls-macros.h: New file.
12842 * sysdeps/powerpc/tls-macros.h: Likewise.
12843 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12844 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12845 * sysdeps/sh/tls-macros.h: Likewise.
12846 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12847 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12848 * sysdeps/x86_64/tls-macros.h: Likewise.
12850 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12852 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12853 zero value for regular exit case.
12855 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12856 (__start_context): Preserve zero value for regular exit case.
12858 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12859 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12861 * manual/setjmp.texi (setcontext): Clarify normal process
12862 termination when uc_link is the null pointer.
12863 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12866 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12868 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12869 preprocessor. Test for each exception mask separately.
12871 2012-07-16 Andreas Jaeger <aj@suse.de>
12873 * po/ru.po: Update from translation team.
12875 2012-07-15 Joseph Myers <joseph@codesourcery.com>
12877 * conform/data/string.h-data (NULL): Use macro-constant. Require
12879 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12880 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12881 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12882 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12885 2012-07-13 Andreas Jaeger <aj@suse.de>
12887 * po/fr.po: Update from translation team.
12889 2012-07-12 Marek Polacek <polacek@redhat.com>
12892 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12893 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12896 2012-07-12 Joseph Myers <joseph@codesourcery.com>
12899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12900 Change to 2.4.1 where previously 2.4.0.
12901 * sysdeps/unix/sysv/linux/configure: Regenerated.
12902 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12903 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12905 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12906 (__ASSUME_AT_CLKTCK): Remove.
12907 (__ASSUME_AT_PAGESIZE): Likewise.
12908 (__ASSUME_AT_XID): Likewise.
12909 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12910 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12911 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12913 (HAVE_AUX_PAGESIZE): Likewise.
12914 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12915 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12916 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12918 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12922 the temporary buffer used to invoke __gethostbyname2_r,
12923 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12924 host_data / struct gaih_addrtuple.
12925 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12926 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12927 header file nss/nsswitch.h.
12928 * nss/nsswitch.h (global scope): Add definition of implementation
12929 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12930 resolv/nss_dns/dns-host.c).
12932 2012-07-11 Andreas Jaeger <aj@suse.de>
12934 * po/fr.po: Update from translation team.
12936 * po/sv.po: Update from translation team
12937 * po/fr.po: Another update from translation team.
12939 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12941 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12942 for subnormals or multiply small sinh result by itself.
12943 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12946 2012-07-11 David S. Miller <davem@davemloft.net>
12948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12950 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12953 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12954 (INTERNAL_MARK): Shift it here.
12956 2012-07-10 Marek Polacek <polacek@redhat.com>
12959 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12960 libc_cv_asm_global_directive with .globl.
12961 * configure: Regenerated.
12962 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12964 * sysdeps/i386/configure: Regenerated.
12965 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12967 * sysdeps/x86_64/configure: Regenerated.
12968 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12969 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12970 * elf/tst-unique2mod2.c: Likewise.
12971 * elf/tst-unique2mod1.c: Likewise.
12972 * elf/tst-unique1mod2.c: Likewise.
12973 * elf/tst-unique1mod1.c: Likewise.
12974 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12975 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12976 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12977 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12978 * sysdeps/mach/sysdep.h: Likewise.
12979 * sysdeps/i386/sysdep.h: Likewise.
12980 * sysdeps/i386/i386-mcount.S: Likewise.
12981 * sysdeps/x86_64/_mcount.S: Likewise.
12982 * sysdeps/x86_64/sysdep.h: Likewise.
12983 * sysdeps/sh/_mcount.S: Likewise.
12984 * sysdeps/sh/sysdep.h: Likewise.
12985 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12986 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12987 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12988 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12989 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12990 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12991 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12992 * locale/localeinfo.h: Likewise.
12993 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12994 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12996 2012-07-09 Roland McGrath <roland@hack.frob.com>
12999 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13001 * manual/message.texi (The Uniforum approach): Likewise.
13002 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13003 (glibc iconv Implementation): Likewise.
13005 2012-07-09 Joseph Myers <joseph@codesourcery.com>
13008 * math/s_clog.c (__clog): Avoid scaling a value down where that
13009 could result in underflow.
13010 * math/s_clog10.c (__clog10): Likewise.
13011 * math/s_clog10f.c (__clog10f): Likewise.
13012 * math/s_clog10l.c (__clog10l): Likewise.
13013 * math/s_clogf.c (__clogf): Likewise.
13014 * math/s_clogl.c (__clogl): Likewise.
13015 * math/libm-test.inc (clog_test): Add more tests.
13016 (clog10_test): Likewise.
13017 * sysdeps/i386/fpu/libm-test-ulps: Update.
13018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13020 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13023 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13024 by 7 not 8 to examine high bit of fractional part.
13027 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13028 for call to __mcount_internal.
13029 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13030 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13031 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13033 2012-07-06 Joseph Myers <joseph@codesourcery.com>
13036 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13037 approximation for values within 0x1p-13f of an odd multiple of
13039 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13040 exception. Add more tests.
13041 * sysdeps/i386/fpu/libm-test-ulps: Update.
13044 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13045 inputs and return -1 for them. Do not check for +Inf in case not
13046 reachable for +Inf.
13047 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13048 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13049 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13050 and return -1 for them. Do not check for +Inf in case not
13051 reachable for +Inf.
13052 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13054 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13055 and return -1 for them. Do not check for +Inf in case not
13056 reachable for +Inf.
13057 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13058 spurious underflow.
13059 * sysdeps/i386/fpu/libm-test-ulps: Update.
13060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13062 2012-07-06 Mike Frysinger <vapier@gentoo.org>
13064 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13066 2012-07-05 Joseph Myers <joseph@codesourcery.com>
13070 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13071 could result in spurious underflow. Scale down values above
13072 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13073 * math/s_csqrtf.c (__csqrtf): Likewise.
13074 * math/s_csqrtl.c (__csqrtl): Likewise.
13075 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13076 spurious underflow.
13077 * sysdeps/i386/fpu/libm-test-ulps: Update.
13078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13080 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13082 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13084 * catgets/xopen-msg.awk: New file.
13085 * catgets/xopen-msg.sed: Removed.
13087 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13089 * intl/po2test.awk: New file.
13090 * intl/po2test.sed: Removed.
13092 2012-07-04 Joseph Myers <joseph@codesourcery.com>
13095 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13096 or multiply small sinh result by itself.
13097 * math/s_ctanf.c (__ctanf): Likewise.
13098 * math/s_ctanh.c (__ctanh): Likewise.
13099 * math/s_ctanhf.c (__ctanhf): Likewise.
13100 * math/s_ctanhl.c (__ctanhl): Likewise.
13101 * math/s_ctanl.c (__ctanl): Likewise.
13102 * math/libm-test.inc (ctan_test_tonearest): New function.
13103 (ctan_test_towardzero): Likewise.
13104 (ctan_test_downward): Likewise.
13105 (ctan_test_upward): Likewise.
13106 (ctanh_test_tonearest): Likewise.
13107 (ctanh_test_towardzero): Likewise.
13108 (ctanh_test_downward): Likewise.
13109 (ctanh_test_upward): Likewise.
13110 (main): Call these new functions.
13111 * sysdeps/i386/fpu/libm-test-ulps: Update.
13112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13114 2012-07-03 Mike Frysinger <vapier@gentoo.org>
13116 * .gitignore: Delete /ports entry.
13118 2012-07-03 Andreas Jaeger <aj@suse.de>
13120 * po/bg.po: Update from translation team.
13121 * po/cs.po: Likewise.
13122 * po/de.po: Likewise.
13123 * po/hr.po: Likewise.
13124 * po/nl.pl: Likewise.
13125 * po/pl.po: Likewise.
13126 * po/vi.po: Likewise.
13128 2012-07-03 Joseph Myers <joseph@codesourcery.com>
13130 * Makeconfig [!+link] (+link-before-libc): New variable.
13131 [!+link] (+link-after-libc): Likewise.
13132 [!+link] (+link-tests): Likewise.
13133 [!+link] (+link): Define in terms of $(+link-before-libc) and
13134 $(+link-after-libc).
13135 [!+link-static] (+link-static-before-libc): New variable.
13136 [!+link-static] (+link-static-after-libc): Likewise.
13137 [!+link-static] (+link-static-tests): Likewise.
13138 [!+link-static] (+link-static): Define in terms of
13139 $(+link-static-before-libc) and $(+link-static-after-libc).
13140 [build-shared] (link-libc-before-gnulib): New variable.
13141 [build-shared] (link-libc-tests): Likewise.
13142 [build-shared] (link-libc): Define in terms of
13143 $(link-libc-before-gnulib).
13144 [!build-shared] (link-libc-tests): New variable.
13145 (link-libc-static-tests): New variable.
13146 [!gnulib] (gnulib-arch): New variable.
13147 [!gnulib] (gnulib-tests): Likewise.
13148 [!gnulib] (static-gnulib-arch): Likewise.
13149 [!gnulib] (static-gnulib-tests): Likewise.
13150 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13151 Define with "=" instead of ":=".
13152 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13153 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13154 * Rules (binaries-all-notests): New variable.
13155 (binaries-all-tests): Likewise.
13156 (binaries-static-notests): Likewise.
13157 (binaries-static-tests): Likewise.
13158 (binaries-all): Define using $(binaries-all-notests) and
13159 $(binaries-all-tests).
13160 (binaries-static): Define using $(binaries-static-notests) and
13161 $(binaries-static-tests).
13162 (binaries-shared-tests): New variable.
13163 (binaries-shared-notests): Likewise.
13164 (binaries-shared): Remove variable.
13165 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13166 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13167 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13168 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13169 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13170 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13171 * elf/Makefile (sln-modules): New variable.
13172 (extra-objs): Add $(sln-modules:=.o).
13173 (ldconfig-modules): Add static-stubs.
13174 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13175 * elf/static-stubs.c: New file.
13178 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13179 by 7 not 8 to examine high bit of fractional part. Use volatile
13180 variables when splitting into final array of floats if
13181 __FLT_EVAL_METHOD__ != 0.
13182 * math/libm-test.inc (cos_test): Add another test.
13183 (sin_test): Likewise.
13184 * sysdeps/i386/fpu/libm-test-ulps: Update.
13187 * math/libm-test.inc (cosh_test): Add more tests.
13189 * version.h (RELEASE): Set to "development".
13190 (VERSION): Set to "2.16.90".
13192 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13194 * NEWS: Update copyright. Remove last-updated date.
13195 Mention math library bug fixes and timezone data changes.
13196 * README: Mention GNU/Hurd, x32, and HPPA support status.
13198 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13200 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13202 2012-06-27 Andreas Jaeger <aj@suse.de>
13204 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13206 2012-06-25 Andreas Jaeger <aj@suse.de>
13208 * sysdeps/s390/fpu/libm-test-ulps: Update.
13210 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13211 Thomas Schwinge <thomas@codesourcery.com>
13213 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13214 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13218 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13220 * sysdeps/mach/start.c: Remove file.
13221 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13222 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13223 * sysdeps/sh/init-first.c: Likewise.
13225 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13226 registers for frame unwinding purposes, add CFI directives.
13227 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13228 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13229 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13232 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13233 __fortify_fail returning.
13234 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13236 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13237 sysdeps/sh/____longjmp_chk.S.
13238 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13239 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13240 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13241 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13243 * sysdeps/sh/abort-instr.h: New file.
13244 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13245 process in case exit returns.
13247 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13248 initialize the GOT register before use.
13250 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13251 calculation of ARGC > 4.
13253 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13254 meaningful names to some local labels.
13256 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13257 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13259 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13260 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13261 (__arch_compare_and_exchange_val_16_acq): Likewise.
13262 (__arch_compare_and_exchange_val_32_acq): Likewise.
13263 (atomic_exchange_and_add): Fix gUSA sequence.
13264 (atomic_add): Likewise.
13265 (atomic_add_negative): Likewise.
13266 (atomic_add_zero): Likewise.
13267 (atomic_bit_test_set): Likewise.
13269 2012-06-22 Andreas Schwab <schwab@redhat.com>
13272 * include/link.h (struct link_map): Add l_free_initfini.
13273 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13275 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13276 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13277 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13280 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13282 * configure.in: Use AC_LANG_SOURCE.
13283 * configure: Regenerate.
13285 2012-06-22 Roland McGrath <roland@hack.frob.com>
13287 * configure.in (libc_cv_localstatedir): New substituted variable.
13288 * configure: Regenerated.
13289 * config.make.in (localstatedir): New variable, substituted from
13290 libc_cv_localstatedir.
13291 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13292 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13293 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13294 * sysdeps/gnu/configure: Regenerated.
13296 2012-06-21 Jeff Law <law@redhat.com>
13299 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13300 free. Simplify list management for _LIBC case.
13302 2012-06-21 Joseph Myers <joseph@codesourcery.com>
13305 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13306 Clear sign bit of 64-bit integer value before comparing against
13309 * sysdeps/mach/configure: Regenerated.
13311 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13314 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13316 2012-06-21 Jeff Law <law@redhat.com>
13319 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13320 uint16_t for elements in the "seen" array to avoid char overflows.
13321 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13322 * elf/dl-open.c (dl_open_worker): Likewise.
13324 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13326 * scripts/list-sources.sh: Scan PORTS for translations.
13327 * po/libc.pot: Regenerated.
13329 2012-06-21 Andreas Jaeger <aj@suse.de>
13332 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13334 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13335 * bits/byteswap-16.h (__bswap_16): Likewise.
13336 * bits/byteswap.h (__bswap_constant_16): Likewise.
13338 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13341 * sysdeps/i386/fpu_control.h: Removed.
13342 * sysdeps/x86_64/fpu_control.h: Moved to ...
13343 * sysdeps/x86/fpu_control.h: Here.
13345 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13346 (_FPU_SETCW): Likewise.
13348 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13351 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13352 * sysdeps/x86/fpu/bits/mathinline.h: This.
13353 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13357 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13358 functions if __x86_64__ is defined.
13360 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13362 * string/endian.h: Add !__ASSEMBLER__ condition for including
13363 conversion interfaces.
13365 2012-06-15 Joseph Myers <joseph@codesourcery.com>
13368 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13369 of ABS(x) in calculating zero to negative powers other than odd
13371 * math/libm-test.inc (pow_test): Add more tests.
13373 2012-06-15 Andreas Jaeger <aj@suse.de>
13375 * manual/contrib.texi (Contributors): Update entry of Liubov
13376 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13379 2012-06-15 Cyril Hrubis <metan@ucw.cz>
13381 * string/string.h: Add __wur to GNU version of strerror_r.
13383 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13386 * string/Makefile (tests): Add tst-strtok_r.
13387 * string/tst-strtok_r.c: New file.
13388 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13389 RAX_LP/RDX_LP on SAVE_PTR.
13391 2012-06-14 Roland McGrath <roland@hack.frob.com>
13393 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13395 2012-06-14 Joseph Myers <joseph@codesourcery.com>
13397 * libm_test.inc (csqrt_test): Allow more spurious underflow
13399 (j0_test): Likewise.
13400 (j1_test): Likewise.
13401 (y0_test): Likewise.
13402 (y1_test): Likewise.
13404 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13406 * po/Makefile (libc.pot): Use UTF-8 charset.
13408 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13411 Suppress sign-conversion warning from FD_SET.
13412 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13413 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13414 not unsigned long int.
13415 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
13417 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
13421 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
13422 __extern_always_inline instead of __extern_inline.
13423 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
13424 (__signbit): Likewise.
13425 (__signbitl): Support C++ namespace.
13426 (lrintf): New inline function.
13428 (llrintf): Likewise.
13429 (llrint): Likewise.
13439 (floorf): Likewise.
13440 (nearbyint): Likewise.
13441 (nearbyintf): Likewise.
13443 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
13445 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
13446 non-default versions.
13448 2012-06-11 Roland McGrath <roland@hack.frob.com>
13451 * manual/argp.texi (Argp): Reword argp_parse description slightly.
13453 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
13455 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
13456 (FE_UPWARD, FE_DOWNWARD): Don't define.
13457 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
13458 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13460 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
13462 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13463 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13465 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13467 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13468 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
13469 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
13470 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
13472 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
13475 * sysdeps/i386/fpu/bits/fenv.h: Removed.
13476 * sysdeps/i386/fpu/Implies: New file.
13477 * sysdeps/x86_64/fpu/Implies: Likewise.
13478 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
13479 * sysdeps/x86/fpu/bits/fenv.h: This.
13481 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
13484 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13487 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
13488 character 0xffff that matches the last element of the
13491 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13493 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
13496 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13498 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
13499 values higher than 25.6283.
13501 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13503 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
13504 subnormal exponent extraction and add some __builtin_expect.
13505 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
13506 Fix for subnormal mantissa calculation.
13508 2012-06-04 Mike Frysinger <vapier@gentoo.org>
13510 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
13511 cpu2 is -1 and errno is not ENOSYS.
13513 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
13516 * sysdeps/i386/i486/bits/string.h: Renamed to ...
13517 * sysdeps/x86/bits/string.h: This.
13518 * sysdeps/x86_64/bits/string.h: Removed.
13520 * sysdeps/i386/i486/bits/string.h: Define inline functions only
13521 if not compiling for x86-64, but compiling for >= i486.
13523 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
13524 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
13526 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
13527 New macro from Linux kernel 3.4.0.
13528 (FP_XSTATE_MAGIC2): Likewise.
13529 (FP_XSTATE_MAGIC2_SIZE): Likewise.
13530 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
13531 (struct _fpx_sw_bytes): New struct.
13532 (struct _xsave_hdr): Likewise.
13533 (struct _ymmh_state): Likewise.
13534 (struct _xstate): Likewise.
13536 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
13537 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
13538 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
13539 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
13540 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
13541 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
13543 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
13544 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
13545 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
13546 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
13547 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
13548 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
13550 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13553 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
13554 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
13555 (sysdep_headers): Include sys/platform/ppc.h.
13556 * sysdeps/powerpc/test-gettimebase.c: Test for
13557 __ppc_get_timebase() to catch future ISA opcode/insn changes.
13558 * manual/Makefile (appendices): Include platform.texi.
13559 * manual/contrib.texi (Contributors): Update @node pointers.
13560 * manual/maint.texi (Maintenance): Likewise.
13561 (Platform): New node.
13562 * manual/platform.texi: New file. Document the new features.
13564 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13565 Jakub Jelinek <jakub@redhat.com>
13568 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
13569 where __builtin_expect is unavailable.
13571 2012-06-03 David S. Miller <davem@davemloft.net>
13573 * stdlib/longlong.h: Updated from GCC.
13575 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
13578 * sysdeps/powerpc/powerpc32/mcount.c: New file.
13579 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
13581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13582 (GLIBC_2.16): Likewise.
13584 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13586 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
13588 2012-06-01 Joseph Myers <joseph@codesourcery.com>
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13591 (default-abi): New variable.
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
13593 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
13595 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
13597 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
13599 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
13602 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
13603 definition. Document in comment.
13605 2012-06-01 David S. Miller <davem@davemloft.net>
13607 * stdlib/longlong.h: Updated from GCC.
13609 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13612 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
13613 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
13614 sys/debugreg.h sys/io.h here.
13615 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
13616 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
13618 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
13619 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
13620 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
13621 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
13622 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
13623 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
13625 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
13626 Define only if __x86_64__ is defined.
13628 2012-06-01 Joseph Myers <joseph@codesourcery.com>
13631 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
13632 Use int64_t for variable i.
13633 * math/libm-test.inc (fmod_test): Add more tests.
13635 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
13636 z computation is not scheduled after fetestexcept.
13637 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
13638 Use math_force_eval instead of asm to ensure calculation scheduled
13639 before exception test.
13640 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
13641 Ensure a1 + u.d computation is not scheduled after fetestexcept.
13643 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
13645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13646 computation is not scheduled after fetestexcept.
13648 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13651 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13652 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13654 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13656 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13657 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13659 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13662 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13664 (__WCHAR_MIN): Support __WORDSIZE == 64.
13665 (__WCHAR_MAX): Likewise.
13667 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13668 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13671 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13672 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13675 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13676 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13678 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13679 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13681 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13682 Defined to 1 if __x86_64__ isn't defined.
13683 (_STAT_VER_LINUX_OLD): New.
13684 (st_atime): Remove duplicate.
13685 (st_mtime): Likewise.
13686 (st_ctime): Likewise.
13688 2012-05-31 David S. Miller <davem@davemloft.net>
13690 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13693 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
13695 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13699 * elf/dl-reloc.c: Include <_itoa.h>.
13700 (_dl_reloc_bad_type): Remove use of INTUSE.
13701 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13702 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13703 * stdio-common/psiginfo.c (psiginfo): Likewise.
13704 * stdio-common/psignal.c (psignal): Likewise.
13705 * string/strsignal.c (strsignal): Likewise.
13706 * include/signal.h (_sys_siglist): Declare hidden proto.
13707 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
13708 INTVARDEF with libc_hidden_data_def.
13709 * stdio-common/itoa-udigits.c: Likewise.
13710 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13711 (_itoa_lower_digits_internal): Remove declaration.
13712 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13713 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13714 (_sys_sigabbrev_internal): Remove aliases.
13715 (_sys_siglist): Define hidden alias.
13717 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
13719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13722 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13725 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13726 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13728 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13729 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13730 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13731 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13732 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13733 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13735 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13736 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13737 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13739 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13747 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13748 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13749 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13751 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13752 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13753 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13754 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13755 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13756 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13758 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13759 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13761 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13762 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13764 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13766 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13768 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13769 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13771 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13773 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13774 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13775 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13777 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13779 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13781 2012-05-31 Joseph Myers <joseph@codesourcery.com>
13783 * math/math.h (M_El): Use two more decimal places.
13784 (M_LOG2El): Likewise.
13785 (M_LOG10El): Likewise.
13786 (M_LN2l): Likewise.
13787 (M_LN10l): Likewise.
13789 (M_PI_2l): Likewise.
13790 (M_PI_4l): Likewise.
13791 (M_1_PIl): Likewise.
13792 (M_2_PIl): Likewise.
13793 (M_2_SQRTPIl): Likewise.
13794 (M_SQRT2l): Likewise.
13795 (M_SQRT1_2l): Likewise.
13797 2012-05-31 David S. Miller <davem@davemloft.net>
13799 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13800 values between float registers.
13801 * sysdeps/sparc/sparc64/memset.S: Likewise.
13802 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13804 2012-05-31 Mike Frysinger <vapier@gentoo.org>
13806 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13807 -D_FORTIFY_SOURCE=1.
13808 (CPPFLAGS-tst-longjmp_chk.c): Define.
13809 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13810 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13811 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13812 CFLAGS-tst-wchar-h.c.
13814 2012-05-31 Marek Polacek <polacek@redhat.com>
13817 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13818 __endmntent_internal): Remove declaration.
13819 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13820 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13821 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13823 2012-05-30 David S. Miller <davem@davemloft.net>
13825 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13826 (___Q_simulate_exceptions): Use real FP ops rather than writing
13828 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13831 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13834 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13835 * sysdeps/x86/bits/xtitypes.h: This.
13837 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13838 * sysdeps/x86/bits/wordsize.h: This.
13840 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13841 * sysdeps/x86/bits/huge_vall.h: This.
13843 * sysdeps/i386/bits/select.h: Removed.
13844 * sysdeps/x86_64/bits/select.h: Renamed to ...
13845 * sysdeps/x86/bits/select.h: This.
13847 * sysdeps/i386/bits/setjmp.h: Removed.
13848 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13849 * sysdeps/x86/bits/setjmp.h: This.
13851 * sysdeps/i386/bits/mathdef.h: Removed.
13852 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13853 * sysdeps/x86/bits/mathdef.h: This.
13855 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13858 * include/sys/socket.h (__connect_internal)
13859 (__libc_sa_len_internal): Remove declaration.
13860 (__connect, __libc_sa_len): Declare hidden_proto.
13861 (SA_LEN): Remove use of INTUSE.
13862 * socket/connect.c: Add libc_hidden_def.
13863 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13864 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13865 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13867 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13868 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13869 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13870 of adding _internal alias.
13872 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13875 * sysdeps/i386/bits/link.h: Removed.
13876 * sysdeps/i386/bits/linkmap.h: Likewise.
13877 * sysdeps/x86_64/bits/link.h: Renamed to ...
13878 * sysdeps/x86/bits/link.h: This.
13879 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13880 * sysdeps/x86/bits/linkmap.h: This.
13882 * sysdeps/i386/bits/endian.h: Removed.
13883 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13884 * sysdeps/x86/bits/endian.h: This.
13886 * sysdeps/i386/bits/byteswap.h: Removed.
13887 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13888 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13889 * sysdeps/x86/bits/byteswap.h: This.
13890 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13891 * sysdeps/x86/bits/byteswap-16.h: This.
13892 * sysdeps/i386/Implies: Add x86.
13893 * sysdeps/x86_64/Implies: Likewise.
13895 2012-05-30 David S. Miller <davem@davemloft.net>
13897 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13898 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13899 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13900 (FP_TRAPPING_EXCEPTIONS): Define.
13901 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13902 (FP_TRAPPING_EXCEPTIONS): Define.
13903 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13904 subnormals only when inexact has been signalled or underflow
13905 exceptions are enabled.
13906 (_FP_PACK_CANONICAL): Likewise.
13908 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13911 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13912 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13914 2012-05-30 Richard Henderson <rth@twiddle.net>
13916 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13917 with #ifndef NOT_IN_libc.
13919 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13920 marked to avoid plt entry.
13922 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13925 * Makeconfig (default-abi): New macro.
13926 (abi-includes): Likewise.
13927 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13928 $(abi-$(default-abi)-lib-soname) for soname if defined.
13929 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13931 * Makefile (installed-stubs): Likewise.
13932 * include/stubs-biarch.h: Removed.
13933 * scripts/lib-names.awk: Only handle one library at a time.
13934 * scripts/soversions.awk: Remove WORDSIZE support.
13935 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13937 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13939 (syscall-list-default-condition): Likewise.
13940 (syscall-list-default-condition): Likewise.
13941 (syscall-list-includes): Likewise.
13942 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13943 syscall-list-* with abi-*. Handle undefined abi-variants.
13944 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13945 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13946 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13947 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13948 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13949 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13951 (syscall-list-32-options): Likewise.
13952 (syscall-list-32-condition): Likewise.
13953 (syscall-list-64-options): Likewise.
13954 (syscall-list-64-condition): Likewise.
13955 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13957 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13960 (abi-64-ld-soname): New macro.
13961 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13962 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13965 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13966 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13968 2012-05-30 Joseph Myers <joseph@codesourcery.com>
13970 * sysdeps/unix/sysv/linux/kernel-features.h
13971 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13972 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13973 include <kernel-features.h>.
13974 [!__NR_ftruncate64]: Remove conditional code.
13975 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13976 [__NR_ftruncate64]: Make code unconditional.
13977 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13978 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13979 include <kernel-features.h>.
13980 [!__NR_ftruncate64]: Remove conditional code.
13981 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13982 [__NR_ftruncate64]: Make code unconditional.
13983 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13985 include <kernel-features.h>.
13986 [!__NR_ftruncate64]: Remove conditional code.
13987 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13988 [__NR_ftruncate64]: Make code unconditional.
13989 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13991 include <kernel-features.h>.
13992 [!__NR_ftruncate64]: Remove conditional code.
13993 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13994 [__NR_ftruncate64]: Make code unconditional.
13995 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13997 * configure.in (libc_cv_fpie): Weaken to a compile test using
13998 LIBC_TRY_CC_OPTION.
13999 * configure: Regenerated.
14001 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14016 2012-05-27 David S. Miller <davem@davemloft.net>
14018 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14020 (__Q_simulate_exceptions): Return void. Change to simulate
14021 exceptions by writing into the %fsr.
14022 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14023 (__Qp_handle_exceptions): Likewise.
14025 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14026 __Qp_handle_exceptions.
14027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14028 __Qp_handle_exceptions.
14029 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14030 as unused and give dummy FP_RND_NEAREST initializer.
14031 (FP_INHIBIT_RESULTS): Define.
14032 (___Q_simulate_exceptions): Update declaration.
14033 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14035 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14036 as unused and give dummy FP_RND_NEAREST initializer.
14037 (__Qp_handle_exceptions): Update declaration.
14038 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14041 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14043 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14044 the temporary FPU control word.
14045 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14046 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14047 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14048 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14049 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14050 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14051 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14052 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14053 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14054 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14055 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14057 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14059 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14062 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14064 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14065 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14066 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14067 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14069 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14070 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14073 2012-05-27 Ulrich Drepper <drepper@gmail.com>
14075 * po/h.po: Update from translation team.
14077 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14079 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14081 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14082 handling of denormals.
14083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14084 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14085 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14086 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14088 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14089 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14092 2012-05-26 Marek Polacek <polacek@redhat.com>
14095 * math/libm-test.inc (fma_test): Don't always expect underflow
14098 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14101 * elf/tst-execstack.c: Include stackinfo.h.
14102 (do_test): Adjust test case to ensure that pthread_getattr_np
14103 behaviour remains the same after marking stack executable.
14105 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14107 * sysdeps/unix/sysv/linux/kernel-features.h
14108 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14109 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14111 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14112 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14113 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14115 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14116 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14118 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14120 * configure.in: Define the default includes to being none.
14121 * configure: Regenerated.
14123 2012-05-25 Roland McGrath <roland@hack.frob.com>
14125 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14126 * sysdeps/x86_64/setjmp.S: Likewise.
14127 * sysdeps/i386/bsd-setjmp.S: Likewise.
14128 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14129 * sysdeps/i386/setjmp.S: Likewise.
14130 * sysdeps/i386/__longjmp.S: Likewise.
14131 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14132 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14134 * include/stap-probe.h: New file.
14135 * configure.in: Handle --enable-systemtap.
14136 * configure: Regenerated.
14137 * config.h.in (USE_STAP_PROBE): New #undef.
14138 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14139 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14140 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14142 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14145 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14146 to 2.4.0 where earlier.
14147 * sysdeps/unix/sysv/linux/configure: Regenerated.
14148 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14149 <kernel-features.h>.
14150 [__ASSUME_32BITUIDS]: Make code unconditional.
14151 [!__ASSUME_32BITUIDS]: Remove conditional code.
14152 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14153 <kernel-features.h>.
14154 [__ASSUME_32BITUIDS]: Make code unconditional.
14155 [!__ASSUME_32BITUIDS]: Remove conditional code.
14156 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14157 [__ASSUME_32BITUIDS]: Make code unconditional.
14158 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14159 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
14164 <kernel-features.h>.
14165 [__ASSUME_32BITUIDS]: Make code unconditional.
14166 [!__ASSUME_32BITUIDS]: Remove conditional code.
14167 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14168 <kernel-features.h>.
14169 [__ASSUME_32BITUIDS]: Make code unconditional.
14170 [!__ASSUME_32BITUIDS]: Remove conditional code.
14171 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14172 <kernel-features.h>.
14173 [__ASSUME_32BITUIDS]: Make code unconditional.
14174 [!__ASSUME_32BITUIDS]: Remove conditional code.
14175 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14176 <kernel-features.h>.
14177 [__ASSUME_32BITUIDS]: Make code unconditional.
14178 [!__ASSUME_32BITUIDS]: Remove conditional code.
14179 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14180 <kernel-features.h>.
14181 [__ASSUME_32BITUIDS]: Make code unconditional.
14182 [!__ASSUME_32BITUIDS]: Remove conditional code.
14183 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14184 <kernel-features.h>.
14185 [__ASSUME_32BITUIDS]: Make code unconditional.
14186 [!__ASSUME_32BITUIDS]: Remove conditional code.
14187 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14188 <kernel-features.h>.
14189 [__ASSUME_32BITUIDS]: Make code unconditional.
14190 [!__ASSUME_32BITUIDS]: Remove conditional code.
14191 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14192 <kernel-features.h>.
14193 [__ASSUME_32BITUIDS]: Make code unconditional.
14194 [!__ASSUME_32BITUIDS]: Remove conditional code.
14195 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14196 <kernel-features.h>.
14197 [__ASSUME_32BITUIDS]: Make code unconditional.
14198 [!__ASSUME_32BITUIDS]: Remove conditional code.
14199 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14200 <kernel-features.h>.
14201 [__NR_setresgid] (__setresgid): Do not declare.
14202 [__ASSUME_32BITUIDS]: Make code unconditional.
14203 [!__ASSUME_32BITUIDS]: Remove conditional code.
14204 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14205 <kernel-features.h>.
14206 [__NR_setresuid] (__setresuid): Do not declare.
14207 [__ASSUME_32BITUIDS]: Make code unconditional.
14208 [!__ASSUME_32BITUIDS]: Remove conditional code.
14209 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14210 <kernel-features.h>.
14211 [__ASSUME_32BITUIDS]: Make code unconditional.
14212 [!__ASSUME_32BITUIDS]: Remove conditional code.
14213 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14214 <kernel-features.h>.
14215 [__ASSUME_32BITUIDS]: Make code unconditional.
14216 [!__ASSUME_32BITUIDS]: Remove conditional code.
14217 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14218 <kernel-features.h>.
14219 [__ASSUME_32BITUIDS]: Make code unconditional.
14220 [!__ASSUME_32BITUIDS]: Remove conditional code.
14221 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14222 <kernel-features.h>.
14223 [__ASSUME_32BITUIDS]: Make code unconditional.
14224 [!__ASSUME_32BITUIDS]: Remove conditional code.
14225 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14226 <kernel-features.h>.
14227 [__ASSUME_32BITUIDS]: Make code unconditional.
14228 [!__ASSUME_32BITUIDS]: Remove conditional code.
14229 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14230 <kernel-features.h>.
14231 [__ASSUME_32BITUIDS]: Make code unconditional.
14232 [!__ASSUME_32BITUIDS]: Remove conditional code.
14233 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14234 <kernel-features.h>.
14235 [__ASSUME_32BITUIDS]: Make code unconditional.
14236 [!__ASSUME_32BITUIDS]: Remove conditional code.
14237 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14238 <kernel-features.h>.
14239 [__ASSUME_32BITUIDS]: Make code unconditional.
14240 [!__ASSUME_32BITUIDS]: Remove conditional code.
14241 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14242 <kernel-features.h>.
14243 [__ASSUME_32BITUIDS]: Make code unconditional.
14244 [!__ASSUME_32BITUIDS]: Remove conditional code.
14245 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14246 <kernel-features.h>.
14247 [__ASSUME_32BITUIDS]: Make code unconditional.
14248 [!__ASSUME_32BITUIDS]: Remove conditional code.
14249 * sysdeps/unix/sysv/linux/kernel-features.h
14250 (__ASSUME_SETRESUID_SYSCALL): Remove.
14251 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14252 (__ASSUME_32BITUIDS): Likewise.
14253 (__ASSUME_LDT_WORKS): Likewise.
14254 (__ASSUME_O_DIRECTORY): Likewise.
14255 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14256 architecture but not kernel version.
14257 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14258 (__ASSUME_MMAP2_SYSCALL): Likewise.
14259 (__ASSUME_STAT64_SYSCALL): Likewise.
14260 (__ASSUME_IPC64): Likewise.
14261 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14262 <kernel-features.h>.
14263 [__ASSUME_32BITUIDS]: Make code unconditional.
14264 [!__ASSUME_32BITUIDS]: Remove conditional code.
14265 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14266 <kernel-features.h>.
14267 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14268 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14269 132096]: Remove conditional code.
14270 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14271 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14272 <kernel-features.h>.
14273 [__ASSUME_32BITUIDS]: Make code unconditional.
14274 [!__ASSUME_32BITUIDS]: Remove conditional code.
14275 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14276 <kernel-features.h>.
14277 [__ASSUME_32BITUIDS]: Make code unconditional.
14278 [!__ASSUME_32BITUIDS]: Remove conditional code.
14279 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14280 <kernel-features.h>.
14281 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14283 (__setresgid): Do not declare.
14284 [__ASSUME_32BITUIDS]: Make code unconditional.
14285 [!__ASSUME_32BITUIDS]: Remove conditional code.
14286 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14287 <kernel-features.h>.
14288 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14290 (__setresuid): Do not declare.
14291 [__ASSUME_32BITUIDS]: Make code unconditional.
14292 [!__ASSUME_32BITUIDS]: Remove conditional code.
14293 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14294 <kernel-features.h>.
14295 [__ASSUME_32BITUIDS]: Make code unconditional.
14296 [!__ASSUME_32BITUIDS]: Remove conditional code.
14297 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14298 <kernel-features.h>.
14299 [__ASSUME_32BITUIDS]: Make code unconditional.
14300 [!__ASSUME_32BITUIDS]: Remove conditional code.
14302 2012-05-25 Richard Henderson <rth@twiddle.net>
14304 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14305 dl_hwcap to ifunc resolver.
14306 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14308 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14309 dl_hwcap to ifunc resolver.
14310 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14312 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14315 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14316 for |x| <= 2**-26, not 2**-57.
14317 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14320 2012-05-24 Jeff Law <law@redhat.com>
14322 * stdio-common/Makefile (tests): Add bug25.
14323 * stdio-common/bug25.c: New test.
14325 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14328 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14329 multiple of MALLOC_ALIGNMENT in size.
14330 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14332 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14334 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14336 (FILENAME_MAX): Use macro-int-constant.
14337 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14338 (_IOFBF): Use macro-int-constant.
14339 (_IOLBF): Likewise.
14340 (_IONBF): Likewise.
14341 (SEEK_CUR): Likewise.
14342 (SEEK_END): Likewise.
14343 (SEEK_SET): Likewise.
14344 (TMP_MAX): Likewise.
14345 (EOF): Use macro-int-constant. Require < 0.
14346 (NULL): Use macro-constant. Require == 0.
14347 (stdin): Require type to be FILE *.
14348 (stdout): Likewise.
14349 (stderr): Likewise.
14350 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14351 macro-int-constant.
14352 (EXIT_SUCCESS): Likewise.
14353 (NULL): Use macro-constant. Require == 0.
14354 (RAND_MAX): Use macro-int-constant.
14355 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14356 [C99-based standards] (strtof): Require function.
14357 [C99-based standards] (strtold): Likewise.
14358 [C99-based standards] (strtoll): Likewise.
14359 [C99-based standards] (strtoull): Likewise.
14360 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14361 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14362 [ISO || ISO99 || ISO11] (math.h): Likewise.
14363 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14364 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14365 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14367 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14370 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14371 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14372 * intl/dgettext.c (DCGETTEXT): Likewise.
14373 * intl/gettext.c (DCGETTEXT): Likewise.
14374 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14375 * posix/regex_internal.h (gettext): Likewise.
14376 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14377 Remove declaration.
14378 * include/argz.h (__argz_count_internal)
14379 (__argz_stringify_internal): Remove declaration.
14380 (__argz_count, __argz_stringify): Declare hidden proto.
14381 * intl/dcgettext.c: Remove use of INTDEF.
14382 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14383 * string/argz-stringify.c: Likewise.
14384 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14385 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14386 Declare hidden proto.
14387 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14388 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14389 Declare hidden proto.
14390 * include/stdio.h (__asprintf_internal): Don't declare.
14391 (__asprintf): Don't define as macro. Declare hidden proto.
14392 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14393 (__fsetlocking): Declare hidden proto.
14394 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14395 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14397 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14398 (_IO_setlinebuf): Remove use of INTUSE.
14399 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14400 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14401 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14402 Remove declaration.
14403 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14404 (_IO_do_flush): Remove use of INTUSE.
14405 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14406 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14407 (_IO_adjust_column, _IO_least_wmarker)
14408 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14409 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14410 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14411 (_IO_default_doallocate, _IO_wdefault_doallocate)
14412 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14413 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14414 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
14415 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
14416 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
14417 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
14418 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
14419 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
14420 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
14421 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
14422 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
14423 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
14424 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
14426 (_IO_flush_all_internal, _IO_adjust_column_internal)
14427 (_IO_default_uflow_internal, _IO_default_finish_internal)
14428 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
14429 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
14430 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
14431 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
14432 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
14433 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
14434 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
14435 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
14436 (_IO_file_close_internal, _IO_file_close_it_internal)
14437 (_IO_file_underflow_internal, _IO_file_overflow_internal)
14438 (_IO_file_init_internal, _IO_file_attach_internal)
14439 (_IO_file_fopen_internal, _IO_file_read_internal)
14440 (_IO_file_sync_internal, _IO_file_seek_internal)
14441 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
14442 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
14443 (_IO_str_underflow_internal, _IO_str_overflow_internal)
14444 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
14445 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
14446 (_IO_list_all_internal, _IO_link_in_internal)
14447 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
14448 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
14449 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
14450 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
14451 (_IO_do_write_internal, _IO_padn_internal)
14452 (_IO_getline_info_internal, _IO_getline_internal)
14453 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
14454 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
14455 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
14456 (_IO_vfscanf_internal, _IO_vfprintf_internal)
14457 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
14458 (_IO_init_internal, _IO_un_link_internal): Don't declare.
14459 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
14460 with libc_hidden_ver, remove use of INTUSE.
14461 * libio/genops.c: Likewise.
14462 * libio/freopen.c: Likewise.
14463 * libio/freopen64.c: Likewise.
14464 * libio/iofclose.c: Likewise.
14465 * libio/iofdopen.c: Likewise.
14466 * libio/iofflush.c: Likewise.
14467 * libio/iofflush_u.c: Likewise.
14468 * libio/iofgets.c: Likewise.
14469 * libio/iofgets_u.c: Likewise.
14470 * libio/iofopen.c: Likewise.
14471 * libio/iofopncook.c: Likewise.
14472 * libio/iofread.c: Likewise.
14473 * libio/iofread_u.c: Likewise.
14474 * libio/ioftell.c: Likewise.
14475 * libio/iofwrite.c: Likewise.
14476 * libio/iogetline.c: Likewise.
14477 * libio/iogets.c: Likewise.
14478 * libio/iogetwline.c: Likewise.
14479 * libio/iopadn.c: Likewise.
14480 * libio/iopopen.c: Likewise.
14481 * libio/ioseekoff.c: Likewise.
14482 * libio/ioseekpos.c: Likewise.
14483 * libio/iosetbuffer.c: Likewise.
14484 * libio/iosetvbuf.c: Likewise.
14485 * libio/ioungetc.c: Likewise.
14486 * libio/ioungetwc.c: Likewise.
14487 * libio/iovdprintf.c: Likewise.
14488 * libio/iovsprintf.c: Likewise.
14489 * libio/iovsscanf.c: Likewise.
14490 * libio/memstream.c: Likewise.
14491 * libio/obprintf.c: Likewise.
14492 * libio/oldfileops.c: Likewise.
14493 * libio/oldiofclose.c: Likewise.
14494 * libio/oldiofdopen.c: Likewise.
14495 * libio/oldiofopen.c: Likewise.
14496 * libio/oldiopopen.c: Likewise.
14497 * libio/oldstdfiles.c: Likewise.
14498 * libio/putc.c: Likewise.
14499 * libio/setbuf.c: Likewise.
14500 * libio/setlinebuf.c: Likewise.
14501 * libio/stdfiles.c: Likewise.
14502 * libio/strops.c: Likewise.
14503 * libio/vasprintf.c: Likewise.
14504 * libio/vscanf.c: Likewise.
14505 * libio/vsnprintf.c: Likewise.
14506 * libio/vswprintf.c: Likewise.
14507 * libio/wfiledoalloc.c: Likewise.
14508 * libio/wfileops.c: Likewise.
14509 * libio/wgenops.c: Likewise.
14510 * libio/wmemstream.c: Likewise.
14511 * libio/wstrops.c: Likewise.
14512 * libio/__fpurge.c: Likewise.
14513 * libio/__fsetlocking.c: Likewise.
14514 * assert/assert.c: Likewise.
14515 * debug/fgets_chk.c: Likewise.
14516 * debug/fgets_u_chk.c: Likewise.
14517 * debug/fread_chk.c: Likewise.
14518 * debug/fread_u_chk.c: Likewise.
14519 * debug/gets_chk.c: Likewise.
14520 * debug/obprintf_chk.c: Likewise.
14521 * debug/vasprintf_chk.c: Likewise.
14522 * debug/vdprintf_chk.c: Likewise.
14523 * debug/vsnprintf_chk.c: Likewise.
14524 * debug/vsprintf_chk.c: Likewise.
14525 * malloc/mtrace.c: Likewise.
14526 * misc/error.c: Likewise.
14527 * misc/syslog.c: Likewise.
14528 * stdio-common/asprintf.c: Likewise.
14529 * stdio-common/fxprintf.c: Likewise.
14530 * stdio-common/getw.c: Likewise.
14531 * stdio-common/isoc99_fscanf.c: Likewise.
14532 * stdio-common/isoc99_scanf.c: Likewise.
14533 * stdio-common/isoc99_vfscanf.c: Likewise.
14534 * stdio-common/isoc99_vscanf.c: Likewise.
14535 * stdio-common/isoc99_vsscanf.c: Likewise.
14536 * stdio-common/printf-prs.c: Likewise.
14537 * stdio-common/printf_fp.c: Likewise.
14538 * stdio-common/printf_fphex.c: Likewise.
14539 * stdio-common/printf_size.c: Likewise.
14540 * stdio-common/putw.c: Likewise.
14541 * stdio-common/scanf.c: Likewise.
14542 * stdio-common/sprintf.c: Likewise.
14543 * stdio-common/tmpfile.c: Likewise.
14544 * stdio-common/vfprintf.c: Likewise.
14545 * stdio-common/vfscanf.c: Likewise.
14546 * stdlib/strfmon_l.c: Likewise.
14547 * sunrpc/openchild.c: Likewise.
14548 * sunrpc/xdr_stdio.c: Likewise.
14549 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14550 * sysdeps/mach/hurd/tmpfile.c: Likewise.
14552 2012-05-24 Roland McGrath <roland@hack.frob.com>
14554 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14556 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
14557 in the third column, to generate for the shared library an IFUNC
14558 that uses _dl_vdso_vsym.
14559 * Makerules (COMPILE.c, compile-stdin.c): New variables.
14560 * Makeconfig (object-suffixes-noshared): New variable.
14562 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
14563 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
14564 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
14565 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
14568 * include/sys/time.h (__gettimeofday): Remove macro.
14569 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
14570 * time/gettimeofday.c (__gettimeofday): Remove #undef.
14572 (__gettimeofday): Add libc_hidden_def.
14573 (gettimeofday): Add libc_hidden_weak.
14574 * sysdeps/mach/gettimeofday.c: Likewise.
14575 * sysdeps/posix/gettimeofday.c: Likewise.
14576 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14577 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
14579 (__gettimeofday_internal): Remove strong_alias.
14580 (__gettimeofday): Add libc_hidden_def.
14581 (gettimeofday): Add libc_hidden_weak.
14582 * sysdeps/unix/syscalls.list (gettimeofday):
14583 Remove __gettimeofday_internal alias.
14585 2012-05-24 Daniel Jacobowitz <drow@false.org>
14586 H.J. Lu <hongjiu.lu@intel.com>
14589 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
14590 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
14591 (largebin_index_32_big): New.
14592 (largebin_index): Use it for 16-byte alignment.
14593 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
14594 correction with front_misalign.
14596 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
14599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
14603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
14607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
14609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
14611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
14613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
14617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
14619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
14624 * scripts/data/c++-types-x32-linux-gnu.data: New file.
14625 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
14627 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14631 * math/libm-test.inc (exp_test): Add test from bug 14036.
14632 (pow_test): Add test from bug 10846.
14634 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
14636 (special_function): Do not include flags in test name.
14637 (parse_args): Likewise.
14638 * sysdeps/i386/fpu/libm-test-ulps: Update.
14639 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14640 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14641 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14644 * math/gen-libm-test.pl (%beautify): Add entries for underflow
14646 * math/libm-test.inc ("Philosophy"): Update comment about
14648 (UNDERFLOW_EXCEPTION): New macro.
14649 (UNDERFLOW_EXCEPTION_OK): Likewise.
14650 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14651 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14652 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14653 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14654 (INVALID_EXCEPTION_OK): Update value.
14655 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14656 (OVERFLOW_EXCEPTION_OK): Likewise.
14657 (IGNORE_ZERO_INF_SIGN): Likewise.
14658 (test_exceptions): Handle underflow exceptions.
14659 (acos_test): Update for underflow exception expectations.
14660 (cexp_test): Likewise.
14661 (clog_test): Likewise.
14662 (clog10_test): Likewise.
14663 (csqrt_test): Likewise.
14664 (ctan_test): Likewise.
14665 (ctanh_test): Likewise.
14666 (exp_test): Likewise.
14667 (exp10_test): Likewise.
14668 (exp2_test): Likewise.
14669 (expm1_test): Likewise.
14670 (fma_test): Likewise.
14671 (j0_test): Likewise.
14672 (jn_test): Likewise.
14673 (nexttoward_test): Likewise.
14674 (pow_test): Likewise.
14675 (scalbn_test): Likewise.
14676 (scalbln_test): Likewise.
14677 (tan_test): Likewise.
14678 (y1_test): Likewise.
14679 * sysdeps/i386/fpu/libm-test-ulps: Update.
14680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14682 2012-05-23 David S. Miller <davem@davemloft.net>
14684 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14685 (__libc_sigaction): Remove unused local variables.
14687 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14689 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14691 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
14693 mktime: avoid signed integer overflow
14694 * time/mktime.c (__mktime_internal): Do not mishandle the case
14695 where diff == INT_MIN.
14697 mktime: simplify computation of average
14698 * time/mktime.c (ranged_convert): Use new time_t_avg function
14699 instead of rolling our own (probably-slower) code.
14701 mktime: do not assume signed right shift propagates sign bit
14702 * time/mktime.c (isdst_differ): New static function.
14703 (__mktime_internal): No need to normalize tm_isdst now.
14704 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14707 mktime: merge another wrapv change from gnulib
14708 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14709 from some compilers.
14711 mktime: remove incorrect attempt at unusual arithmetics
14712 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14713 The code didn't really work on such machines anyway.
14714 (TYPE_MINIMUM): Assume two's complement.
14715 (twos_complement_arithmetic): Verify that long_int and time_t
14716 are two's complement (or unsigned, in the latter case).
14718 mktime: check signed shifts on long_int and time_t, too
14719 * time/mktime.c (SHR): Check that shifts work as desired
14720 on the types long_int and time_t too, as SHR is used on
14723 mktime: do not assume 'long' is wide enough
14724 * time/mktime.c (verify): Move decl up.
14725 (long_int): New type.
14726 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14727 to remove assumption in the code that 'long' is wide enough to
14728 store year values. This assumption is not true on x32 and on
14729 some non-glibc platforms.
14731 mktime: merge wrapv change from gnulib
14732 * time/mktime.c (WRAPV): New macro.
14733 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14734 (guess_time_tm, __mktime_internal): Do not assume that signed
14735 integer overflow wraps around; modern compilers generate code
14736 where this assumption is no longer valid.
14738 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14740 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14741 Replace "jmp L(pseudo_end)" with "ret".
14742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14745 2012-05-23 Andreas Jaeger <aj@suse.de>
14747 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14748 * sysdeps/unix/sysv/linux/poll.c: Remove file.
14750 2012-05-23 Andreas Jaeger <aj@suse.de>
14751 Maximilian Attems <max@stro.at>
14753 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14756 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14758 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14759 code so that pseudo_end is just ret and the stack pointer is
14760 correct also for static library in error case.
14762 2012-05-23 Joseph Myers <joseph@codesourcery.com>
14764 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14765 move to syscalls.list.
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14771 * manual/install.texi (Running make install): Do not mention Linux
14772 kernel version for which pt_chown is not needed.
14773 (Linux): Do not mention problems with nscd with 2.0 kernels.
14774 * INSTALL: Regenerated.
14776 2012-05-23 Andreas Jaeger <aj@suse.de>
14778 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14779 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14781 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14782 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14783 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14784 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14785 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14786 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14787 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14788 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14789 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14790 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14791 * sysdeps/unix/sysv/linux/bits/in.h
14792 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14794 2012-05-22 Roland McGrath <roland@hack.frob.com>
14796 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14797 (PREPARE_VERSION): Just use assert instead, it will be elided
14798 under [NDEBUG] anyway.
14800 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14802 * sysdeps/unix/sysv/linux/Makefile: Include
14803 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
14804 (sysdep_routines): Remove sysctl.
14805 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14806 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14807 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14808 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14809 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14811 2012-05-22 Andreas Jaeger <aj@suse.de>
14813 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14814 that pseudo_end is just ret and the stack pointer is correct also
14815 for static library in error case.
14817 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14820 * nss/nsswitch.c (defconfig_entries): New variable.
14821 (__nss_database_lookup): Don't leak defconfig entries.
14822 (nss_parse_service_list): Don't leak on error paths.
14823 (free_database_entries): New function.
14824 (free_defconfig): New function.
14825 (free_mem): Move common code to free_database_entries.
14827 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14829 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14831 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14833 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14834 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14837 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14838 (INTERNAL_SYSCALL_TYPES): Likewise.
14839 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14840 (LOAD_REGS_TYPES_[1-6]): Likewise.
14841 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14842 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14844 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14846 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14847 copysignl for GLIBC_2_0.
14848 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14849 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14850 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14851 logbl for GLIBC_2_0.
14852 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14853 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14855 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14857 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14858 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14860 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14863 * time/mktime.c: Update copyright years.
14865 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14867 mktime: merge comment-quoting-style change from gnulib
14868 * time/mktime.c: Quote 'like this' in comments.
14869 The GNU coding standards suggest that we no longer quote `like this',
14870 as "`" and "'" are typically rendered asymmetrically nowadays.
14871 The typical gnulib style is to quote 'like this' when quoting
14872 code, and "like this" when quoting English.
14874 * time/mktime.c (compile-command): Add "-I.".
14876 mktime: merge mktime-internal.h change from gnulib
14877 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14879 mktime: merge time_r change from gnulib
14880 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14882 mktime: merge DEBUG change from gnulib
14883 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14884 case system <time.h> has a #define.
14886 mktime: merge <sys/types.h> change from gnulib
14887 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14888 since <time.t> is now guaranteed to define time_t.
14890 mktime: merge HAVE_CONFIG_H change from gnulib
14891 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14893 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14898 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14900 (struct rusage): Use anonymous union to pad each field to
14903 2012-05-21 David S. Miller <davem@davemloft.net>
14905 * Makefules (o-iterator): Remove .s cases.
14906 (compile-command.s): Delete.
14907 (COMPILE.s): Delete.
14908 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14910 2012-05-21 Joseph Myers <joseph@codesourcery.com>
14912 * configure.in (libc_cv_predef_stack_protector): Only consider
14913 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14914 * configure: Regenerated.
14916 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14919 New macro. Use R*LP on int and pointer.
14920 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14921 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14922 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14923 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14925 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14926 [__WORDSIZE_TIME64_COMPAT32] instead of
14927 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14928 (struct utmp): Likewise.
14929 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14930 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14932 (__WORDSIZE_TIME64_COMPAT32): This.
14933 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14934 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14935 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14936 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14937 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14938 (__WORDSIZE_TIME64_COMPAT32): New macro.
14940 2012-05-21 Andreas Jaeger <aj@suse.de>
14942 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14943 only if [SHARED]. Add prototype for __wcschr_ia32.
14945 2012-05-21 Roland McGrath <roland@hack.frob.com>
14947 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14948 of %rbp unmolested in the jmp_buf while mangling the low bits.
14949 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14950 unmolested high bits of %rbp while demangling the low bits.
14951 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14953 2012-05-21 Andreas Jaeger <aj@suse.de>
14955 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14956 * sunrpc/svc_simple.c: Use it for registerrpc.
14957 * sunrpc/xcrypt.c: Use it for passwd2des.
14959 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14961 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14963 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14964 Don't define if [__SYSCALL_WORDSIZE != 32].
14965 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14968 2012-05-21 Bruno Haible <bruno@clisp.org>
14969 Andreas Jaeger <aj@suse.de>
14971 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14972 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14973 inptr and inend for must_buffer_ch.
14974 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14975 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14976 * stdio-common/Makefile (tests): Remove bug15.
14977 (bug15-ENV): Remove macro.
14978 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14981 2012-05-19 Andreas Jaeger <aj@suse.de>
14982 Roland McGrath <roland@hack.frob.com>
14984 * manual/contrib.texi: Completely rewritten. It contains now an
14985 alphabetical list of contributors and their contributions.
14987 2012-05-21 Richard Henderson <rth@twiddle.net>
14989 * misc/getauxval.c (__getauxval): Use unsigned long int.
14990 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14991 (getauxval): Use unsigned long int.
14993 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14995 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14997 2012-05-21 Roland McGrath <roland@hack.frob.com>
14999 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15000 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15001 __alignof__ (long double).
15003 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15007 2012-05-20 Richard Henderson <rth@twiddle.net>
15009 * misc/getauxval.c: New file.
15010 * misc/sys/auxv.h: New file.
15011 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15012 (routines): Add getauxval.
15013 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15014 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15015 * elf/dl-sysdep.c (_dl_auxv): Remove.
15016 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15017 * elf/dl-support.c (_dl_auxv): New variable.
15018 (_dl_aux_init): Initialize it.
15019 * manual/startup.texi (Auxiliary Vector): New node.
15020 * sysdeps/generic/bits/hwcap.h: New file.
15021 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15022 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15023 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15024 * sysdeps/sparc/sysdep.h: ... here. Include it.
15025 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15026 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
15027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15038 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15042 2012-05-19 David S. Miller <davem@davemloft.net>
15044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15046 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15049 * math/s_ccosh.c: Include <float.h>
15050 (__ccosh): Avoid internal overflow calculating sinh and cosh
15051 values before multiplying by sin and cos values.
15052 * math/s_ccoshf.c: Likewise.
15053 * math/s_ccoshl.c: Likewise.
15054 * math/s_csin.c: Likewise.
15055 * math/s_csinf.c: Likewise.
15056 * math/s_csinl.c: Likewise.
15057 * math/s_csinh.c: Likewise.
15058 * math/s_csinhf.c: Likewise.
15059 * math/s_csinhl.c: Likewise.
15060 * math/libm-test.inc (ccos_test): Add more tests.
15061 (ccosh_test): Likewise.
15062 (csin_test): Likewise.
15063 (csinh_test): Likewise.
15064 * sysdeps/i386/fpu/libm-test-ulps: Update.
15065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15067 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15069 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15070 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15072 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15074 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15076 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15077 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15078 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15079 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15080 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15081 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15082 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15083 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15084 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15085 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15086 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15087 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15088 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15089 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15090 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15091 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15092 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15093 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15094 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15095 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15096 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15097 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15098 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15099 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15100 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15101 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15102 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15103 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15104 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15105 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15106 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15108 2012-05-18 Andreas Jaeger <aj@suse.de>
15110 * csu/.gitignore: Delete.
15112 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15114 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15115 (timex): Use __syscall_slong_t.
15117 2012-05-18 Andreas Jaeger <aj@suse.de>
15118 Carlos O'Donell <carlos_odonell@mentor.com>
15120 * manual/install.texi (Configuring and compiling): Update
15121 description about files modified in the source directory.
15122 * INSTALL: Regenerated.
15124 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15126 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15127 value. Use "or" to set return value to -1.
15128 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15129 negate return value.
15131 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15133 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15134 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15135 failure if the compiler has Graphite support disabled.
15136 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15138 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15139 CFLAGS-memmove.c): Likewise.
15140 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15143 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15145 * sysdeps/x86_64/x32/_itoa.h: New file.
15147 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15148 getdents system call only if kernel and user dirents have the
15149 same d_ino and d_off.
15151 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15152 LLONG_MAX != LONG_MAX.
15153 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15154 (_fitoa_word): Likewise.
15156 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15158 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15159 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15160 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15162 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15163 include <bits/wordsize.h>. Check __x86_64__ instead of
15165 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15166 if __x86_64__ is defined. Use anonymous union on fpstate.
15168 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15171 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15173 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15174 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15175 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15176 Refer to _rtld_local_ro instead of _rtld_global_ro.
15177 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15179 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15181 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15183 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15184 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15185 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15187 * sysdeps/powerpc/powerpc32/dl-machine.c
15188 (__elf_machine_runtime_setup) [PROF]: Don't reference
15191 2012-05-18 Andreas Jaeger <aj@suse.de>
15193 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15194 function only available for GCCs before 3.4 since GCC 3.4
15195 introduced a builtin.
15197 (llrintf): Likewise.
15198 (llrint): Likewise.
15205 (nearbyint): Likewise.
15206 (nearbyintf): Likewise.
15210 (floorf): Likewise.
15212 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15214 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15215 on both fields and cast pointer to __syscall_ulong_t.
15217 * bits/types.h (__fsword_t): New type.
15218 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15219 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15221 (__FSWORD_T_TYPE): Likewise.
15222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15223 (__FSWORD_T_TYPE): Likewise.
15224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15225 (__FSWORD_T_TYPE): Likewise.
15226 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15227 (__FSWORD_T_TYPE): Likewise.
15228 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15229 __SWORD_TYPE with __fsword_t.
15230 (statfs64): Likewise.
15232 2012-05-17 David S. Miller <davem@davemloft.net>
15234 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15236 2012-05-17 Andreas Jaeger <aj@suse.de>
15238 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15241 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15243 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15245 2012-05-17 Andreas Jaeger <aj@suse.de>
15247 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15250 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15252 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15254 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15256 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15257 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15259 2012-05-17 Andreas Jaeger <aj@suse.de>
15260 Carlos O'Donell <carlos_odonell@mentor.com>
15263 * sysdeps/x86_64/multiarch/init-arch.h
15264 (bit_YMM_Usable): Rename to...
15265 (bit_AVX_Usable): ... this.
15266 (bit_FMA4_Usable): New macro.
15267 (bit_XMM_state): New macro.
15268 (bit_YMM_state): New macro.
15269 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15270 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15271 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15272 (CPUID_OSXSAVE): New macro.
15273 (CPUID_AVX): New macro.
15274 (CPUID_FMA4): New macro.
15275 (index_YMM_Usable): Rename to...
15276 (index_AVX_Usable): ... this.
15277 (HAS_AVX): Use HAS_ARCH_FEATURE.
15278 (HAS_FMA4): Likewise.
15279 (HAS_YMM_USABLE): Remove.
15280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15281 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15283 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15284 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15285 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15286 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15287 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15289 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15291 * math/libm-test.c: Support platforms without multiple rounding modes.
15292 * math/bug-nextafter.c: Support platforms without FP exceptions.
15293 * math/bug-nexttoward.c: Likewise.
15294 * math/test-fenv.c: Likewise.
15295 * math/test-misc.c: Likewise.
15296 * stdlib/bug-getcontext.c: Likewise.
15298 2012-05-17 Andreas Jaeger <aj@suse.de>
15300 * manual/examples/search.c (critter_cmp): Change signature to
15302 * manual/string.texi (Collation Functions): Likewise.
15304 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15306 * bits/types.h: Fold copyright years.
15307 * bits/typesizes.h: Likewise.
15308 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15310 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15311 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15312 * time/time.h: Likewise.
15314 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15317 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15318 in instead of returning them. Return void.
15319 (__libc_mallinfo): Accumulate over all arenas.
15320 (__malloc_stats): Adjust for change in int_mallinfo interface.
15322 2012-05-16 Roland McGrath <roland@hack.frob.com>
15325 * configure.in (NM): Add AC_CHECK_TOOL for it.
15326 (libc_extra_cflags): New substituted variable.
15327 Check for -fstack-protector being used implicitly.
15328 * configure: Regenerated.
15329 * config.make.in (config-extra-cflags): New variable,
15330 gets @libc_extra_cflags@.
15331 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15334 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15335 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15336 * configure: Regenerated.
15337 * config.make.in (CPPUNDEFS): New substituted variable.
15338 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15339 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15340 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15342 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15344 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15345 (mq_attr): Use __syscall_slong_t.
15347 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15349 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15350 Check __x86_64__ instead of __WORDSIZE.
15351 (_STAT_VER_LINUX): Likewise.
15352 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15353 __syscall_ulong_t and __syscall_slong_t.
15354 (stat64): Likewise.
15356 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15358 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15360 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15362 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15364 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15366 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15369 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15370 include <bits/wordsize.h>. Check __x86_64__ instead of
15372 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15374 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15376 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15377 include <bits/wordsize.h>. Check __x86_64__ instead of
15379 (user_regs_struct): Use "__extension__ unsigned long long"
15380 instead of "unsigned long" if __x86_64__ is defined.
15381 (user): Likewise. Pad after pointer field if __ILP32__ is
15384 2012-05-16 Joseph Myers <joseph@codesourcery.com>
15386 * configure.in (makeinfo): Require version 4.5 or later. Allow
15388 * configure: Regenerated.
15389 * manual/install.texi (texinfo): Increase version requirement to
15391 * INSTALL: Regenerated.
15393 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15395 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15397 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15399 * sysdeps/x86_64/x32/ffs.c: New file.
15401 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15403 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15404 defined. Use __syscall_ulong_t.
15405 (shminfo): Use __syscall_ulong_t.
15406 (shm_info): Likewise.
15408 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15411 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15413 (msgqnum_t): Use __syscall_ulong_t.
15414 (msglen_t): Likewise.
15415 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
15418 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
15419 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15421 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
15423 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
15424 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
15426 * sysvipc/sys/msg.h (msgbuf): Replace long int with
15429 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
15430 include <bits/wordsize.h>. Check __x86_64__ instead of
15433 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
15434 "unsigned long long int" if __x86_64__ is defined.
15435 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
15437 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
15438 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15439 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
15441 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
15443 (GET_PC): Cast to uintptr_t first.
15444 (GET_FRAME): Likewise.
15445 (GET_STACK): Likewise.
15447 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
15448 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
15449 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
15450 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
15451 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
15452 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
15453 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
15454 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
15455 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15456 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
15457 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
15458 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
15459 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15460 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
15461 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
15462 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
15463 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
15464 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
15465 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
15466 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
15467 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
15468 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
15469 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
15470 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
15471 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
15472 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
15473 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
15474 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
15475 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
15477 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
15479 * Makerules (+depfiles): Also collect depfiles from .oS in
15481 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
15482 .oS, $(libnldbl-routines)).
15484 * Makerules (native-compile-mkdep-flags): Define.
15485 * sunrpc/Makefile (extra-objs): Add $(addprefix
15486 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
15487 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
15488 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
15489 calling $(make-target-directory).
15491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15493 * bits/types.h (__snseconds_t): Removed.
15494 * time/time.h (struct timespec): Replace __snseconds_t with
15496 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
15497 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
15499 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15500 (__SNSECONDS_T_TYPE): Likewise.
15501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15502 (__SNSECONDS_T_TYPE): Likewise.
15503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15504 (__SNSECONDS_T_TYPE): Likewise.
15506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15508 * sysdeps/mach/hurd/bits/typesizes.h
15509 (__SYSCALL_SLONG_TYPE): New macro.
15510 (__SYSCALL_ULONG_TYPE): Likewise.
15512 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15514 * bits/types.h (__syscall_slong_t): New type.
15515 (__syscall_ulong_t): Likewise.
15517 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
15518 (__SYSCALL_ULONG_TYPE): Likewise.
15519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15520 (__SYSCALL_SLONG_TYPE): Likewise.
15521 (__SYSCALL_ULONG_TYPE): Likewise.
15522 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15523 (__SYSCALL_SLONG_TYPE): Likewise.
15524 (__SYSCALL_ULONG_TYPE): Likewise.
15525 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15526 (__SYSCALL_SLONG_TYPE): Likewise.
15527 (__SYSCALL_ULONG_TYPE): Likewise.
15529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15531 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
15532 Add sigaltstack-offsets.sym.
15533 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15534 <sigaltstack-offsets.h>.
15535 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
15536 longjmp_msg pointer.
15537 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
15538 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
15540 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
15542 2012-05-15 Joseph Myers <joseph@codesourcery.com>
15544 * elf/stackguard-macros.h: Remove file.
15545 * sysdeps/generic/stackguard-macros.h: New file.
15546 * sysdeps/i386/stackguard-macros.h: Likewise.
15547 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15548 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15549 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15550 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15551 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15552 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15553 * sysdeps/x86_64/stackguard-macros.h: Likewise.
15554 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
15555 <elf/stackguard-macros.h>.
15558 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
15559 __aligned__ in attribute.
15560 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
15561 (gregset_t): Likewise.
15563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15565 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
15566 * sysdeps/x86_64/64/Implies-after: Here. New file.
15567 * sysdeps/x86_64/x32/Implies-after: New file.
15569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15571 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
15572 and access return value for _dl_profile_fixup. Use R10_LP to
15575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15577 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
15579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15581 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
15582 * sysdeps/x86_64/x32/sysdep.h: New file.
15584 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15586 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
15587 * sysdeps/x86_64/setjmp.S: Likewise.
15589 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15591 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
15592 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
15593 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
15594 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
15595 remove unused global constant.
15597 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
15599 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
15600 include of <not-cancel.h>.
15602 2012-05-15 Roland McGrath <roland@hack.frob.com>
15604 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
15606 2012-05-15 Jeff Law <law@redhat.com>
15607 Andreas Jaeger <aj@suse.de>
15610 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
15612 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
15613 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
15614 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
15615 code changing __hst_map_handle.map.
15617 2012-05-15 Roland McGrath <roland@hack.frob.com>
15619 * configure.in (sysnames): Look for Implies-before and Implies-after
15621 * configure: Regenerated.
15623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15625 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
15626 8-byte data alignment with LP_SIZE alignment.
15628 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15630 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
15633 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15635 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
15637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15639 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
15640 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
15641 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15643 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15645 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15647 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15648 (stackinfo_sub_sp): Likewise.
15650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15652 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15655 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15662 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15667 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15671 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15672 into R11_LP and load __x86_64_shared_cache_size_half into
15675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15677 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15680 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15682 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15684 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15688 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15689 powerpc32/power7/fpu/s_logb.c via #include.
15690 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15691 powerpc32/power7/fpu/s_logbf.c via #include.
15692 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15693 powerpc32/power7/fpu/s_logbl.c via #include.
15695 2012-05-15 Joseph Myers <joseph@codesourcery.com>
15697 * README.libm: Remove file.
15699 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15701 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15702 count for x32. Use R*_LP and omit operand-size suffix.
15704 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15706 * shlib-versions: Move x86_64-.*-linux.* entries to ...
15707 * sysdeps/x86_64/64/shlib-versions: Here. New file.
15708 * sysdeps/x86_64/x32/shlib-versions: New file.
15710 2012-05-14 Roland McGrath <roland@hack.frob.com>
15712 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15713 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15714 Use _dl_fatal_printf instead.
15716 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15718 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15719 set if not set by the user. Do not allow for being unset.
15720 * sysdeps/unix/sysv/linux/configure: Regenerated.
15722 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15724 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15725 the `q' suffix from lea and replace .quad with ASM_ADDR.
15727 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15730 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
15732 (PTR_DEMANGLE): Likewise.
15734 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15736 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15738 (ASM_ADDR): Likewise.
15739 (RAX_LP): Likewise.
15740 (RBP_LP): Likewise.
15741 (RBX_LP): Likewise.
15742 (RCX_LP): Likewise.
15743 (RDI_LP): Likewise.
15744 (RSI_LP): Likewise.
15745 (RSP_LP): Likewise.
15748 (R10_LP): Likewise.
15749 (R10_LP): Likewise.
15750 (R11_LP): Likewise.
15751 (R12_LP): Likewise.
15752 (R13_LP): Likewise.
15753 (R14_LP): Likewise.
15754 (R15_LP): Likewise.
15756 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15758 * sysdeps/x86_64/x32/dl-machine.h: New file.
15760 2012-05-14 Andreas Jaeger <aj@suse.de>
15762 * manual/Makefile (subdir): Remove export of subdir.
15763 (all): Remove target.
15764 (.PHONY): Remove all from list.
15765 (mkinstalldirs): Remove.
15766 (.PHONY): Remove installdirs from list.
15767 ($(inst_infodir)/libc.info): Use make-target-directory.
15768 (installdirs): Remove.
15769 (subdir_%): Remove.
15770 (glibc-targets): Remove.
15773 ($(objpfx)stubs ../po/manual.pot): Remove.
15774 ($(objpfx)stamp%): Remove.
15775 (make-target-directory): Remove.
15776 (subdir_install): Remove.
15777 (routines): Remove.
15784 * manual/.gitignore: Remove, it's not needed anymore.
15785 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15787 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15789 (texis): Renamed to $(objpfx)texis.
15790 (texis-path): New, contains path to generated files.
15791 (chapters.%): Use texis-path for complete path, add extra argument
15793 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15794 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15795 (summary,texi, stamp-summary): Use complete path of
15796 files. Generate files in build dir.
15797 (dir-add.texi): Build in build dir.
15798 (libm-err.texi,stamp-libm-err): Likewise.
15799 (version.texi, stamp-version): Likewise.
15800 (.%c.texi): Likewise.
15801 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15802 (mostlyclean): Remove target.
15803 (realclean): Remove target.
15804 (generated): Add new variable with contents from mostlyclean and
15805 realclean, remove entries duplicated in common-mostlyclean, add
15806 stamp-libm-err and stamp-version.
15807 (generated-dirs): Add libc directory.
15808 ($(inst_infodir)/libc.info): Install files from build dir.
15810 * manual/install.texi (Configuring and compiling): Adjust since
15811 the info files are not part of the tar ball anymore.
15813 2012-05-14 Andreas Jaeger <aj@suse.de>
15815 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15818 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15821 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15822 to 2.2.0 where earlier.
15823 * sysdeps/unix/sysv/linux/configure: Regenerated.
15824 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15825 Remove conditional code.
15826 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15827 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15828 Remove conditional code.
15829 [!__NR_lchown]: Likewise.
15830 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15831 [__NR_lchown]: Likewise.
15832 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15833 comment referencing __ASSUME_LCHOWN_SYSCALL.
15834 * sysdeps/unix/sysv/linux/i386/sigaction.c
15835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15837 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15838 Remove conditional code.
15839 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15840 (__protocol_available): Remove #if 0 code.
15841 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15843 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15844 * sysdeps/unix/sysv/linux/kernel-features.h
15845 (__ASSUME_GETCWD_SYSCALL): Don't define.
15846 (__ASSUME_REALTIME_SIGNALS): Likewise.
15847 (__ASSUME_PREAD_SYSCALL): Likewise.
15848 (__ASSUME_PWRITE_SYSCALL): Likewise.
15849 (__ASSUME_POLL_SYSCALL): Likewise.
15850 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15851 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15853 (__ASSUME_SIOCGIFNAME): Don't define.
15854 (__ASSUME_MSG_NOSIGNAL): Likewise.
15855 (__ASSUME_SENDFILE): Define unconditionally.
15856 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15857 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15859 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15860 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15861 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15862 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15863 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15864 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15865 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15867 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15868 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15870 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15873 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15874 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15876 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15879 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15880 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15882 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15883 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15885 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15886 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15888 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15889 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15890 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15891 Remove conditional code.
15892 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15893 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15894 Remove conditional code.
15895 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15896 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15897 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15898 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15899 Remove conditional code.
15900 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15901 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15902 Remove conditional code.
15903 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15904 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15905 Remove conditional code.
15906 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15907 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15908 Remove conditional code.
15909 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15910 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15911 Remove conditional code.
15912 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15913 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15914 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15915 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15916 * sysdeps/unix/sysv/linux/sigaction.c
15917 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15918 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15919 * sysdeps/unix/sysv/linux/sigpending.c
15920 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15921 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15922 * sysdeps/unix/sysv/linux/sigprocmask.c
15923 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15924 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15925 * sysdeps/unix/sysv/linux/sigsuspend.c
15926 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15927 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15928 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15929 (__libc_missing_rt_sigs): Remove.
15930 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15931 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15932 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15933 Remove conditional code.
15934 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15935 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15937 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15938 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15939 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15940 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15942 2012-05-14 Andreas Jaeger <aj@suse.de>
15944 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15945 it's not used in glibc.
15946 (__coshm1): Likewise.
15947 (__acosh1p): Likewise.
15950 * manual/string.texi (Copying and Concatenation): Add missing
15951 variable in concat example.
15952 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15954 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15957 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15958 __builtin_clzl with __builtin_clzll.
15960 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15963 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15966 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15968 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15969 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15970 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15971 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15973 2012-05-14 Mike Frysinger <vapier@gentoo.org>
15975 * NEWS: Update ia64 info.
15977 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15979 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15982 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15984 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15985 * sysdeps/unix/syscalls.list (dup3): Likewise.
15986 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15987 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15989 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15991 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15992 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15994 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15996 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15998 (TLS_IE): Use mov/add instead of movq/addq to load thread
16000 (TLS_GD_PREFIX): New.
16003 2012-05-11 David S. Miller <davem@davemloft.net>
16005 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16006 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16007 (_FPU_SETCW): Likewise.
16009 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16011 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16012 is 32-byte aligned.
16014 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16017 * iconvdata/gb18030.c: Update tables.
16018 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16019 characters specially.
16020 (BODY for TO_LOOP): Add encoding of missing ranges.
16022 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16025 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16026 * sysdeps/mach/hurd/dup3.c: Likewise.
16027 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16028 * sysdeps/powerpc/memmove.c:: Likewise.
16030 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16032 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16033 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16035 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16037 * elf/elf.h (R_X86_64_RELATIVE64): New.
16038 (R_X86_64_NUM): Updated.
16039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16040 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16041 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16042 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16043 tst-quad1pie tst-quad2pie
16044 (modules-names): Add tst-quadmod1 tst-quadmod2.
16045 ($(objpfx)tst-quad1): New dependency.
16046 ($(objpfx)tst-quad2): Likewise.
16047 ($(objpfx)tst-quad1pie): Likewise.
16048 ($(objpfx)tst-quad2pie): Likewise.
16049 * sysdeps/x86_64/tst-quad1.c: New file.
16050 * sysdeps/x86_64/tst-quad1pie.c: New file.
16051 * sysdeps/x86_64/tst-quad2.c: Likewise.
16052 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16053 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16054 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16055 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16056 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16058 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16060 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16061 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16062 * streams/stropts.h (t_scalar_t): Define type.
16064 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16065 (_PATH_PRESERVE): Set to "/var/lib".
16066 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16068 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16071 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16072 if __dir_mkfile succeeded.
16074 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16075 checking for _hurd_dtablesize. Unlock it right after having
16076 finished _hurd_dtable allocation.
16078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16080 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16081 * sysdeps/mach/hurd/configure: Regenerated.
16082 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16083 special-casing to...
16084 * sysdeps/gnu/configure.in: ... this new file.
16085 * sysdeps/unix/sysv/linux/configure: Regenerated.
16086 * sysdeps/gnu/configure: New generated file.
16088 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16089 for Linux: use nsec instead of usec, as well as:
16090 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16091 members of type struct timespec.
16092 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16094 (struct stat64): Likewise.
16095 (_STATBUF_ST_NSEC): New macro.
16096 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16098 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16099 __strtoul_internal rather than strtoul.
16101 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16103 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16106 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16108 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16109 which preserves existing values.
16110 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16112 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16114 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16115 TIMEOUT values. Return EINVAL for NFDS values either negative or
16116 greater than FD_SETSIZE.
16118 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16120 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16121 allocated, call __vm_protect to finish enabling the existing space, and
16122 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16123 allocate the remainder.
16125 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16127 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16128 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16130 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16132 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16133 sysdeps/mach/hurd/readlink.c.
16135 * posix/tst-sysconf.c (posix_options): Only use
16136 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16137 _POSIX_SYNCHRONIZED_IO when they are defined
16138 * sysdeps/mach/hurd/bits/posix_opt.h:
16139 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16140 (_XOPEN_REALTIME): Undefine macro.
16141 (_XOPEN_REALTIME_THREADS): Undefine macro.
16142 (_XOPEN_SHM): Undefine macro.
16143 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16145 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16147 (_POSIX_ASYNC_IO): Undefine macro.
16148 (_POSIX_PRIORITIZED_IO): Undefine macro.
16149 (_POSIX_SPIN_LOCKS): Define macro to -1.
16151 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16152 SA_NODEFER, SA_RESETHAND.
16153 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16154 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16157 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16159 * elf/Makefile (pldd-modules): Define unconditionally.
16161 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16163 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16165 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16167 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16168 Return ENOENT when name is empty.
16169 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16171 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16173 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16175 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16177 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16179 Fix mlock in all cases except non-readable pages.
16180 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16181 instead of VM_PROT_ALL as parameter to __vm_wire function.
16183 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16184 (__mkdir): When path is `/', just fail with EEXIST.
16185 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16187 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16189 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16190 <sys/uio.h> (for writev).
16191 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16192 and <sys/param.h> (for MIN).
16194 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16196 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16197 REQUESTED_TIME. Properly set the remaining time and return EINTR
16200 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16202 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16203 Depend on against $(link-rpcuserlibs).
16205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16207 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16208 (__libc_stack_end): Do not use attribute_relro.
16209 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16210 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
16211 to libthread-provided value.
16212 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16215 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16218 * bits/libc-lock.h (__libc_once_get): New macro.
16219 * sysdeps/mach/bits/libc-lock.h: Likewise.
16220 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16221 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16222 instead of using implementation details.
16224 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16225 * libio/freopen.c: Likewise.
16226 * libio/freopen64.c: Likewise.
16227 * misc/syslog.c: Likewise.
16228 * nscd/connections.c: Likewise.
16229 * nscd/netgroupcache.c: Likewise.
16230 * sysdeps/posix/getcwd.c: Likewise.
16232 2012-05-10 Roland McGrath <roland@hack.frob.com>
16234 * math/w_ilogbf.c: Add #include <limits.h>.
16236 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16238 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
16239 path instead of returning without unlocking.
16241 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16242 immediate-write ioctls.
16243 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16245 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16247 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16248 __builtin_frame_address instead of making assumptions about the
16249 location of the return address relative to DATA. Force early load of
16250 the return address.
16251 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16252 __builtin_frame_address.
16255 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16256 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16257 implement dup3 and do some further code clean-ups.
16258 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16259 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16261 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16263 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16265 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16266 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16267 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16268 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16269 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16272 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16273 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16274 when handler == SIG_ERR, not when handler != SIG_ERR.
16276 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16278 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16279 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16282 accept4 for GNU Hurd.
16283 * include/sys/socket.h (__libc_accept4): New prototype.
16284 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16285 to implement __libc_accept4.
16286 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16288 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16290 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16291 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16292 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16293 signal-defines.sym.
16295 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16297 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
16299 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16301 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16302 assertion on O_CLOEXEC flag.
16303 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16304 * hurd/intern-fd.c: Likewise.
16305 * hurd/port2fd.c: Likewise.
16307 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16310 * bits/in.h (IPV6_PKTINFO): Define new macro.
16311 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16313 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16318 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16319 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16320 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16321 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16322 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16323 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16324 * math/libm-test.inc (logb_test) : Additional logb tests.
16326 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16327 Andreas Jaeger <aj@suse.de>
16329 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16330 * configure: Regenerated.
16331 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16332 * config.make.in (link-obsolete-rpc): New substituted variable.
16333 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16334 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16335 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16336 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16337 so that libc.a contains the symbols.
16338 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16339 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16340 * sunrpc/auth_none.c: Likewise.
16341 * sunrpc/auth_unix.c: Likewise.
16342 * sunrpc/authdes_prot.c: Likewise.
16343 * sunrpc/authuxprot.c: Likewise.
16344 * sunrpc/clnt_gen.c: Likewise.
16345 * sunrpc/clnt_perr.c: Likewise.
16346 * sunrpc/clnt_raw.c: Likewise.
16347 * sunrpc/clnt_simp.c: Likewise.
16348 * sunrpc/clnt_tcp.c: Likewise.
16349 * sunrpc/clnt_udp.c: Likewise.
16350 * sunrpc/clnt_unix.c: Likewise.
16351 * sunrpc/des_crypt.c: Likewise.
16352 * sunrpc/des_soft.c: Likewise.
16353 * sunrpc/get_myaddr.c: Likewise.
16354 * sunrpc/key_call.c: Likewise.
16355 * sunrpc/key_prot.c: Likewise.
16356 * sunrpc/netname.c: Likewise.
16357 * sunrpc/pm_getmaps.c: Likewise.
16358 * sunrpc/pm_getport.c: Likewise.
16359 * sunrpc/pmap_clnt.c: Likewise.
16360 * sunrpc/pmap_prot.c: Likewise.
16361 * sunrpc/pmap_prot2.c: Likewise.
16362 * sunrpc/pmap_rmt.c: Likewise.
16363 * sunrpc/publickey.c: Likewise.
16364 * sunrpc/rpc_cmsg.c: Likewise.
16365 * sunrpc/rpc_common.c: Likewise.
16366 * sunrpc/rpc_dtable.c: Likewise.
16367 * sunrpc/rpc_prot.c: Likewise.
16368 * sunrpc/rpc_thread.c: Likewise.
16369 * sunrpc/rtime.c: Likewise.
16370 * sunrpc/svc.c: Likewise.
16371 * sunrpc/svc_auth.c: Likewise.
16372 * sunrpc/svc_raw.c: Likewise.
16373 * sunrpc/svc_run.c: Likewise.
16374 * sunrpc/svc_tcp.c: Likewise.
16375 * sunrpc/svc_udp.c: Likewise.
16376 * sunrpc/svc_unix.c: Likewise.
16377 * sunrpc/svcauth_des.c: Likewise.
16378 * sunrpc/xcrypt.c: Likewise.
16379 * sunrpc/xdr.c: Likewise.
16380 * sunrpc/xdr_array.c: Likewise.
16381 * sunrpc/xdr_float.c: Likewise.
16382 * sunrpc/xdr_intXX_t.c: Likewise.
16383 * sunrpc/xdr_mem.c: Likewise.
16384 * sunrpc/xdr_rec.c: Likewise.
16385 * sunrpc/xdr_ref.c: Likewise.
16386 * sunrpc/xdr_sizeof.c: Likewise.
16387 * sunrpc/xdr_stdio.c: Likewise.
16389 2012-05-10 Roland McGrath <roland@hack.frob.com>
16391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16392 change. Update copyright years.
16394 2012-05-10 Joseph Myers <joseph@codesourcery.com>
16396 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16398 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16399 Joseph Myers <joseph@codesourcery.com>
16400 Paul Pluzhnikov <ppluzhnikov@google.com>
16403 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16405 [cross-compiling] (extra-libs): Likewise.
16406 [cross-compiling] (extra-libs-others): Likewise.
16407 [cross-compiling] (librpcsvc-routines): Likewise.
16408 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16409 [cross-compiling] (omit-deps): Likewise.
16410 (sunrpc-CPPFLAGS): New variable.
16411 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16412 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16413 (cross-rpcgen-objs): New variable.
16414 (extra-objs): Append $(cross-rpcgen-objs).
16415 ($(cross-rpcgen-objs)): New rule.
16416 ($(objpfx)cross-rpcgen): Likewise.
16417 (rpcgen-cmd): Define to use $(built-program-file). Expand
16419 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
16420 ($(objpfx)x%.stmp): Likewise.
16421 * sunrpc/proto.h [IS_IN_build] (_): Define.
16422 [IS_IN_build] (_libc_intl_domainname): Likewise.
16424 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
16427 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
16428 and R_X86_64_TPOFF64.
16430 2012-05-10 Joseph Myers <joseph@codesourcery.com>
16432 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
16433 sysdeps/unix/sysv/syscalls.list.
16436 * sysdeps/unix/sysv/syscalls.list: Remove file.
16438 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
16441 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
16442 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
16443 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
16444 (__LC_IDENTIFICATION): Make these macros useful in #if
16445 expressions, as required by C99.
16447 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
16449 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
16450 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
16453 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
16455 * stdlib/longlong.h: Updated from GCC.
16457 2012-05-09 Andreas Jaeger <aj@suse.de>
16459 * nscd/nscd.c (run_modes): Make named enum, reorder so that
16460 default is first entry.
16461 (run_mode): Set type.
16462 (main): Remove informal message about syslog.
16463 (options): Fix typo.
16466 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
16469 (llrintf): Likewise.
16470 (llrint): Likewise.
16473 (nearbyint): Likewise.
16474 (nearbyintf): Likewise.
16476 2012-05-09 Andreas Jaeger <aj@suse.de>
16477 Pedro Alves <palves@redhat.com>
16479 * nscd/nscd.c (run_mode): Use enum.
16480 (main): Cleanup coding style issue.
16482 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
16483 Andreas Jaeger <aj@suse.de>
16485 * nscd/nscd.c (go_background): Replaced with...
16486 (run_mode): ... this.
16487 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
16488 (options): Add -F --foreground.
16489 (main): Implement it.
16490 (parse_opt): Parse it.
16492 2012-05-09 Andreas Jaeger <aj@suse.de>
16495 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
16496 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
16497 -Wconversion warning.
16498 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
16501 2012-05-09 Joseph Myers <joseph@codesourcery.com>
16503 * conform/data/locale.h-data (NULL): Use macro-constant. Require
16505 (LC_ALL): Use macro-int-constant.
16506 (LC_COLLATE): Likewise.
16507 (LC_CTYPE): Likewise.
16508 (LC_MESSAGES): Likewise.
16509 (LC_MONETARY): Likewise.
16510 (LC_NUMERIC): Likewise.
16511 (LC_TIME): Likewise.
16512 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
16513 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16515 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
16517 [C99-based standards] (float_t): Expect type.
16518 [C99-based standards] (double_t): Expect type.
16519 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
16521 [C99-based standards] (HUGE_VALL): Likewise.
16522 [C99-based standards] (INFINITY): Likewise.
16523 [C99-based standards] (NAN): Likewise.
16524 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
16525 [C99-based standards] (FP_NAN): Likewise.
16526 [C99-based standards] (FP_NORMAL): Likewise.
16527 [C99-based standards] (FP_SUBNORMAL): Likewise.
16528 [C99-based standards] (FP_ZERO): Likewise.
16529 [C99-based standards] (FP_FAST_FMA): Use
16530 optional-macro-int-constant. Specify type. Require == 1.
16531 [C99-based standards] (FP_FAST_FMAF): Likewise.
16532 [C99-based standards] (FP_FAST_FMAL): Likewise.
16533 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
16534 [C99-based standards] (FP_ILOGBNAN): Likewise.
16535 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
16537 [C99-based standards] (MATH_ERREXCEPT): Likewise.
16538 [C99-based standards] (math_errhandling): Specify type.
16539 [ISO99 || ISO11] (signgam): Do not allow.
16540 [non-C99-based standards] (copysignf): Do not allow.
16541 [non-C99-based standards] (exp2f): Likewise.
16542 [non-C99-based standards] (log2f): Likewise.
16543 [non-C99-based standards] (modff): Allow.
16544 [non-C99-based standards] (erff): Do not allow.
16545 [non-C99-based standards] (erfcf): Likewise.
16546 [non-C99-based standards] (gammaf): Likewise.
16547 [non-C99-based standards] (hypotf): Likewise.
16548 [non-C99-based standards] (j0f): Likewise.
16549 [non-C99-based standards] (j1f): Likewise.
16550 [non-C99-based standards] (jnf): Likewise.
16551 [non-C99-based standards] (lgammaf): Likewise.
16552 [non-C99-based standards] (tgammaf): Likewise.
16553 [non-C99-based standards] (y0f): Likewise.
16554 [non-C99-based standards] (y1f): Likewise.
16555 [non-C99-based standards] (ynf): Likewise.
16556 [non-C99-based standards] (isnanf): Likewise.
16557 [non-C99-based standards] (acoshf): Likewise.
16558 [non-C99-based standards] (asinhf): Likewise.
16559 [non-C99-based standards] (atanhf): Likewise.
16560 [non-C99-based standards] (cbrtf): Likewise.
16561 [non-C99-based standards] (expm1f): Likewise.
16562 [non-C99-based standards] (ilogbf): Likewise.
16563 [non-C99-based standards] (log1pf): Likewise.
16564 [non-C99-based standards] (logbf): Likewise.
16565 [non-C99-based standards] (nextafterf): Likewise.
16566 [non-C99-based standards] (remainderf): Likewise.
16567 [non-C99-based standards] (rintf): Likewise.
16568 [non-C99-based standards] (scalbf): Likewise.
16569 [non-C99-based standards] (copysignl): Likewise.
16570 [non-C99-based standards] (exp2l): Likewise.
16571 [non-C99-based standards] (log2l): Likewise.
16572 [non-C99-based standards] (modfl): Allow.
16573 [non-C99-based standards] (erfl): Do not allow.
16574 [non-C99-based standards] (erfcl): Likewise.
16575 [non-C99-based standards] (gammal): Likewise.
16576 [non-C99-based standards] (hypotl): Likewise.
16577 [non-C99-based standards] (j0l): Likewise.
16578 [non-C99-based standards] (j1l): Likewise.
16579 [non-C99-based standards] (jnl): Likewise.
16580 [non-C99-based standards] (lgammal): Likewise.
16581 [non-C99-based standards] (tgammal): Likewise.
16582 [non-C99-based standards] (y0l): Likewise.
16583 [non-C99-based standards] (y1l): Likewise.
16584 [non-C99-based standards] (ynl): Likewise.
16585 [non-C99-based standards] (isnanl): Likewise.
16586 [non-C99-based standards] (acoshl): Likewise.
16587 [non-C99-based standards] (asinhl): Likewise.
16588 [non-C99-based standards] (atanhl): Likewise.
16589 [non-C99-based standards] (cbrtl): Likewise.
16590 [non-C99-based standards] (expm1l): Likewise.
16591 [non-C99-based standards] (ilogbl): Likewise.
16592 [non-C99-based standards] (log1pl): Likewise.
16593 [non-C99-based standards] (logbl): Likewise.
16594 [non-C99-based standards] (nextafterl): Likewise.
16595 [non-C99-based standards] (remainderl): Likewise.
16596 [non-C99-based standards] (rintl): Likewise.
16597 [non-C99-based standards] (scalbl): Likewise.
16598 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16599 [non-C99-based standards] (FP_*): Do not allow.
16600 [C99-based standards] (FP_*): Change to
16601 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16602 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16604 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
16605 (SIG_ERR): Likewise.
16606 [X/Open-based standards] (SIG_HOLD): Likewise.
16607 (SIG_IGN): Likewise.
16608 (SIGABRT): Use macro-int-constant. Specify type. Require
16610 (SIGFPE): Likewise.
16611 (SIGILL): Likewise.
16612 (SIGINT): Likewise.
16613 (SIGSEGV): Likewise.
16614 (SIGTER): Likewise.
16615 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
16616 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
16617 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
16618 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
16619 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
16620 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
16621 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
16622 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
16623 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
16624 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
16625 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
16626 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
16627 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
16628 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
16629 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
16630 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
16631 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
16632 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
16633 [X/Open-based standards] (SIGTRAP): Likewise.
16634 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
16635 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
16636 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
16637 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
16638 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16641 2012-05-08 Ian Wienand <ianw@vmware.com>
16644 * time/tzset.c (__tzset_parse_tz): Update default rules for
16645 daylight time changes in the Energy Policy Act of 2005.
16647 2012-05-09 Andreas Jaeger <aj@suse.de>
16650 * elf/ldconfig.c (parse_conf): Change string to make clear that
16651 ldconfig only issued a warning if ld.so.conf does not exist.
16653 2012-05-08 David S. Miller <davem@davemloft.net>
16655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16656 movxtod instead of popping the value on the stack.
16658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16660 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
16662 * config.h.in: Add HAVE_ARM_PCS_VFP.
16664 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
16667 * include/features.h: Warn if user requests __FORTIFY_SOURCE
16668 checking but the checks are disabled for any reason.
16670 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
16672 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16673 and ELF64_R_TYPE with ELFW(R_TYPE).
16675 2012-05-08 Joseph Myers <joseph@codesourcery.com>
16677 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16678 (ulimit): Likewise.
16680 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16681 (settimeofday): Likewise.
16683 2012-05-08 Mike Frysinger <vapier@gentoo.org>
16685 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
16686 a struct th_u2 inside the union, and move tu_block/tu_code into
16687 a new th_u3 union of tu_block/tu_code inside of that. Move
16688 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
16689 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
16690 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16691 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16692 (th_stuff): Change to th_u1.tu_stuff.
16694 (th_msg): Change to th_u1.th_u2.tu_data.
16696 2012-05-07 David S. Miller <davem@davemloft.net>
16698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16701 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16702 (SETUP_PIC_REG): Use it.
16703 (SETUP_PIC_REG_LEAF): Use it.
16705 2012-05-07 Joseph Myers <joseph@codesourcery.com>
16709 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16711 (EXPL_FINITE): Likewise.
16712 (FLDLOG): Likewise.
16713 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16714 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16716 * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16723 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
16724 test of -max_value argument for long double.
16725 * sysdeps/i386/fpu/libm-test-ulps: Update.
16726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16728 2012-05-06 David S. Miller <davem@davemloft.net>
16730 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16731 quad soft-float symbols whose references which are compiler
16733 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16735 2012-05-06 Joseph Myers <joseph@codesourcery.com>
16739 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16741 (EXPL_FINITE): Likewise.
16742 (FLDLOG): Likewise.
16745 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16746 Adjust comments for base varying.
16747 (__expl_finite): Change alias to EXPL_FINITE.
16748 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16750 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16751 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16753 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16754 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16756 (EXPL_FINITE): Likewise.
16757 (FLDLOG): Likewise.
16760 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16761 Adjust comments for base varying.
16762 (__expl_finite): Change alias to EXPL_FINITE.
16763 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16768 * math/libm-test.inc (check_float_internal): Correct ulp
16769 calculation for subnormal expected results.
16771 2012-05-06 Andreas Jaeger <aj@suse.de>
16773 * Makeconfig (+math-flags): New, set to -frounding-math.
16774 (+cflags): Add +math-flags so that all of glibc gets compiled with
16777 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16779 2012-05-05 Joseph Myers <joseph@codesourcery.com>
16781 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16787 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16788 (__ieee754_expl): Allow for and saturate large arguments.
16789 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16790 (u_threshold): Likewise.
16791 (__exp): Call __ieee754_exp before checking for overflow and
16793 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16794 (u_threshold): Likewise.
16795 (__expf): Call __ieee754_expf before checking for overflow and
16797 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16798 (u_threshold): Likewise.
16799 (__expl): Call __ieee754_expl before checking for overflow and
16801 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16802 (__ieee754_expl): Allow for and saturate large arguments.
16803 * math/libm-test.inc (exp_test): Add another test. Do not allow
16804 missing overflow exception on overflow.
16805 (expm1_test): Do not allow missing overflow exception on overflow.
16807 * sysdeps/i386/fpu/e_expl.c: Move to ...
16808 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16809 rather than using inline asm.
16810 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16811 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16812 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16814 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16817 (signal): Likewise.
16821 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16823 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16824 sysdeps/unix/common/syscalls.list.
16825 (fchmod): Likewise.
16826 (fchown): Likewise.
16827 (ftruncate): Likewise.
16828 (getrusage): Likewise.
16829 (gettimeofday): Likewise.
16830 (setpgid): Likewise.
16831 (setregid): Likewise.
16832 (setreuid): Likewise.
16833 (sigaction): Likewise.
16834 (truncate): Likewise.
16835 (vhangup): Likewise.
16836 * sysdeps/unix/common/syscalls.list: Remove file.
16837 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16838 * sysdeps/unix/sysv/linux/Implies: Likewise.
16840 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16842 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16844 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16848 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16851 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16854 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16857 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16860 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16863 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16866 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16870 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16874 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16877 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16881 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16885 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16887 * sysdeps/unix/common/bits/dirent.h: Remove file.
16888 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16890 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16891 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16892 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16893 * sysdeps/unix/bsd/isatty.c: Likewise.
16894 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16895 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16896 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16898 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16901 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16902 long double comparison inaccuracies.
16903 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16906 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16908 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16909 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16911 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16914 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16915 nonzero digits before rounding a hex value.
16916 * stdlib/tst-strtod.c (tests): Add another test.
16918 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16920 * sysdeps/s390/fpu/libm-test-ulps: Update.
16922 2012-05-03 Andreas Jaeger <aj@suse.de>
16924 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16925 does not get optimized out.
16926 (malloc_opt_barrier): New.
16928 2012-05-03 Andreas Jaeger <aj@suse.de>
16929 Roland McGrath <roland@hack.frob.com>
16931 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16932 intermediate file deletion.
16933 (generated): Add .symlist files.
16935 2012-05-03 Joseph Myers <joseph@codesourcery.com>
16938 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16939 Redirect under this condition.
16940 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16941 [__USE_GNU] (__dprintf_chk): Not under this condition.
16942 [__USE_GNU] (__vdprintf_chk): Likewise.
16943 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16944 under this condition.
16945 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16946 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16947 [__USE_XOPEN2K8] (vdprintf): Likewise.
16948 [__USE_GNU] (__dprintf_chk): Not under this condition.
16949 [__USE_GNU] (__vdprintf_chk): Likewise.
16950 [__USE_GNU] (dprintf): Likewise.
16951 [__USE_GNU] (vdprintf): Likewise.
16953 2012-05-03 Roland McGrath <roland@hack.frob.com>
16955 * elf/Makefile (common-generated): Set this instead of generated for
16956 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16957 $(all-built-dso)-derived lists.
16959 2012-05-03 Andreas Jaeger <aj@suse.de>
16961 * sysdeps/i386/fpu/libm-test-ulps: Update.
16964 * FAQ.in: Likewise.
16965 * scripts/gen-FAQ.pl: Likewise.
16966 * manual/install.texi (Installation): Point to online location of
16968 * Makefile (files-for-dist): Remove FAQ.
16971 2012-05-02 Allan McRae <allan@archlinux.org>
16973 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16974 (LDFLAGS-reldepmod5.so): Likewise.
16975 (LDFLAGS-reldep6mod1.so): Likewise.
16976 (LDFLAGS-reldep6mod4.so): Likewise.
16977 (LDFLAGS-reldep8mod3.so): Likewise.
16978 (LDFLAGS-unload4mod1.so): Likewise.
16979 (LDFLAGS-unload4mod2.so): Likewise.
16980 (LDFLAGS-tst-initorder): Likewise.
16981 (LDFLAGS-tst-initordera2.so): Likewise.
16982 (LDFLAGS-tst-initordera3.so): Likewise.
16983 (LDFLAGS-tst-initordera4.so): Likewise.
16984 (LDFLAGS-tst-initorderb2.so): Likewise.
16985 (LDFLAGS-noload): Likewise.
16986 (LDFLAGS-next): Likewise.
16987 (LDFLAGS-order2mod1.so): Likewise.
16988 (LDFLAGS-order2mod2.so): Likewise.
16989 (LDFLAGS-tst-initorder2): Likewise.
16990 (LDFLAGS-tst-initorder2a.so): Likewise.
16991 (LDFLAGS-tst-initorder2b.so): Likewise.
16992 (LDFLAGS-tst-initorder2c.so): Likewise.
16993 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16995 2012-05-02 David S. Miller <davem@davemloft.net>
16997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16999 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17002 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17004 2012-05-02 Andreas Jaeger <aj@suse.de>
17006 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17007 since we manipulate rounding mode.
17008 (CPPFLAGS-test-idouble.c): Likewise.
17009 (CPPFLAGS-test-ifloat.c): Likewise.
17010 (CFLAGS-test-ldouble.c): Likewise.
17011 (CFLAGS-test-double.c): Likewise.
17012 (CFLAGS-test-float.c): Likewise.
17013 (CFLAGS-test-misc.c): Likewise.
17014 (CFLAGS-test-test-fenv.c): Likewise.
17016 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17020 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17021 comparisons to determine direction to adjust input.
17023 2012-05-01 Roland McGrath <roland@hack.frob.com>
17025 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17026 output to the target.
17028 * scripts/localplt.awk: New file.
17029 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17030 (check-localplt-CFLAGS): Variable removed.
17031 ($(all-built-dso:=.jmprel)): New static pattern rule.
17032 (generated): Add those targets.
17033 (localplt-built-dso): New variable.
17034 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17036 * elf/check-localplt.c: File removed.
17038 * scripts/check-execstack.awk: New file.
17039 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17040 (check-execstack-CFLAGS): Variable removed.
17041 ($(objpfx)check-execstack.h): Target removed.
17042 ($(objpfx)execstack-default): New target.
17043 (generated): Add that instead of check-execstack.h.
17044 ($(all-built-dso:=.phdr)): New static pattern rule.
17045 (generated): Add those targets.
17046 * elf/check-execstack.c: File removed.
17048 * scripts/check-textrel.awk: New file.
17049 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17050 (check-textrel-CFLAGS): Variable removed.
17051 (all-built-dso): Use := to define.o
17052 ($(all-built-dso:=.dyn)): New static pattern rule.
17053 (generated): Add those targets.
17054 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17055 * config.make.in (READELF): New substituted variable.
17056 * elf/check-textrel.c: File removed.
17058 2012-05-01 Joseph Myers <joseph@codesourcery.com>
17060 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17062 * conform/data/ctype.h-data [C99-based standards] (isblank):
17064 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17065 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17067 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17068 Specify type. Require positive value.
17069 (EILSEQ): Likewise.
17070 (ERANGE): Likewise.
17071 [ISO || POSIX] (EILSEQ): Do not expect.
17072 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17073 Specify type. Require positive value.
17074 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17075 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17076 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17077 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17078 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17079 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17080 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17081 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17082 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17083 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17084 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17085 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17086 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17087 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17088 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17089 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17090 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17091 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17092 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17093 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17094 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17095 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17096 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17097 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17098 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17099 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17100 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17101 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17102 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17103 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17104 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17105 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17106 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17107 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17108 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17109 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17110 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17111 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17112 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17113 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17114 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17115 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17116 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17117 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17118 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17119 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17120 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17121 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17122 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17123 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17124 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17125 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17126 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17127 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17128 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17129 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17130 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17131 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17132 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17133 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17134 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17135 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17136 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17137 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17138 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17139 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17140 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17141 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17142 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17143 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17144 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17145 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17146 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17147 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17148 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17149 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17150 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17152 (FLT_ROUNDS): Expect as macro, not constant.
17153 (FLT_MANT_DIG): Use macro-int-constant.
17154 (DBL_MANT_DIG): Likewise.
17155 (LDBL_MANT_DIG): Likewise.
17156 (FLT_DIG): Likewise.
17157 (DBL_DIG): Likewise.
17158 (LDBL_DIG): Likewise.
17159 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17160 (DBL_MIN_EXP): Likewise.
17161 (LDBL_MIN_EXP): Likewise.
17162 (FLT_MAX_EXP): Use macro-int-constant.
17163 (DBL_MAX_EXP): Likewise.
17164 (LDBL_MAX_EXP): Likewise.
17165 (FLT_MAX_10_EXP): Likewise.
17166 (DBL_MAX_10_EXP): Likewise.
17167 (LDBL_MAX_10_EXP): Likewise.
17168 (FLT_MAX): Use macro-constant.
17169 (DBL_MAX): Likewise.
17170 (LDBL_MAX): Likewise.
17171 (FLT_EPSILON): Use macro-constant. Give upper bound.
17172 (DBL_EPSILON): Likewise.
17173 (LDBL_EPSILON): Likewise.
17174 (FLT_MIN): Likewise.
17175 (DBL_MIN): Likewise.
17176 (LDBL_MIN): Likewise.
17177 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17178 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17179 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17180 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17181 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17182 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17183 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17184 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17185 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17186 [ISO11] (FLT_TRUE_MIN): Likewise.
17187 [ISO11] (LDBL_TRUE_MIN): Likewise.
17188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17189 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17190 (SCHAR_MIN): Use macro-int-constant. Specify type.
17191 (SCHAR_MAX): Likewise.
17192 (UCHAR_MAX): Likewise.
17193 (CHAR_MIN): Likewise.
17194 (CHAR_MAX): Likewise.
17195 (MB_LEN_MAX): Use macro-int-constant.
17196 (SHRT_MIN): Use macro-int-constant. Specify type.
17197 (SHRT_MAX): Likewise.
17198 (USHRT_MAX): Likewise.
17199 (INT_MAX): Likewise.
17200 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17202 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17204 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17206 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17207 bound negative. Suffix upper bound with "L".
17208 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17210 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17212 [C99-based standards] (LLONG_MAX): Likewise.
17213 [C99-based standards] (ULLONG_MAX): Likewise.
17214 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17216 [ISO11] (max_align_t): Require type.
17217 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17219 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17220 from $CFLAGS, without defining away __attribute__ calls.
17221 (checknamespace): Use $CFLAGS_namespace.
17223 * conform/conformtest.pl (@keywords): Only include C99 keywords
17224 for standards based on C99 or C11.
17226 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17228 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17231 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17232 usability of symbols in #if.
17234 * conform/conformtest.pl: If macro or constant types start
17235 "promoted:", expect the symbol to be of the following type
17236 promoted by the integer promotions.
17238 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17239 in one place. Also handle "macro-constant".
17241 * conform/conformtest.pl: Only accept expected macro values with
17242 "==". Parse all "macro" lines in one place.
17243 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17245 * conform/conformtest.pl: Handle braced types on "constant" lines
17246 instead of handling "typed-constant".
17247 * conform/data/signal.h-data: Use "constant" instead of
17250 * conform/conformtest.pl: Handle "optional-" at start of lines in
17251 one place rather than duplicating several cases. Handle each
17252 format of "macro" line with initial "optional-".
17254 * conform/conformtest.pl: Only accept expected constant or
17255 optional-constant values with "==". Parse all "constant" lines in
17256 one place. Parse all "optional-constant" lines in one place.
17257 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17258 * conform/data/fmtmsg.h-data: Likewise.
17259 * conform/data/netinet/in.h-data: Likewise.
17260 * conform/data/tar.h-data: Likewise.
17261 * conform/data/limits.h-data: Use "==" form on "constant" and
17262 "optional-constant" lines.
17264 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17265 Use -std=c99 for XOPEN2K.
17266 (@knownproblems): Remove.
17267 (newtoken): Don't check %isknown.
17269 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17270 Do not expect macro.
17271 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17272 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17273 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17274 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17275 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17276 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17277 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17278 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17279 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17280 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17281 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17282 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17283 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17284 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17285 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17286 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17287 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17288 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17289 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17290 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17291 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17292 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17293 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17294 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17295 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17296 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17297 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17298 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17299 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17300 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17301 [XPG3] (acosh): Likewise.
17302 [XPG3] (asinh): Likewise.
17303 [XPG3] (atanh): Likewise.
17304 [XPG3] (cbrt): Likewise.
17305 [XPG3] (expm1): Likewise.
17306 [XPG3] (ilogb): Likewise.
17307 [XPG3] (log1p): Likewise.
17308 [XPG3] (logb): Likewise.
17309 [XPG3] (nextafter): Likewise.
17310 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17311 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17312 [XPG3] (remainder): Likewise.
17313 [XPG3] (rint): Likewise.
17314 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17315 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17316 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17317 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17318 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17319 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17320 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17321 [UNIX98 || XOPEN2K] (scalb): Expect.
17322 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17323 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17324 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17325 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17326 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17327 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17328 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17329 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17330 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17331 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17332 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17333 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17334 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17335 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17336 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17337 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17338 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17339 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17340 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17341 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17342 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17343 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17344 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17345 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17346 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17347 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17348 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17349 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17350 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17351 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17352 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17353 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17354 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17355 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17356 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17357 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17358 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17359 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17360 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17361 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17362 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17363 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17364 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17365 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17366 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17367 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17368 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17369 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17370 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17371 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17372 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17373 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17374 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17375 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17376 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17377 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17378 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17379 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17380 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17381 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17382 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17383 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17384 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17385 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17386 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17387 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17388 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17389 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17390 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17391 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17392 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17393 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17394 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17395 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17396 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17397 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17398 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17399 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17400 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17401 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17402 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17403 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17404 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17405 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17406 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17407 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17408 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17409 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17410 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17411 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17412 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17413 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17414 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
17415 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
17416 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
17417 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
17418 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
17419 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
17420 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
17421 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
17422 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
17423 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
17424 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
17425 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
17426 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
17427 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
17428 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
17429 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
17430 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
17431 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
17432 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
17433 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
17434 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
17435 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
17436 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
17437 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
17438 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
17439 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
17440 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
17441 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
17442 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
17443 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
17444 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
17445 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
17446 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
17447 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
17448 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
17449 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
17450 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
17451 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
17452 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
17453 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
17454 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
17455 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
17456 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
17457 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
17458 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
17460 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
17461 _XOPEN_SOURCE_EXTENDED for XPG4.
17463 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
17465 * Makeconfig (localtime): Remove variable.
17466 (inst_localtime-file): Likewise.
17468 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
17482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
17486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17489 2012-05-01 Joseph Myers <joseph@codesourcery.com>
17493 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
17494 comparisons to determine direction to adjust input.
17495 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17496 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
17497 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17499 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17501 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17503 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17504 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17506 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17508 * math/libm-test.inc (nexttoward_test): Add more tests.
17510 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17513 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
17514 in version GLIBC_2.1, not GLIBC_2.0.
17515 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
17518 2012-04-30 Joseph Myers <joseph@codesourcery.com>
17521 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
17523 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17524 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
17525 * math/libm-test.inc (acos_test): Add more tests.
17526 (asin_test): Likewise.
17527 * sysdeps/i386/fpu/libm-test-ulps: Update.
17528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17531 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
17533 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
17534 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17535 * math/libm-test.inc (acos_test_tonearest): New function.
17536 (acos_test_towardzero): Likewise.
17537 (acos_test_downward): Likewise.
17538 (acos_test_upward): Likewise.
17539 (asin_test_tonearest): Likewise.
17540 (asin_test_towardzero): Likewise.
17541 (asin_test_downward): Likewise.
17542 (asin_test_upward): Likewise.
17543 (main): Call the new functions.
17544 * sysdeps/i386/fpu/libm-test-ulps: Update.
17545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17549 * math/e_exp10.c: Include <float.h>.
17550 (__ieee754_exp10): Handle underflow here rather than multiplying
17551 large negative argument by M_LN10.
17552 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
17554 * math/e_exp10l.c: Include <float.h>.
17555 (__ieee754_exp10l): Handle underflow here rather than multiplying
17556 large negative argument by M_LN10l.
17557 * math/libm-test.inc (exp10_test): Add another test. Do not allow
17558 spurious overflow exception on underflow.
17560 2012-04-29 Marek Polacek <polacek@redhat.com>
17562 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
17563 (__fortify_function): New macro.
17564 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
17565 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
17566 __extern_always_inline.
17567 * libio/bits/stdio2.h: Likewise.
17568 * libio/bits/stdio.h: Likewise.
17569 * string/string.h: Likewise.
17570 * string/bits/string3.h: Likewise.
17571 * include/stdio.h: Likewise.
17572 * stdlib/bits/stdlib.h: Likewise.
17573 * stdlib/stdlib.h: Likewise.
17574 * rt/bits/mqueue2.h: Likewise.
17575 * rt/mqueue.h: Likewise.
17576 * posix/bits/unistd.h: Likewise.
17577 * posix/unistd.h: Likewise.
17578 * io/bits/poll2.h: Likewise.
17579 * io/bits/fcntl2.h: Likewise.
17580 * io/fcntl.h: Likewise.
17581 * io/sys/poll.h: Likewise.
17582 * misc/bits/syslog.h: Likewise.
17583 * misc/bits/syslog-ldbl.h: Likewise.
17584 * misc/sys/syslog.h: Likewise.
17585 * socket/bits/socket2.h: Likewise.
17586 * socket/sys/socket.h: Likewise.
17587 * debug/tst-chk1.c: Likewise.
17588 * wcsmbs/bits/wchar2.h: Likewise.
17589 * wcsmbs/bits/wchar-ldbl.h: Likewise.
17590 * wcsmbs/wchar.h: Likewise.
17592 2012-04-29 Andreas Jaeger <aj@suse.de>
17594 * Makerules (tests): Remove enable-check-abi protection.
17595 (check-abi-warn): Remove.
17596 (check-abi-%): Remove check-abi-warn usage.
17598 * configure.in: Remove check-abi configure option.
17599 * configure: Regenerated.
17600 * config.make.in (enable-check-abi): Remove.
17602 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
17605 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
17606 double functions to double *_finite functions.
17609 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
17610 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
17612 * stdio-common/Makefile (tests): Add tst-sprintf3.
17613 * stdio-common/tst-sprintf3.c: New file.
17615 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
17616 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
17618 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17620 * conform/conformtest.pl: Remove duplicate typed-constant
17623 2012-04-28 David S. Miller <davem@davemloft.net>
17625 * Makerules (%.abilist): Add vpath on sysdep_dirs.
17626 (check-abi-%): Remove AWK script prerequisite and explicit
17628 (check-abi): Rewrite to just diff the symlist with the abilist.
17629 (config-tls, config-abi-config): Delete, no longer used.
17630 (update-abi-%): Remove AWK script and explicit abilist directory.
17631 (update-abi): Rewrite to simply compare and conditionally copy the
17632 symlist and the sysdep abilist file. Remove update-abi-config
17634 * abilist/ld.abilist: Remove.
17635 * abilist/libBrokenLocale.abilist: Remove.
17636 * abilist/libanl.abilist: Remove.
17637 * abilist/libcrypt.abilist: Remove.
17638 * abilist/libdl.abilist: Remove.
17639 * abilist/librt.abilist: Remove.
17640 * abilist/libthread_db.abilist: Remove.
17641 * abilist/libutil.abilist: Remove.
17642 * scripts/extract-abilist.awk: Remove.
17643 * scripts/merge-abilist.awk: Remove.
17644 * sysdeps/generic/libcidn.abilist: New file.
17645 * sysdeps/generic/libnss_compat.abilist: New file.
17646 * sysdeps/generic/libnss_db.abilist: New file.
17647 * sysdeps/generic/libnss_dns.abilist: New file.
17648 * sysdeps/generic/libnss_files.abilist: New file.
17649 * sysdeps/generic/libnss_hesiod.abilist: New file.
17650 * sysdeps/generic/libnss_nis.abilist: New file.
17651 * sysdeps/generic/libnss_nisplus.abilist: New file.
17652 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17653 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17654 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17656 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17657 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17658 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17659 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17660 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17661 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17662 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17663 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17664 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17666 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17667 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17668 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17669 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17671 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17672 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17673 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17674 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17675 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17676 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17678 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17679 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17680 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17682 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17785 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17786 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17787 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17790 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17791 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17792 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17793 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17794 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17795 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17796 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17797 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17798 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17850 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17852 * conform/conformtest.pl: Fix typo in handling typed-constant from
17855 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17857 * README: Cut down references to pre-2.6 Linux kernels and
17858 Linuxthreads. Update lists of configurations in libc and ports
17859 and sort alphabetically. Say "or newer" with Linux kernel version
17862 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17864 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17867 * math/libm-test.inc (logb_test_downward): New test to expose
17868 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17871 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17874 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17876 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17877 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17879 2012-04-26 Joseph Myers <joseph@codesourcery.com>
17881 * sysdeps/unix/i386/brk.S: Remove file.
17882 * sysdeps/unix/i386/dl-brk.S: Likewise.
17883 * sysdeps/unix/i386/pipe.S: Likewise.
17884 * sysdeps/unix/i386/sigreturn.S: Likewise.
17885 * sysdeps/unix/i386/syscall.S: Likewise.
17886 * sysdeps/unix/i386/vfork.S: Likewise.
17887 * sysdeps/unix/i386/wait.S: Likewise.
17889 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17890 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17892 * configure.in (arm*-none*): Do not allow without
17893 --enable-hacker-mode.
17894 (netbsd*): Remove case setting base_os.
17895 (386bsd*): Likewise.
17896 (freebsd*): Likewise.
17899 (sunos*): Likewise.
17900 (ultrix*): Likewise.
17901 (newsos*): Likewise.
17902 (dynix*): Likewise.
17908 (minix*): Likewise.
17909 (irix4*): Likewise.
17910 (irix6*): Likewise.
17911 (solaris[2-9]*): Likewise.
17913 * configure: Regenerated.
17915 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17918 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17919 overflow or cancellation in calculating denominator.
17920 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17921 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17922 down expression to avoid unexpected rounding in newer GCCs.
17923 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17925 2012-04-26 David S. Miller <davem@davemloft.net>
17927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17928 long-double compat symbols.
17929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17943 2012-04-25 David S. Miller <davem@davemloft.net>
17945 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17946 HWCAP_* values only after the memory barriers have been defined.
17947 (atomic_full_barrier): Define.
17948 (atomic_read_barrier): Define.
17949 (atomic_write_barrier): Define.
17951 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17953 * shlib-versions: Add libgcc_s version information.
17954 * sysdeps/generic/libgcc_s.h: Remove.
17955 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17957 * sysdeps/gnu/unwind-resume.c: Likewise.
17958 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17960 2012-04-25 David S. Miller <davem@davemloft.net>
17962 * sysdeps/unix/sparc/brk.S: Delete.
17963 * sysdeps/unix/sparc/dl-brk.S: Delete.
17964 * sysdeps/unix/sparc/pipe.S: Delete.
17965 * sysdeps/unix/sparc/sysdep.S: Delete.
17966 * sysdeps/unix/sparc/sysdep.h: Delete.
17967 * sysdeps/unix/sparc/vfork.S: Delete.
17968 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17969 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17970 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17971 ret_ERRVAL, r0, r1, MOVE): Define.
17972 (JUMPTARGET): Remove.
17973 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17974 sysdeps/unix/sparc/sysdep.h
17975 (ENTRY, END): Remove.
17976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17978 2012-04-25 Joseph Myers <joseph@codesourcery.com>
17980 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17981 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17984 * timezone/README: Update upstream location and email address for
17986 * timezone/zdump.c: Update from tzcode 2012b.
17987 * timezone/zic.c: Likewise.
17989 * configure.in (libc_cv_as_needed): Remove test.
17990 * configure: Regenerated.
17991 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17992 conditional definition.
17993 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17994 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17995 * config.make.in (have-as-needed): Remove variable.
17997 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17998 Paul Pluzhnikov <ppluzhnikov@google.com>
18000 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18003 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18005 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18006 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18007 * sysdeps/sh/strlen.S: Likewise.
18009 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18011 * sysdeps/unix/fork.S: Remove file.
18012 * sysdeps/unix/i386/fork.S: Likewise.
18013 * sysdeps/unix/sparc/fork.S: Likewise.
18015 * sysdeps/unix/system.c: Remove file.
18016 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18018 * sysdeps/unix/getegid.S: Remove file.
18019 * sysdeps/unix/geteuid.S: Likewise.
18021 2012-04-24 Roland McGrath <roland@hack.frob.com>
18023 * scripts/check-localplt.awk: New file.
18024 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18026 * scripts/data/localplt-generic.data: Add a comment.
18028 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18029 NODE when __dir_mkfile failed.
18030 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18031 Reported by Ludovic Courtès <ludo@gnu.org>.
18033 2012-04-24 Andreas Jaeger <aj@suse.de>
18035 * Makerules (common-clean): Also remove gen-as-const-headers
18038 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18040 * Makerules (native-compile): Do not change working directory for
18041 build. Use $(OUTPUT_OPTION) in command.
18042 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18044 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18047 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18048 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18049 * math/libm-test.inc (floor_test): Add more tests.
18050 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18052 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18054 * sysdeps/unix/getdents.c: Remove file.
18055 * sysdeps/unix/sysv/getdents.c: Likewise.
18056 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18058 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18059 sysdeps/unix/mman/syscalls.list.
18061 (mprotect): Likewise.
18063 (munmap): Likewise.
18064 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18065 * sysdeps/unix/mman/syscalls.list: Remove.
18066 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18068 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18069 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18070 * configure: Regenerated.
18071 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18072 $(libgcc_s_suffix).
18073 * config.make.in (libgcc_s_suffix): Remove variable.
18075 2012-04-23 Joseph Myers <joseph@codesourcery.com>
18077 * sysdeps/unix/sysv/gethostname.c: Move to ...
18078 * sysdeps/posix/gethostname.c: ... here.
18080 * sysdeps/unix/execve.S: Remove file.
18082 * sysdeps/unix/_exit.S: Remove file.
18084 2012-04-23 Andreas Jaeger <aj@suse.de>
18087 * manual/Makefile: Remove make dist support, there's no
18088 need for a stand-alone documentation tar ball.
18089 (TEXI2DVI): Define always, it's not in Makeconfig.
18092 (edition): Removed.
18093 (glibc-doc-$(edition).tar): Removed
18097 (ETAGS): Remove, it's in Makeconfig.
18098 (move-if-change): Remove, it's in Makeconfig.
18100 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
18103 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18104 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18105 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18106 (strtod_l, strtof_l, strtold_l): Remove __wur.
18107 It is not necessarily an error to ignore strtol's return value.
18108 One can reliably look at the stored endptr to decide whether
18109 the number had valid syntax.
18111 2012-04-21 Andreas Jaeger <aj@suse.de>
18114 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18116 2012-04-21 Joseph Myers <joseph@codesourcery.com>
18118 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18119 * sysdeps/unix/sysv/Versions: Remove file.
18121 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18126 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
18129 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18130 version from __vm86.
18132 2012-04-20 Joseph Myers <joseph@codesourcery.com>
18134 * sysdeps/unix/common/lxstat.c: Remove file.
18135 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18137 * sysdeps/unix/sysv/Makefile: Remove file.
18139 * sysdeps/unix/sysv/direct.h: Remove file.
18141 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18142 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18143 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18144 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18145 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18146 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18147 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18149 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18151 * sysdeps/unix/xmknod.c: Remove file.
18152 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18154 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18156 * sysdeps/unix/sysv/i386/time.S: Remove file.
18158 * sysdeps/unix/fxstat.c: Remove file.
18159 * sysdeps/unix/xstat.c: Likewise.
18160 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18162 * sysdeps/unix/sysv/sigaction.c: Remove file.
18164 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18165 (sysdep_headers): Remove variable.
18166 [termio.h not in sysdep_headers] (generated): Likewise.
18167 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18168 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18169 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18170 * sysdeps/unix/sysv/tcflow.c: Likewise.
18171 * sysdeps/unix/sysv/tcflush.c: Likewise.
18172 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18173 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18174 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18175 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18176 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18178 * sysdeps/unix/siglist.c: Remove file.
18180 * sysdeps/unix/getppid.S: Remove file.
18182 * sysdeps/unix/mkdir.c: Remove file.
18183 * sysdeps/unix/rmdir.c: Likewise.
18185 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18187 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18189 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18190 errlist-compat value.
18192 2012-04-18 David S. Miller <davem@davemloft.net>
18194 * sysdeps/generic/memcopy.h (reg_char): Delete.
18195 * debug/strcat_chk.c: Use char, not reg_char.
18196 * debug/strcpy_chk.c: Likewise.
18197 * debug/strncat_chk.c: Likewise.
18198 * debug/strncpy_chk.c: Likewise.
18199 * string/memchr.c: Likewise.
18200 * string/memrchr.c: Likewise.
18201 * string/rawmemchr.c: Likewise.
18202 * string/strcat.c: Likewise.
18203 * string/strchr.c: Likewise.
18204 * string/strchrnul.c: Likewise.
18205 * string/strcmp.c: Likewise.
18206 * string/strcpy.c: Likewise.
18207 * string/strncat.c: Likewise.
18208 * string/strncmp.c: Likewise.
18209 * string/strncpy.c: Likewise.
18211 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18213 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18214 __builtin_memcopy is called when src and dest ranges are known to not
18217 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18219 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18220 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18221 fwd_align_merge macro call.
18222 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18223 bwd_align_merge macro call.
18224 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18226 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18228 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18229 bwd_align_merge macros.
18230 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18231 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18232 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18234 2012-04-18 David S. Miller <davem@davemloft.net>
18236 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18238 2012-04-18 Andreas Jaeger <aj@suse.de>
18241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18242 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18243 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18245 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18246 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18247 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18249 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18250 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18251 Adjust for changed ldbl-128 files.
18253 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18254 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18255 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18257 2012-04-17 David S. Miller <davem@davemloft.net>
18259 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18261 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18263 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18264 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18265 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18266 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18267 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18268 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18270 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18273 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18274 * math/libm-test.inc: Add ilogb errno and exception tests.
18275 * math/w_ilogb.c: New file: ilogb wrapper.
18276 * math/w_ilogbf.c: New file: ilogbf wrapper.
18277 * math/w_ilogbl.c: New file: ilogbl wrapper.
18278 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18279 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18280 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18281 exception being thrown with 0.0 as argument.
18282 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18283 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18284 exception being thrown with 0.0 as argument.
18285 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18286 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18287 exception being thrown with 0.0 as argument.
18288 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18289 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18290 exception being thrown with 0.0 as argument.
18291 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18292 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
18293 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
18294 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18295 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18296 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18297 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18298 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18299 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18301 2012-04-17 Petr Baudis <pasky@ucw.cz>
18303 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18306 2012-04-16 Marek Polacek <polacek@redhat.com>
18308 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18310 2012-04-16 Marek Polacek <polacek@redhat.com>
18312 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18313 operands of fdivp instruction.
18315 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18317 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18318 * elf/tst-auditmod3b.c: Likewise.
18319 * elf/tst-auditmod4b.c: Likewise.
18320 * elf/tst-auditmod5b.c: Likewise.
18321 * elf/tst-auditmod6b.c: Likewise.
18322 * elf/tst-auditmod6c.c: Likewise.
18323 * elf/tst-auditmod7b.c: Likewise.
18324 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18325 * sysdeps/x86_64/preconfigure.in: Likewise.
18326 * sysdeps/x86_64/preconfigure: Regenerated.
18328 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18330 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18333 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
18335 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18336 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18338 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18341 * locale/iso-639.def: Fix gl language name. Spotted by
18344 2012-04-12 Roland McGrath <roland@hack.frob.com>
18347 * libio/libio.h (__io_write_fn): Update comment.
18349 2012-04-12 Petr Baudis <pasky@ucw.cz>
18352 * stdio.texi (Hook Functions): The user provided writer function
18353 is not allowed to return -1.
18355 2012-04-11 David S. Miller <davem@davemloft.net>
18357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18359 2012-04-11 Mike Frysinger <vapier@gentoo.org>
18361 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18362 Add a leading slash to rtkaio.
18364 2012-04-11 Jim Meyering <meyering@redhat.com>
18367 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18368 It is not necessarily an error to ignore fwrite's return
18369 value. One can reliably use ferror to test for errors after
18372 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18374 * bits/types.h (__snseconds_t): New type.
18375 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18377 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18378 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18379 (__SNSECONDS_T_TYPE): Likewise.
18380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18381 (__SNSECONDS_T_TYPE): Likewise.
18382 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18383 (__SNSECONDS_T_TYPE): Likewise.
18385 2012-04-10 Andreas Jaeger <aj@suse.de>
18388 * manual/time.texi (Processor Time): Return type of times is
18389 elapsed real time since an arbitrary point in the past.
18390 (CPU Time): Move CLK_TCK from here...
18391 (Processor Time): ...to here. Correct description.
18392 * manual/conf.texi (Constants for Sysconf): Correct description of
18395 2012-04-10 David S. Miller <davem@davemloft.net>
18398 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18399 where the is a gap between DT_REL(A) and DT_JMPREL.
18401 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18403 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18404 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18405 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18407 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18409 * elf/dl-support.c (_dl_inhibit_cache): New variable.
18410 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18411 (dl_main): Handle --inhibit-cache.
18412 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18414 * elf/dl-load.c (_dl_map_object): Use it.
18415 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
18417 2012-04-09 Joseph Myers <joseph@codesourcery.com>
18420 * sysdeps/i386/fpu/e_powl.S (p78): New object.
18421 (__ieee754_powl): Saturate large exponents rather than testing for
18422 overflow of y*log2(x).
18423 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18424 * math/libm-test.inc (pow_test): Do not permit spurious overflow
18428 * math/s_ctan.c: Include <float.h>.
18429 (__ctan): Avoid internal overflow or cancellation in calculating
18431 * math/s_ctanf.c: Likewise.
18432 * math/s_ctanl.c: Likewise.
18433 * math/s_ctanh.c: Likewise.
18434 * math/s_ctanhf.c: Likewise.
18435 * math/s_ctanhl.c: Likewise.
18436 * math/libm-test.inc (ctan_test): Add more tests.
18437 (ctanh_test): Likewise.
18438 * sysdeps/i386/fpu/libm-test-ulps: Update.
18439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18441 2012-04-09 Andreas Jaeger <aj@suse.de>
18444 * manual/filesys.texi (Directory Entries): Mention that d_namlen
18445 is an optional BSD extension.
18448 * manual/stdio.texi (Opening Streams): Document additional fopen
18451 2012-04-09 Roland McGrath <roland@hack.frob.com>
18453 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
18454 %eax without telling the compiler.
18456 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
18459 * manual/install.texi: Use sourceware.org.
18461 2012-04-09 Joseph Myers <joseph@codesourcery.com>
18464 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
18465 (__ieee754_pow): Generate overflow and underflow using huge*huge
18466 and tiny*tiny rather than just returning constant infinity or zero
18467 for large exponents.
18468 * math/libm-test.inc (pow_test): Require overflow exceptions for
18469 applicable cases of large exponents.
18472 * sysdeps/i386/fpu/e_pow.S (p10): New object.
18473 (__ieee754_pow): Use iterative multiplication algorithm only for
18474 integer exponents with absolute value below 1024. Check for odd
18475 integer exponents when using algorithm for real exponents.
18476 * math/libm-test.inc (pow_test): Add more tests.
18477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18479 2012-04-08 Joseph Myers <joseph@codesourcery.com>
18482 * math/libm-test.inc (exp_test): Do not allow overflow exception
18485 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
18488 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
18489 instead of __kernel_standard_f.
18491 2012-04-08 Mike Frysinger <vapier@gentoo.org>
18493 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
18494 * sysdeps/x86_64/memset_chk.S: Likewise.
18496 2012-04-08 Andreas Jaeger <aj@suse.de>
18499 * manual/startup.texi (Environment Access): Describe return value
18500 for putenv and setenv.
18503 * manual/filesys.texi (Directory Entries): Add description for
18507 * manual/filesys.texi (Directory Entries): Clarify that it's file
18508 system not operating system in the description of DT_UNKNOWN.
18511 * manual/syslog.texi (closelog): Fix reference, it's openlog.
18513 2012-04-08 Stephen Compall <s11@member.fsf.org>
18516 * manual/llio.texi (Opening and Closing Files): Add cross
18517 reference to explain mode argument.
18519 2012-04-07 Mike Frysinger <vapier@gentoo.org>
18521 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
18522 * sysdeps/x86_64/memset_chk.S: Likewise.
18524 2012-04-07 David S. Miller <davem@davemloft.net>
18526 * elf/elf.h (R_SPARC_WDISP10): Define.
18527 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
18529 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
18530 R_SPARC_SIZE64 and R_SPARC_H34.
18532 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
18534 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
18535 conditions and remove no longer applicable assertion.
18537 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18539 * bits/byteswap.h: Include <features.h>.
18540 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18541 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18543 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18545 * bits/byteswap.h (__bswap_16): Removed.
18546 Include <bits/byteswap-16.h> to get __bswap_16.
18547 * sysdeps/i386/bits/byteswap.h: Likewise.
18548 * sysdeps/s390/bits/byteswap.h: Likewise.
18549 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18550 * bits/byteswap-16.h: New file.
18551 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18552 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18553 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
18554 * string/Makefile (headers): Add bits/byteswap-16.h.
18556 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18559 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
18561 * nss/Makefile (tests-static, tests): Add tst-nss-static.
18562 * nss/tst-nss-static.c: New.
18564 2012-04-06 Robert Millan <rmh@gnu.org>
18567 * manual/llio.texi (File Position Primitive): lseek
18568 refers to WHENCE when it really means OFFSET.
18570 2012-04-06 Andreas Jaeger <aj@suse.de>
18572 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
18573 strncmp declarations.
18575 * abilist/libc.abilist: Add __poll and __ppoll.
18577 2012-04-05 David S. Miller <davem@davemloft.net>
18579 * scripts/check-local-headers.sh: Accept a host triplet in the
18580 path matched by the exclude regexp.
18582 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
18584 * sysdeps/powerpc/powerpc32/dl-machine.h
18585 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
18586 * sysdeps/s390/s390-32/dl-machine.h
18587 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18588 * sysdeps/sparc/sparc32/dl-machine.h
18589 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18590 * sysdeps/sparc/sparc64/dl-machine.h
18591 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18593 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
18595 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
18596 undefined symbol errors.
18598 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
18601 2012-04-05 Michael Matz <matz@suse.de>
18604 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
18606 2012-04-05 Andreas Jaeger <aj@suse.de>
18609 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
18612 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18614 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
18615 which ROUND is no valid rounding mode.
18617 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18619 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
18621 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
18623 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18625 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
18626 an exception using FPU order intentionally.
18628 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18630 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
18631 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
18632 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
18633 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
18635 2012-04-05 Simon Josefsson <simon@josefsson.org>
18638 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
18639 EINVAL when BUFLEN is too smal.
18641 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
18644 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18645 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18647 2012-04-03 Andreas Jaeger <aj@suse.de>
18650 * manual/setjmp.texi (System V contexts): Fix sentence.
18653 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18654 New macro for this case.
18655 [!__GNUC__] (__bswap_64): New inline function for this case.
18656 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18657 * bits/byteswap.h: Likewise.
18658 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18659 ull, guard with __GLIBC_HAVE_LONG_LONG.
18661 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18662 __GLIBC_HAVE_LONG_LONG.
18664 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18665 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18667 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18670 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18671 inptr and inend, rather than using last_ch.
18673 2012-04-02 David S. Miller <davem@davemloft.net>
18675 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18676 * stdio-common/printf-parse.h (read_int): Change return type to
18677 'int', return -1 on INT_MAX overflow.
18678 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18679 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
18680 overflows INT_MAX. Check for overflow of in-format-string precision
18681 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
18682 SIZE_MAX not INT_MAX for integer overflow test.
18683 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18684 skip the construct in the format string but do not record anything.
18685 * stdio-common/bug22.c: Adjust to test both width/prevision
18686 INT_MAX overflow as well as total length INT_MAX overflow. Check
18687 explicitly for proper errno values.
18689 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18691 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18693 * string/test-strcmp.c [! WIDE]: Likewise.
18694 * time/tst-mktime2.c: Likewise for INT_MAX.
18695 * string/test-string.h: #include <sys/param.h> for MIN.
18697 * csu/init-first.c (__libc_init_first): Call __ctype_init.
18698 * sysdeps/i386/init-first.c (init): Likewise.
18699 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18700 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18701 * sysdeps/sh/init-first.c (init): Likewise.
18703 2012-04-01 Ulrich Drepper <drepper@gmail.com>
18705 * po/ru.po: Update from translation team.
18706 * po/vi.po: Likewise.
18708 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18710 * resolv/nss_dns/dns-host.c: Merge copyright years.
18712 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18714 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18715 Optimize memcpy with prefetch if
18716 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
18717 src, dst pointers have unequal 16 byte alignments.
18719 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18722 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18723 from a CNAME entry and return the minimum ttl for the query.
18724 (gaih_getanswer_slice): Likewise.
18726 2012-03-30 Jeff Law <law@redhat.com>
18728 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18730 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18731 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18733 * resolv/nss_dns/dns-host.c: Update copyright year.
18735 2012-03-30 Ulrich Drepper <drepper@gmail.com>
18737 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
18738 requests to save a system call. Fix check that all bytes are sent.
18740 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18741 comments for sendmmsg.
18743 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18746 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18747 with only 1 character between 0x0041 and 0x01b0.
18748 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18749 * wcsmbs/tst-mbsnrtowcs.c: New file.
18751 2012-03-29 David S. Miller <davem@davemloft.net>
18753 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18754 small copies by hand.
18756 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18759 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18760 _nss_compat_initgroups_dyn): Fall back to malloc/free
18761 for large group memberships.
18763 2012-03-28 David S. Miller <davem@davemloft.net>
18765 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18766 that branches into memcpy.
18767 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18768 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18769 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18770 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18771 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18773 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18774 implementation too.
18775 * sysdeps/sparc/mempcpy.S: New file.
18777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18778 the IFUNC routine in the libc case.
18779 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18781 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18782 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18783 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18784 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18785 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18786 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18787 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18788 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18790 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18791 loop to 256 bytes instead of 64 bytes and fix test signedness.
18793 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18794 * sysdeps/sparc/sparc32/Makefile: rather than here...
18795 * sysdeps/sparc/sparc64/Makefile: and here.
18797 2012-03-28 Ulrich Drepper <drepper@gmail.com>
18799 * malloc/mallocbug.c: Avoid warnings about unused variables.
18801 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18804 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18805 in the right place. Discard and retry query if response is
18806 larger than input buffer size.
18808 2012-03-28 Joseph Myers <joseph@codesourcery.com>
18813 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18814 x for large integer exponent.
18815 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18816 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18817 sign of result as needed afterwards.
18818 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18819 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18820 result for underflowing pow the same as for overflow.
18821 (__kernel_standard_l): Handle powl overflow and underflow here
18822 rather than calling __kernel_standard.
18823 * math/libm-test.inc (pow_test): Add more tests.
18838 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18839 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18840 (__kernel_standard_l): New function.
18841 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18843 * math/w_acosl.c (__acosl): Likewise.
18844 * math/w_asinl.c (__asinl): Likewise.
18845 * math/w_atan2l.c (__atan2l): Likewise.
18846 * math/w_atanhl.c (__atanhl): Likewise.
18847 * math/w_coshl.c (__coshl): Likewise.
18848 * math/w_exp10l.c (__exp10l): Likewise.
18849 * math/w_exp2l.c (__exp2l): Likewise.
18850 * math/w_fmodl.c (__fmodl): Likewise.
18851 * math/w_hypotl.c (__hypotl): Likewise.
18852 * math/w_j0l.c (__j0l, __y0l): Likewise.
18853 * math/w_j1l.c (__j1l, __y1l): Likewise.
18854 * math/w_jnl.c (__jnl, __ynl): Likewise.
18855 * math/w_lgammal.c (__lgammal): Likewise.
18856 * math/w_log10l.c (__log10l): Likewise.
18857 * math/w_log2l.c (__log2l): Likewise.
18858 * math/w_logl.c (__logl): Likewise.
18859 * math/w_powl.c (__powl): Likewise.
18860 * math/w_remainderl.c (__remainderl): Likewise.
18861 * math/w_scalbl.c (sysv_scalbl): Likewise.
18862 * math/w_sinhl.c (__sinhl): Likewise.
18863 * math/w_sqrtl.c (__sqrtl): Likewise.
18864 * math/w_tgammal.c (__tgammal): Likewise.
18865 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18866 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18867 * math/libm-test.inc (acos_test): Add more tests.
18868 (acosh_test): Likewise.
18869 (asin_test): Likewise.
18870 (atanh_test): Likewise.
18871 (exp_test): Likewise.
18872 (exp10_test): Likewise.
18873 (exp2_test): Likewise.
18874 (expm1_test): Likewise.
18875 (lgamma_test): Likewise.
18876 (log_test): Likewise.
18877 (log10_test): Likewise.
18878 (log1p_test): Likewise.
18879 (log2_test): Likewise.
18880 (pow_test): Do not allow some spurious overflow exceptions.
18881 (sqrt_test): Add more tests.
18882 (tgamma_test): Likewise.
18883 (y0_test): Likewise.
18884 (y1_test): Likewise.
18885 (yn_test): Likewise.
18887 2012-03-27 Anton Blanchard <anton@samba.org>
18889 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18891 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18892 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18893 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18895 2012-03-27 David S. Miller <davem@davemloft.net>
18897 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18899 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18900 have-as-vis3 check.
18902 2012-03-27 Andreas Jaeger <aj@suse.de>
18904 * sysdeps/x86_64/elf/configure.in: Moved to ...
18905 * sysdeps/x86_64/configure.in: ... here.
18906 * sysdeps/x86_64/elf/start.S: Moved to ...
18907 * sysdeps/x86_64/start.S: ... here.
18908 * sysdeps/x86_64/elf/configure: Delete.
18910 * sysdeps/x86_64/configure.in: Merge contents from
18911 sysdeps/i386/configure.in (without i686 check).
18913 * sysdeps/i386/elf/Versions: Merge into ...
18914 * sysdeps/i386/Versions: ... this.
18915 * sysdeps/i386/elf/Versions: Delete file.
18916 * sysdeps/i386/elf/start.S: Moved to ...
18917 * sysdeps/i386/start.S: ...here.
18918 * sysdeps/i386/elf/configure.in: Merge into...
18919 * sysdeps/i386/configure.in: ...here.
18920 * sysdeps/i386/elf/configure.in: Delete file.
18921 * sysdeps/i386/elf/configure: Delete file.
18923 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18924 * debug/backtracesyms.c: ... here.
18925 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18926 * debug/backtracesymsfd.c: ... here.
18927 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18928 * sysdeps/generic/ifunc-sel.h: ... here.
18930 * sysdeps/unix/i386/start.c: Delete file.
18931 * sysdeps/unix/sparc/start.c: Delete file.
18932 * sysdeps/unix/start.c: Delete file.
18934 * sysdeps/sh/elf/configure.in: Moved to ...
18935 * sysdeps/sh/configure.in: ... here.
18936 * sysdeps/sh/elf/start.S: Moved to ...
18937 * sysdeps/sh/start.S: ... here.
18938 * sysdeps/sh/elf/configure: Delete file.
18940 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18941 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18942 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18943 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18944 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18945 * sysdeps/powerpc/powerpc64/start.S: here.
18946 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18947 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18948 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18949 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18950 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18952 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18953 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18954 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18955 * sysdeps/powerpc/powerpc32/start.S: ... here.
18956 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18957 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18958 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18960 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18961 * sysdeps/powerpc/ifunc-sel.h: ... here.
18962 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18963 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18965 * sysdeps/sparc/elf/configure.in: Moved to ...
18966 * sysdeps/sparc/configure.in: ... here.
18967 * sysdeps/sparc/elf/configure: Delete file.
18968 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18969 * sysdeps/sparc/sparc32/start.S: ... here.
18970 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18971 * sysdeps/sparc/sparc64/start.S: ... here.
18972 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18973 * sysdeps/sparc/sparc32/Makefile: ... this.
18974 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18975 * sysdeps/sparc/sparc64/Makefile: ... this.
18977 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18978 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18979 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18980 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18981 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18982 * sysdeps/s390/s390-32/setjmp.S: ... here.
18983 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18984 * sysdeps/s390/s390-32/configure.in: ... here.
18985 * sysdeps/s390/s390-32/elf/configure: Delete file.
18986 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18987 * sysdeps/s390/s390-32/start.S: ... here.
18989 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18990 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18991 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18992 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18993 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18994 * sysdeps/s390/s390-64/setjmp.S: ... here.
18995 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18996 * sysdeps/s390/s390-64/configure.in: ... here
18997 * sysdeps/s390/s390-64/elf/configure: Delete file.
18998 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18999 * sysdeps/s390/s390-64/start.S: ... here.
19000 * sysdeps/s390/s390-64/elf/configure: Delete.
19002 * configure.in: Remove support for elf directories in sysdeps.
19004 * configure: Regenerated.
19005 * sysdeps/i386/configure: Regenerated.
19006 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19007 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19008 * sysdeps/s390/s390-32/configure: Regenerated.
19009 * sysdeps/s390/s390-64/configure: Regenerated.
19010 * sysdeps/sh/configure: Regenerated.
19011 * sysdeps/sparc/configure: Regenerated.
19012 * sysdeps/x86_64/configure: Regenerated.
19014 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19018 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19019 denormal result into account.
19021 2012-03-25 Roland McGrath <roland@hack.frob.com>
19023 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19024 Reported by Allan McRae <allan@archlinux.org>.
19026 2012-03-23 Jeff Law <law@redhat.com>
19028 * nss/getnssent.c (__nss_getent): Fix typo.
19030 2012-03-23 David S. Miller <davem@davemloft.net>
19032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19034 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19036 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19037 to pad to uint64_t for each field.
19038 (dl_tls_index): Replace unsigned long with uint64_t.
19040 2012-03-23 Daniel Jacobowitz <dmj@google.com>
19041 Paul Pluzhnikov <ppluzhnikov@google.com>
19044 * grp/Makefile (otherlibs): Don't set it.
19045 * inet/Makefile (otherlibs): Likewise.
19046 * login/Makefile (otherlibs): Likewise.
19047 * nscd/Makefile (otherlibs): Likewise.
19048 * posix/Makefile (otherlibs): Likewise.
19049 * pwd/Makefile (otherlibs): Likewise.
19050 * rt/Makefile (otherlibs): Likewise.
19051 * sunrpc/Makefile (otherlibs): Likewise.
19052 * nss/Makefile (otherlibs): Likewise.
19053 Add libnss_files to routines and static-only-routines.
19054 ($(objpfx)getent): Remove rule.
19055 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19056 static-only-routines.
19058 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19061 * math/s_cexp.c: Include <float.h>.
19062 (__cexp): Handle exp result overflowing not necessarily
19063 overflowing both real and imaginary parts of result.
19064 * math/s_cexpf.c: Likewise.
19065 * math/s_cexpl.c: Likewise.
19066 * math/libm-test.inc (cexp_test): Add more tests.
19067 * sysdeps/i386/fpu/libm-test-ulps: Update.
19068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19070 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19072 * include/link.h (ELFW): New macro.
19073 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19074 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19076 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19078 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19081 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19083 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19085 (struct La_x32_retval): Likewise.
19087 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19089 * sysdeps/x86_64/preconfigure.in: New file.
19090 * sysdeps/x86_64/preconfigure: New generated file.
19092 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19095 * math/e_exp2l.c: Include <float.h>.
19096 (__ieee754_exp2l): Handle overflow and underflow cases
19097 separately. Only pass fractional part of argument to
19099 * math/libm-test.inc (exp2_test): Add more tests.
19101 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19102 negating x to take absolute value.
19103 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19105 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19106 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19108 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19109 computing low part if x was negated.
19110 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19112 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19114 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19115 la_x32_gnu_pltexit.
19116 (pltexit): Cast int_retval to ptrdiff_t.
19117 * elf/tst-auditmod3b.c: Likewise.
19118 * elf/tst-auditmod4b.c: Likewise.
19119 * elf/tst-auditmod5b.c: Likewise.
19120 * elf/tst-auditmod6b.c: Likewise.
19121 * elf/tst-auditmod6c.c: Likewise.
19122 * elf/tst-auditmod7b.c: Likewise.
19124 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19125 and x32_gnu_pltexit.
19127 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19128 __ELF_NATIVE_CLASS.
19129 (La_x32_regs): New macro.
19130 (La_x32_retval): Likewise.
19131 (la_x32_gnu_pltenter): New function prototype.
19132 (la_x32_gnu_pltexit): Likewise.
19134 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19136 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19141 * configure.in (libc_cv_cc_nofma): Check for option to disable
19142 generation of FMA instructions.
19143 * configure: Regenerate.
19144 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19145 * sysdeps/ieee754/dbl-64/Makefile: New file.
19146 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19147 Remove brandred-fma4.
19148 (CFLAGS-brandred-fma4.c): Remove.
19149 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19150 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19152 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19155 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19157 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19158 LLONG_MAX != LONG_MAX.
19159 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19160 (_fitoa_word): Likewise.
19161 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19162 LLONG_MAX != LONG_MAX.
19163 * stdio-common/_itowa.h: Include <_itoa.h>.
19164 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19165 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19166 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19167 only if not defined.
19168 (_ITOA_WORD_TYPE): Likewise.
19169 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19170 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19172 2012-03-21 David S. Miller <davem@davemloft.net>
19174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19176 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19178 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19179 of x86_64 when setting libc_cv_slibdir, libdir and
19181 * sysdeps/unix/sysv/linux/configure: Regenerated.
19183 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19185 * manual/lang.texi (Old Varargs): Remove section.
19186 (How Variadic): Update menu.
19187 (va_start): Do not mention varargs.h.
19189 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19190 Joseph Myers <joseph@codesourcery.com>
19192 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19194 * configure: Regenerated.
19196 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19198 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19199 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19202 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19205 * Makefile (files-for-dist): Remove NOTES.
19206 (NOTES): Remove rule.
19207 * README: Don't refer to NOTES.
19208 * manual/creature.texi: Don't include macros.texi.
19209 * manual/intro.texi (creature.texi): Remove comment referring to
19212 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19213 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19214 * configure: Regenerated.
19215 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19216 LIBC_TRY_CC_OPTION.
19217 (libc_cv_as_i686): Likewise.
19218 (libc_cv_cc_avx): Likewise.
19219 (libc_cv_cc_sse2avx): Likewise.
19220 (libc_cv_cc_fma4): Likewise.
19221 (libc_cv_cc_novzeroupper): Likewise.
19222 * sysdeps/i386/configure: Regenerated.
19225 * sysdeps/i386/fpu/s_cexp.S: Remove.
19226 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19227 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19228 * math/libm-test.inc (cexp_test): Add more tests.
19229 * sysdeps/i386/fpu/libm-test-ulps: Update.
19230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19232 2012-03-21 Allan McRae <allan@archlinux.org>
19234 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19236 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19239 * math/w_exp2.c: Do not include <float.h>.
19240 (o_threshold, u_threshold): Remove.
19241 (__exp2): Calculate result before checking finiteness and calling
19243 * math/w_exp2f.c: Likewise.
19244 * math/w_exp2l.c: Likewise.
19245 * math/libm-test.inc (exp2_test): Require overflow exception for
19249 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19250 range of signed 64-bit integers before using fistpll. Remove
19251 checks for whether integers fit in mantissa bits.
19252 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19253 the range of signed 32-bit integers before using fistpl. Remove
19254 checks for whether integers fit in mantissa bits.
19255 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19256 (__ieee754_powl): Test for y outside the range of signed 64-bit
19257 integers before using fistpll. Reduce 64-bit values to 63-bit
19259 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19260 divide-by-zero is raised for zero to large negative powers.
19261 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19262 (__ieee754_powl): Test for y outside the range of signed 64-bit
19263 integers before using fistpll. Reduce 64-bit values to 63-bit
19265 * math/libm-test.inc (pow_test): Add more tests.
19267 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19269 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19270 <stdio-common/_itoa.h>.
19271 * debug/segfault.c: Likewise.
19272 * elf/dl-cache.c: Likewise.
19273 * elf/dl-minimal.c: Likewise.
19274 * elf/dl-misc.c: Likewise.
19275 * elf/dl-sysdep.c: Likewise.
19276 * elf/dl-version.c: Likewise.
19277 * elf/rtld.c: Likewise.
19278 * hurd/hurdsock.c: Likewise.
19279 * hurd/lookup-retry.c: Likewise.
19280 * malloc/malloc.c: Likewise.
19281 * malloc/mtrace.c: Likewise.
19282 * nscd/nscd_getgr_r.c: Likewise.
19283 * nscd/nscd_getpw_r.c: Likewise.
19284 * nscd/nscd_getserv_r.c: Likewise.
19285 * posix/getopt_init.c: Likewise.
19286 * posix/wordexp.c: Likewise.
19287 * stdio-common/_itoa.c: Likewise.
19288 * stdio-common/printf_fphex.c: Likewise.
19289 * stdio-common/vfprintf.c: Likewise.
19290 * string/_strerror.c: Likewise.
19291 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19292 * sysdeps/i386/i686/hp-timing.h: Likewise.
19293 * sysdeps/mach/_strerror.c: Likewise.
19294 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19295 * sysdeps/mach/hurd/sethostid.c: Likewise.
19296 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19297 * sysdeps/mach/xpg-strerror.c: Likewise.
19298 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19299 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19300 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19301 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19302 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19303 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19304 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19305 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19306 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19307 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19308 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19309 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19310 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19311 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19312 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19313 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19314 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19315 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19316 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19317 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19318 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19320 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19322 * stdio-common/_itoa.h: Moved to ...
19323 * sysdeps/generic/_itoa.h: Here.
19325 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19327 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19328 instead of "_itoa.h" and "_itowa.h".
19329 * stdio-common/vfprintf.: Likewise.
19331 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19333 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19335 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19336 (__signbit): Likwise.
19337 (llrintf): Likwise.
19340 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19342 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19345 2012-03-20 Joseph Myers <joseph@codesourcery.com>
19347 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19348 OVERFLOW_EXCEPTION_OK.
19349 * math/libm-test.inc ("Philosophy"): Update comment about
19351 (OVERFLOW_EXCEPTION): Define.
19352 (OVERFLOW_EXCEPTION_OK): Likewise.
19353 (INVALID_EXCEPTION_OK): Renumber.
19354 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19355 (IGNORE_ZERO_INF_SIGN): Likewise.
19356 (test_exceptions): Handle FE_OVERFLOW.
19357 (exp10_test): Expect overflow exceptions.
19358 (exp2_test): Likewise.
19359 (expm1_test): Likewise.
19360 (nextafter_test): Likewise.
19361 (pow_test): Likewise.
19362 (scalbn_test): Likewise.
19363 (scalbln_test): Likewise.
19365 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19367 * sysdeps/x86_64/bits/atomic.h
19368 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19370 (atomic_exchange_acq): Likewise.
19371 (__arch_exchange_and_add_body): Likewise.
19372 (__arch_add_body): Likewise.
19373 (atomic_add_negative): Likewise.
19374 (atomic_add_zero): Likewise.
19376 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19378 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
19379 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19381 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19383 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19384 Check __x86_64__ instead of __WORDSIZE.
19386 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19388 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19390 2012-03-19 David S. Miller <davem@davemloft.net>
19392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19394 * sysdeps/sparc/fpu/fenv_private.h: New file.
19395 * sysdeps/sparc/fpu/math_private.h: Use it.
19396 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19398 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19399 (libc_feholdexcept_setroundl): Remove.
19400 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19402 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19403 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19405 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19407 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19408 int64_t instead of long int.
19409 (INSERT_WORDS64): Likwise.
19411 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19413 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19414 _Unwind_GetCFA return to _Unwind_Ptr first.
19416 2012-03-19 Joseph Myers <joseph@codesourcery.com>
19419 * math/s_clog.c: Include <float.h>.
19420 (__clog): Scale large or subnormal inputs.
19421 * math/s_clogf.c: Likewise.
19422 * math/s_clogl.c: Likewise.
19423 * math/s_clog10.c: Include <float.h>.
19424 (M_LOG10_2): Define.
19425 (__clog10): Scale large or subnormal inputs.
19426 * math/s_clog10f.c: Likewise.
19427 * math/s_clog10l.c: Likewise.
19428 * math/libm-test.inc (clog_test): Add more tests.
19429 (clog10_test): Likewise.
19430 * sysdeps/i386/fpu/libm-test-ulps: Update.
19431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19434 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
19436 * math/libm-test.inc (atan2_test): Add another test.
19438 * Makerules (common-objdir-compile): Remove.
19439 * sysdeps/unix/Makefile (config-generated): Do not add
19440 $(unix-generated) to variable.
19441 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
19442 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
19444 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
19446 [generic bits/local_lim.h] (before-compile): Do not append to
19448 [generic bits/local_lim.h] (common-generated): Likewise.
19449 [generic sys/param.h] (before-compile): Do not append to variable.
19450 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
19451 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
19452 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
19453 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
19455 [generic sys/param.h] (sys/param.h-includes): Remove variable.
19456 [generic sys/param.h] (sys/param.h-includes): Remove rule.
19457 [generic sys/param.h] ($(addprefix
19458 $(common-objpfx),$(sys/param.h-includes))): Likewise.
19459 [generic sys/param.h] (common-generated): Do not append to
19461 [generic sys/param.h] (sysdep_headers): Likewise.
19462 [generic bits/errno.h] (before-compile): Do not append to
19464 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
19466 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
19467 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
19468 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
19469 [generic bits/errno.h] (common-generated): Do not append to
19471 [generic bits/ioctls.h] (before-compile): Do not append to
19473 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
19475 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
19476 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
19477 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
19479 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
19480 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
19481 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
19482 [generic bits/ioctls.h] (common-generated): Do not append to
19484 [generic sys/syscall.h] (syscall.h): Remove variable.
19485 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
19487 [generic sys/syscall.h] (before-compile): Do not append to
19489 [generic sys/syscall.h] (common-generated): Likewise.
19490 * sysdeps/unix/errnos-tmpl.c: Remove file.
19491 * sysdeps/unix/errnos.awk: Likewise.
19492 * sysdeps/unix/ioctls-tmpl.c: Likewise.
19493 * sysdeps/unix/ioctls.awk: Likewise.
19494 * sysdeps/unix/mk-local_lim.c: Likewise.
19495 * sysdeps/unix/snarf-ioctls: Likewise.
19497 2012-03-19 Richard Henderson <rth@twiddle.net>
19499 * sysdeps/i386/fpu/fenv_private.h: New file.
19500 * sysdeps/i386/fpu/math_private.h: Use it.
19501 (math_opt_barrier, math_force_eval): Remove.
19502 (libc_feholdexcept_setround_53bit): Remove.
19503 (libc_feupdateenv_53bit): Remove.
19504 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19505 (math_opt_barrier, math_force_eval): Remove.
19506 (libc_feholdexcept): Remove.
19507 (libc_feholdexcept_setround): Remove.
19508 (libc_fetestexcept, libc_fesetenv): Remove.
19509 (libc_feupdateenv_test): Remove.
19510 (libc_feupdateenv, libc_feholdsetround): Remove.
19511 (libc_feresetround): Remove.
19513 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
19514 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19516 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
19517 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
19518 (libc_feupdateenv_testl): New.
19519 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
19520 (libc_feupdateenv_testf): New.
19521 (libc_feupdateenv): Use libc_feupdateenv_test.
19522 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
19523 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
19525 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
19526 (libc_feholdsetroundf, libc_feholdsetroundl): New.
19527 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
19528 (libc_feresetround_noex): New.
19529 (libc_feresetround_noexf): New.
19530 (libc_feresetround_noexl): New.
19531 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
19532 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
19533 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
19534 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
19536 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19537 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
19539 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
19540 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19541 SET_RESTORE_ROUND_NOEX.
19542 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
19543 SET_RESTORE_ROUND_NOEXF.
19544 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
19545 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
19546 (libc_feholdsetroundf): New.
19547 (libc_feresetround, libc_feresetroundf): New.
19549 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
19550 (libc_feholdexcept_setround_53bit): Convert from macro to function.
19551 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
19553 * sysdeps/generic/math_private.h: Include <fenv.h>.
19554 (default_libc_feholdexcept): New.
19555 (default_libc_feholdexcept_setround): New.
19556 (default_libc_fesetenv, default_libc_feupdateenv): New.
19557 (libc_feholdexcept): Only define if undefined.
19558 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
19559 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
19560 (libc_feholdexcept_setroundl): Likewise.
19561 (libc_feholdexcept_setround_53bit): Likewise.
19562 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
19563 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
19564 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
19565 (libc_feupdateenv_53bit): Likewise.
19566 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
19567 (libc_feholdexcept): Convert from macro to inline function.
19568 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
19569 (libc_fesetenv, libc_feupdateenv): Likewise.
19571 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
19572 not previously defined.
19573 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
19574 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
19575 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
19576 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
19577 * sysdeps/ieee754/flt-32/math_private.h: New file.
19578 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
19579 math_private.h below SET_FLOAT_WORD.
19580 (__isnan, __isinf_ns, __finite): Remove.
19581 (__isnanf, __isinf_nsf, __finitef): Remove.
19583 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
19585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19587 2012-03-17 David S. Miller <davem@davemloft.net>
19590 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
19593 2012-03-16 David S. Miller <davem@davemloft.net>
19595 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
19599 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
19601 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
19602 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
19603 sysdep_routines when subdir is sysvipc.
19604 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
19605 __getshmlba helper.
19607 * sysdeps/sparc/fpu/libm-test/ulps: Update.
19609 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19611 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
19614 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19616 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
19617 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
19618 (__lround): Renamed to ...
19619 (__llround): This. Replace long int with long long int.
19620 Define lround functions as aliases of llround functions.
19621 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
19623 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19625 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
19626 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
19627 adresses to uintptr_t. Replace "long int" and "unsigned long
19628 int" with "greg_t" on va_arg.
19630 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19632 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
19633 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
19635 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
19636 Move e_machine check before EI_CLASS check. Handle x32
19637 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
19638 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
19639 SKIP_EM_IA_64 and include
19640 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19642 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
19643 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
19644 (add_system_dir): New macro.
19646 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19647 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19649 2012-03-16 Joseph Myers <joseph@codesourcery.com>
19660 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19662 * math/w_j0f.c (j0f): Likewise.
19664 * math/w_j0l.c (__j0l): Likewise.
19666 * math/w_j1.c (j1): Likewise.
19668 * math/w_j1f.c (j1f): Likewise.
19670 * math/w_j1l.c (__j1l): Likewise.
19672 * math/w_jn.c (jn): Likewise.
19674 * math/w_jnf.c (jnf): Likewise.
19676 * math/w_jnl.c (__jnl): Likewise.
19678 * math/libm-test.inc (j0_test): Add more tests.
19679 (j1_test): Likewise.
19680 (jn_test): Likewise. Add trailing semicolon to existing test.
19681 (y0_test): Likewise.
19682 (y1_test): Likewise.
19683 * sysdeps/i386/fpu/libm-test-ulps: Update.
19684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19688 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19689 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19690 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19691 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19692 (__tanl): Set errno for infinite argument.
19693 * sysdeps/i386/fpu/mptan.c: Remove.
19694 * sysdeps/i386/fpu/s_tan.S: Likewise.
19695 * sysdeps/i386/fpu/s_tanl.S: Likewise.
19696 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19697 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19698 * math/libm-test.inc (tan_test): Add more tests and enable more
19699 tests for double and long double.
19700 * sysdeps/i386/fpu/libm-test-ulps: Update.
19701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19703 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19705 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19706 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19708 2012-03-16 Roland McGrath <roland@hack.frob.com>
19710 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19711 * configure.in: Use it for both main tree and add-ons.
19712 * configure: Regenerated.
19714 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19716 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19718 2012-03-16 Joseph Myers <joseph@codesourcery.com>
19720 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19724 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19725 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19726 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19727 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19728 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19730 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19731 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19732 != 0 for prec == 2.
19733 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19734 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19735 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19736 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19737 * sysdeps/i386/fpu/s_sinl.S: Likewise.
19738 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19739 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19740 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19741 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19742 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19743 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19744 * math/libm-test.inc (cos_test): Add more tests and enable more
19745 tests for long double.
19746 (sin_test): Likewise.
19747 (sincos_test): Likewise.
19748 * sysdeps/i386/fpu/libm-test-ulps: Update.
19749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19751 2012-03-16 David S. Miller <davem@davemloft.net>
19753 * sysdeps/sparc/fpu/math_private.h: New file.
19755 2012-03-15 David S. Miller <davem@davemloft.net>
19757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
19760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19771 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19772 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19774 * sysdeps/sparc/sparc-ifunc.h: New file.
19775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
19791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19801 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19802 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19813 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19814 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19816 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19820 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19822 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19826 2012-03-15 Andreas Jaeger <aj@suse.de>
19829 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19830 ieee754/flt-32 implementation for sin, cos and sincos.
19831 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19832 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19833 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19834 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19835 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19836 ieee754/flt-32 implementation for tan.
19838 * math/libm-test.inc (cos_test): Enable some large input tests for
19840 (sin_test): Likewise.
19841 (sincos_test): Likewise.
19842 (tan_test): Add tests for large input.
19844 * sysdeps/i386/fpu/libm-test-ulps: Update.
19846 2012-03-15 Andreas Jaeger <aj@suse.de>
19849 * math/libm-test.inc (cos_test): Add more test cases.
19850 (sin_test): Likewise.
19851 (sincos_test): Likewise.
19853 2012-03-15 Andreas Jaeger <aj@suse.de>
19856 * math/libm-test.inc (cos_test): Add a test case for large input
19858 (sin_test): Likewise.
19859 (sincos_test): Likewise.
19861 2012-03-15 Andreas Jaeger <aj@suse.de>,
19862 Joseph Myers <joseph@codesourcery.com>
19865 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
19866 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19867 * sysdeps/i386/fpu/branred.c: Likewise.
19868 * sysdeps/i386/fpu/dosincos.c: Likewise.
19869 * sysdeps/i386/fpu/mpa.c: Likewise.
19870 * sysdeps/i386/fpu/s_cos.S: Likewise.
19871 * sysdeps/i386/fpu/s_sin.S: Likewise.
19872 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19873 * sysdeps/i386/fpu/sincos32.c: Likewise.
19875 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19877 (libc_feupdateenv_53bit): Define.
19878 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19880 (libc_feupdateenv_53bit): Define.
19882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19883 53 bit (without extend i386 double precision).
19885 * math/libm-test.inc (sincos_test): Add tests for large input.
19889 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19891 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19895 2012-03-15 David S. Miller <davem@davemloft.net>
19897 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19898 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19899 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19900 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19924 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19925 fmin/fmax sysdep routines.
19926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19928 2012-03-14 David S. Miller <davem@davemloft.net>
19930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19934 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19935 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19936 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19937 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19950 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19951 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19952 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19953 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19954 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19955 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19957 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
19999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20002 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20007 * sysdeps/sparc/configure.in: New file.
20008 * sysdeps/sparc/configure: Generate.
20009 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20010 * configure: Regenerate.
20011 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20012 * config.make.in (have-as-vis3): New.
20013 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20014 available use -Av9d instead of -Av9a.
20015 * sysdeps/sparc/sparc64/Makefile: Likewise.
20016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
20017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20025 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20026 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20027 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20028 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20029 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20031 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20032 fzeros/fnegs to load 0x80000000 into a float register instead of
20034 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20036 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20040 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20041 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20042 ($(inst_includedir)/bits/syscall.h): Remove rule.
20043 ($(objpfx)bits/syscall.d): Include instead of
20044 $(objpfx)syscall-list.d.
20045 (generated): Change syscall-list.h and syscall-list.d to
20046 bits/syscall.h and bits/syscall.d.
20048 2012-03-14 Roland McGrath <roland@hack.frob.com>
20051 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20053 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20056 * math/s_csqrt.c: Include <float.h>.
20057 (__csqrt): Scale large or subnormal inputs.
20058 * math/s_csqrtf.c: Likewise.
20059 * math/s_csqrtl.c: Likewise.
20060 * math/libm-test.inc (csqrt_test): Add more tests.
20061 * sysdeps/i386/fpu/libm-test-ulps: Update.
20062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20065 * math/libm-test.inc (hypot_test): Add more tests.
20067 2012-03-13 David S. Miller <davem@davemloft.net>
20070 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20071 double-precision for the calculation instead of scaling.
20073 2012-03-13 Joseph Myers <joseph@codesourcery.com>
20075 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20076 manipulate bits before adding and subtracting TWO52[sx].
20077 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20078 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20080 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20082 2012-03-13 David S. Miller <davem@davemloft.net>
20084 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20085 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20087 rtld-global-offsets.h
20088 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20090 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20093 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20095 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20096 'err' in the ifdef scope in which it is actually used.
20098 * nss/nss_db/db-init.c: Include string.h
20100 2012-03-12 David S. Miller <davem@davemloft.net>
20102 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20103 masking out of the most significant byte of random value used.
20104 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20105 Fix coding style in previous change.
20107 * sysdeps/unix/sysv/linux/kernel-features.h
20108 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20109 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20111 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20114 2012-03-11 David S. Miller <davem@davemloft.net>
20116 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20117 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20118 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20119 for 'resultvar' otherwise things get truncated on 64-bit.
20121 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20122 Fix masking out of the most significant byte of random value used.
20124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20126 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20130 2012-03-09 David S. Miller <davem@davemloft.net>
20132 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20133 variables with appropriate CPP guards.
20134 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20135 frame pointer, not the stack pointer. Correct layout comments. Fix test
20136 on resulting framesize and the management of the outregs buffer for pltexit.
20137 Preserve floating point return values across _dl_call_pltexit call.
20138 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20139 framesize and the management of the outregs buffer for pltexit.
20140 Preserve floating point return values across _dl_call_pltexit
20142 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20143 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20144 (print_exit): Fix format string for return register value.
20146 2012-03-10 Joseph Myers <joseph@codesourcery.com>
20148 * sunrpc/Makefile (others): Add rpcgen.
20149 ($(objpfx)rpcgen): Remove special build rule and dependency on
20151 * sunrpc/rpcgen.c: New file.
20153 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20156 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20157 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20158 * sysdeps/i386/crti.S: Likewise.
20159 * sysdeps/i386/crtn.S: Likewise.
20160 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20161 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20162 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20163 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20164 * sysdeps/sh/crti.S: Likewise.
20165 * sysdeps/sh/crtn.S: Likewise.
20166 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20169 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20171 * locale/programs/locfile-kw.gperf: Likewise.
20172 * locale/programs/charmap-kw.h: Regenerated.
20173 * locale/programs/locfile-kw.h: Likewise.
20176 * intl/plural.y: Replace FSF snail mail address with URL.
20177 * intl/plural.c: Regenerated.
20179 2012-03-09 Richard Henderson <rth@twiddle.net>
20181 * include/math_private.h: Remove file.
20182 * math/math_private.h: Move file ...
20183 * sysdeps/generic/math_private.h: ... here.
20185 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20186 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20187 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20189 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
20190 and <math_private.h>.
20191 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20192 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20193 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20194 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20195 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20196 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20197 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20198 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20199 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20200 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20201 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20202 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20203 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20204 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20205 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20206 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20207 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20208 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20209 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20210 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20211 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20212 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20213 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20214 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20215 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20216 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20217 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20218 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20219 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20220 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20221 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20222 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20223 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20224 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20225 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20226 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20227 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20228 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20229 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20230 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20231 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20232 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20233 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20234 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20235 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20236 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20237 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20238 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20239 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20240 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20241 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20242 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20243 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20244 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20245 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20246 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20247 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20248 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20249 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20250 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20251 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20252 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20253 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20254 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20255 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20256 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20257 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20258 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20259 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20260 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20261 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20262 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20263 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20264 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20265 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20266 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20267 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20268 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20269 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20270 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20271 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20272 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20273 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20274 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20275 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20276 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20277 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20278 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20279 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20280 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20281 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20282 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20283 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20284 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20285 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20286 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20287 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20288 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20289 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20290 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20291 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20292 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20293 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20294 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20295 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20296 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20297 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20298 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20299 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20301 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20302 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20303 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20304 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20305 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20306 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20307 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20308 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20309 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20310 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20311 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20312 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20313 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20314 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20315 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20316 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20317 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20318 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20319 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20320 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20321 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20322 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20323 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20324 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20325 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20326 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20327 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20328 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20329 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20330 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20331 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20332 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20333 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20334 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20335 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20336 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20337 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20338 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20339 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20340 * sysdeps/ieee754/k_standard.c: Likewise.
20341 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20342 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20343 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20344 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20345 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20346 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20347 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20348 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20349 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20350 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20351 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20352 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20353 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20354 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20355 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20356 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20357 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20358 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20359 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20360 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20361 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20362 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20363 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20364 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20365 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20367 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20368 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20370 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20371 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20372 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20373 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20374 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20375 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20376 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20377 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20378 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20379 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20380 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20381 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20382 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20383 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20384 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20385 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20386 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20387 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20388 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20389 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20390 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20391 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20392 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20393 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20394 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20395 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20396 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20397 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20398 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20399 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20400 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20401 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20402 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20403 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20404 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20405 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20406 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20407 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20408 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20409 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20411 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20412 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20413 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20414 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20415 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20416 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20417 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
20418 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20419 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20420 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20421 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20422 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20423 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20424 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20425 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
20426 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20428 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20429 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20430 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
20432 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20433 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20434 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20435 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20436 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20437 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
20438 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20439 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20442 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20443 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20444 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20445 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
20446 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20447 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20448 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20449 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
20450 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20451 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20452 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20453 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20454 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20455 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20456 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20457 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20458 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20459 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20460 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20461 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20462 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20463 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20464 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20465 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20466 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
20467 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20468 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20469 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20470 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20471 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20472 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20473 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20474 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20475 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20476 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20477 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
20478 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20479 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20480 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
20481 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
20482 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20483 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
20484 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
20485 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20486 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20487 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20488 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20489 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20490 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
20491 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20492 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20493 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20494 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20495 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
20496 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
20497 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20498 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20499 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20500 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20501 * sysdeps/ieee754/s_lib_version.c: Likewise.
20502 * sysdeps/ieee754/s_matherr.c: Likewise.
20503 * sysdeps/ieee754/s_signgam.c: Likewise.
20504 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20505 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20506 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
20507 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
20508 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
20509 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20510 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
20511 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
20512 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
20513 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
20514 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20515 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
20516 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20517 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20518 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
20519 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20520 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20521 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20522 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20523 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20524 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20526 2012-03-09 Joseph Myers <joseph@codesourcery.com>
20528 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
20529 * sunrpc/rpc_main.c: Likewise.
20530 * sunrpc/rpc_svcout.c: Likewise.
20532 2012-03-09 David S. Miller <davem@davemloft.net>
20534 * include/math_private.h: New file.
20536 2012-03-09 Joseph Myers <joseph@codesourcery.com>
20538 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
20539 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
20540 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
20541 from <bits/socket_type.h>.
20542 (enum __socket_type): Don't define here.
20543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
20544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20545 bits/socket_type.h.
20548 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
20549 checking __USE_GNU.
20551 * Makerules ($(inst_includedir)/%.h): New rule.
20552 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
20553 (install-others): Remove variable setting.
20554 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
20556 2012-03-08 Richard Henderson <rth@twiddle.net>
20558 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
20559 from macro to inline function; merge with the
20560 !__LIBC_INTERNAL_MATH_INLINES version.
20561 (__ieee754_sqrtf): Likewise.
20563 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
20564 to inline function.
20565 (__rintf, __floor, __floorf): Likewise.
20567 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
20568 macro to inline function.
20569 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
20571 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
20572 not <math/math_private.h>.
20574 2012-03-08 David S. Miller <davem@davemloft.net>
20576 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
20578 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20580 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
20582 * resolv/gai_misc.c (handle_requests): Fix struct timespec
20584 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
20585 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20587 2012-03-08 Ulrich Drepper <drepper@gmail.com>
20589 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
20590 be defined individually, they must be defined as a block. Define
20591 S for printing a string instead of hidint the different by using a
20592 macro for adding the 'l'.
20593 * stdio-common/tst-fphex-wide.c: Adjust.
20595 2012-03-07 Marek Polacek <polacek@redhat.com>
20597 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
20599 2012-03-08 Marek Polacek <polacek@redhat.com>
20602 * stdio-common/Makefile (tests): Add tst-fphex-wide.
20603 * stdio-common/tst-fphex.c: Define a few macros to make the
20604 test reusable. Use them.
20605 * stdio-common/tst-fphex-wide.c: New file.
20607 2012-03-08 Joseph Myers <joseph@codesourcery.com>
20610 * manual/macros.texi (gnusystems): New macro.
20611 (nongnusystems): Likewise.
20612 (gnulinuxhurdsystems): Likewise.
20613 (gnuhurdsystems): Likewise..
20614 (gnulinuxsystems): Likewise.
20615 * manual/charset.texi: Use new macros or @theglibc{} to refer to
20616 variants of the GNU system, not "GNU system".
20617 * manual/conf.texi: Likewise.
20618 * manual/errno.texi: Likewise. Update example of errno macro
20620 * manual/filesys.texi: Likewise.
20621 (getumask): Document as specific to GNU/Hurd.
20622 * manual/install.texi: Likewise. Reword some references to
20624 * manual/intro.texi: Likewise.
20625 * manual/io.texi: Likewise.
20626 (File Name Portability): Detail which constraints are inapplicable
20627 to all GNU systems and which are only inapplicable to GNU/Hurd.
20628 * manual/job.texi: Likewise.
20629 * manual/llio.texi: Likewise.
20630 (O_NOCTTY): Document as present on GNU/Linux.
20631 * manual/maint.texi: Likewise.
20632 * manual/memory.texi: Likewise.
20633 * manual/pattern.texi: Likewise.
20634 * manual/pipe.texi: Likewise.
20635 * manual/process.texi: Likewise.
20636 * manual/resource.texi: Likewise.
20637 (RUSAGE_CHILDREN): Remove statement about specifying a particular
20639 * manual/setjmp.texi: Likewise.
20640 * manual/signal.texi: Likewise.
20641 * manual/startup.texi: Likewise.
20642 * manual/stdio.texi: Likewise.
20643 * manual/terminal.texi: Likewise.
20644 (ONLCR): Document as POSIX.
20645 (OXTABS): Document availability on GNU/Linux as XTABS.
20646 (ONOEOT): Document availability separately from other bits.
20647 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20648 * manual/time.texi: Likewise.
20649 * manual/users.texi: Likewise.
20650 * INSTALL: Regenerated.
20651 * sysdeps/gnu/errlist.c: Regenerated.
20653 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20654 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20655 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
20657 * configure: Regenerated.
20659 2012-03-07 Joseph Myers <joseph@codesourcery.com>
20661 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20662 default includes instead of AC_HEADER_CHECK.
20663 * sysdeps/i386/configure: Regenerated.
20666 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20667 * math/s_cacoshf.c (__cacoshf): Likewise.
20668 * math/s_cacoshl.c (__cacoshl): Likewise.
20669 * math/s_casinh.c (__casinh): Set signs of result from argument.
20670 * math/s_casinhf.c (__casinhf): Likewise.
20671 * math/s_casinhl.c (__casinhl): Likewise.
20672 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20673 (casinh_test): Add more tests.
20674 * sysdeps/i386/fpu/libm-test-ulps: Update.
20675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20677 2012-03-07 Ulrich Drepper <drepper@gmail.com>
20679 * po/zh_TW.po: Update from translation team.
20681 * login/Makefile (distribute): Remove variable.
20682 * catgets/Makefile: Likewise.
20683 * mach/Makefile: Likewise.
20684 * malloc/Makefile: Likewise.
20685 * misc/Makefile: Likewise.
20686 * iconv/Makefile: Likewise.
20687 * nscd/Makefile: Likewise.
20688 * hurd/Makefile: Likewise.
20689 * manual/Makefile: Likewise.
20690 * locale/Makefile: Likewise.
20691 * intl/Makefile: Likewise.
20692 * conform/Makefile: Likewise.
20693 * nss/Makefile: Likewise.
20694 * time/Makefile: Likewise.
20695 * soft-fp/Makefile: Likewise.
20696 * dirent/Makefile: Likewise.
20697 * gmon/Makefile: Likewise.
20698 * po/Makefile: Likewise.
20699 * rt/Makefile: Likewise.
20700 * socket/Makefile: Likewise.
20701 * math/Makefile: Likewise.
20702 * signal/Makefile: Likewise.
20703 * debug/Makefile: Likewise.
20704 * elf/Makefile: Likewise.
20705 * timezone/Makefile: Likewise.
20706 * stdlib/Makefile: Likewise.
20707 * iconvdata/Makefile: Likewise.
20708 * sunrpc/Makefile: Likewise.
20709 * io/Makefile: Likewise.
20710 * argp/Makefile: Likewise.
20711 * inet/Makefile: Likewise.
20712 * hesiod/Makefile: Likewise.
20713 * grp/Makefile: Likewise.
20714 * csu/Makefile: Likewise.
20715 * wctype/Makefile: Likewise.
20716 * crypt/Makefile: Likewise.
20717 * libio/Makefile: Likewise.
20718 * string/Makefile: Likewise.
20719 * nis/Makefile: Likewise.
20720 * resolv/Makefile: Likewise.
20721 * stdio-common/Makefile: Likewise.
20722 * wcsmbs/Makefile: Likewise.
20723 * dlfcn/Makefile: Likewise.
20724 * posix/Makefile: Likewise.
20727 * timezone/Makefile: Don't install timezone files, just the programs
20730 2012-03-06 Ulrich Drepper <drepper@gmail.com>
20732 * nss/databases.def: Add missing gshadow entry.
20734 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
20736 2012-03-06 Marek Polacek <polacek@redhat.com>
20739 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20740 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20741 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20742 * stdio-common/tst-long-dbl-fphex.c: New file.
20744 2012-03-06 David S. Miller <davem@davemloft.net>
20746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20747 (set_obp_int): New function.
20748 (get_obp_int): New function.
20749 (__get_clockfreq_via_dev_openprom): Likewise.
20750 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20751 Avoid unused variable warnings on 'val' and use builtin_expect.
20752 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20754 (INLINE_CLONE_SYSCALL): Likewise.
20756 2012-03-05 David S. Miller <davem@davemloft.net>
20758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20760 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20764 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20765 only for |x| >= 40.
20766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20768 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
20770 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20771 Replace gettimeofday with __vdso_gettimeofday.
20773 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20774 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20775 __vdso_clock_gettime and __vdso_getcpu.
20777 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20778 time with __vdso_time.
20780 2012-03-05 Joseph Myers <joseph@codesourcery.com>
20782 * manual/lang.texi (size_t): Note types to which size_t may be
20783 equivalent with the GNU C Library, but do not describe when
20784 differences between them are significant.
20786 2012-03-05 Andreas Jaeger <aj@suse.de>
20788 * sysdeps/i386/fpu/libm-test-ulps: Update.
20790 2012-03-05 Joseph Myers <joseph@codesourcery.com>
20793 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20794 (__ieee754_pow): Save and restore rounding mode and use
20795 round-to-nearest for main computations.
20796 * math/libm-test.inc (pow_test_tonearest): New function.
20797 (pow_test_towardzero): Likewise.
20798 (pow_test_downward): Likewise.
20799 (pow_test_upward): Likewise.
20800 (main): Call the new functions.
20801 * sysdeps/i386/fpu/libm-test-ulps: Update.
20802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20805 * math/libm-test.inc (cosh_test_tonearest): New function.
20806 (cosh_test_towardzero): Likewise.
20807 (cosh_test_downward): Likewise.
20808 (cosh_test_upward): Likewise.
20809 (sinh_test_tonearest): Likewise.
20810 (sinh_test_towardzero): Likewise.
20811 (sinh_test_downward): Likewise.
20812 (sinh_test_upward): Likewise.
20813 (main): Call the new functions.
20814 * sysdeps/i386/fpu/libm-test-ulps: Update.
20815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20817 2012-03-05 Tom de Vries <tom@codesourcery.com>
20819 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20820 default stack guard is set in last bytes.
20821 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20823 2012-03-05 Kees Cook <keescook@chromium.org>
20825 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
20828 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20829 possibly allocate from heap instead of stack.
20830 * stdio-common/bug-vfprintf-nargs.c: New file.
20831 * stdio-common/Makefile (tests): Add nargs overflow test.
20833 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20837 2012-03-03 Marek Polacek <polacek@redhat.com>
20839 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20840 * math/math_private.h: Likewise.
20841 * stdlib/tst-strtod.c: Likewise.
20842 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20843 * sysdeps/x86_64/bits/atomic.h: Likewise.
20845 2012-03-02 David S. Miller <davem@davemloft.net>
20847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20851 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20852 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20853 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20854 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20856 2012-03-02 Roland McGrath <roland@hack.frob.com>
20859 * manual/examples/README: New file, says the example source files
20860 can be used under GPL>=2.
20861 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20862 line containing just "*/".
20863 * manual/examples/add.c: Add copyright header (GPL>=2).
20864 * manual/examples/argp-ex1.c: Likewise.
20865 * manual/examples/argp-ex2.c: Likewise.
20866 * manual/examples/argp-ex3.c: Likewise.
20867 * manual/examples/argp-ex4.c: Likewise.
20868 * manual/examples/atexit.c: Likewise.
20869 * manual/examples/db.c: Likewise.
20870 * manual/examples/dir.c: Likewise.
20871 * manual/examples/dir2.c: Likewise.
20872 * manual/examples/execinfo.c: Likewise.
20873 * manual/examples/filecli.c: Likewise.
20874 * manual/examples/filesrv.c: Likewise.
20875 * manual/examples/fmtmsgexpl.c: Likewise.
20876 * manual/examples/genpass.c: Likewise.
20877 * manual/examples/inetcli.c: Likewise.
20878 * manual/examples/inetsrv.c: Likewise.
20879 * manual/examples/isockad.c: Likewise.
20880 * manual/examples/longopt.c: Likewise.
20881 * manual/examples/memopen.c: Likewise.
20882 * manual/examples/memstrm.c: Likewise.
20883 * manual/examples/mkfsock.c: Likewise.
20884 * manual/examples/mkisock.c: Likewise.
20885 * manual/examples/mygetpass.c: Likewise.
20886 * manual/examples/pipe.c: Likewise.
20887 * manual/examples/popen.c: Likewise.
20888 * manual/examples/rprintf.c: Likewise.
20889 * manual/examples/search.c: Likewise.
20890 * manual/examples/select.c: Likewise.
20891 * manual/examples/setjmp.c: Likewise.
20892 * manual/examples/sigh1.c: Likewise.
20893 * manual/examples/sigusr.c: Likewise.
20894 * manual/examples/stpcpy.c: Likewise.
20895 * manual/examples/strdupa.c: Likewise.
20896 * manual/examples/strftim.c: Likewise.
20897 * manual/examples/strncat.c: Likewise.
20898 * manual/examples/subopt.c: Likewise.
20899 * manual/examples/swapcontext.c: Likewise.
20900 * manual/examples/termios.c: Likewise.
20901 * manual/examples/testopt.c: Likewise.
20902 * manual/examples/testpass.c: Likewise.
20903 * manual/examples/timeval_subtract.c: Likewise.
20906 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20908 * manual/timeval_subtract.c.texi: ... here, new file.
20910 2012-03-02 David S. Miller <davem@davemloft.net>
20912 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20914 2012-03-02 Joseph Myers <joseph@codesourcery.com>
20917 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20918 (__sin): Save and restore rounding mode and use round-to-nearest
20919 for all computations.
20920 (__cos): Save and restore rounding mode and use round-to-nearest
20921 for all computations.
20922 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20924 (tan): Save and restore rounding mode and use round-to-nearest for
20926 * math/libm-test.inc (cos_test_tonearest): New function.
20927 (cos_test_towardzero): Likewise.
20928 (cos_test_downward): Likewise.
20929 (cos_test_upward): Likewise.
20930 (sin_test_tonearest): Likewise.
20931 (sin_test_towardzero): Likewise.
20932 (sin_test_downward): Likewise.
20933 (sin_test_upward): Likewise.
20934 (tan_test_tonearest): Likewise.
20935 (tan_test_towardzero): Likewise.
20936 (tan_test_downward): Likewise.
20937 (tan_test_upward): Likewise.
20938 (main): Call the new functions.
20939 * sysdeps/i386/fpu/libm-test-ulps: Update.
20940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20943 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20944 small n, then large n, before computing and testing k+n.
20945 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20950 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20951 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20952 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20953 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20954 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20955 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20956 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20957 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20958 * math/libm-test.inc (scalbn_test): Add more tests.
20959 (scalbln_test): Likewise.
20961 * manual/filesys.texi (mode_t): Describe constraints on size and
20962 signedness, not exact equivalence to a particular type.
20964 (ino64_t): Likewise.
20966 (nlink_t): Likewise.
20967 (blkcnt_t): Likewise.
20968 (blkcnt64_t): Likewise.
20969 * manual/llio.texi (off_t): Likewise.
20972 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20973 (__ieee754_exp): Save and restore rounding mode and use
20974 round-to-nearest for all computations.
20975 * math/libm-test.inc (exp_test_tonearest): New function.
20976 (exp_test_towardzero): Likewise.
20977 (exp_test_downward): Likewise.
20978 (exp_test_upward): Likewise.
20979 (main): Call the new functions.
20980 * sysdeps/i386/fpu/libm-test-ulps: Update.
20981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20983 2012-03-01 Chris Demetriou <cgd@google.com>
20985 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20986 have predictable order.
20988 2012-03-01 David S. Miller <davem@davemloft.net>
20990 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20992 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20993 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20994 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20995 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20997 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20998 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20999 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21001 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21002 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21003 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21004 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21005 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21009 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21010 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21011 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21013 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21014 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21015 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21016 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21017 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21018 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21019 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21020 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21021 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21022 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21023 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21024 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21025 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21026 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21027 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21029 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21030 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21031 * sysdeps/sparc/elf/configure: Regenerated.
21033 2012-03-01 Joseph Myers <joseph@codesourcery.com>
21035 * configure.in (AS, LD): Require binutils 2.20 or later.
21036 * configure: Regenerated.
21037 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21038 as required minimum version.
21039 * INSTALL: Regenerated.
21043 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21044 before squaring exponent.
21045 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21046 bottom long double and 27 bits of top long double before squaring
21048 * math/libm-test.inc (erfc_test): Add more tests.
21049 * sysdeps/i386/fpu/libm-test-ulps: Update.
21050 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21053 2012-03-01 Kai Tietz <ktietz@redhat.com>
21055 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21056 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21057 containing bit-fields.
21058 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21059 * soft-fp/single.h (_FP_UNION_S): Likewise.
21060 * soft-fp/double.h (_FP_UNION_D): Likewise.
21062 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21065 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21066 not include ../strcmp.S.
21067 [USE_AS_STRNCASECMP_L]: Likewise.
21068 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21069 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21070 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21071 (__strncasecmp_l_ia32): Define as alias to
21072 __strncasecmp_l_nonascii.
21075 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21076 * sysdeps/i386/fpu/libm-test-ulps: Update.
21077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21079 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21082 2012-02-29 Jeff Law <law@redhat.com>
21084 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21085 out of bounds read.
21087 2012-02-29 Marek Polacek <polacek@redhat.com>
21090 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21091 * elf/Makefile: Add rules to run tst-unused-dep.out.
21093 2012-02-28 David S. Miller <davem@davemloft.net>
21095 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21096 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21097 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21098 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21099 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21100 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21102 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21104 * math/libm-test.inc (llround_test): Move one test from
21105 lround_test. Use TEST_f_L in moved test.
21106 (lround_test): Move misplaced test to llround_test. Add testcase
21109 2012-02-28 Ulrich Drepper <drepper@gmail.com>
21111 * sysdeps/x86_64/fpu/e_expf.S: New file.
21112 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21114 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21117 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21118 of remain_len that may cause incomplete multi-byte character and
21120 * posix/bug-regex33.c: New file.
21121 * posix/Makefile (tests): Add bug-regex33.
21123 2012-02-28 Joseph Myers <joseph@codesourcery.com>
21125 * manual/macros.texi: New file.
21126 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21127 * manual/libc.texinfo: Include macros.texi.
21128 * manual/creatute.texi: Likewise.
21129 * manual/install.texi: Likewise.
21130 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21131 @glibcadj{} in references to the GNU C Library.
21132 * manual/charset.texi: Likewise.
21133 * manual/conf.texi: Likewise.
21134 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21135 when not using those macros.
21136 * manual/creature.texi: Likewise.
21137 * manual/crypt.texi: Likewise.
21138 * manual/errno.texi: Likewise.
21139 * manual/filesys.texi: Likewise.
21140 * manual/header.texi: Likewise.
21141 * manual/install.texi: Likewise.
21142 * manual/intro.texi: Likewise.
21143 * manual/io.texi: Likewise.
21144 * manual/job.texi: Likewise.
21145 * manual/lang.texi: Likewise.
21146 * manual/libc.texiinfo: Likewise.
21147 * manual/llio.texi: Likewise.
21148 * manual/locale.texi: Likewise.
21149 * manual/maint.texi: Likewise.
21150 * manual/math.texi: Likewise.
21151 * manual/memory.texi: Likewise.
21152 * manual/message.texi: Likewise.
21153 * manual/nss.texi: Likewise.
21154 * manual/pattern.texi: Likewise.
21155 * manual/process.texi: Likewise.
21156 * manual/resource.texi: Likewise.
21157 * manual/search.texi: Likewise.
21158 * manual/setjmp.texi: Likewise.
21159 * manual/signal.texi: Likewise.
21160 * manual/socket.texi: Likewise.
21161 * manual/startup.texi: Likewise.
21162 * manual/stdio.texi: Likewise.
21163 * manual/string.texi: Likewise.
21164 * manual/sysinfo.texi: Likewise.
21165 * manual/syslog.texi: Likewise.
21166 * manual/terminal.texi: Likewise.
21167 * manual/time.texi: Likewise.
21168 * manual/users.texi: Likewise.
21169 * INSTALL: Regenerated.
21170 * NOTES: Regenerated.
21171 * sysdeps/gnu/errlist.c: Regenerated.
21173 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21175 * include/dirent.h: Include <dirstream.h> before
21178 2012-02-28 David S. Miller <davem@davemloft.net>
21180 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21181 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21182 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21183 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21185 2012-02-27 David S. Miller <davem@davemloft.net>
21187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21189 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21190 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21193 frame pointer instead of stack pointer relative arg slot.
21194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21195 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21196 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21198 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21201 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21203 2012-02-27 David S. Miller <davem@davemloft.net>
21205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21209 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21210 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21211 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21212 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21214 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21216 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21217 later. Allow versions 5-9.
21218 * configure: Regenerated.
21219 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21220 required minimum version and 4.6 as recommended version. Do not
21221 mention bugs in GCC 2.7 and 2.8.
21222 * INSTALL: Regenerated.
21224 2012-02-27 David S. Miller <davem@davemloft.net>
21226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21230 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21231 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21232 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21233 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21235 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21236 manipulate bits before adding and subtracting TWO112[sx].
21237 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21239 2012-02-27 Roland McGrath <roland@hack.frob.com>
21242 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21243 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21244 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21245 being in POSIX, because they are in 1003.1-2008.
21247 * rt/tst-aio.c: Include <fcntl.h>.
21248 * rt/tst-aio7.c: Likewise.
21249 * rt/tst-aio64.c: Likewise.
21251 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21253 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21255 * manual/install.texi (--with-headers): Describe headers as
21256 interface headers, not private headers.
21257 (Specific advice for GNU/Linux systems): Describe use of headers
21258 from "make headers_install", not private headers from older
21260 * INSTALL: Regenerated.
21261 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21263 * sysdeps/unix/sysv/linux/configure: Regenerated.
21265 * manual/llio.texi (fclean): Remove documentation.
21267 * manual/Makefile (libc-texi-generated): New variable. Include
21269 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21270 $(libc-texi-generated), not duplicated list of files.
21271 (version.texi, stamp-version): New rules.
21272 (realclean): Remove $(libc-texi-generated), not individual files
21273 from that list. Do not remove dir-add.texinfo.
21274 * manual/libc.texinfo: Comment out uses of edition numbers and
21275 references to printed manual. Remove last-updated dates.
21276 (EDITION): Comment out.
21278 (VERSION, UPDATED): Remove.
21279 (version.texi): Include.
21281 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21283 * sysdeps/posix/spawni.c: Include <signal.h>.
21284 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21285 * sysdeps/pthread/aio_fsync.c: Likewise.
21287 2012-02-26 Ulrich Drepper <drepper@gmail.com>
21289 * conform/Makefile (tests): Run only when not cross-compiling and
21290 when fast-check is not defined.
21292 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21293 * conform/data/limits.h-data: Fixes for POSIX2008.
21294 * conform/run-conformtest.sh: Run all tests.
21295 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21297 * include/bits/dlfcn.h: Likewise.
21298 * include/langinfo.h: Likewise.
21299 * include/monetary.h: Likewise.
21300 * include/sys/poll.h: Likewise.
21302 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21304 * posix/spawn.h: Define __need_sigset_t.
21305 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21306 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21307 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21308 to get sigevent_t only.
21309 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21310 only for __USE_GNU.
21311 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21312 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21313 process_vm_writev only for __USE_GNU.
21314 * termios/termios.h: Declare tcgetsid also for POSIX2008.
21316 * conform/Makefile: For now ignore errors from run-conformtest.
21317 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21318 POSIX to avoid namespace pollution. Don't prepend headers.
21319 * conform/data/aio.h-data: Fixes for POSIX testing.
21320 * conform/data/fcntl.h-data: Likewise.
21321 * conform/data/glob.h-data: Likewise.
21322 * conform/data/grp.h-data: Likewise.
21323 * conform/data/pthread.h-data: Likewise.
21324 * conform/data/pwd.h-data: Likewise.
21325 * conform/data/signal.h-data: Likewise.
21326 * conform/data/spawn.h-data: Likewise.
21327 * conform/data/stdio.h-data: Likewise.
21328 * conform/data/stdlib.h-data: Likewise.
21329 * conform/data/stropts.h-data: Likewise.
21330 * conform/data/sys/mman.h-data: Likewise.
21331 * conform/data/sys/stat.h-data: Likewise.
21332 * conform/data/sys/types.h-data: Likewise.
21333 * conform/data/sys/wait.h-data: Likewise.
21334 * conform/data/time.h-data: Likewise.
21335 * conform/data/unistd.h-data: Likewise.
21336 * conform/data/utime.h-data: Likewise.
21338 * io/sys/stat.h: fchmod was always in POSIX.
21339 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21340 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21341 * rt/aio.h: Define __need_timespec before including <time.h>.
21342 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21343 struct. Add forward declaration of pthread_attr_t and use it in
21345 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21346 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21347 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21348 always remove CLK_TCK definition.
21350 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21352 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21354 2012-02-25 Ulrich Drepper <drepper@gmail.com>
21356 * conform/run-conformtest.sh: New file.
21357 * conform/Makefile: Run run-conformtest for tests.
21358 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21361 * conform/data/uchar.h-data: New file.
21362 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21363 * conform/data/arpa/inet.h-data: Likewise.
21364 * conform/data/assert.h-data: Likewise.
21365 * conform/data/complex.h-data: Likewise.
21366 * conform/data/cpio.h-data: Likewise.
21367 * conform/data/ctype.h-data: Likewise.
21368 * conform/data/dirent.h-data: Likewise.
21369 * conform/data/dlfcn.h-data: Likewise.
21370 * conform/data/errno.h-data: Likewise.
21371 * conform/data/fcntl.h-data: Likewise.
21372 * conform/data/float.h-data: Likewise.
21373 * conform/data/fmtmsg.h-data: Likewise.
21374 * conform/data/fnmatch.h-data: Likewise.
21375 * conform/data/ftw.h-data: Likewise.
21376 * conform/data/glob.h-data: Likewise.
21377 * conform/data/grp.h-data: Likewise.
21378 * conform/data/iconv.h-data: Likewise.
21379 * conform/data/inttypes.h-data: Likewise.
21380 * conform/data/langinfo.h-data: Likewise.
21381 * conform/data/libgen.h-data: Likewise.
21382 * conform/data/limits.h-data: Likewise.
21383 * conform/data/locale.h-data: Likewise.
21384 * conform/data/math.h-data: Likewise.
21385 * conform/data/monetary.h-data: Likewise.
21386 * conform/data/mqueue.h-data: Likewise.
21387 * conform/data/ndbm.h-data: Likewise.
21388 * conform/data/net/if.h-data: Likewise.
21389 * conform/data/netdb.h-data: Likewise.
21390 * conform/data/netinet/in.h-data: Likewise.
21391 * conform/data/nl_types.h-data: Likewise.
21392 * conform/data/poll.h-data: Likewise.
21393 * conform/data/pthread.h-data: Likewise.
21394 * conform/data/pwd.h-data: Likewise.
21395 * conform/data/regex.h-data: Likewise.
21396 * conform/data/sched.h-data: Likewise.
21397 * conform/data/search.h-data: Likewise.
21398 * conform/data/semaphore.h-data: Likewise.
21399 * conform/data/setjmp.h-data: Likewise.
21400 * conform/data/signal.h-data: Likewise.
21401 * conform/data/spawn.h-data: Likewise.
21402 * conform/data/stdarg.h-data: Likewise.
21403 * conform/data/stdio.h-data: Likewise.
21404 * conform/data/stdlib.h-data: Likewise.
21405 * conform/data/string.h-data: Likewise.
21406 * conform/data/strings.h-data: Likewise.
21407 * conform/data/stropts.h-data: Likewise.
21408 * conform/data/sys/ipc.h-data: Likewise.
21409 * conform/data/sys/mman.h-data: Likewise.
21410 * conform/data/sys/msg.h-data: Likewise.
21411 * conform/data/sys/resource.h-data: Likewise.
21412 * conform/data/sys/select.h-data: Likewise.
21413 * conform/data/sys/sem.h-data: Likewise.
21414 * conform/data/sys/shm.h-data: Likewise.
21415 * conform/data/sys/socket.h-data: Likewise.
21416 * conform/data/sys/stat.h-data: Likewise.
21417 * conform/data/sys/statvfs.h-data: Likewise.
21418 * conform/data/sys/time.h-data: Likewise.
21419 * conform/data/sys/timeb.h-data: Likewise.
21420 * conform/data/sys/times.h-data: Likewise.
21421 * conform/data/sys/types.h-data: Likewise.
21422 * conform/data/sys/uio.h-data: Likewise.
21423 * conform/data/sys/un.h-data: Likewise.
21424 * conform/data/sys/utsname.h-data: Likewise.
21425 * conform/data/sys/wait.h-data: Likewise.
21426 * conform/data/syslog.h-data: Likewise.
21427 * conform/data/tar.h-data: Likewise.
21428 * conform/data/termios.h-data: Likewise.
21429 * conform/data/utime.h-data: Likewise.
21430 * conform/data/utmpx.h-data: Likewise.
21431 * conform/data/varargs.h-data: Likewise.
21432 * conform/data/wchar.h-data: Likewise.
21433 * conform/data/wctype.h-data: Likewise.
21434 * conform/data/wordexp.h-data: Likewise.
21436 * include/stropts.h: New file.
21437 * include/uchar.h: New file.
21438 * include/aio.h: Changes to allow conformtest.pl to use the headers.
21439 * include/assert.h: Likewise.
21440 * include/ctype.h: Likewise.
21441 * include/dirent.h: Likewise.
21442 * include/dlfcn.h: Likewise.
21443 * include/fcntl.h: Likewise.
21444 * include/fnmatch.h: Likewise.
21445 * include/glob.h: Likewise.
21446 * include/grp.h: Likewise.
21447 * include/libio.h: Likewise.
21448 * include/locale.h: Likewise.
21449 * include/math.h: Likewise.
21450 * include/net/if.h: Likewise.
21451 * include/netdb.h: Likewise.
21452 * include/netinet/in.h: Likewise.
21453 * include/pthread.h: Likewise.
21454 * include/pwd.h: Likewise.
21455 * include/regex.h: Likewise.
21456 * include/sched.h: Likewise.
21457 * include/search.h: Likewise.
21458 * include/setjmp.h: Likewise.
21459 * include/signal.h: Likewise.
21460 * include/stdio.h: Likewise.
21461 * include/stdlib.h: Likewise.
21462 * include/string.h: Likewise.
21463 * include/sys/cdefs.h: Likewise.
21464 * include/sys/mman.h: Likewise.
21465 * include/sys/msg.h: Likewise.
21466 * include/sys/resource.h: Likewise.
21467 * include/sys/select.h: Likewise.
21468 * include/sys/socket.h: Likewise.
21469 * include/sys/stat.h: Likewise.
21470 * include/sys/statvfs.h: Likewise.
21471 * include/sys/time.h: Likewise.
21472 * include/sys/times.h: Likewise.
21473 * include/sys/uio.h: Likewise.
21474 * include/sys/utsname.h: Likewise.
21475 * include/sys/wait.h: Likewise.
21476 * include/termios.h: Likewise.
21477 * include/time.h: Likewise.
21478 * include/ulimit.h: Likewise.
21479 * include/unistd.h: Likewise.
21480 * include/utime.h: Likewise.
21481 * include/wchar.h: Likewise.
21482 * include/wctype.h: Likewise.
21483 * include/wordexp.h: Likewise.
21485 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
21487 * time/time.h: TIME_UTC must be a macro.
21488 Make timespec_get available for ISO C11 only as well.
21490 2012-02-24 Ulrich Drepper <drepper@gmail.com>
21492 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
21493 Reported by Peng Haitao <penght@cn.fujitsu.com>.
21495 2012-02-24 Joseph Myers <joseph@codesourcery.com>
21497 * configure.in: Use -o not -a in test for unsupported multi-arch.
21499 2012-02-24 Joseph Myers <joseph@codesourcery.com>
21501 * manual/texinfo.tex: Update to version 2012-01-19.16.
21503 2012-02-24 Joseph Myers <joseph@codesourcery.com>
21505 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
21507 2012-02-24 Roland McGrath <roland@hack.frob.com>
21510 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
21511 * manual/fdl-1.3.texi: New file.
21512 * manual/fdl-1.1.texi: File removed.
21515 * manual/libc.texinfo (FDL_VERSION): New @set.
21516 Use it for mention of FDL in cover text.
21517 (Documentation License): Use it in @include file name.
21519 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21520 Roland McGrath <roland@hack.frob.com>
21523 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
21524 not LONG_LONG_MAX and LONG_LONG_MIN.
21525 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
21526 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
21528 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
21530 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21534 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
21535 manipulate bits before adding and subtracting TWO23[sx].
21536 * math/libm-test.inc (nearbyint_test): Add more tests.
21538 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21541 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
21542 bits before adding and subtracting TWO23[sx].
21543 * math/libm-test.inc (rint_test): Add more tests.
21544 (rint_test_tonearest): Likewise.
21545 (rint_test_towardzero): Likewise.
21546 (rint_test_downward): Likewise.
21547 (rint_test_upward: Likewise.
21549 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21552 * include/stdc-predef.h: New file. Extracted from features.h.
21553 * include/features.h: Include stdc-predef.h.
21554 * Makefile (headers): Add stdc-predef.h.
21555 * CONFORMANCE (Compiler limitations): Update.
21557 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21559 * manual/libc.texinfo (VERSION, UPDATED): Revert.
21561 2012-02-21 David S. Miller <davem@davemloft.net>
21563 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
21564 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21566 2012-02-20 David S. Miller <davem@davemloft.net>
21568 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
21569 using a normal save/restore sequence, rather than allocating a
21570 dummy stack frame just to store a frame pointer and restore.
21571 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21573 2012-02-21 Joseph Myers <joseph@codesourcery.com>
21575 * manual/install.texi: Fix stray word in line-wrapped comment.
21577 2012-02-20 David S. Miller <davem@davemloft.net>
21579 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
21580 both binutils and gcc support GOTDATA.
21582 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
21583 "rd %pc" in the PIC register setup sequences.
21585 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
21586 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21587 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21588 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21589 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21591 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21592 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
21594 (SYSCALL_ERROR_HANDLER): Likewise.
21595 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21596 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
21598 (SYSCALL_ERROR_HANDLER): Likewise.
21600 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
21601 (HAVE_GCC_GOTDATA): New.
21602 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
21603 relocation support in both binutils and gcc.
21604 * sysdeps/sparc/elf/configure: Regenerate.
21606 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
21607 * sysdeps/sparc/sparc32/elf/configure: Delete.
21608 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
21609 * sysdeps/sparc/sparc64/elf/configure: Delete.
21610 * sysdeps/sparc/elf/configure.in: New file.
21611 * sysdeps/sparc/elf/configure: Generate.
21613 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
21614 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
21615 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21616 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
21617 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
21619 2012-02-21 Joseph Myers <joseph@codesourcery.com>
21621 * manual/install.texi: Do not mention specific glibc version
21623 * manual/libc.texinfo (VERSION, UPDATED): Update.
21624 (@copying): Use @copyright{} and range of years.
21626 2012-02-21 Joseph Myers <joseph@codesourcery.com>
21629 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
21630 [crti.S not in sysdirs] (generated): Do not append.
21631 [crti.S not in sysdirs] (omit-deps): Likewise.
21632 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
21633 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
21634 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
21635 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
21636 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
21638 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
21639 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
21640 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
21641 * csu/defs.awk: Remove file.
21642 * sysdeps/generic/initfini.c: Likewise.
21643 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21645 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21648 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21650 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21651 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21652 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21653 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21654 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21655 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21657 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21658 (__EPOLL_PACKED): Define to empty if not defined by
21660 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21664 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21666 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21667 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21668 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21669 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21671 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21675 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21677 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21679 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21680 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21681 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21684 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
21686 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21687 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21689 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
21691 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21692 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21694 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21696 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21699 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
21701 * math/w_acos.c: Use non-signaling floating-point comparisons.
21702 * math/w_acosf.c: Likewise.
21703 * math/w_acosh.c: Likewise.
21704 * math/w_acoshf.c: Likewise.
21705 * math/w_acoshl.c: Likewise.
21706 * math/w_acosl.c: Likewise.
21707 * math/w_asin.c: Likewise.
21708 * math/w_asinf.c: Likewise.
21709 * math/w_asinl.c: Likewise.
21710 * math/w_atanh.c: Likewise.
21711 * math/w_atanhf.c: Likewise.
21712 * math/w_atanhl.c: Likewise.
21713 * math/w_exp2.c: Likewise.
21714 * math/w_exp2f.c: Likewise.
21715 * math/w_exp2l.c: Likewise.
21716 * math/w_j0.c: Likewise.
21717 * math/w_j0f.c: Likewise.
21718 * math/w_j0l.c: Likewise.
21719 * math/w_j1.c: Likewise.
21720 * math/w_j1f.c: Likewise.
21721 * math/w_j1l.c: Likewise.
21722 * math/w_jn.c: Likewise.
21723 * math/w_jnf.c: Likewise.
21724 * math/w_log.c: Likewise.
21725 * math/w_log10.c: Likewise.
21726 * math/w_log10f.c: Likewise.
21727 * math/w_log10l.c: Likewise.
21728 * math/w_log2.c: Likewise.
21729 * math/w_log2f.c: Likewise.
21730 * math/w_log2l.c: Likewise.
21731 * math/w_logf.c: Likewise.
21732 * math/w_logl.c: Likewise.
21733 * math/w_sqrt.c: Likewise.
21734 * math/w_sqrtf.c: Likewise.
21735 * math/w_sqrtl.c: Likewise.
21736 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21737 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21738 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21739 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21740 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21742 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21745 * manual/string.texi (strnlen): Use correct parameter name in
21746 equivalent expression.
21748 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21751 * manual/users.texi (seteuid): Consistently use neweuid for
21754 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21757 * manual/nss.texi (Services in the NSS configuration): Correct
21758 list of services in example configuration file.
21760 2012-02-19 Nick Bowler <nbowler@draconx.ca>
21763 * manual/arith.texi: Remove statements about negative zero
21764 behaving identically to zero.
21766 2012-02-18 Joseph Myers <joseph@codesourcery.com>
21769 * manual/install.texi: Do not document upgrading from libc5.
21771 2012-02-18 Joseph Myers <joseph@codesourcery.com>
21774 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21776 2012-02-18 David S. Miller <davem@davemloft.net>
21778 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21779 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21780 %o7 across the call.
21781 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21784 SETUP_PIC_REG_LEAF.
21785 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21786 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21787 * sysdeps/sparc/crtn.S: Likewise.
21789 2012-02-17 Ulrich Drepper <drepper@gmail.com>
21791 * aout/Makefile: Remove.
21793 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21796 * manual/examples/argp-ex1.c (main): Format definition in GNU
21798 * manual/examples/argp-ex2.c (main): Likewise.
21799 * manual/examples/argp-ex3.c (main): Likewise.
21800 * manual/examples/argp-ex4.c (main): Likewise.
21801 * manual/examples/longopt.c (main): Use new-style prototype
21803 * manual/examples/strncat.c (main): Specify return type and use
21804 (void) for arguments.
21805 * manual/examples/subopt.c (main): Use char **argv argument.
21807 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21810 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21813 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21816 * manual/string.texi (strchr): Change when strchrnul is
21819 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21822 * manual/locale.texi (setlocale): Document LOCPATH.
21824 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21827 * manual/process.texi (execle): Move @dots{} before last argument.
21829 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
21832 * manual/charset.texi (Generic Charset Conversion): Fix typo
21833 (LC_TYPE -> LC_CTYPE).
21835 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21838 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21839 (scalbnf): Likewise.
21840 (scalbnl): Likewise.
21841 (scalbln): Likewise.
21842 (scalblnf): Likewise.
21843 (scalblnl): Likewise.
21844 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21845 (vwarnx): Likewise.
21848 * manual/filesys.texi (telldir): Use braces around return type.
21849 * manual/llio.texi (mmap): Add space after comma.
21850 (mmap64): Likewise.
21851 * manual/math.texi (jn): Use @var{} on parameter names.
21857 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21859 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21861 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21862 (sched_get_priority_max): Likewise.
21863 * manual/signal.texi (sigvec): Add space after comma.
21864 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21866 (if_indextoname): Likewise.
21867 (if_freenameindex): Likewise.
21868 (sendto): Use ',' instead of '.' in prototype.
21869 * manual/startup.texi (syscall): Use @dots{} instead of literal
21871 * manual/stdio.texi (__fpending): Separate initial words of
21872 paragraph from @deftypefun line.
21873 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21875 (vsyslog): Use @var{} on parameter names.
21876 * manual/terminal.texi (stty): Use @var{} on parameter names.
21877 * manual/users.texi (getutmp): Use @var{} on parameter names.
21878 (getutmpx): Likewise.
21880 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21883 * manual/stdio.texi (fopen): Fix typos in description of
21886 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21889 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21890 get clock_id definition.
21892 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
21895 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21896 (madvise): Cast every argument to void on its own.
21898 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21901 * manual/startup.texi (Exit Status): Fix typo.
21903 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21906 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21907 * manual/examples/argp-ex2.c: Likewise.
21908 * manual/examples/argp-ex3.c: Likewise.
21910 2012-02-16 Richard Henderson <rth@redhat.com>
21912 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21913 * sysdeps/s390/s390-32/initfini.c: Remove.
21914 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21915 * sysdeps/s390/s390-64/initfini.c: Remove.
21917 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21919 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21920 compiler output for sysdeps/generic/initfini.c.
21921 * sysdeps/sh/elf/initfini.c: Remove file.
21923 2012-02-16 David S. Miller <davem@davemloft.net>
21926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21928 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21929 * sysdeps/sparc/crti.S: New file.
21930 * sysdeps/sparc/crtn.S: New file.
21931 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21932 * sysdeps/sparc/sparc64/Makefile: Likewise.
21934 2012-02-15 Mike Frysinger <vapier@gentoo.org>
21937 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21939 2012-02-15 Roland McGrath <roland@hack.frob.com>
21942 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21944 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21945 (write, read, close): Likewise.
21946 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21948 2012-02-15 Joseph Myers <joseph@codesourcery.com>
21950 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21951 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21952 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21953 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21955 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21959 2012-02-14 Marek Polacek <polacek@redhat.com>
21961 * sysdeps/x86_64/crti.S: New file.
21962 * sysdeps/x86_64/crtn.S: New file.
21963 * sysdeps/x86_64/elf/initfini.c: Remove file.
21965 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21967 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21968 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21969 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21970 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21972 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21976 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21978 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21979 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21980 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21981 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21983 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21987 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21989 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21990 __feraiseexcept instead of feraiseexcept.
21992 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21993 nanosleep invocations.
21994 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21995 strings, and add error checking for a nanosleep invocations.
21997 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21999 Replace FSF snail mail address with URLs, as per GNU coding standards.
22000 Most of the snail mail addresses were wrong anyway, and omitting
22001 them makes the source code easier to maintain. Almost all of the
22002 changes are to license notices and to locale LC_IDENTIFICATION
22003 addresses, except for this one:
22004 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22005 not its snail mail address.
22007 2012-02-09 Richard Henderson <rth@twiddle.net>
22009 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22010 of kernel-features.h.
22012 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22014 2012-02-08 Marek Polacek <polacek@redhat.com>
22016 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22017 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22018 * sysdeps/gnu/_G_config.h: Likewise.
22019 * sysdeps/generic/_G_config.h: Likewise.
22021 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22023 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22027 * sysdeps/powerpc/powerpc32/crti.S: New file.
22028 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22029 * sysdeps/powerpc/powerpc64/crti.S: New file.
22030 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22032 * Makeconfig (have-initfini): Don't set.
22033 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22034 * configure.in (nopic_initfini): Don't substitute.
22035 * config.h.in (HAVE_INITFINI): Don't #undef.
22036 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22037 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22039 2012-02-08 Joseph Myers <joseph@codesourcery.com>
22041 Support crti.S and crtn.S provided directly by architectures.
22042 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22043 [crti.S in sysdirs] (omit-deps): Likewise.
22044 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22045 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22046 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22047 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22048 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22049 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22050 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22051 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22052 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22053 compiler output for sysdeps/generic/initfini.c.
22054 * sysdeps/i386/elf/Makefile: Remove file.
22055 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22057 2012-02-07 Marek Polacek <polacek@redhat.com>
22059 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22060 * sysdeps/gnu/_G_config.h: Likewise.
22061 * sysdeps/mach/hurd/_G_config.h: Likewise.
22063 2012-02-07 Marek Polacek <polacek@redhat.com>
22065 * math/Makefile (tests): Add tst-CMPLX2.
22066 * math/tst-CMPLX2.c: New file.
22068 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22070 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22072 * math/libm-test.inc (jn_test): Add missing L suffix.
22074 2012-02-06 Marek Polacek <polacek@redhat.com>
22076 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22077 * sysdeps/i386/fpu/e_powf.S: Likewise.
22078 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22079 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22080 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22081 * sysdeps/i386/fpu/e_pow.S: Likewise.
22082 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22083 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22084 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22085 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22086 * sysdeps/i386/fpu/e_log2.S: Likewise.
22087 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22088 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22089 * sysdeps/i386/fpu/e_powl.S: Likewise.
22090 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22091 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22092 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22093 * sysdeps/i386/fpu/e_logl.S: Likewise.
22094 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22095 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22096 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22097 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22098 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22099 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22100 * sysdeps/i386/fpu/e_log.S: Likewise.
22101 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22102 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22103 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22104 * sysdeps/i386/fpu/e_logf.S: Likewise.
22105 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22106 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22107 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22108 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22109 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22110 * sysdeps/i386/fpu/e_log10.S: Likewise.
22111 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22112 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22113 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22114 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22115 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22116 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22117 * sysdeps/i386/asm-syntax.h: Likewise.
22118 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22119 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22120 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22121 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22122 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22123 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22124 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22125 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22126 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22127 * sysdeps/powerpc/sysdep.h: Likewise.
22128 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22129 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22131 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22134 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22136 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22138 * sysdeps/i386/sysdep.h: Include <features.h>.
22139 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22142 2012-02-05 Joseph Myers <joseph@codesourcery.com>
22144 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22146 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22149 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22151 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22152 (SETUP_PIC_REG): Use GET_PC_THUNK.
22153 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22156 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22158 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22159 for non-PIC compilation.
22160 (SETUP_PIC_REG): Add .p2align directive.
22161 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22162 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22163 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22164 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22165 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22166 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22167 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22168 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22169 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22170 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22171 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22172 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22173 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22174 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22175 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22176 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22177 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22178 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22179 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22180 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22181 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22182 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22183 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22184 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22185 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22186 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22187 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22188 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22189 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22190 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22191 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22192 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22193 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22194 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22195 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22196 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22197 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22198 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22199 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22200 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22201 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22203 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22205 * math/tst-CMPLX.c: Include <stdio.h>.
22207 2012-01-31 Joseph Myers <joseph@codesourcery.com>
22209 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22211 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22212 * sysdeps/sparc/bits/mathdef.h: Likewise.
22214 2012-01-31 Marek Polacek <polacek@redhat.com>
22216 * libio/libio.h: Don't define _PARAMS.
22217 * locale/programs/config.h: Don't define PARAMS.
22218 * stdlib/strtol_l.c: Likewise.
22219 (__strtol_l): Remove PARAMS from the prototype.
22221 2012-01-31 Ulrich Drepper <drepper@gmail.com>
22223 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22224 names. Just use the correct names. Remove unnecessary wrapper
22226 * malloc/arena.c: Likewise.
22227 * malloc/hooks.c: Likewise.
22229 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22230 ARENA_TEST says not to. Simplify test for creation of a new arena.
22231 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22233 2012-01-30 Ulrich Drepper <drepper@gmail.com>
22235 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22237 (update_get_addr): New function.
22238 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22239 GET_ADDR_MODULE parameter.
22241 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22243 * crypt/cert.c: Remove __STDC__ conditionals.
22244 * crypt/crypt-entry.c: Likewise.
22245 * crypt/crypt_util.c: Likewise.
22246 * libio/filedoalloc.c: Likewise.
22247 * libio/fileops.c: Likewise.
22248 * libio/genops.c: Likewise.
22249 * libio/iofclose.c: Likewise.
22250 * libio/iofdopen.c: Likewise.
22251 * libio/iofopen.c: Likewise.
22252 * libio/iofopen64.c: Likewise.
22253 * libio/iogetdelim.c: Likewise.
22254 * libio/iopopen.c: Likewise.
22255 * libio/obprintf.c: Likewise.
22256 * libio/oldfileops.c: Likewise.
22257 * libio/oldiofclose.c: Likewise.
22258 * libio/oldiofdopen.c: Likewise.
22259 * libio/oldiofopen.c: Likewise.
22260 * libio/oldiopopen.c: Likewise.
22261 * libio/wfiledoalloc.c: Likewise.
22262 * libio/wgenops.c: Likewise.
22263 * locale/programs/xmalloc.c: Likewise.
22264 * misc/syslog.c: Likewise.
22265 * stdio-common/xbug.c: Likewise.
22266 * string/memchr.c: Likewise.
22267 * string/memcmp.c: Likewise.
22268 * string/memrchr.c: Likewise.
22269 * string/rawmemchr.c: Likewise.
22270 * sysdeps/posix/getcwd.c: Likewise.
22271 * time/strftime_l.c: Likewise.
22273 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22275 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
22276 * config.make.in (config-cflags-sse2avx): Define.
22277 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22280 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22282 * scripts/config.guess: Update from upstream config git repository.
22283 * scripts/config.sub: Likewise.
22285 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22287 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22289 (R_TILEPRO_*, R_TILEGX_*): New macros.
22291 * scripts/firstversions.awk: Fix bug in version range handling.
22293 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22295 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22297 * include/sys/epoll.h: New file.
22298 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22301 2012-01-28 Ulrich Drepper <drepper@gmail.com>
22303 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22304 Avoid unnecessary __WORDSIZE == 64 test.
22305 (fmaxf): Use VEX format if possible.
22310 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22311 * math/math_private.h: Remove libc_fegetround* and
22313 * sysdeps/i386/configure.in: Check for -msse2avx.
22314 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22315 also if SSE2AVX is defined.
22316 Remove libc_fegetround* and libc_fesetround*.
22317 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22318 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22319 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22321 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22322 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22323 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22324 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22325 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22327 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22329 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22331 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22333 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22335 2012-01-27 Ulrich Drepper <drepper@gmail.com>
22338 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22340 * Makeconfig (libm): Define.
22341 * elf/Makefile: Add rules to build and run tst-relsort1.
22342 * elf/tst-relsort1.c: New file.
22343 * elf/tst-relsort1mod1.c: New file.
22344 * elf/tst-relsort1mod2.c: New file.
22346 2012-01-27 Joseph Myers <joseph@codesourcery.com>
22348 * math/s_ldexp.c: Remove __STDC__ conditionals.
22349 * math/s_ldexpf.c: Likewise.
22350 * math/s_ldexpl.c: Likewise.
22351 * math/s_nextafter.c: Likewise.
22352 * math/s_nexttowardf.c: Likewise.
22353 * math/s_significand.c: Likewise.
22354 * math/s_significandf.c: Likewise.
22355 * math/s_significandl.c: Likewise.
22356 * math/w_jnl.c: Likewise.
22357 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22358 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22359 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22360 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22361 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22363 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22365 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22366 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22367 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22368 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22369 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22370 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22371 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22372 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22373 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22374 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22375 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22376 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22377 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22378 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22379 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22380 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22381 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22382 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22383 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22384 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22385 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22386 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22387 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22388 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22389 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22390 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22391 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22392 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22393 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22394 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22395 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22396 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22397 * sysdeps/ieee754/k_standard.c: Likewise.
22398 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22399 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22400 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22401 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22402 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22403 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22404 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22405 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22406 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22407 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22408 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22409 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22410 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22411 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22412 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22414 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22415 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22416 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22417 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22418 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22419 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22420 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22421 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22422 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22423 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22424 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22425 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22426 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22427 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22428 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22429 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
22430 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22431 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22432 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22434 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
22435 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22436 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22437 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
22438 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
22439 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22440 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22441 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
22442 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22443 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22444 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22445 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22446 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22447 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22448 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
22449 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22450 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22451 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22452 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22453 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22454 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
22455 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22456 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22457 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22458 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22459 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22460 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22461 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22463 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22464 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22465 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22466 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22467 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22469 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22470 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22471 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22472 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22473 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22474 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22475 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22476 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22477 * sysdeps/ieee754/s_matherr.c: Likewise.
22478 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22479 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22480 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22481 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22483 2012-01-26 Joseph Myers <joseph@codesourcery.com>
22485 * crypt/md5.h: Remove __STDC__ conditionals.
22486 * libio/libioP.h: Likewise.
22487 * locale/programs/config.h: Likewise.
22488 * sysdeps/generic/sysdep.h: Likewise.
22489 * sysdeps/i386/asm-syntax.h: Likewise.
22490 * sysdeps/s390/asm-syntax.h: Likewise.
22491 * sysdeps/unix/sysdep.h: Likewise.
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22495 2012-01-26 Joseph Myers <joseph@codesourcery.com>
22497 * libio/libio.h: Remove __STDC__ conditionals.
22498 * malloc/obstack.h: Likewise.
22499 * math/complex.h: Likewise.
22500 * math/math.h: Likewise.
22501 * sysdeps/generic/_G_config.h: Likewise.
22502 * sysdeps/gnu/_G_config.h: Likewise.
22503 * sysdeps/mach/hurd/_G_config.h: Likewise.
22504 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22505 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22506 * sysdeps/sparc/bits/mathdef.h: Likewise.
22508 2012-01-26 Ulrich Drepper <drepper@gmail.com>
22511 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
22512 Clean up HAS_* macros.
22513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
22514 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
22516 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
22518 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22519 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22520 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22521 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22522 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22524 2012-01-25 Joseph Myers <joseph@codesourcery.com>
22526 * elf/tst-unique3.cc (gets): Remove declaration.
22527 * elf/tst-unique3lib.cc (gets): Likewise.
22528 * elf/tst-unique3lib2.cc (gets): Likewise.
22529 * elf/tst-unique4.cc (gets): Likewise.
22531 2012-01-24 Ulrich Drepper <drepper@gmail.com>
22533 * include/stdio.h: Add C++ protection. Add gets declarations and
22535 * debug/tst-chk1.c: Don't declare gets here.
22536 * stdio-common/tst-gets.c: Likewise.
22538 2012-01-24 Joseph Myers <joseph@codesourcery.com>
22540 * posix/glob: Remove directory.
22542 2012-01-24 Joseph Myers <joseph@codesourcery.com>
22544 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
22546 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
22548 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
22549 of the non-standard EPFNOSUPPORT.
22551 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
22553 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
22554 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
22555 ANYWHERE set to 1 only on KERN_NO_SPACE error.
22557 2012-01-21 Ulrich Drepper <drepper@gmail.com>
22559 * wcsmbs/uchar.h: Test __STDC_VERSION__.
22561 2012-01-20 Ulrich Drepper <drepper@gmail.com>
22563 * nscd/aicache.c (addhstaiX): Do not cache negative results of
22565 * nscd/grpcache.c (cache_addgr): Likewise.
22566 * nscd/hstcache.c (cache_addhst): Likewise.
22567 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22568 * nscd/pwdcache.c (cache_addpw): Likewise.
22569 * nscd/servicescache.c (cache_addserv): Likewise.
22571 2012-01-16 Ulrich Drepper <drepper@gmail.com>
22573 * malloc/malloc.c: Various cleanups.
22574 * malloc/hooks.c: Likewise.
22576 * stdlib/Makefile (tests): Add bug-fmtmsg1.
22577 * stdlib/bug-fmtmsg1.c: New file.
22579 * stdlib/fmtmsg.c (init): Add missing unlock.
22580 Patch by Peng Haitao <penght@cn.fujitsu.com>.
22582 2012-01-12 Marek Polacek <polacek@redhat.com>
22584 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
22587 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22589 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
22590 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
22591 macro to ensure uniqueness of label name.
22592 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22593 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22595 2012-01-11 Ulrich Drepper <drepper@gmail.com>
22597 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
22599 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
22600 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22601 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22602 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
22604 2012-01-10 Ulrich Drepper <drepper@gmail.com>
22606 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
22608 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
22609 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22610 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22612 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
22614 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
22615 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22616 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
22619 * math/bits/math-finite.h: Add ldexp support.
22621 2012-01-10 Marek Polacek <polacek@redhat.com>
22623 * locale/programs/localedef.h (show_archive_content): Add noreturn
22626 2012-01-09 Ulrich Drepper <drepper@gmail.com>
22628 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
22630 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22632 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
22634 * io/Makefile (headers): Add bits/poll2.h.
22636 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
22638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
22639 typo #include statement.
22641 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22643 * include/sys/cdefs.h: Define __attribute_alloc_size.
22644 * catgets/gencat.c: Add alloc_size attribute and apply consistently
22645 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22646 * elf/pldd.c: Likewise.
22647 * iconv/iconv_charmap.c: Likewise.
22648 * iconv/iconvconfig.c: Likewise.
22649 * iconv/strtab.c: Likewise.
22650 * locale/programs/locale.c: Likewise.
22651 * locale/programs/localedef.h: Likewise.
22652 * locale/programs/simple-hash.c: Likewise.
22653 * nscd/nscd.h: Likewise.
22654 * nss/makedb.c: Likewise.
22655 * sysdeps/generic/ldconfig.h: Likewise.
22656 * locale/programs/localedef.c: Remove xmalloc prototype.
22657 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22659 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22661 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22664 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22666 * math/Makefile (tests): Add tst-CMPLX.
22667 * math/tst-CMPLX.c: New file.
22669 * math/complex.h (CMPLXL): Fix typo.
22671 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22672 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22674 * debug/tst-chk1.c: Add poll and ppoll tests.
22675 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22676 * include/sys/poll.h: Add hidden proto for ppoll.
22677 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22678 * sysdeps/mach/hurd/ppoll.c: Likewise.
22679 * io/ppoll.c: Likewise.
22680 * debug/poll_chk.c: New file.
22681 * debug/ppoll_chk.c: New file.
22682 * include/bits/poll2.h: New file.
22683 * io/bits/poll2.h: New file.
22686 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22688 * configure.in: static is always set to yes. Remove.
22689 * config.make.in: Don't set build-static.
22690 * Makeconfig: Remove use of build-static.
22691 * dlfcn/Makefile: Likewise.
22692 * elf/Makefile: Likewise.
22693 * math/Makefile: Likewise.
22694 * misc/Makefile: Likewise.
22695 * nptl/Makefile: Likewise.
22696 * sysdeps/mach/hurd/Makefile: Likewise.
22698 * configure.in: PWD_P is not used anymore.
22699 * config.make.in: Remove PWD_P entry.
22701 * configure.in: Remove last remnants of RANLIB.
22702 No need to check for signed size_t anymore.
22703 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22705 Remove __builtin_expect test because we require at least gcc 3.4.
22706 * aclocal.m4: Likewise.
22708 * wcsmbs/mbrtoc16.c: Implement using towc function.
22709 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22710 * wcsmbs/wcsmbsload.c: Likewise.
22711 * iconv/gconv_simple.c: Likewise.
22712 * iconv/gconv_int.h: Likewise.
22713 * iconv/gconv_builtin.h: Likewise.
22714 * iconv/iconv_prog.c: Remove CHAR16 handling.
22716 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22718 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22720 * configure.in: Remove --with-elf and --enable-bounded options.
22721 Dont set base_machine for ia64. More non-ELF conditions removed.
22722 Remove testing and setting of leading underscore information.
22723 * config.make.in (build-bounded): Set to no.
22724 * config.h.in: Remove NO_UNDERSCORES entry.
22725 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
22727 * csu/start.c: Remove !NO_UNDERSCORE code.
22728 * locale/localeinfo.h: Likewise.
22729 * sysdeps/generic/machine-gmon.h: Likewise.
22730 * sysdeps/generic/sysdep.h: Likewise.
22731 * sysdeps/i386/sysdep.h: Likewise.
22732 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22733 * sysdeps/mach/sysdep.h: Likewise.
22734 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22735 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22736 * sysdeps/sh/sysdep.h: Likewise.
22737 * sysdeps/sparc/sparc32/alloca.S: Likewise.
22738 * sysdeps/unix/i386/sysdep.S: Likewise.
22739 * sysdeps/unix/sparc/start.c: Likewise.
22740 * sysdeps/unix/sparc/sysdep.S: Likewise.
22741 * sysdeps/unix/sparc/sysdep.h: Likewise.
22742 * sysdeps/unix/start.c: Likewise.
22743 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22744 * sysdeps/x86_64/sysdep.h: Likewise.
22746 2012-01-07 Ulrich Drepper <drepper@gmail.com>
22749 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22751 * argp/argp-fmtstream.h: Use const instead __const.
22752 * argp/argp.h: Likewise.
22753 * assert/assert.h: Likewise.
22754 * bits/fenv.h: Likewise.
22755 * bits/sched.h: Likewise.
22756 * bits/sigset.h: Likewise.
22757 * bits/sigthread.h: Likewise.
22758 * catgets/nl_types.h: Likewise.
22759 * conform/data/pthread.h-data: Likewise.
22760 * crypt/crypt-private.h: Likewise.
22761 * crypt/crypt.h: Likewise.
22762 * crypt/crypt_util.c: Likewise.
22763 * ctype/ctype.h: Likewise.
22764 * debug/execinfo.h: Likewise.
22765 * debug/mbsnrtowcs_chk.c: Likewise.
22766 * debug/mbsrtowcs_chk.c: Likewise.
22767 * debug/wcsnrtombs_chk.c: Likewise.
22768 * debug/wcsrtombs_chk.c: Likewise.
22769 * debug/wcstombs_chk.c: Likewise.
22770 * dirent/dirent.h: Likewise.
22771 * dlfcn/dlfcn.h: Likewise.
22772 * elf/neededtest4.c: Likewise.
22773 * grp/grp.h: Likewise.
22774 * gshadow/gshadow.h: Likewise.
22775 * iconv/gconv.h: Likewise.
22776 * iconv/gconv_int.h: Likewise.
22777 * iconv/gconv_simple.c: Likewise.
22778 * iconv/iconv.h: Likewise.
22779 * iconv/loop.c: Likewise.
22780 * iconv/skeleton.c: Likewise.
22781 * include/aio.h: Likewise.
22782 * include/aliases.h: Likewise.
22783 * include/argz.h: Likewise.
22784 * include/arpa/inet.h: Likewise.
22785 * include/assert.h: Likewise.
22786 * include/dirent.h: Likewise.
22787 * include/dlfcn.h: Likewise.
22788 * include/execinfo.h: Likewise.
22789 * include/fcntl.h: Likewise.
22790 * include/fenv.h: Likewise.
22791 * include/glob.h: Likewise.
22792 * include/grp.h: Likewise.
22793 * include/libintl.h: Likewise.
22794 * include/mntent.h: Likewise.
22795 * include/netdb.h: Likewise.
22796 * include/pwd.h: Likewise.
22797 * include/rpc/netdb.h: Likewise.
22798 * include/sched.h: Likewise.
22799 * include/search.h: Likewise.
22800 * include/shadow.h: Likewise.
22801 * include/signal.h: Likewise.
22802 * include/stdio.h: Likewise.
22803 * include/stdlib.h: Likewise.
22804 * include/string.h: Likewise.
22805 * include/sys/socket.h: Likewise.
22806 * include/sys/stat.h: Likewise.
22807 * include/sys/statfs.h: Likewise.
22808 * include/sys/statvfs.h: Likewise.
22809 * include/sys/syslog.h: Likewise.
22810 * include/sys/time.h: Likewise.
22811 * include/sys/uio.h: Likewise.
22812 * include/time.h: Likewise.
22813 * include/unistd.h: Likewise.
22814 * include/utmp.h: Likewise.
22815 * include/wchar.h: Likewise.
22816 * include/wctype.h: Likewise.
22817 * inet/aliases.h: Likewise.
22818 * inet/arpa/inet.h: Likewise.
22819 * inet/netinet/ether.h: Likewise.
22820 * inet/netinet/in.h: Likewise.
22821 * intl/libintl.h: Likewise.
22822 * io/bits/fcntl2.h: Likewise.
22823 * io/fcntl.h: Likewise.
22824 * io/ftw.h: Likewise.
22825 * io/sys/poll.h: Likewise.
22826 * io/sys/stat.h: Likewise.
22827 * io/sys/statfs.h: Likewise.
22828 * io/sys/statvfs.h: Likewise.
22829 * io/utime.h: Likewise.
22830 * libio/bits/stdio.h: Likewise.
22831 * libio/bits/stdio2.h: Likewise.
22832 * libio/libio.h: Likewise.
22833 * libio/libioP.h: Likewise.
22834 * libio/stdio.h: Likewise.
22835 * locale/lc-ctype.c: Likewise.
22836 * locale/locale.h: Likewise.
22837 * login/utmp.h: Likewise.
22838 * malloc/arena.c: Likewise.
22839 * malloc/malloc.c: Likewise.
22840 * malloc/malloc.h: Likewise.
22841 * malloc/mcheck.c: Likewise.
22842 * malloc/mtrace.c: Likewise.
22843 * math/bits/mathcalls.h: Likewise.
22844 * math/fenv.h: Likewise.
22845 * math/math_private.h: Likewise.
22846 * misc/bits/error.h: Likewise.
22847 * misc/bits/syslog.h: Likewise.
22848 * misc/err.h: Likewise.
22849 * misc/error.h: Likewise.
22850 * misc/fstab.h: Likewise.
22851 * misc/mntent.h: Likewise.
22852 * misc/regexp.h: Likewise.
22853 * misc/search.h: Likewise.
22854 * misc/sgtty.h: Likewise.
22855 * misc/sys/mman.h: Likewise.
22856 * misc/sys/syslog.h: Likewise.
22857 * misc/sys/uio.h: Likewise.
22858 * misc/sys/xattr.h: Likewise.
22859 * misc/ttyent.h: Likewise.
22860 * nis/rpcsvc/ypclnt.h: Likewise.
22861 * nss/nss.h: Likewise.
22862 * posix/bits/unistd.h: Likewise.
22863 * posix/fnmatch.h: Likewise.
22864 * posix/glob.h: Likewise.
22865 * posix/sched.h: Likewise.
22866 * posix/spawn.h: Likewise.
22867 * posix/sys/wait.h: Likewise.
22868 * posix/unistd.h: Likewise.
22869 * posix/wordexp.h: Likewise.
22870 * pwd/pwd.h: Likewise.
22871 * resolv/netdb.h: Likewise.
22872 * resource/sys/resource.h: Likewise.
22873 * rt/aio.h: Likewise.
22874 * rt/bits/mqueue2.h: Likewise.
22875 * rt/mqueue.h: Likewise.
22876 * shadow/shadow.h: Likewise.
22877 * signal/signal.h: Likewise.
22878 * socket/send.c: Likewise.
22879 * socket/sendto.c: Likewise.
22880 * socket/sys/socket.h: Likewise.
22881 * stdio-common/printf.h: Likewise.
22882 * stdlib/bits/stdlib.h: Likewise.
22883 * stdlib/fmtmsg.h: Likewise.
22884 * stdlib/monetary.h: Likewise.
22885 * stdlib/stdlib.h: Likewise.
22886 * stdlib/ucontext.h: Likewise.
22887 * streams/stropts.h: Likewise.
22888 * string/argz.h: Likewise.
22889 * string/bits/string2.h: Likewise.
22890 * string/string.h: Likewise.
22891 * string/strings.h: Likewise.
22892 * sunrpc/rpc/auth.h: Likewise.
22893 * sunrpc/rpc/auth_des.h: Likewise.
22894 * sunrpc/rpc/clnt.h: Likewise.
22895 * sunrpc/rpc/netdb.h: Likewise.
22896 * sunrpc/rpc/pmap_clnt.h: Likewise.
22897 * sunrpc/rpc/xdr.h: Likewise.
22898 * sysdeps/generic/inttypes.h: Likewise.
22899 * sysdeps/generic/net/if.h: Likewise.
22900 * sysdeps/generic/sys/swap.h: Likewise.
22901 * sysdeps/gnu/net/if.h: Likewise.
22902 * sysdeps/gnu/utmpx.h: Likewise.
22903 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22904 * sysdeps/i386/i486/bits/string.h: Likewise.
22905 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22906 * sysdeps/s390/bits/string.h: Likewise.
22907 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22908 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22909 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22910 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22911 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22912 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22913 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22914 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22915 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22916 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22917 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22918 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22919 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22920 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22921 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22922 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22923 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22925 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22926 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22927 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22928 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22929 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22930 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22931 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22932 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22933 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22934 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22935 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22936 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22937 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22938 * sysvipc/sys/ipc.h: Likewise.
22939 * sysvipc/sys/msg.h: Likewise.
22940 * sysvipc/sys/sem.h: Likewise.
22941 * sysvipc/sys/shm.h: Likewise.
22942 * termios/termios.h: Likewise.
22943 * time/sys/time.h: Likewise.
22944 * time/time.h: Likewise.
22945 * wcsmbs/bits/wchar2.h: Likewise.
22946 * wcsmbs/uchar.h: Likewise.
22947 * wcsmbs/wchar.h: Likewise.
22948 * wctype/wctype.h: Likewise.
22951 * Makeconfig: Remove all but ELF support including AIX support.
22952 * Makerules: Likewise.
22953 * config.h.in: Likewise.
22954 * config.make.in: Likewise.
22955 * configure: Likewise.
22956 * configure.in: Likewise.
22957 * csu/Makefile: Likewise.
22958 * csu/version.c: Likewise.
22959 * debug/Makefile: Likewise.
22960 * dlfcn/Makefile: Likewise.
22961 * elf/Makefile: Likewise.
22962 * extra-lib.mk: Likewise.
22963 * iconv/Makefile: Likewise.
22964 * include/libc-symbols.h: Likewise.
22965 * include/shlib-compat.h: Likewise.
22966 * resolv/Makefile: Likewise.
22967 * resolv/res_libc.c: Likewise.
22968 * rt/Makefile: Likewise.
22969 * sysdeps/i386/asm-syntax.h: Likewise.
22970 * sysdeps/i386/sysdep.h: Likewise.
22971 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22972 * sysdeps/mach/sysdep.h: Likewise.
22973 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22974 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22975 * sysdeps/s390/asm-syntax.h: Likewise.
22976 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22977 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22978 * sysdeps/sh/sysdep.h: Likewise.
22979 * sysdeps/unix/sparc/sysdep.h: Likewise.
22980 * sysdeps/wordsize-32/divdi3.c: Likewise.
22981 * sysdeps/x86_64/sysdep.h: Likewise.
22983 * argp/Versions: Remove _argp_unlock_xxx.
22986 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22987 * abilist/libBrokenLocale.abilist: Likewise.
22988 * abilist/libanl.abilist: Likewise.
22989 * abilist/libc.abilist: Likewise.
22990 * abilist/libcrypt.abilist: Likewise.
22991 * abilist/libdl.abilist: Likewise.
22992 * abilist/libm.abilist: Likewise.
22993 * abilist/libnsl.abilist: Likewise.
22994 * abilist/libpthread.abilist: Likewise.
22995 * abilist/libresolv.abilist: Likewise.
22996 * abilist/librt.abilist: Likewise.
22997 * abilist/libthread_db.abilist: Likewise.
22998 * abilist/libutil.abilist: Likewise.
22999 * abilist/libnss_db.abilist: New file.
23001 * scripts/abilist.awk: Add support for indirect functions.
23003 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23005 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23007 * shlib-versions: Remove entries for ports architectures.
23009 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23011 * elf/stackguard-macros.h: Remove support for IA-64.
23012 * elf/tst-auditmod1.c: Likewise.
23013 * sysdeps/generic/ldsodefs.h: Likewise.
23015 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23016 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23020 * configure.in: Remove --enable-omitfp support.
23022 * config.make.in: Likewise.
23023 * Makeconfig: Likewise.
23024 * manual/install.texi: Likewise.
23026 In case anyone cares, the IA-64 architecture could move to ports.
23027 * sysdeps/ia64/*: Removed.
23028 * sysdeps/unix/sysv/linux/ia64/*: Removed.
23029 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
23032 * configure.in: Remove entries for unsupported architectures.
23035 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23036 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23038 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23039 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23040 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23041 fall back to using wcrtomb.
23042 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23043 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23045 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23046 * wcsmbs/tst-c16c32-1.c: New file.
23048 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23051 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23053 * elf/tst-unique3.cc: Add explicit declaration of gets.
23054 * elf/tst-unique3lib.cc: Likewise.
23055 * elf/tst-unique3lib2.cc: Likewise.
23056 * elf/tst-unique4.cc: Likewise.
23058 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23060 2012-01-06 Joseph Myers <joseph@codesourcery.com>
23063 * assert/assert.h (static_assert): Don't define for C++.
23064 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23065 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23067 2012-01-03 Ulrich Drepper <drepper@gmail.com>
23069 * iconv/loop.c (single loop): Fix assertion in storing of
23072 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23074 2012-01-01 Ulrich Drepper <drepper@gmail.com>
23076 * posix/getconf.c: Update copyright year.
23077 * nss/getent.c: Likewise.
23078 * nss/makedb.c: Likewise.
23079 * iconv/iconvconfig.c: Likewise.
23080 * iconv/iconv_prog.c: Likewise.
23081 * elf/ldconfig.c: Likewise.
23082 * elf/pldd.c: Likewise.
23083 * elf/sotruss.ksh: Likewise.
23084 * catgets/gencat.c: Likewise.
23085 * csu/version.c: Likewise.
23086 * elf/ldd.bash.in: Likewise.
23087 * elf/sprof.c (print_version): Likewise.
23088 * locale/programs/locale.c: Likewise.
23089 * locale/programs/localedef.c: Likewise.
23090 * login/programs/pt_chown.c: Likewise.
23091 * nscd/nscd.c (print_version): Likewise.
23092 * debug/xtrace.sh: Likewise.
23093 * malloc/memusage.sh: Likewise.
23094 * malloc/mtrace.pl: Likewise.
23095 * debug/catchsegv.sh: Likewise.
23097 2011-12-30 Jakub Jelinek <jakub@redhat.com>
23099 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23102 2011-12-24 Ulrich Drepper <drepper@gmail.com>
23105 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23106 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23108 * iconv/gconv_int.h: Likewise.
23109 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23110 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23111 from libc for GLIBC_2.16.
23112 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23113 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23114 * wcsmbs/uchar.h: Really define mbstate_t.
23115 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23116 * wcsmbs/c16rtomb.c: New file.
23117 * wcsmbs/mbrtoc16.c: New file.
23118 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23119 for C/POSIX locale.
23120 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23121 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23123 * wcsmbs/wchar.h: Add missing __restrict.
23125 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23128 * time/Makefile (routines): Add timespec_get.
23129 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23130 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23131 timespec for ISO C11.
23132 * time/timespec_get.c: New file.
23133 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23134 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23137 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23138 * stdlib/stdlib.h: Declare aligned_alloc.
23139 * Versions.def: Add GLIBC_2.16 for libc.
23140 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23143 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23146 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
23150 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23153 * assert/assert.h (static_assert): Define.
23155 * version.h: Update for 2.16 development version.
23158 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23161 * version.h (RELEASE): Bump for 2.15 release.
23162 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23164 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23165 Patch by Marek Polacek <mpolacek@redhat.com>.
23167 * bits/byteswap.h: Protect long long constants with __extension__.
23168 * sysdeps/i386/bits/byteswap.h: Likewise.
23169 * sysdeps/ia64/bits/byteswap.h: Likewise.
23170 * sysdeps/s390/bits/byteswap.h: Likewise.
23171 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23173 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23176 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23177 destination buffer.
23178 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23180 2011-12-23 Marek Polacek <polacek@redhat.com>
23182 * elf/dl-addr.c (determine_info): Add inline keyword.
23183 * elf/tst-auditmod4b.c (check_avx): Likewise.
23184 * elf/tst-auditmod6b.c (check_avx): Likewise.
23185 * elf/tst-auditmod6c.c (check_avx): Likewise.
23186 * elf/tst-auditmod7b.c (check_avx): Likewise.
23188 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23190 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23193 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23196 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23197 processing for last bytes.
23199 2011-08-06 Bruno Haible <bruno@clisp.org>
23202 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23203 U+0385, not to U+1FEE.
23206 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23207 entry for U+00A5 U+0301.
23209 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23212 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23213 buffer for the output is too small.
23215 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23219 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23220 SSE flags if possible.
23222 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23225 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23226 processing for last bytes.
23228 2011-12-22 Joseph Myers <joseph@codesourcery.com>
23230 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23231 (syscall-list-default-options, syscall-list-default-condition)
23232 (syscall-list-includes): Define.
23233 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23234 list of ABIs and options and #if conditions for each ABI. Do not
23235 handle common syscalls between ABIs specially.
23236 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23238 (syscall-list-variants, syscall-list-32bit-options)
23239 (syscall-list-32bit-condition, syscall-list-64bit-options)
23240 (syscall-list-64bit-condition): Define.
23241 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23242 (syscall-list-variants, syscall-list-32bit-options)
23243 (syscall-list-32bit-condition, syscall-list-64bit-options)
23244 (syscall-list-64bit-condition): Define.
23245 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23247 (syscall-list-variants, syscall-list-32bit-options)
23248 (syscall-list-32bit-condition, syscall-list-64bit-options)
23249 (syscall-list-64bit-condition): Define.
23250 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23252 (syscall-list-variants, syscall-list-32bit-options)
23253 (syscall-list-32bit-condition, syscall-list-64bit-options)
23254 (syscall-list-64bit-condition): Define.
23256 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23258 * locale/iso-639.def: Add brx entry.
23261 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23262 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23264 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23265 __feraiseexcept_renamed.
23267 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23270 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23271 EPOLLET with unsigned values.
23272 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23273 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23275 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23276 to large cancellation.
23277 * math/s_cacoshf.c: Likewise.
23278 * math/s_cacoshl.c: Likewise.
23280 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23284 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23285 * math/s_cacoshf.c: Likewise.
23286 * math/s_cacoshl.c: Likewise.
23288 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23291 * iconv/gconv.h: Define __GCONV_SWAP.
23292 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23293 * iconvdata/utf-16.c: Likewise.
23294 * iconvdata/utf-32.c: Likewise.
23296 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23299 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23300 numerator after shifting it by one limb.
23302 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23304 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23305 under [__USE_EXTERN_INLINES].
23307 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23310 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23312 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23314 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23315 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23317 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23318 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23319 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23320 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23321 for strncasecmp/strncasecmp_l compilation.
23322 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23323 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23325 2011-12-08 Marek Polacek <mpolacek@redhat.com>
23328 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23331 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23334 * time/tzfile.c (__tzfile_read): Check values from file header.
23336 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23338 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23339 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23340 * powerpc/powerpc32/dl-start.S: Likewise.
23341 * powerpc/powerpc32/elf/start.S: Likewise.
23342 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23343 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23344 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23345 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23346 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23347 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23348 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23349 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23350 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23351 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23352 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23353 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23354 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23355 * powerpc/powerpc32/memset.S: Likewise.
23356 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23357 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23358 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23359 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23360 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23361 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23362 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23363 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23364 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23365 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23366 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23367 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23368 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23370 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23372 * math/libm-test.inc: Added more nearbyint tests.
23373 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23374 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23375 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23376 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23378 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23380 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23383 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23385 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23386 Add wcscpy-ssse3 wcscpy-c.
23387 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23388 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23389 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23390 * sysdeps/x86_64/wcschr.S: New file.
23391 * sysdeps/x86_64/wcsrchr.S: New file.
23392 * string/test-strcmp.c: Remove checking of wcscmp function for
23394 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23395 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23396 wcsrchr-sse2 wcsrchr-c.
23397 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23398 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23399 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23400 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23401 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23402 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23403 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23404 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23405 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23406 * wcsmbc/wcschr.c (WCSCHR): New macro.
23408 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23410 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23411 * wcsmbs/test-wcsrchr.c: New file.
23412 * string/test-strrchr.c: Add wcsrchr support.
23414 * wcsmbs/test-wcscpy.c: New file.
23415 * string/test-strcpy.c: Add wcscpy support.
23418 2011-12-10 Ulrich Drepper <drepper@gmail.com>
23420 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
23423 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
23426 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
23428 2011-12-04 Ulrich Drepper <drepper@gmail.com>
23430 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
23431 Minor optimizations.
23433 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
23434 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
23435 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23437 2011-12-03 Ulrich Drepper <drepper@gmail.com>
23439 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
23440 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
23441 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
23442 for gcc to avoid warnings.
23443 * inet/Makefile (tests): Add tst-checks.
23444 * inet/tst-checks.c: New file.
23446 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
23449 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
23452 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
23453 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
23455 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
23457 2011-12-02 Ulrich Drepper <drepper@gmail.com>
23459 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
23462 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
23464 2011-11-29 Joseph Myers <joseph@codesourcery.com>
23466 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
23467 conditional on GCC version.
23468 (__arch_compare_and_exchange_val_8_acq)
23469 (__arch_compare_and_exchange_val_16_acq)
23470 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
23471 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
23472 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
23474 2011-12-02 Joseph Myers <joseph@codesourcery.com>
23476 * sysdeps/sh/backtrace.c: New file.
23478 2011-12-02 Andreas Schwab <schwab@redhat.com>
23480 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
23483 2011-12-01 Andreas Schwab <schwab@redhat.com>
23485 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
23486 falling back to utime.
23488 2011-11-30 Andreas Schwab <schwab@redhat.com>
23490 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
23491 expectations for float.
23493 2011-11-29 Andreas Schwab <schwab@redhat.com>
23495 * locale/weight.h (findidx): Add parameter len.
23496 * locale/weightwc.h (findidx): Likewise.
23497 * posix/fnmatch_loop.c (FCT): Adjust caller.
23498 * posix/regcomp.c (build_equiv_class): Likewise.
23499 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
23500 * posix/regexec.c (check_node_accept_bytes): Likewise.
23501 * string/strcoll_l.c (STRCOLL): Likewise.
23502 * string/strxfrm_l.c (STRXFRM): Likewise.
23504 2011-11-17 Ulrich Drepper <drepper@gmail.com>
23506 * Makefile.in: Remove CVSOPT handling.
23507 * configure.in: Remove use of AC_REVISION.
23508 * iconvdata/Makefile (distribute): No need to filter out CVS.
23509 * scripts/list-sources.sh: Remove CVS, subversion and monotone
23512 2011-11-16 Andreas Schwab <schwab@redhat.com>
23514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
23515 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
23516 [USE_AS_STRNCASECMP_L]: Likewise.
23517 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
23518 NO_TLS_DIRECT_SEG_REFS.
23519 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
23520 Fix argument offsets for non-PIC.
23521 [USE_AS_STRNCASECMP_L]: Likewise.
23522 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
23523 NO_TLS_DIRECT_SEG_REFS.
23525 2011-11-15 Ulrich Drepper <drepper@gmail.com>
23527 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
23529 * locale/loadlocale.c (_nl_load_locale): Likewise.
23531 2011-11-15 Andreas Schwab <schwab@redhat.com>
23533 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
23534 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
23535 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
23536 (SYSCALL_GETTIME): Set errno on error.
23538 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
23539 count references to noai6ai_cached.
23541 2011-11-15 Ulrich Drepper <drepper@gmail.com>
23543 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
23545 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
23546 FD_CLOEXEC for /proc/self/maps.
23548 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
23549 FD_CLOEXEC for /proc/meminfo.
23551 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
23554 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
23555 FD_CLOEXEC for given file.
23557 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
23559 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
23560 FD_CLOEXEC for /etc/hosts.
23561 (_gethtent): Likewise.
23563 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
23565 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
23566 cancellation and set FD_CLOEXEC for /etc/netgroup.
23568 * nss/nss_files/files-key.c (search): Don't allow cancellation when
23569 reading /etc/publickey.
23571 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
23572 allow cancellation when reading /etc/group.
23574 * nss/nss_files/files-alias.c (internal_setent): Don't allow
23576 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
23578 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
23579 when using data file.
23581 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
23583 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
23584 (write_nis_obj): Use "c" and "e" in fopen.
23586 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
23588 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
23590 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
23592 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
23594 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
23597 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
23599 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
23601 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
23603 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
23604 file parsing and set FD_CLOEXEC.
23606 2011-11-14 Ulrich Drepper <drepper@gmail.com>
23608 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
23610 2011-11-14 Andreas Schwab <schwab@redhat.com>
23612 * malloc/arena.c (arena_get2): Don't call reused_arena when
23613 _int_new_arena failed.
23615 2011-11-14 Ulrich Drepper <drepper@gmail.com>
23617 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
23618 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
23619 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
23620 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23621 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23622 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
23623 to compile strcasecmp and strncasecmp.
23624 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
23625 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
23627 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
23629 2011-11-13 Ulrich Drepper <drepper@gmail.com>
23631 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
23632 locale-defines.sym to gen-as-const-headers.
23633 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
23634 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
23635 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
23636 to compile strcasecmp and strncasecmp.
23637 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
23638 strcasecmp_l and strncasecmp_l.
23639 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
23640 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
23641 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
23642 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
23643 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
23644 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23645 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23646 * sysdeps/i386/i686/multiarch/strncase.S: New file.
23647 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23648 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23649 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23651 2011-11-12 Ulrich Drepper <drepper@gmail.com>
23653 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23654 result of SYSDEP_GETTIME_CPU to retval.
23655 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23656 parameter list to macro. Remove trailing semicolon. Adjust users.
23658 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23661 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23663 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23665 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23666 from unused variable.
23668 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23670 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23673 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23676 * sunrpc/rpc_prot.c (rejected): Fix case value.
23678 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23679 unsigned long long int to avoid warnings in shift.
23681 * posix/regex_internal.c (re_string_reconstruct): Actually use result
23683 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23686 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23687 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23688 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23690 * nis/nis_table.c (nis_list): Use variable of correct type for
23691 result of __follow_path call.
23693 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23695 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23696 of math functions ceil, trunc, floor, round, and sqrt, when
23697 avaliable on the platform.
23698 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23700 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23701 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23702 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23704 2011-10-30 Marek Polacek <mpolacek@redhat.com>
23706 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23707 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23709 2011-11-11 Roland McGrath <roland@hack.frob.com>
23711 * include/unistd.h: Fix __readlink return type.
23712 Reported by Chris Metcalf <cmetcalf@tilera.com>.
23714 2011-11-11 Ulrich Drepper <drepper@gmail.com>
23716 * stdlib/ucontext.h: Undo last change for makecontext.
23718 2011-11-11 Andreas Schwab <schwab@redhat.com>
23720 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23722 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23723 * setjmp/setjmp.h: Mark functions as non-leaf.
23724 * setjmp/bits/setjmp2.h: Likewise.
23725 * stdlib/ucontext.h: Likewise.
23727 2011-11-10 Andreas Schwab <schwab@redhat.com>
23729 * malloc/arena.c (_int_new_arena): Don't increment narenas.
23730 (reused_arena): Don't check arena limit.
23731 (arena_get2): Atomically check arena limit.
23733 2011-11-08 Ulrich Drepper <drepper@gmail.com>
23735 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23736 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23738 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23741 2011-11-07 Andreas Schwab <schwab@redhat.com>
23743 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23744 handler when locking.
23746 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23747 Fix size of allocated buffer.
23749 2011-11-04 Andreas Schwab <schwab@redhat.com>
23752 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23753 declarations for long double functions.
23754 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23756 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23758 2011-11-03 Andreas Schwab <schwab@redhat.com>
23760 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23763 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23766 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23768 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23770 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23772 * include/alloca.h (stackinfo_alloca_round): Define.
23773 (extend_alloca): Use it.
23774 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23775 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23778 * scripts/check-local-headers.sh: Ignore libaudit.h.
23780 * nscd/Makefile (extra-objs): Make recursively expanded.
23782 2011-11-01 Ulrich Drepper <drepper@gmail.com>
23784 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23785 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23787 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23788 * posix/tst-rfc3484-2.c: Likewise.
23789 * posix/tst-rfc3484-3.c: Likewise.
23791 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23793 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23795 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23796 process_vm_writev from libc using GLIBC_2.15 version.
23798 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23800 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23802 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23805 2011-10-31 Ulrich Drepper <drepper@gmail.com>
23808 * nss/getent.c (initgroups_keys): Show error message in case no group
23811 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23812 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23813 __bump_nl_timestamp.
23814 * nscd/connections (nscd_init): When host database is served open
23815 netlink socket and request notification about configuration changes.
23816 (main_loop_poll): Track netlink file descriptor and bump timestamp
23817 in case data becomes available.
23818 (main_loop_epoll): Likewise.
23819 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23820 (database_pers_head): Add extra_data fileds.
23821 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23822 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23823 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23825 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23826 in6ai data, call __free_in6ai.
23827 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23828 Add -DHAVE_NETLINK.
23829 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23830 interface information. Reuse previous data if netlink timestamp
23832 (__bump_nl_timestamp): New function.
23833 (__free_in6ai): New function.
23835 2011-10-30 Ulrich Drepper <drepper@gmail.com>
23837 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23838 close_not_cancel_no_status here.
23839 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23841 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23844 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23847 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
23848 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23849 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23851 2011-07-03 Andreas Jaeger <aj@suse.de>
23854 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23855 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23856 * math/libm-test.inc (sin_test): Add test case.
23858 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23861 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23862 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23864 * elf/chroot_canon.c (chroot_canon): Cleanups.
23866 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23869 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23870 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23872 * string/test-strchr.c: Make usable for strchrnul testing.
23873 * string/test-strchrnul.c: New file.
23874 * string/Makefile (strop-tests): Add strchrnul.
23876 * po/it.po: Update from translation team.
23877 * po/es.po: Likewise.
23879 2011-10-28 Ulrich Drepper <drepper@gmail.com>
23881 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23882 the three constants needed as parameters. Drop the others.
23883 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23884 __m128i_strloadu_tolower.
23885 Create and initialize variable zero and use it in all the places
23886 where _mm_setzero_si128 was used.
23888 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23889 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23890 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23891 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23893 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23894 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23895 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23896 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23897 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23898 __mpranred, __mptan.
23899 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23900 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23901 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23902 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23903 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23904 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23905 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23906 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23907 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23909 2011-10-28 Andreas Schwab <schwab@redhat.com>
23911 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23912 redefine if SHARED.
23913 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23916 wide char related routines to wcsmbs subdir.
23918 2011-10-27 Andreas Schwab <schwab@redhat.com>
23921 * misc/sys/cdefs.h (__THROWNL): Define.
23922 * posix/unistd.h: Use __THREADNL instead of __THREAD
23923 for memory synchronization functions.
23925 2011-10-26 Roland McGrath <roland@hack.frob.com>
23928 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23930 * manual/stdio.texi (Obstack Streams): Node removed.
23932 2011-10-26 Andreas Schwab <schwab@redhat.com>
23934 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23935 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23936 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23938 * math/math_private.h (math_force_eval): Allow non-addressable
23940 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23942 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23944 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23945 file is not needed.
23947 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23948 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23949 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23950 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23951 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23953 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23954 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23956 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23957 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23958 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23959 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23960 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23961 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23962 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23963 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23964 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23965 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23966 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23967 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23968 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23969 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23970 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23971 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23972 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23973 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23974 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23976 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23977 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23979 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23980 place. Use VEX encoding when compiling for AVX.
23982 2011-10-25 Andreas Schwab <schwab@redhat.com>
23984 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23985 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23987 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23989 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23991 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23992 useless if() expression.
23993 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23994 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23995 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23996 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23997 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23998 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23999 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24000 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24001 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24002 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24003 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24004 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24005 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24006 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24007 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24008 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24009 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24010 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24011 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24013 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24015 2011-10-25 Andreas Schwab <schwab@redhat.com>
24017 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24019 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24021 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24023 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24024 .text section. Avoid duplicate constants.
24025 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24026 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24027 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24029 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24033 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24034 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24035 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24036 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24037 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24038 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24039 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24040 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24041 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24042 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24043 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24045 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24046 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24047 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24048 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24049 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24050 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24051 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24052 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24053 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24054 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24055 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24056 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24057 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24058 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24059 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24060 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24061 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24062 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24063 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24064 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24065 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24066 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24067 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24068 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24069 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24071 2011-10-24 Ulrich Drepper <drepper@gmail.com>
24073 * sysdeps/x86_64/dla.h: Move to ...
24074 * sysdeps/x86_64/fpu/dla.h: ...here.
24075 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24076 situations. Use __builtin_fma only for gcc 4.6 and up.
24078 * config.make.in: Add have-mfma4 entry.
24079 * configure.in: Substitute libc_cv_cc_fma4.
24080 * math/Makefile (dbl-only-routines): Add sincostab.
24081 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24082 Use __sincostab not sincos.
24083 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24085 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24087 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24090 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24091 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24092 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24093 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24095 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24096 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24098 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24099 define aliases when function name is a macro.
24100 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24101 sysdeps/ieee754/dbl-64/sincos.tbl.
24102 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24103 fma4-enabled routines.
24104 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24105 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24106 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24107 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24108 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24109 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24110 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24111 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24112 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24113 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24114 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24115 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24116 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24117 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24118 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24119 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24120 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24121 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24122 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24123 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24124 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24125 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24126 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24127 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24128 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24129 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24130 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24131 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24132 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24133 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24135 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24137 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24138 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24141 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24142 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24143 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24144 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24146 2011-10-24 Andreas Schwab <schwab@redhat.com>
24148 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24150 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24152 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24154 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24156 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24158 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24159 Remove unused variable magic_bits.
24160 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24162 * string/strnlen.c: Define and use STRNLEN macro.
24163 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24164 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24165 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24166 * wcsmbs/wcslen.c: Define and use WCSLEN.
24167 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24168 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24169 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24170 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24171 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24172 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24173 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24175 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24178 strnlen-sse2-no-bsf.
24179 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24180 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24181 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24182 Add strnlen support.
24183 (USE_AS_STRNLEN): New macro.
24184 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24185 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24186 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24187 * sysdeps/x86_64/wcslen.S: New file.
24189 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24191 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24192 XMM-moves are used for copying on small sizes.
24194 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24196 * wcsmbs/Makefile (strop-tests): Add wcschr.
24197 * wcsmbs/test-wcschr.c: New file.
24198 * string/test-strchr.c: Update.
24199 Add wcschr support.
24202 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24204 * wcsmbs/Makefile (strop-tests): Add wcslen.
24205 * wcsmbs/test-wcslen.c: New file.
24206 * string/test-strlen.c: Update.
24207 Add wcslen support.
24210 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24212 * po/it.po: Update from translation team.
24214 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24216 * sysdeps/x86_64/wcscmp.S: Update.
24217 Fix wrong comparison semantics.
24218 wcscmp shall use signed comparison not unsigned.
24219 Don't use substraction to avoid overflow bug.
24220 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24221 * wcsmbc/wcscmp.c: Likewise.
24222 * string/test-strcmp.c: Likewise.
24223 Add new tests to check cases with negative values.
24225 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24227 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24228 * sysdeps/x86_64/dla.h: ...here. New file.
24229 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24234 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24235 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24236 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24237 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24239 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24242 __ynl_finite aliases.
24244 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24248 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24250 [DLA_FMA] (EMULV): Use DLA_FMA.
24251 [DLA_FMA] (MUL12): Use EMULV.
24252 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24253 that are not needed.
24254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24257 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24258 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24259 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24260 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24262 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24264 * math/s_nan.c: Undef __nan.
24265 * math/s_nanf.c: Undef __nanf.
24266 * math/s_nanl.c: Undef __nanl.
24267 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24270 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24272 * math/s_catan.c: Add branch predictions.
24273 * math/s_catanf.c: Likewise.
24274 * math/s_catanh.c: Likewise.
24275 * math/s_catanhf.c: Likewise.
24276 * math/s_catanhl.c: Likewise.
24277 * math/s_catanl.c: Likewise.
24278 * math/s_cexp.c: Likewise.
24279 * math/s_cexpf.c: Likewise.
24280 * math/s_cexpl.c: Likewise.
24281 * math/s_clog.c: Likewise.
24282 * math/s_clog10.c: Likewise.
24283 * math/s_clog10f.c: Likewise.
24284 * math/s_clog10l.c: Likewise.
24285 * math/s_clogf.c: Likewise.
24286 * math/s_clogl.c: Likewise.
24287 * math/s_csqrt.c: Likewise.
24288 * math/s_csqrtf.c: Likewise.
24289 * math/s_csqrtl.c: Likewise.
24290 * math/s_ctanf.c: Likewise.
24291 * math/s_ctanh.c: Likewise.
24292 * math/s_ctanhf.c: Likewise.
24293 * math/s_ctanhl.c: Likewise.
24294 * math/s_ctanl.c: Likewise.
24296 * math/math_private.h: Define __nan, __nanf, __nanl.
24297 * math/s_cacosh.c: Include <math_private.h>.
24298 * math/s_cacoshl.c: Likewise.
24299 * math/s_casinh.c: Likewise.
24300 * math/s_casinhf.c: Likewise.
24301 * math/s_casinhl.c: Likewise.
24302 * math/s_ccos.c: Rely entire on ccosh.
24303 * math/s_ccosf.c: Rely entire on ccoshf.
24304 * math/s_ccosl.c: Rely entirely on ccoshl.
24305 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24306 Remove tests for FE_INVALID.
24307 * math/s_ccoshf.c: Likewise.
24308 * math/s_ccoshl.c: Likewise.
24309 * math/s_csin.c: Likewise.
24310 * math/s_csinf.c: Likewise.
24311 * math/s_csinh.c Likewise.
24312 * math/s_csinhf.c: Likewise.
24313 * math/s_csinhl.c: Likewise.
24314 * math/s_csinl.c: Likewise.
24315 * math/s_ctan.c: Likewise.
24316 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24317 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24318 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24320 2011-10-21 Ulrich Drepper <drepper@gmail.com>
24322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24323 compilation problems.
24325 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24328 2011-10-20 Ulrich Drepper <drepper@gmail.com>
24330 * sysdeps/i386/configure.in: Test for -mfma4 option.
24331 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24332 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24333 COMMON_CPUID_INDEX_80000001.
24334 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24335 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24336 use it if FMA3 is not supported.
24337 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24339 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24340 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24342 2011-10-20 Andreas Schwab <schwab@redhat.com>
24345 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24346 it would create a cycle with a link time dependency.
24348 2011-10-19 Ulrich Drepper <drepper@gmail.com>
24350 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24352 * string/Makefile (strop-tests): Add rawmemchr.
24353 * string/test-rawmemchr.c: New file.
24355 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24356 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24357 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24358 when compiling str{,n}casecmp and when AVX is available. Hook up
24359 new optimized code in initializers.
24361 2011-10-19 Andreas Schwab <schwab@redhat.com>
24363 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24364 __feraiseexcept instead of feraiseexcept.
24366 2011-10-18 Ulrich Drepper <drepper@gmail.com>
24368 * math/math_private.h: Define defaults for libc_fetestexcept and
24370 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24371 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24372 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24373 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24374 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24375 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24376 libc_fetestexcept and libc_feupdateenv.
24378 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24379 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24380 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24381 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24382 libc_feholdexcept_setround.
24384 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24385 Add s_nearbyint-c and s_nearbyintf-c.
24386 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24387 nearbyintf inlines.
24388 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24389 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24390 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24391 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24393 * math/math_private.h: Define defaults for libc_fegetround,
24394 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24395 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24396 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24397 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24398 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24399 standard functions.
24400 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24401 Remove comments and hacks for old compiler versions.
24402 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24403 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24404 libc_feholdexceptl.
24406 2011-10-18 Andreas Schwab <schwab@redhat.com>
24408 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
24409 (__feraiseexcept_renamed): Add __NTH.
24410 (feraiseexcept): Add __NTH. Rename local variables to fix
24411 namespace violations.
24413 2011-10-17 Ulrich Drepper <drepper@gmail.com>
24415 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
24417 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
24419 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
24420 recently added interfaces.
24421 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
24423 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
24424 about macro parameter expansion.
24426 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
24427 __NO_MATH_INLINES is defined. Cleanups.
24429 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
24430 and __floorf is target has SSE4.1.
24431 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
24432 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
24433 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
24434 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
24436 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
24438 (floorf): Likewise.
24440 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
24442 2011-10-17 Andreas Schwab <schwab@redhat.com>
24444 * misc/sys/cdefs.h: Fix last change.
24446 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
24449 2011-10-16 Ulrich Drepper <drepper@gmail.com>
24451 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
24453 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
24454 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24455 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24456 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24457 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24458 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24459 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24460 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24461 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24462 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
24463 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
24464 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
24465 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
24466 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
24467 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
24468 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
24469 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
24470 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
24471 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
24472 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
24473 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
24474 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
24476 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
24477 ceil, ceilf, floor, floorf.
24479 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
24480 Perform IRELATIVE relocations last.
24482 * elf/do-rel.h: Add another parameter nrelative, replacing the
24483 local variable with the same name. Change name of the function
24484 to end in Rel or Rela (uppercase).
24485 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
24486 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
24487 elf_dynamic_do_##reloc function.
24489 2011-10-15 Ulrich Drepper <drepper@gmail.com>
24491 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
24492 is sufficient, at least on modern CPUs.
24494 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
24496 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
24497 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
24499 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
24501 * math/bits/math-finite.h: Add entries for exp.
24502 * math/e_expl.c: Add __*_finite alias.
24503 * sysdeps/i386/fpu/e_exp.S: Likewise.
24504 * sysdeps/i386/fpu/e_expf.S: Likewise.
24505 * sysdeps/i386/fpu/e_expl.c: Likewise.
24506 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24507 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24508 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24509 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24510 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
24511 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24512 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24514 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
24515 is sufficient, at least on modern CPUs.
24517 * ctype/ctype-info.c (__ctype_init): Define.
24518 * include/ctype.h (__ctype_init): Declare.
24519 (__ctype_b_loc): The variable is always initialized.
24520 (__ctype_toupper_loc): Likewise.
24521 (__ctype_tolower_loc): Likewise.
24522 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
24523 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
24525 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
24527 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
24529 * configure.in: Also look in $cxxmachine/include for C++ system
24532 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24534 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
24535 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
24536 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
24537 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
24538 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
24539 (USE_AS_WMEMCMP): New macro.
24541 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
24542 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
24543 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
24544 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
24545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24546 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
24547 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
24548 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
24549 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
24550 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
24551 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
24552 (USE_AS_WMEMCMP): New macro.
24553 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
24554 * sysdeps/string/test-memcmp.c: Update.
24555 Fix simple_wmemcmp.
24557 * wcsmbs/wmemcmp.c: Update.
24558 (WMEMCMP): New macro.
24561 2011-10-12 Andreas Jaeger <aj@suse.de>
24564 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
24566 2011-10-15 Ulrich Drepper <drepper@gmail.com>
24568 * libio/iofwide.c (do_length): Avoid warning.
24570 * ctype/ctype.h (__isctype_f): Add missing __THROW.
24572 2011-10-14 Ulrich Drepper <drepper@gmail.com>
24574 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
24576 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
24577 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
24578 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
24579 * sysdeps/i386/i686/fpu/e_log.S: New file.
24580 * sysdeps/i386/i686/fpu/e_logf.S: New file.
24581 * sysdeps/i386/i686/fpu/e_logl.S: New file.
24583 * ctype/ctype.h: Add support for inlined isXXX functions when
24584 compiling C++ code.
24586 2011-10-14 Andreas Schwab <schwab@redhat.com>
24588 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24590 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
24592 2011-10-13 Roland McGrath <roland@hack.frob.com>
24595 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
24597 2011-10-13 Andreas Schwab <schwab@redhat.com>
24599 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
24600 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
24603 * sysdeps/x86_64/memrchr.S: Check for zero size.
24605 * string/stratcliff.c: Add memrchr tests.
24607 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24610 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
24611 rawmemchr-sse2 rawmemchr-sse2-bsf.
24612 * sysdeps/i386/i686/multiarch/memchr.S: New file.
24613 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
24614 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
24615 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
24616 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
24617 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
24618 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
24619 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
24620 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
24621 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
24622 * string/memrchr.c (MEMRCHR): New macro.
24624 2011-10-12 Ulrich Drepper <drepper@gmail.com>
24626 Add integration with gcc's -ffinite-math-only and optimize wrapper
24628 * Versions.def: Define GLIBC_2.15 version for libm.
24629 * math/Makefile (headers): Add bits/math-finite.h.
24630 * math/bits/math-finite.h: New file.
24631 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
24632 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
24633 * math/e_acoshl.c: Add __*_finite alias.
24634 * math/e_acosl.c: Likewise.
24635 * math/e_asinl.c: Likewise.
24636 * math/e_atan2l.c: Likewise.
24637 * math/e_atanhl.c: Likewise.
24638 * math/e_coshl.c: Likewise.
24639 * math/e_exp10.c: Likewise.
24640 * math/e_exp10f.c: Likewise.
24641 * math/e_exp10l.c: Likewise.
24642 * math/e_exp2l.c: Likewise.
24643 * math/e_fmodl.c: Likewise.
24644 * math/e_gammal_r.c: Likewise.
24645 * math/e_hypotl.c: Likewise.
24646 * math/e_j0l.c: Likewise.
24647 * math/e_j1l.c: Likewise.
24648 * math/e_jnl.c: Likewise.
24649 * math/e_lgammal_r.c: Likewise.
24650 * math/e_log10l.c: Likewise.
24651 * math/e_log2l.c: Likewise.
24652 * math/e_logl.c: Likewise.
24653 * math/e_powl.c: Likewise.
24654 * math/e_sinhl.c: Likewise.
24655 * math/e_sqrtl.c: Likewise.
24656 * math/e_scalb.c: Completely rewritten and optimized.
24657 * math/e_scalbf.c: Likewise.
24658 * math/e_scalbl.c: Likewise.
24659 * math/w_acos.c: Likewise.
24660 * math/w_acosf.c: Likewise.
24661 * math/w_acosl.c: Likewise.
24662 * math/w_acosh.c: Likewise.
24663 * math/w_acoshf.c: Likewise.
24664 * math/w_acoshl.c: Likewise.
24665 * math/w_asin.c: Likewise.
24666 * math/w_asinf.c: Likewise.
24667 * math/w_asinl.c: Likewise.
24668 * math/w_atan2.c: Likewise.
24669 * math/w_atan2f.c: Likewise.
24670 * math/w_atan2l.c: Likewise.
24671 * math/w_atanh.c: Likewise.
24672 * math/w_atanhf.c: Likewise.
24673 * math/w_atanhl.c: Likewise.
24674 * math/w_exp10.c: Likewise.
24675 * math/w_exp10f.c: Likewise.
24676 * math/w_exp10l.c: Likewise.
24677 * math/w_fmod.c: Likewise.
24678 * math/w_fmodf.c: Likewise.
24679 * math/w_fmodl.c: Likewise.
24680 * math/w_j0.c: Likewise.
24681 * math/w_j0f.c: Likewise.
24682 * math/w_j0l.c: Likewise.
24683 * math/w_j1.c: Likewise.
24684 * math/w_j1f.c: Likewise.
24685 * math/w_j1l.c: Likewise.
24686 * math/w_jn.c: Likewise.
24687 * math/w_jnf.c: Likewise.
24688 * math/w_log.c: Likewise.
24689 * math/w_logf.c: Likewise.
24690 * math/w_logl.c: Likewise.
24691 * math/w_log10.c: Likewise.
24692 * math/w_log10f.c: Likewise.
24693 * math/w_log10l.c: Likewise.
24694 * math/w_log2.c: Likewise.
24695 * math/w_log2f.c: Likewise.
24696 * math/w_log2l.c: Likewise.
24697 * math/w_pow.c: Likewise.
24698 * math/w_powf.c: Likewise.
24699 * math/w_powl.c: Likewise.
24700 * math/w_remainder.c: Likewise.
24701 * math/w_remainderf.c: Likewise.
24702 * math/w_remainderl.c: Likewise.
24703 * math/w_scalb.c: Likewise.
24704 * math/w_scalbf.c: Likewise.
24705 * math/w_scalbl.c: Likewise.
24706 * math/w_sqrt.c: Likewise.
24707 * math/w_sqrtf.c: Likewise.
24708 * math/w_sqrtl.c: Likewise.
24709 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24710 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
24712 * math/math_private.h: Declare __kernel_standard_f.
24713 * math/w_cosh.c: Remove cruft and optimize a bit.
24714 * math/w_coshf.c: Likewise.
24715 * math/w_coshl.c: Likewise.
24716 * math/w_exp2.c: Likewise.
24717 * math/w_exp2f.c: Likewise.
24718 * math/w_exp2l.c: Likewise.
24719 * math/w_hypot.c: Likewise.
24720 * math/w_hypotf.c: Likewise.
24721 * math/w_hypotl.c: Likewise.
24722 * math/w_lgamma.c: Likewise.
24723 * math/w_lgamma_r.c: Likewise.
24724 * math/w_lgammaf.c: Likewise.
24725 * math/w_lgammaf_r.c: Likewise.
24726 * math/w_lgammal.c: Likewise.
24727 * math/w_lgammal_r.c: Likewise.
24728 * math/w_sinh.c: Likewise.
24729 * math/w_sinhf.c: Likewise.
24730 * math/w_sinhl.c: Likewise.
24731 * math/w_tgamma.c: Likewise.
24732 * math/w_tgammaf.c: Likewise.
24733 * math/w_tgammal.c: Likewise.
24734 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24735 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24736 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24737 Minor optimizations. Pretty printing. Remove cruft.
24738 * sysdeps/i386/fpu/e_acosf.S: Likewise.
24739 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24740 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24741 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24742 * sysdeps/i386/fpu/e_acosl.c: Likewise.
24743 * sysdeps/i386/fpu/e_asin.S: Likewise.
24744 * sysdeps/i386/fpu/e_asinf.S: Likewise.
24745 * sysdeps/i386/fpu/e_atan2.S: Likewise.
24746 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24747 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24748 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24749 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24750 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24751 * sysdeps/i386/fpu/e_exp10.S: Likewise.
24752 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24753 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24754 * sysdeps/i386/fpu/e_exp2.S: Likewise.
24755 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24756 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24757 * sysdeps/i386/fpu/e_fmod.S: Likewise.
24758 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24759 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24760 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24761 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24762 * sysdeps/i386/fpu/e_log.S: Likewise.
24763 * sysdeps/i386/fpu/e_log10.S: Likewise.
24764 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24765 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24766 * sysdeps/i386/fpu/e_log2.S: Likewise.
24767 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24768 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24769 * sysdeps/i386/fpu/e_logf.S: Likewise.
24770 * sysdeps/i386/fpu/e_logl.S: Likewise.
24771 * sysdeps/i386/fpu/e_pow.S: Likewise.
24772 * sysdeps/i386/fpu/e_powf.S: Likewise.
24773 * sysdeps/i386/fpu/e_powl.S: Likewise.
24774 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24775 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24776 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24777 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24778 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24779 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24780 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24781 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24782 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24783 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24784 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24785 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24786 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24787 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24788 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24789 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24790 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24791 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24792 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24793 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24794 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24795 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24796 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24797 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24798 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24799 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24800 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24801 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24802 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24803 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24804 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24805 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24806 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24807 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24808 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24809 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24810 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24811 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24812 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24813 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24814 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24815 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24816 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24817 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24818 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24819 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24820 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24821 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24822 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24823 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24824 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24827 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24829 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24830 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24833 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24835 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24836 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24837 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24838 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24839 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24840 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24845 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24846 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24847 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24848 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24850 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24852 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24854 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24855 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24857 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24858 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24859 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24860 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24861 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24862 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24863 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24864 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24865 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24866 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24868 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24869 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24870 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24871 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24872 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24873 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24874 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24875 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24876 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24877 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24878 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24879 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24880 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24881 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24882 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24883 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24884 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24885 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24886 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24887 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24888 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24889 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24890 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24891 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24892 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24893 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24894 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24895 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24896 (__isnanf): Likewise.
24897 (__isinf_ns): Likewise.
24898 (__isinf_nsf): Likewise.
24899 (__finite): Likewise.
24900 (__finitef): Likewise.
24901 (__ieee754_sqrt): Define as macro.
24902 (__ieee754_sqrtf): Define as macro.
24903 (__ieee754_sqrtl): Define as macro.
24904 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24906 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24907 __FINITE_MATH_ONLY__ consistent.
24908 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24910 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24912 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24915 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24917 2011-10-09 Ulrich Drepper <drepper@gmail.com>
24919 * po/ja.po: Update from translation team.
24921 2011-10-08 Roland McGrath <roland@hack.frob.com>
24923 * locale/programs/locarchive.c (prepare_address_space): New function.
24924 (create_archive, enlarge_archive, open_archive): Use it.
24926 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24927 inside [SHARED], where it is used.
24929 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24931 * nss/getent.c (netgroup_keys): Remove unused variable.
24932 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24934 2011-10-08 Ulrich Drepper <drepper@gmail.com>
24936 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24937 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24938 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24939 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24940 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24941 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24942 * math/Makefile (libm-calls): Add s_isinf_ns.
24943 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24944 * math/multc3.c: Likewise.
24945 * math/s_casin.c: Likewise.
24946 * math/s_casinf.c: Likewise.
24947 * math/s_casinl.c: Likewise.
24948 * math/s_ccos.c: Likewise.
24949 * math/s_ccosf.c: Likewise.
24950 * math/s_ccosl.c: Likewise.
24951 * math/s_ctan.c: Likewise.
24952 * math/s_ctanf.c: Likewise.
24953 * math/s_ctanh.c: Likewise.
24954 * math/s_ctanhf.c: Likewise.
24955 * math/s_ctanhl.c: Likewise.
24956 * math/s_ctanl.c: Likewise.
24957 * math/w_fmod.c: Likewise.
24958 * math/w_fmodf.c: Likewise.
24959 * math/w_fmodl.c: Likewise.
24960 * math/w_remainder.c: Likewise.
24961 * math/w_remainderf.c: Likewise.
24962 * math/w_remainderl.c: Likewise.
24963 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24964 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24965 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24966 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24967 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24968 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24969 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24970 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24972 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24974 * stdio-common/printf_fphex.c: Likewise.
24975 * stdio-common/printf_size.c: Likewise.
24977 * math/e_exp10.c: Include math_private.h using <...> not "...".
24978 * math/e_exp10f.c: Likewise.
24979 * math/e_exp10l.c: Likewise.
24980 * math/e_exp2l.c: Likewise.
24981 * math/e_j0l.c: Likewise.
24982 * math/e_j1l.c: Likewise.
24983 * math/e_jnl.c: Likewise.
24984 * math/e_lgammal_r.c: Likewise.
24985 * math/e_rem_pio2l.c: Likewise.
24986 * math/e_scalb.c: Likewise.
24987 * math/e_scalbf.c: Likewise.
24988 * math/e_scalbl.c: Likewise.
24989 * math/k_cosl.c: Likewise.
24990 * math/k_sinl.c: Likewise.
24991 * math/k_tanl.c: Likewise.
24992 * math/s_cacoshf.c: Likewise.
24993 * math/s_catan.c: Likewise.
24994 * math/s_catanf.c: Likewise.
24995 * math/s_catanh.c: Likewise.
24996 * math/s_catanhf.c: Likewise.
24997 * math/s_catanhl.c: Likewise.
24998 * math/s_catanl.c: Likewise.
24999 * math/s_ccosh.c: Likewise.
25000 * math/s_ccoshf.c: Likewise.
25001 * math/s_ccoshl.c: Likewise.
25002 * math/s_cexp.c: Likewise.
25003 * math/s_cexpf.c: Likewise.
25004 * math/s_cexpl.c: Likewise.
25005 * math/s_clog.c: Likewise.
25006 * math/s_clog10.c: Likewise.
25007 * math/s_clog10f.c: Likewise.
25008 * math/s_clog10l.c: Likewise.
25009 * math/s_clogf.c: Likewise.
25010 * math/s_clogl.c: Likewise.
25011 * math/s_csin.c: Likewise.
25012 * math/s_csinf.c: Likewise.
25013 * math/s_csinh.c: Likewise.
25014 * math/s_csinhf.c: Likewise.
25015 * math/s_csinhl.c: Likewise.
25016 * math/s_csinl.c: Likewise.
25017 * math/s_csqrt.c: Likewise.
25018 * math/s_csqrtf.c: Likewise.
25019 * math/s_csqrtl.c: Likewise.
25020 * math/s_ctan.c: Likewise.
25021 * math/s_ctanf.c: Likewise.
25022 * math/s_ctanh.c: Likewise.
25023 * math/s_ctanhf.c: Likewise.
25024 * math/s_ctanhl.c: Likewise.
25025 * math/s_ctanl.c: Likewise.
25026 * math/s_ldexp.c: Likewise.
25027 * math/s_ldexpf.c: Likewise.
25028 * math/s_ldexpl.c: Likewise.
25029 * math/s_significand.c: Likewise.
25030 * math/s_significandf.c: Likewise.
25031 * math/s_significandl.c: Likewise.
25032 * math/w_acos.c: Likewise.
25033 * math/w_acosf.c: Likewise.
25034 * math/w_acosh.c: Likewise.
25035 * math/w_acoshf.c: Likewise.
25036 * math/w_acoshl.c: Likewise.
25037 * math/w_acosl.c: Likewise.
25038 * math/w_asin.c: Likewise.
25039 * math/w_asinf.c: Likewise.
25040 * math/w_asinl.c: Likewise.
25041 * math/w_atan2.c: Likewise.
25042 * math/w_atan2f.c: Likewise.
25043 * math/w_atan2l.c: Likewise.
25044 * math/w_atanh.c: Likewise.
25045 * math/w_atanhf.c: Likewise.
25046 * math/w_atanhl.c: Likewise.
25047 * math/w_cosh.c: Likewise.
25048 * math/w_coshf.c: Likewise.
25049 * math/w_coshl.c: Likewise.
25050 * math/w_dremf.c: Likewise.
25051 * math/w_exp10.c: Likewise.
25052 * math/w_exp10f.c: Likewise.
25053 * math/w_exp10l.c: Likewise.
25054 * math/w_exp2.c: Likewise.
25055 * math/w_exp2f.c: Likewise.
25056 * math/w_fmod.c: Likewise.
25057 * math/w_fmodf.c: Likewise.
25058 * math/w_fmodl.c: Likewise.
25059 * math/w_hypot.c: Likewise.
25060 * math/w_hypotf.c: Likewise.
25061 * math/w_hypotl.c: Likewise.
25062 * math/w_j0.c: Likewise.
25063 * math/w_j0f.c: Likewise.
25064 * math/w_j0l.c: Likewise.
25065 * math/w_j1.c: Likewise.
25066 * math/w_j1f.c: Likewise.
25067 * math/w_j1l.c: Likewise.
25068 * math/w_jn.c: Likewise.
25069 * math/w_jnf.c: Likewise.
25070 * math/w_jnl.c: Likewise.
25071 * math/w_lgamma.c: Likewise.
25072 * math/w_lgamma_r.c: Likewise.
25073 * math/w_lgammaf.c: Likewise.
25074 * math/w_lgammaf_r.c: Likewise.
25075 * math/w_lgammal.c: Likewise.
25076 * math/w_lgammal_r.c: Likewise.
25077 * math/w_log.c: Likewise.
25078 * math/w_log10.c: Likewise.
25079 * math/w_log10f.c: Likewise.
25080 * math/w_log10l.c: Likewise.
25081 * math/w_log2.c: Likewise.
25082 * math/w_log2f.c: Likewise.
25083 * math/w_log2l.c: Likewise.
25084 * math/w_logf.c: Likewise.
25085 * math/w_logl.c: Likewise.
25086 * math/w_pow.c: Likewise.
25087 * math/w_powf.c: Likewise.
25088 * math/w_powl.c: Likewise.
25089 * math/w_remainder.c: Likewise.
25090 * math/w_remainderf.c: Likewise.
25091 * math/w_remainderl.c: Likewise.
25092 * math/w_scalb.c: Likewise.
25093 * math/w_scalbf.c: Likewise.
25094 * math/w_scalbl.c: Likewise.
25095 * math/w_sinh.c: Likewise.
25096 * math/w_sinhf.c: Likewise.
25097 * math/w_sinhl.c: Likewise.
25098 * math/w_sqrt.c: Likewise.
25099 * math/w_sqrtf.c: Likewise.
25100 * math/w_sqrtl.c: Likewise.
25101 * math/w_tgamma.c: Likewise.
25102 * math/w_tgammaf.c: Likewise.
25103 * math/w_tgammal.c: Likewise.
25105 * po/ja.po: Update from translation team.
25107 2011-09-29 Andreas Jaeger <aj@suse.de>
25110 * sunrpc/netname.c (netname2host): Fix logic.
25114 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25116 * math/w_remainder.c (__remainder): Likewise.
25117 * math/w_remainderf.c (__remainderf): Likewise.
25118 * math/libm-test.inc (remainder_test): Add test cases.
25120 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25122 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25125 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25127 * string/test-memcmp.c: Avoid unncessary #defines.
25128 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25130 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25132 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25133 Use new sse2 version for core i3 - i7 as it's faster
25134 than sse42 version.
25135 (bit_Prefer_PMINUB_for_stringop): New.
25136 * sysdeps/x86_64/rawmemchr.S: Update.
25137 Replace with faster SSE2 version.
25138 * sysdeps/x86_64/memrchr.S: New file.
25139 * sysdeps/x86_64/memchr.S: Update.
25140 Replace with faster SSE2 version.
25142 2011-09-12 Marek Polacek <mpolacek@redhat.com>
25144 * elf/dl-load.c (lose): Add cast to avoid warning.
25146 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25148 * po/ca.po: Update from translation team.
25150 * inet/getnetgrent_r.c: Hook up nscd.
25151 * nscd/Makefile (routines): Add nscd_netgroup.
25152 (nscd-modules): Add netgroupcache.
25153 (CFLAGS-netgroupcache.c): Define.
25154 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25155 (cache_search): Add const to second parameter.
25156 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25158 (dbs): Add netgrdb entry.
25159 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25160 (verify_persistent_db): Handle netgrdb.
25161 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25162 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25164 (netgroup_response_header): Define.
25165 (innetgroup_response_header): Define.
25166 (datahead): Add netgroup_response_header and innetgroup_response_header
25168 * nscd/nscd.conf: Add entries for netgroup cache.
25169 * nscd/nscd.h (dbtype): Add netgrdb.
25170 (_PATH_NSCD_NETGROUP_DB): Define.
25171 (netgroup_iov_disabled): Declare.
25172 (xmalloc, xcalloc, xrealloc): Move declarations here.
25173 (cache_search): Adjust prototype.
25174 Add netgroup-related prototypes.
25175 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25176 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25177 (__nscd_innetgr): Declare.
25178 * nscd/selinux.c (perms): Use access_vector_t as element type and
25179 add netgroup-related initializers.
25180 * nscd/netgroupcache.c: New file.
25181 * nscd/nscd_netgroup.c: New file.
25182 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25183 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25184 For four parameters use innetgr.
25185 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25186 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25187 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25188 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25190 * nscd/connections.c (register_traced_file): Don't register file
25191 for disabled databases.
25193 2011-10-06 Ulrich Drepper <drepper@gmail.com>
25195 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25197 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25198 from tree and freeing node.
25200 2011-09-25 Jiri Olsa <jolsa@redhat.com>
25202 * nss/nsswitch.c (__nss_database_lookup): Handle
25203 nss_parse_service_list out of memory case.
25205 2011-09-15 Jiri Olsa <jolsa@redhat.com>
25207 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25208 out of memory case.
25210 2011-10-04 Andreas Schwab <schwab@redhat.com>
25212 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25213 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25215 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25216 elf_machine_rela, elf_machine_lazy_rel.
25217 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25218 (ELF_DYNAMIC_DO_REL): Likewise.
25219 (ELF_DYNAMIC_DO_RELA): Likewise.
25220 (ELF_DYNAMIC_RELOCATE): Likewise.
25221 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25222 to ELF_DYNAMIC_DO_REL.
25223 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25224 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25225 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25227 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25228 skip_ifunc, don't call ifunc function if non-zero.
25229 (elf_machine_rela): Likewise.
25230 (elf_machine_lazy_rel): Likewise.
25231 (elf_machine_lazy_rela): Likewise.
25232 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25233 (elf_machine_lazy_rel): Likewise.
25234 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25236 (elf_machine_lazy_rel): Likewise.
25237 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25239 (elf_machine_lazy_rel): Likewise.
25240 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25241 (elf_machine_lazy_rel): Likewise.
25242 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25243 (elf_machine_lazy_rel): Likewise.
25244 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25245 (elf_machine_lazy_rel): Likewise.
25246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25247 (elf_machine_lazy_rel): Likewise.
25248 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25249 (elf_machine_lazy_rel): Likewise.
25250 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25251 (elf_machine_lazy_rel): Likewise.
25253 2011-09-28 Ulrich Drepper <drepper@gmail.com>
25255 * nss/nss_files/files-init.c (_nss_files_init): Use static
25256 initialization for all the *_traced_file variables.
25258 2011-09-28 Andreas Schwab <schwab@redhat.com>
25260 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25262 2011-09-27 Roland McGrath <roland@hack.frob.com>
25265 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25267 2011-09-27 Andreas Schwab <schwab@redhat.com>
25269 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25270 Reread the line before reparsing it.
25272 2011-09-26 Andreas Schwab <schwab@redhat.com>
25274 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25276 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25277 Maxim Kuvyrkov <maxim@codesourcery.com>
25278 Joseph Myers <joseph@codesourcery.com>
25280 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25281 if needed for __stack_chk_guard.
25283 2011-09-19 Roland McGrath <roland@hack.frob.com>
25285 * sysdeps/posix/spawni.c (script_execute): Always define it.
25286 It will be optimized away if unused.
25287 (maybe_script_execute): New function.
25288 (__spawni): Call it.
25290 * Makerules: Don't include tls.make.
25291 (config-tls): Always set to thread.
25292 * tls.make.c: File removed.
25294 2011-09-19 Mike Frysinger <vapier@gentoo.org>
25296 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25297 * config.make.in (CPPFLAGS-config): New substituted variable.
25299 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25301 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25304 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25305 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25307 2011-09-15 Roland McGrath <roland@hack.frob.com>
25309 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25310 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25311 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25312 (CALL_FAIL): Likewise.
25313 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25314 (CALL_FAIL): Macro removed.
25315 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25317 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25319 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25320 for __FINITE_MATH_ONLY__ == 1.
25322 2011-09-15 Andreas Schwab <schwab@redhat.com>
25324 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25325 __ieee754_sqrt instead of sqrt.
25326 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25327 __ieee754_sqrtf instead of sqrtf.
25328 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25329 __floorf instead of floorf.
25330 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25331 __floorf, __truncf instead of floorf, truncf.
25333 2011-09-14 Ulrich Drepper <drepper@gmail.com>
25335 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25337 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25338 __extern_always_inline.
25339 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25342 2011-09-14 Andreas Schwab <schwab@redhat.com>
25344 * elf/rtld.c (dl_main): Also relocate in dependency order when
25345 doing symbol dependency testing.
25347 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25349 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25350 Always define `refsym'.
25352 2011-09-13 Andreas Schwab <schwab@redhat.com>
25354 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25355 (__FD_ELT): Renamed from __FDELT.
25356 * misc/bits/select2.h (__FD_ELT): Likewise.
25357 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25358 __FD_MASK instead of __FDELT, __FDMASK.
25359 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25361 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25364 * elf/Makefile (gen-ldd): Fix pattern.
25366 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25367 (init_tls): Likewise.
25369 2011-09-12 Ulrich Drepper <drepper@gmail.com>
25371 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25373 2011-09-12 Andreas Schwab <schwab@redhat.com>
25375 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25376 `struct cmsghdr *' instead of `void *'.
25377 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25380 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25382 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25384 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25385 ldd_rewrite_script.
25387 2011-09-11 Ulrich Drepper <drepper@gmail.com>
25389 * configure.in: Remove --with-tls option.
25390 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25391 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25392 out in case it is missing.
25393 * sysdeps/ia64/elf/configure.in: Likewise.
25394 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25395 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25396 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25397 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25398 * sysdeps/sh/elf/configure.in: Likewise.
25399 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25400 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25401 * sysdeps/x86_64/elf/configure.in: Likewise.
25402 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25403 * sysdeps/mach/hurd/tls.h: Likewise.
25406 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25409 * configure.in: Fix use of AC_INIT.
25411 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25413 2011-09-10 Ulrich Drepper <drepper@gmail.com>
25415 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
25417 * malloc/hooks.c: Likewise.
25420 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
25421 variables statically.
25422 (narenas): Initialize.
25423 (list_lock): Initialize.
25424 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
25425 initializtion of main_arena and list_lock. Small cleanups.
25426 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
25427 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
25428 Add initializers to main_arena and mp_.
25429 (malloc_state): Remove pagesize member. Change all users to use
25432 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
25433 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
25434 is always initialized.
25436 * malloc/malloc.c: Removed unused configurations and dead code.
25437 * malloc/arena.c: Likewise.
25438 * malloc/hooks.c: Likewise.
25439 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
25441 * include/tls.h: Removed. USE___THREAD must always be defined.
25442 * bits/libc-tsd.h: Don't handle !USE___THREAD.
25443 * elf/dl-libc.c: Likewise.
25444 * elf/dl-tsd.c: Likewise.
25445 * include/errno.h: Likewise.
25446 * include/netdb.h: Likewise.
25447 * include/resolv.h: Likewise.
25448 * inet/herrno-loc.c: Likewise.
25449 * inet/herrno.c: Likewise.
25450 * malloc/arena.c: Likewise.
25451 * malloc/hooks.c: Likewise.
25452 * malloc/malloc.c: Likewise.
25453 * resolv/res-state.c: Likewise.
25454 * resolv/res_libc.c: Likewise.
25455 * sysdeps/i386/dl-machine.h: Likewise.
25456 * sysdeps/ia64/dl-machine.h: Likewise.
25457 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25458 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25459 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25460 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25461 * sysdeps/sh/dl-machine.h: Likewise.
25462 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25463 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25464 * sysdeps/unix/i386/sysdep.S: Likewise.
25465 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25466 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25467 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25468 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25469 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25470 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25471 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25472 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25473 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25475 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25476 * sysdeps/x86_64/dl-machine.h: Likewise.
25477 * tls.make.c: Likewise.
25479 * configure.in: Remove --with-__thread option. Make tests for
25480 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
25481 tls_model attribute fail if no support is available. Remove
25483 * Makeconfig: Adjust for dropped configure option. All features are
25485 * Makerules: Likewise.
25486 * Versions.def: Likewise.
25487 * argp/argp-fmtstream.c: Likewise.
25488 * argp/argp-fmtstream.h: Likewise.
25489 * argp/argp-help.c: Likewise.
25490 * assert/assert.c: Likewise.
25491 * config.h.in: Likewise.
25492 * config.make.in: Likewise.
25493 * configure: Likewise.
25494 * configure.in: Likewise.
25495 * csu/Versions: Likewise.
25496 * csu/init.c: Likewise.
25497 * elf/tst-audit2.c: Likewise.
25498 * elf/tst-tls10.c: Likewise.
25499 * elf/tst-tls10.h: Likewise.
25500 * elf/tst-tls11.c: Likewise.
25501 * elf/tst-tls12.c: Likewise.
25502 * elf/tst-tls14.c: Likewise.
25503 * elf/tst-tlsmod11.c: Likewise.
25504 * elf/tst-tlsmod12.c: Likewise.
25505 * elf/tst-tlsmod13.c: Likewise.
25506 * elf/tst-tlsmod13a.c: Likewise.
25507 * elf/tst-tlsmod14a.c: Likewise.
25508 * elf/tst-tlsmod15b.c: Likewise.
25509 * elf/tst-tlsmod16a.c: Likewise.
25510 * elf/tst-tlsmod16b.c: Likewise.
25511 * elf/tst-tlsmod7.c: Likewise.
25512 * elf/tst-tlsmod8.c: Likewise.
25513 * elf/tst-tlsmod9.c: Likewise.
25514 * gmon/gmon.c: Likewise.
25515 * grp/fgetgrent_r.c: Likewise.
25516 * grp/putgrent.c: Likewise.
25517 * hurd/fopenport.c: Likewise.
25518 * include/libc-symbols.h: Likewise.
25519 * include/tls.h: Likewise.
25520 * intl/gettextP.h: Likewise.
25521 * intl/loadinfo.h: Likewise.
25522 * locale/global-locale.c: Likewise.
25523 * locale/localeinfo.h: Likewise.
25524 * mach/devstream.c: Likewise.
25525 * malloc/arena.c: Likewise.
25526 * malloc/set-freeres.c: Likewise.
25527 * misc/err.c: Likewise.
25528 * misc/getttyent.c: Likewise.
25529 * misc/mntent_r.c: Likewise.
25530 * posix/getopt.c: Likewise.
25531 * posix/wordexp.c: Likewise.
25532 * pwd/fgetpwent_r.c: Likewise.
25533 * resolv/Versions: Likewise.
25534 * resolv/res_hconf.c: Likewise.
25535 * shadow/fgetspent_r.c: Likewise.
25536 * shadow/putspent.c: Likewise.
25537 * stdio-common/printf_fphex.c: Likewise.
25538 * stdio-common/tmpfile.c: Likewise.
25539 * stdlib/abort.c: Likewise.
25540 * stdlib/fmtmsg.c: Likewise.
25541 * sunrpc/auth_unix.c: Likewise.
25542 * sunrpc/clnt_perr.c: Likewise.
25543 * sunrpc/clnt_tcp.c: Likewise.
25544 * sunrpc/clnt_udp.c: Likewise.
25545 * sunrpc/clnt_unix.c: Likewise.
25546 * sunrpc/openchild.c: Likewise.
25547 * sunrpc/svc_simple.c: Likewise.
25548 * sunrpc/svc_tcp.c: Likewise.
25549 * sunrpc/svc_udp.c: Likewise.
25550 * sunrpc/svc_unix.c: Likewise.
25551 * sunrpc/xdr.c: Likewise.
25552 * sunrpc/xdr_array.c: Likewise.
25553 * sunrpc/xdr_rec.c: Likewise.
25554 * sunrpc/xdr_ref.c: Likewise.
25555 * sunrpc/xdr_stdio.c: Likewise.
25557 2011-09-09 Ulrich Drepper <drepper@gmail.com>
25559 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25561 2011-07-03 Andreas Jaeger <aj@suse.de>
25563 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
25564 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
25565 regenerate with gen-libm-tests.pl.
25567 2010-05-12 Petr Baudis <pasky@suse.cz>
25570 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
25571 around j0() zero points by switching to j1().
25572 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25573 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25577 2011-09-09 Ulrich Drepper <drepper@gmail.com>
25579 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
25581 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
25583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25584 Patch in part by Pavel Roskin <proski@gnu.org>.
25587 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
25589 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
25590 Free memory block if necessary.
25593 * libio/genops.c (INTDEF): For string streams the _lock pointer can
25594 be NULL. Don't lock in this case.
25596 2011-09-09 Roland McGrath <roland@hack.frob.com>
25598 * elf/elf.h (ELFOSABI_GNU): New macro.
25599 (ELFOSABI_LINUX): Define to that.
25601 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
25603 * string/strncat.c (strncat): Undef the symbol in case it has been
25604 defined in bits/string.h.
25606 2011-09-09 Ulrich Drepper <drepper@gmail.com>
25608 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
25610 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
25613 2011-08-17 Andreas Jaeger <aj@suse.de>
25615 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
25617 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25618 Ian Lance Taylor <iant@google.com>
25620 * math/libm-test.inc (lround_test): New testcase.
25621 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
25623 2011-09-08 Ulrich Drepper <drepper@gmail.com>
25625 * Makefile: Remove support for automatic cvs check-ins.
25626 * Makerules: Likewise.
25627 * config.make.in: Likewise.
25628 * configure.in: Likewise.
25629 * intl/Makefile: Likewise.
25630 * locale/Makefile: Likewise.
25631 * po/Makefile: Likewise.
25632 * posix/Makefile: Likewise.
25633 * sysdeps/gnu/Makefile: Likewise.
25634 * sysdeps/mach/hurd/Makefile: Likewise.
25635 * sysdeps/sparc/sparc32/Makefile: Likewise.
25638 * posix/Makefile (bug-regex32-ENV): Define.
25639 Patch by John Stanley <jpsinthemix@verizon.net>.
25641 * misc/Makefile (headers): Add bits/select2.h.
25642 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
25643 * misc/bits/select2.h: New file.
25644 * include/bits/select2.h: New file.
25645 * debug/Makefile (routines): Add fdelt_chk.
25646 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25647 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25649 * debug/fdelt_chk.c: New file.
25651 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
25652 * wcsmbs/test-wmemcmp.c: Likewise.
25653 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
25654 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
25656 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25658 * string/Makefile (strop-tests): Add memcmp.
25659 * string/test-wmemcmp.c: New file.
25660 * string/test-memcmp.c: Add wmemcmp support.
25662 2011-09-08 Roland McGrath <roland@hack.frob.com>
25665 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25668 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25669 garbage value in a __mach_port_mod_refs call in the cases of the
25670 task-self and thread-self ports.
25672 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25674 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25676 2011-09-08 Andreas Schwab <schwab@redhat.com>
25678 * elf/dl-load.c (lose): Check for non-null L.
25680 2011-09-07 Ulrich Drepper <drepper@gmail.com>
25682 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25684 * elf/dl-libc.c (dlerror_run): Pass back error code from
25688 * elf/dl-load.c (lose): Free l_origin if it is valid.
25690 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25692 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25693 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25694 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25695 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25696 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25697 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25699 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25701 * sysdeps/powerpc/fpu/e_hypot.c: New file.
25702 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25703 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25704 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25705 * sysdeps/powerpc/fpu/k_cosf.c: New file.
25706 * sysdeps/powerpc/fpu/k_sinf.c: New file.
25707 * sysdeps/powerpc/fpu/s_cosf.c: New file.
25708 * sysdeps/powerpc/fpu/s_sinf.c: New file.
25709 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25710 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25712 2011-08-15 Alan Modra <amodra@gmail.com>
25715 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25716 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25717 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
25718 ppc_mcount to static-only-routines.
25719 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25721 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25722 __mcount_internal with usual JUMPTARGET. Remove useless nop.
25724 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
25726 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25727 for finite and infinity parameters.
25729 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25732 and add nop instructions for throughput optimization.
25733 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25735 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
25737 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25738 aligned copy for power7 with vector-scalar instructions.
25739 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25741 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
25743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25746 2011-09-07 Andreas Schwab <schwab@redhat.com>
25749 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25752 2011-09-07 Ulrich Drepper <drepper@gmail.com>
25754 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25755 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25756 syscall wrapper around clock_gettime in __vdso_clock_gettime.
25757 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25760 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25762 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25763 Forgot to demangle the pointer.
25765 * sysdeps/i386/sysdep.h: Define atom_text_section.
25766 * sysdeps/x86_64/sysdep.h: Likewise.
25767 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25768 section with atom_text_section.
25769 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25770 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25771 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25772 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25773 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25775 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25776 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25777 already be defined. Change to take two parameters and don't assign
25778 result to variable. Adjust all users.
25779 Define INTERNAL_GETTIME if not already defined.
25780 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25783 HAVE_CLOCK_GETTIME_VSYSCALL.
25784 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25786 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25787 gettimeofday vsyscall, just use time.
25789 2011-09-06 Andreas Schwab <schwab@redhat.com>
25791 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25794 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25796 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25800 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25801 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25802 syscall if possible.
25804 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25806 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25807 e_ident. Don't pass to find_mapsXX.
25808 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25810 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25813 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25814 * sysdeps/x86_64/multiarch/strchr.S: Update.
25815 Check bit_slow_BSF bit.
25816 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25817 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25818 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25820 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25823 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25825 (tryshell): Define.
25826 (__spawni): Change last parameter to be flag. Test
25827 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25828 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25829 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25830 * posix/spawni.c: Likewise.
25831 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25832 * posix/spawnp.c: Likewise. Change normal version to use
25833 SPAWN_XFLAGS_USE_PATH.
25834 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25835 SPAWN_XFLAGS_TRY_SHELL.
25838 * posix/glob.h: Remove gcc 1.x support.
25841 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25843 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25846 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25848 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25849 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25850 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25851 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25852 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25853 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25855 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25857 * sysdeps/x86_64/wcscmp.S: New file.
25859 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25860 wcscmp-c wcscmp-sse2
25861 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25862 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25863 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25864 * wcsmbs/wcscmp.c: Allow renaming.
25866 2011-09-05 David S. Miller <davem@davemloft.net>
25868 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25869 stack slot, rather than the struct return pointer slot.
25870 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25871 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25873 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25875 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25877 * po/ja.po: Update from translation team.
25880 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25881 kernel in 64-bit binaries.
25883 2011-09-01 David S. Miller <davem@davemloft.net>
25885 * elf/elf.h (HWCAP_SPARC_*): Move to..
25886 * sysdeps/sparc/sysdep.h: this new file and add new values.
25887 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25888 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25889 _DL_HWCAP_COUNT to 24.
25890 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25892 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25893 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25894 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25895 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25896 instead of magic constants.
25897 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25899 2011-08-31 David S. Miller <davem@davemloft.net>
25901 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25903 Reimplement to do errno handling inline.
25904 (SYSCALL_ERROR_HANDLER): New macro.
25905 (__SYSCALL_STRING): Do not do errno handling in asm.
25906 (__CLONE_SYSCALL_STRING): Delete.
25907 (__INTERNAL_SYSCALL_STRING): Delete.
25908 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25909 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25910 (PSEUDO): Reimplement to do errno handling inline.
25911 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25912 (SYSCALL_ERROR_HANDLER): New macro.
25913 (__SYSCALL_STRING): Do not do errno handling in asm.
25914 (__CLONE_SYSCALL_STRING): Delete.
25915 (__INTERNAL_SYSCALL_STRING): Delete.
25916 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25917 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25919 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25920 (inline_syscall*): Add 'err' argument.
25921 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25922 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25923 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25924 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25926 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25927 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25929 2011-08-30 Andreas Schwab <schwab@redhat.com>
25931 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25933 2011-08-29 Jiri Olsa <jolsa@redhat.com>
25935 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25938 2011-08-24 David S. Miller <davem@davemloft.net>
25940 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25942 2011-08-24 Andreas Schwab <schwab@redhat.com>
25944 * elf/Makefile: Add rules to build and run unload8 test.
25945 * elf/unload8.c: New file.
25946 * elf/unload8mod1.c: New file.
25947 * elf/unload8mod1x.c: New file.
25948 * elf/unload8mod2.c: New file.
25949 * elf/unload8mod3.c: New file.
25951 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25954 2011-08-23 David S. Miller <davem@davemloft.net>
25956 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25957 subtract stack bias.
25958 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25959 %sp not %fp in calculations.
25960 (_JMPBUF_UNWINDS_ADJ): Likewise.
25962 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25963 (aio_suspend): Call it to force an exception region around the
25964 AIO_MISC_WAIT() invocation.
25966 2011-08-23 Andreas Schwab <schwab@redhat.com>
25968 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25971 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25973 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25975 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25976 and <dl-machine.h>.
25977 (Elf64_FuncDesc): Remove.
25979 2011-08-22 David S. Miller <davem@davemloft.net>
25981 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25982 sigaltstack check, add missing cfi directives.
25983 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25984 missing cfi directives, and sigaltstack handling.
25986 2011-08-16 Andreas Schwab <schwab@redhat.com>
25989 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25990 object is seen twice.
25991 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25993 * elf/Makefile (distribute): Add tst-initorder2.c.
25994 (tests): Add tst-initorder2.
25995 (modules-names): Add tst-initorder2a tst-initorder2b
25996 tst-initorder2c tst-initorder2d. Add rules to build them.
25997 ($(objpfx)tst-initorder2.out): New rule.
25998 * elf/tst-initorder2.c: New file.
25999 * elf/tst-initorder2.exp: New file.
26001 2011-08-22 Andreas Schwab <schwab@redhat.com>
26003 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26005 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26006 dependencies back to end of function.
26008 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26009 $(elfobjdir)/ld.so.
26011 2011-08-21 Ulrich Drepper <drepper@gmail.com>
26013 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26014 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26015 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26016 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26017 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26018 of __vdso_gettimeofday.
26019 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26020 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26022 (_libc_vdso_platform_setup): Remove initialization of
26023 __vdso_gettimeofday and __vdso_time.
26025 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26027 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26028 and fgetc_unlocked.
26029 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26032 * elf/dl-open.c (add_to_global): Report additions to the global scope
26033 for LD_DEBUG=scopes.
26034 (dl_open_worker): Also print scope of newly loaded dependencies.
26035 (_dl_show_scope): Indicate if there is no scope.
26038 * stdio-common/Makefile (tests): Add bug24.
26039 * stdio-common/bug24.c: New file.
26041 2011-08-19 Andreas Jaeger <aj@suse.de>
26044 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26045 non-existant file when using close-on-exec mode.
26047 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26050 the very first instruction.
26052 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26053 the CFI state in the end.
26054 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26055 inclusion of dl-trampoline.h.
26056 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26058 2011-08-19 Andreas Schwab <schwab@redhat.com>
26060 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26061 expectations for long double.
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26064 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26066 2011-08-14 David S. Miller <davem@davemloft.net>
26068 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26069 artificual limit depends upon the system page size.
26071 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26073 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26074 * resolv/Makefile: Define CFLAGS-libresolv.
26076 2011-08-17 Andreas Schwab <schwab@redhat.com>
26078 * nss/makedb.c (compute_tables): Make variables used in nested
26081 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26083 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26084 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26085 if buffer was too small.
26087 * elf/pldd.c (main): Attach to all threads in the process.
26088 Rewrite /proc handling to use *at functions.
26090 2011-08-16 Ulrich Drepper <drepper@gmail.com>
26092 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26093 specifies first scope to show.
26094 (dl_open_worker): Update callers. Move printing scope of new
26095 object to before the relocation.
26096 * elf/rtld.c (dl_main): Update _dl_show_scope call.
26097 * sysdeps/generic/ldsodefs.h: Update declaration.
26099 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26100 string for the scope number.
26102 2011-08-14 Ulrich Drepper <drepper@gmail.com>
26104 * nscd/servicescache.c (cache_addserv): Make sure written is always
26107 2011-08-14 Roland McGrath <roland@hack.frob.com>
26109 * sysdeps/i386/i486/bits/atomic.h
26110 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26111 statement expression, so as to suppress "set but not used" warning.
26112 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26114 * string/strncat.c (STRNCAT): Use prototype definition.
26116 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26117 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26119 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26120 (localedef-modules): Add localedef.
26121 (locale-modules): Add locale.
26123 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26124 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26125 to avoid a warning.
26127 2011-08-14 David S. Miller <davem@davemloft.net>
26129 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26130 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26132 2011-08-13 Ulrich Drepper <drepper@gmail.com>
26134 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
26135 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26136 * elf/rtld.c (dl_main): Set l_name of vDSO.
26137 Call _dl_show_scope when DL_DEBUG_SCOPES.
26138 (process_dl_debug): Recognize scopes flag and also set it for all.
26139 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26140 Declare _dl_show_scope.
26142 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26143 (do_dlopen): Pass caller_dlopen to dl_open.
26144 (__libc_dlopen_mode): Initialize caller_dlopen.
26146 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26147 of libc. Make tolower call locale-independent. Optimize a bit by
26148 using isdigit instead of isalnum.
26149 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26151 2011-08-12 Ulrich Drepper <drepper@gmail.com>
26153 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26154 was a dependency or dynamically loaded.
26156 2011-08-11 Ulrich Drepper <drepper@gmail.com>
26158 * intl/l10nflist.c: Allow architecture-specific pop function.
26159 * sysdeps/x86_64/l10nflist.c: New file.
26161 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26164 2011-08-10 Andreas Schwab <schwab@redhat.com>
26166 * include/dirent.h: Add libc_hidden_proto for scandirat and
26167 scandirat64. Don't declare __scandirat64.
26168 * dirent/scandirat.c: Add libc_hidden_def.
26169 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26170 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26172 2011-08-10 David S. Miller <davem@davemloft.net>
26174 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26176 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26177 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26178 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26180 2011-08-09 Ulrich Drepper <drepper@gmail.com>
26182 * Versions.def [libc]: Add GLIBC_2.15.
26183 * dirent/Makefile (routines): Add scandirat and scandirat64.
26184 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26186 * dirent/dirent.h: Declare scandirat and scandirat64.
26187 * dirent/scandirat.c: New file.
26188 * dirent/scandirat64.c: New file.
26189 * sysdeps/wordsize-64/scandirat.c: New file.
26190 * sysdeps/wordsize-64/scandirat64.c: New file.
26191 * dirent/opendir.c: Define opendirat.
26192 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26194 * dirent/scandir64.c: Adjust for scandir.c change.
26195 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26196 __scandirat64, and __scandir_cancel_handler.
26197 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26198 additional parameter and use openat instead of open (outside of ld.so).
26199 Add new __opendir as wrapper around __opendirat.
26200 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26201 here without requiring old scandirat implementation.
26203 2011-08-08 Ulrich Drepper <drepper@gmail.com>
26205 * dirent/scandir.c (cancel_handler): Renamed to
26206 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26207 defined. Adjust users.
26208 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26209 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26211 2011-08-04 Ulrich Drepper <drepper@gmail.com>
26213 * string/test-string.h (IMPL): Use __STRING to expand name and then
26216 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26219 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26221 * string/Makefile: Update.
26222 (strop-tests): Append strncat.
26223 * string/test-wcscmp.c: New file.
26224 New comprehensive test for wcscmp.
26225 * string/test-strcmp.c: Update.
26226 (WIDE): New define.
26228 2011-07-22 Andreas Schwab <schwab@redhat.com>
26230 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26233 2011-07-26 Andreas Schwab <schwab@redhat.com>
26235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26236 encoding to ACE if AI_IDN.
26238 2011-08-01 Jakub Jelinek <jakub@redhat.com>
26240 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26241 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26243 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26245 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26246 Fix overflow bug in strncat.
26247 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26249 * string/test-strncat.c: Update.
26250 Add new tests for checking overflow bugs.
26252 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26255 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26256 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26257 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26258 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26259 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26260 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26261 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26262 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26264 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26265 (USE_AS_STRCAT): Define.
26266 Add strcat and strncat support.
26267 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26269 2011-07-25 Andreas Schwab <schwab@redhat.com>
26271 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26272 __n bigger than INT_MAX+1.
26273 (__strncmp_g): Likewise.
26275 2011-07-23 Ulrich Drepper <drepper@gmail.com>
26277 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26278 * libio/stido.h: Likewise.
26280 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26285 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26286 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26287 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26288 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26289 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26292 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26297 (_dl_x86_64_save_sse): Likewise.
26299 2011-07-22 Ulrich Drepper <drepper@gmail.com>
26301 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26303 (_dl_x86_64_save_sse): Likewise.
26305 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26307 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26309 2011-07-21 Andreas Schwab <schwab@redhat.com>
26311 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26313 (_dl_x86_64_save_sse): Use correct AVX check.
26315 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26317 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26318 bug in strncpy/strncat.
26319 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26321 2011-07-21 Ulrich Drepper <drepper@gmail.com>
26323 * string/tester.c (test_strcat): Add tests for different alignments
26324 of source and destination.
26325 (test_strncat): Likewise.
26327 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26330 * posix/glob.c (glob): Check passed in values before using them in
26331 expressions to avoid some overflows.
26332 (glob_in_dir): Likewise.
26335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26336 check for AVX enablement so that we don't crash with old kernels and
26338 * elf/tst-audit4.c: Add same checks here.
26339 * elf/tst-audit6.c: Likewise.
26341 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
26343 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26345 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26347 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26349 * po/cs.po: Update from translation team.
26350 * po/bg.po: Likewise.
26352 2011-07-12 Marek Polacek <mpolacek@redhat.com>
26354 * misc/sys/cdefs.h: Add support for const attribute.
26355 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26356 to gnu_dev_{major,minor,makedev} functions.
26358 2011-07-20 Marek Polacek <mpolacek@redhat.com>
26360 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26362 2011-07-20 Andreas Schwab <schwab@redhat.com>
26364 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26367 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26369 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26370 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26371 register in order to avoid conflicts with the soft frame pointer
26372 being held in r11 when necessary.
26373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26374 (INTERNAL_VSYSCALL_NCS): Likewise.
26376 2011-07-14 Marek Polacek <mpolacek@redhat.com>
26378 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26379 * elf/dl-fini.c (_dl_fini): Adjust caller.
26380 * elf/dl-close.c (_dl_close_worker): Likewise.
26381 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26383 2011-07-15 Marek Polacek <mpolacek@redhat.com>
26385 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26386 "aux_cache->nlibs < 0".
26388 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26389 in the reload-count case.
26391 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26394 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26395 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26396 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26397 * sysdeps/x86_64/multiarch/strcat.S: New file.
26398 * sysdeps/x86_64/multiarch/strncat.S: New file.
26399 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26400 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26401 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26402 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26403 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26404 (USE_AS_STRCAT): Define.
26405 Add strcat and strncat support.
26406 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26407 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26408 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26409 * string/strncat.c: Update.
26410 (USE_AS_STRNCAT): Define.
26411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26412 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26414 * sysdeps/x86_64/multiarch/init-arch.h
26415 (bit_Prefer_PMINUB_for_stringop): New.
26416 (index_Prefer_PMINUB_for_stringop): Likewise.
26417 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
26418 bit_Prefer_PMINUB_for_stringop.
26420 2011-07-19 Ulrich Drepper <drepper@gmail.com>
26422 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
26424 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
26425 of casting of buffer.
26426 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
26427 buffer32 and buffer64.
26428 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
26429 writes instead of casting of buffer.
26430 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
26432 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
26435 2011-07-19 Andreas Schwab <schwab@redhat.com>
26437 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
26439 2011-07-19 Ulrich Drepper <drepper@gmail.com>
26441 * nscd/nscd.c (termination_handler): Don't do anything for a database
26442 if it has not yet been initialized.
26444 2011-07-18 Ulrich Drepper <drepper@gmail.com>
26446 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26448 2011-07-15 Marek Polacek <mpolacek@redhat.com>
26450 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26452 2011-07-18 Ulrich Drepper <drepper@gmail.com>
26454 * po/nl.po: Update from translation team.
26455 * po/sv.po: Likewise.
26457 2011-07-16 Roland McGrath <roland@hack.frob.com>
26459 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
26460 now disallowed by GCC.
26462 * configure.in (use-default-link): Default to yes if a test -shared
26463 link meets our qualifications.
26464 * configure: Regenerated.
26466 * config.make.in (output-format): New variable.
26467 * configure.in: Check for ld --print-output-format support.
26468 * configure: Regenerated.
26469 * Makerules ($(common-objpfx)format.lds)
26470 [$(output-format) != unknown]: Just use $(output-format),
26471 instead of the linker-script munging.
26473 2011-07-14 Roland McGrath <roland@hack.frob.com>
26475 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
26476 of $(common-objpfx)shlib.lds.
26477 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
26479 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
26480 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
26482 * configure.in (-z relro check): Adjust test code to add a large
26483 writable data section after it.
26484 * configure: Regenerated.
26486 2011-07-11 Roland McGrath <roland@hack.frob.com>
26488 * configure.in (-z relro check): Fix test code to make the variable
26490 * configure: Regenerated.
26492 2011-07-11 Ulrich Drepper <drepper@gmail.com>
26494 * nscd/nscd.h (struct traced_file): Define.
26495 (struct database_dyn): Remove inotify_descr, reset_res, and filename
26496 elements. Add traced_files.
26497 (inotify_fd): Declare.
26498 (register_traced_file): Declare.
26499 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
26500 (inotify_fd): Export.
26501 (resolv_conf_descr): Remove.
26502 (nscd_init): Move inotify descriptor creation to main.
26503 Don't register files for notification here.
26504 (register_traced_file): New function.
26505 (invalidate_cache): Don't use reset_res to determine whether to call
26506 res_init, go through the list of registered files.
26507 (main_loop_poll): The inotify descriptors are now stored in the
26508 structures for the traced files.
26509 (main_loop_epoll): Likewise
26510 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
26511 to __nss_disable_nscd.
26512 * nscd/cache.c (prune_cache): There is no single inotify descriptor
26513 for a database anymore. Check the records for all the registered
26515 * nss/Makefile (libnss_files-routines): Add files-init.
26516 (libnss_db-routines): Add db-init.
26517 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
26518 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
26519 * nss/nss_db/db-init.c: New file.
26520 * nss/nss_files/files-init.c: New file.
26521 * nss/nsswitch.c (nss_load_library): New function. Broken out of
26522 __nss_lookup_function.
26523 (__nss_lookup_function): Call nss_load_library.
26524 (nss_load_all_libraries): New function.
26525 (__nss_disable_nscd): Take parameter with callback function for files
26526 to register. Set is_nscd. Load all the DSOs for the NSS modules
26527 used for the cached services.
26528 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
26529 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
26530 options for features to all the files in nscd.
26532 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
26534 2011-07-10 Roland McGrath <roland@hack.frob.com>
26536 * csu/elf-init.c (__libc_csu_init): Comment typo.
26538 2011-07-09 Ulrich Drepper <drepper@gmail.com>
26540 * po/pl.po: Update from translation team.
26541 * po/ja.po: Likewise.
26542 * po/ru.po: Likewise.
26543 * po/ko.po: Likewise.
26544 * po/fr.po: Likewise.
26546 2011-07-09 Roland McGrath <roland@hack.frob.com>
26548 * configure.in (.ctors/.dtors header and trailer check):
26549 Use an empirical test on a built program.
26550 * configure: Regenerated.
26552 * configure.in (-z relro check): Use an empirical test on a built DSO.
26553 Detect, but do not require, on ia64.
26554 * configure: Regenerated.
26556 * configure.in (READELF): Find it with AC_CHECK_TOOL.
26557 Update tests that use readelf to use $READELF instead.
26558 * configure: Regenerated.
26560 2011-07-08 Ulrich Drepper <drepper@gmail.com>
26562 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
26563 if the result is not used.
26565 2011-07-05 Andreas Jaeger <aj@suse.de>
26568 * stdlib/tst-strtod.c: Add testcase.
26570 2011-07-07 Ulrich Drepper <drepper@gmail.com>
26572 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
26573 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
26574 The latter has a higher limit. Take additional parameter to pass to
26576 (__pathconf): Pass file to __statfs_link_max.
26577 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
26579 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
26583 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
26584 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26586 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
26587 (__statfs_filesize_max): Likewise.
26588 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
26590 2011-07-05 Andreas Jaeger <aj@suse.de>
26592 * resolv/res_comp.c (dn_skipname): Remove unused variable.
26594 2011-07-06 Marek Polacek <mpolacek@redhat.com>
26596 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
26598 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
26601 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
26603 * Makefile (strop-tests): Add strncat.
26604 * string/test-strncat.c: New file.
26606 2011-06-30 Marek Polacek <mpolacek@redhat.com>
26608 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
26610 2011-06-21 Andreas Jaeger <aj@suse.de>
26612 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
26613 Copy rule from iconvdata/Makefile.
26615 2011-07-06 Ulrich Drepper <drepper@gmail.com>
26618 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
26619 but no long options are defined, just return 'W'.
26621 2011-06-22 Marek Polacek <mpolacek@redhat.com>
26624 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
26626 2011-07-06 Ulrich Drepper <drepper@gmail.com>
26628 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
26630 (innetgr): Likewise.
26632 2011-07-05 Roland McGrath <roland@hack.frob.com>
26634 * config.make.in (install_root): Default to $(DESTDIR).
26636 2011-07-05 Ulrich Drepper <drepper@gmail.com>
26638 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
26640 2011-07-02 Roland McGrath <roland@hack.frob.com>
26642 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
26644 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26645 containing directory rather than embedding absolute directory names.
26647 * scripts/check-local-headers.sh: Rewritten using awk.
26648 Match by word, not by line. Print error messages for matches.
26649 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26651 * Makerules [shlib-lds-flags empty]:
26652 ($(common-objpfx)libc_pic.opts): New target.
26653 ($(common-objpfx)libc_pic.os.clean): New target.
26654 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26656 * config.make.in (OBJCOPY): New variable.
26657 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26658 * configure: Regenerated.
26660 * config.make.in (use-default-link): New variable.
26661 * configure.in (use_default_link): Grok --with-default-link to set it.
26662 * configure: Regenerated.
26663 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26664 (shlib-lds, shlib-lds-flags): Define to empty.
26666 * Makerules (shlib-lds): New variable.
26667 (shlib-lds-flags): New variable.
26668 (build-shlib, build-moduile, build-module-asneeded): Use it.
26669 ($(common-objpfx)libc.so): Use $(shlib-lds).
26670 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26671 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26673 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26674 DT_FLAGS/DT_FLAGS_1 with zero flags.
26676 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26677 linker script munging.
26679 2011-07-02 Ulrich Drepper <drepper@gmail.com>
26681 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26683 * crypt/sha512.c (sha512_process_block): Perform total addition using
26684 128-bit if possible.
26685 (__sha512_finish_ctx): Likewise.
26686 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26688 * crypt/sha256.c (SWAP64): Define.
26689 (sha256_process_block): Perform total addition using 64-bit if
26691 (__sha256_finish_ctx): Likewise.
26693 2011-07-01 Ulrich Drepper <drepper@gmail.com>
26695 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
26696 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26697 * nscd/hstcache.c (cache_addhst): Likewise.
26698 * nscd/grpcache.c (cache_addgr): Likewise.
26699 * nscd/aicache.c (addhstaiX): Likewise
26700 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26702 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
26704 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26705 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26706 * nscd/hstcache.c (cache_addhst): Likewise.
26707 * nscd/grpcache.c (cache_addgr): Likewise.
26708 * nscd/aicache.c (addhstaiX): Likewise
26710 2011-07-01 Andreas Schwab <schwab@redhat.com>
26712 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26713 domain only when needed.
26715 2011-06-30 Andreas Schwab <schwab@redhat.com>
26717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26718 is always restored.
26720 2011-06-29 Ulrich Drepper <drepper@gmail.com>
26722 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26723 are re-adding the entry.
26724 * nscd/servicescache.c (cache_addserv): Likewise.
26726 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
26728 * sysdeps/generic/dl-irel.h: fix protection against multiple
26730 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26732 2011-06-28 Ulrich Drepper <drepper@gmail.com>
26735 * malloc/memusage.sh: Fix quoting in message.
26736 * debug/xtrace.sh: Likewise.
26738 * configure.in: Remove support for --experimental-malloc option, make
26740 * config.make.in: Likewise.
26741 * malloc/Makefile: Likewise.
26743 2011-06-27 Andreas Schwab <schwab@redhat.com>
26745 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26746 two-byte characters.
26748 2011-06-27 Roland McGrath <roland@hack.frob.com>
26750 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26751 AC_CACHE_CHECK invocation.
26752 * configure: Regenerated.
26754 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26756 2011-06-27 Ulrich Drepper <drepper@gmail.com>
26759 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26760 bit from old_res_options.
26762 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26764 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26765 value type for setfct.
26767 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26770 __gettimeofday instead of gettimeofday.
26772 2011-06-26 Ulrich Drepper <drepper@gmail.com>
26774 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26776 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26778 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26780 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26783 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26786 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26787 strcpy-sse2-unaligned strncpy-sse2-unaligned
26788 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26789 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26790 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26791 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26792 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26793 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26794 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26795 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26796 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26797 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26798 (STRCPY): Support SSE2 and SSSE3 versions.
26800 2011-06-24 Ulrich Drepper <drepper@gmail.com>
26803 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26804 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26805 kernels which artificially limit size of requests.
26807 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26810 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26811 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26812 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26813 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26814 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26815 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26816 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26817 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26819 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26820 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26821 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26822 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26823 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26825 Enable unaligned load optimization for Intel Core i3, i5 and i7
26827 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26829 (index_Fast_Unaligned_Load): Define.
26830 (HAS_FAST_UNALIGNED_LOAD): Define.
26832 2011-06-23 Marek Polacek <mpolacek@redhat.com>
26834 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26836 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26840 until it is clear that the information is realy needed.
26841 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26843 2011-06-22 Andreas Schwab <schwab@redhat.com>
26845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26847 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26849 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26850 /sys/devices/system/cpu/online if it is usable.
26852 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26853 reading the information from the /proc filesystem to once a second.
26855 2011-06-21 Andreas Jaeger <aj@suse.de>
26857 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26858 NULL after inclusion of kernel headers.
26860 2011-06-21 Ulrich Drepper <drepper@gmail.com>
26862 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26863 calls to internal_setent.
26866 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26867 addresses using gethostbyname4_r ignore IPv4 addresses.
26869 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26870 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26872 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26874 2011-06-20 David S. Miller <davem@davemloft.net>
26876 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26878 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26880 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26881 (elf_irel): Use it.
26882 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26883 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26884 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26885 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26886 * sysdeps/x86_64/dl-irel.h: Likewise.
26888 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26889 * elf/dl-sym.c: Likewise.
26891 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26893 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26894 need to dereference resplen2.
26896 2011-06-14 Andreas Schwab <schwab@redhat.com>
26898 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26900 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26902 * Makeconfig: Define vardbdir and inst_vardbdir.
26903 * nss/Makefile: Add rules to install db-Makefile.
26905 * nss/nss_db/db-XXX.c: Cleanup.
26907 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26908 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26910 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26911 * nss/makedb.c: Implement -g option to specify that value strings
26912 are generated and should not be added to table iterated over for
26914 * nss/nss_db/db-initgroups.c: New file.
26916 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26919 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26920 (internal_getgrouplist): Adjust to name change.
26921 Update use_initgroups_entry if this is not the first call.
26922 * nss/databases.def: Add initgroups entry.
26924 * nss/makedb.c (compute_tables): Check result of multiple hash table
26925 sizes to minimize maximum chain length.
26927 2011-06-14 Ulrich Drepper <drepper@gmail.com>
26929 * Versions.def: Add entry for libnss_db.
26930 * shlib-versions: Likewise.
26931 * nss/Makefile: Add rules to build libnss_db.
26932 * nss/Versions: Add libnss_db information. Organize libnss_files
26934 * nss/db-Makefile: Add gshadow support. Change rules for the new
26935 makedb progra. Some minor improvements to generate smaller files.
26936 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26938 * nss/makedb.c: ...here.
26939 Improve database format to be smaller and require less memory at
26941 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26943 * nss/nss_db/db-netgrp.c: Likewise.
26944 * nss/nss_db/db-open.c: Likewise.
26945 * nss/nss_files/flies-XXX.x: Adjust comments.
26946 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26947 * nss/nss_files/files-grp.c: Likewise.
26948 * nss/nss_files/files-hosts.c: Likewise.
26949 * nss/nss_files/files-network.c: Likewise.
26950 * nss/nss_files/files-proto.c: Likewise.
26951 * nss/nss_files/files-pwd.c: Likewise.
26952 * nss/nss_files/files-rpc.c: Likewise.
26953 * nss/nss_files/files-service.c: Likewise.
26954 * nss/nss_files/files-sgrp.c: Likewise.
26955 * nss/nss_files/files-spwd.c: Likewise.
26956 * nss/nss_db/db-alias.c: Removed.
26957 * nss/nss_db/dummy-db.h: Removed.
26959 2011-06-02 Ulrich Drepper <drepper@gmail.com>
26961 * nss/makedb.c: Rewritten to not use database library.
26962 * nss/Makefile: Update to build new makedb program.
26964 2011-06-14 Andreas Jaeger <aj@suse.de>
26966 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26967 memset declaration.
26969 2011-06-10 Andreas Schwab <schwab@redhat.com>
26971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26974 2011-06-10 Roland McGrath <roland@hack.frob.com>
26976 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26977 * elf/Makefile ($(objpfx)ld.so): Likewise.
26979 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26980 Don't list ld.so twice in dependencies.
26982 * posix/bug-regex31.c: Include <stdlib.h>.
26984 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26986 * nis/nss_compat/compat-spwd.c
26987 (getspent_next_nss_netgr): Remove unused variable.
26988 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26990 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26991 nonmembers" output to use the right array.
26993 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26995 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26997 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26998 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26999 * catgets/gencat.c (read_input_file): Likewise.
27000 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27002 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27003 variable definition inside #if's controlling its use.
27005 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27007 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27009 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27011 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27014 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27016 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27017 * configure: Regenerated.
27019 * Makerules: Revert last change.
27020 * elf/Makefile: Likewise.
27022 2011-06-09 Roland McGrath <roland@hack.frob.com>
27024 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27025 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27026 (reloc-link): Likewise.
27028 2011-06-09 Ulrich Drepper <drepper@gmail.com>
27030 * elf/Makefile: Add rules to build pldd.
27031 * elf/pldd.c: New file.
27032 * elf/pldd-xx.c: New file.
27034 2011-06-07 Ulrich Drepper <drepper@gmail.com>
27036 * version.h: Update for 2.15 development version.
27038 2011-06-07 David S. Miller <davem@davemloft.net>
27040 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27042 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27043 elf_machine_lazy_rel): Likewise.
27044 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27045 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27046 elf_machine_lazy_rel): Likewise.
27047 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27048 dl_hwcap via passed in argument.
27049 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27052 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27054 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27056 2011-06-06 Roland McGrath <roland@hack.frob.com>
27059 * manual/fdl-1.1.texi: New file, verbatim from:
27060 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27061 * manual/lgpl-2.1.texi: New file, verbatim from:
27062 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27063 * manual/Makefile (licenses): New variable, list those new file names.
27065 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27067 * manual/fdl.texi: File removed.
27068 * manual/lesser.texi: File removed.
27069 * manual/libc.texinfo (Copying, Documentation License):
27070 Use new @include file names, put @appendix directive before @include.
27072 2011-06-04 Jakub Jelinek <jakub@redhat.com>
27075 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27076 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27077 (mq_open): Add __NTH.
27079 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27082 Assume Intel Core i3/i5/i7 processor if AVX is available.
27084 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27089 2011-05-31 Andreas Schwab <schwab@redhat.com>
27091 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27092 memory. Use alloca_account. Fix memory leak when retrying.
27094 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27096 * version.h (RELEASE): Bump for 2.14 release.
27097 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27099 * config.make.in (RANLIB): Remove entry.
27101 2011-05-30 Ulrich Drepper <drepper@gmail.com>
27103 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27104 (libc.pot): Work around missing support for .ksh extension in xgettext.
27107 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27108 if both request failed.
27109 (send_dg): In case of server errors clear resplen or *resplen2.
27112 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27113 when there are multiple maps.
27114 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27115 (_dl_fini): Remove test here.
27117 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27119 2011-05-29 Ulrich Drepper <drepper@gmail.com>
27122 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27123 bit from old_res_options.
27124 (gaih_inet): Likewise.
27127 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
27130 * resolv/res_init.c (res_setoptions): Make the code more compact.
27133 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27137 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27139 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27142 * malloc/malloc.h: Declare malloc hook variables as volatile.
27144 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27148 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
27149 raise in the comment.
27150 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27151 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27152 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
27154 2011-05-28 Ulrich Drepper <drepper@gmail.com>
27157 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27158 grow the buffers more if it already has to be sufficient.
27159 (build_wcs_upper_buffer): Likewise.
27160 * posix/regexec.c (check_matching): Likewise.
27161 (clean_state_log_if_needed): Likewise.
27162 (extend_buffers): Don't enlarge buffers beyond size of the input
27164 Patches mostly by Emil Wojak <emil@wojak.eu>.
27165 * posix/bug-regex32.c: New file.
27166 * posix/Makefile (tests): Add bug-regex32.
27168 * locale/findlocale.c (_nl_find_locale): Return right away if
27169 _nl_explode_name failed.
27170 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27172 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27174 * debug/xtrace.sh: Unify messages.
27175 * malloc/memusage.sh: Likewise.
27178 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27179 time symbol from vDSO. Substitute with vsyscall if not available.
27180 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27183 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27184 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27185 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27186 Add sendmmsg and internal_sendmmsg.
27187 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27188 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27189 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27191 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27192 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27193 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27195 2011-05-27 Ulrich Drepper <drepper@gmail.com>
27198 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27199 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27201 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27205 * iconvdata/Makefile (tests): Add bug-iconv9.
27206 * iconvdata/bug-iconv9.c: New file.
27208 2011-05-27 Andreas Schwab <schwab@redhat.com>
27211 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27213 2011-05-25 Jakub Jelinek <jakub@redhat.com>
27215 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27216 (struct user_regs_struct): Change intcs field back to cs.
27218 2011-05-25 Ulrich Drepper <drepper@gmail.com>
27220 * po/ja.po: Update from translation team.
27222 2011-05-23 Ulrich Drepper <drepper@gmail.com>
27225 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27226 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27228 2011-05-20 Andreas Schwab <schwab@redhat.com>
27230 * stdlib/longlong.h: Update from GCC.
27232 2011-05-23 Andreas Schwab <schwab@redhat.com>
27234 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27236 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27237 Add parameter name.
27238 (__sysconf): Pass it down.
27240 2011-05-22 Ulrich Drepper <drepper@gmail.com>
27243 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27245 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27246 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27247 add in in __libc_use_alloca calls. Adjust callers.
27248 (glob): Use malloc in some situations.
27250 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27251 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27254 2011-05-21 Ulrich Drepper <drepper@gmail.com>
27256 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27257 and CLOCK_BOOTTIME_ALARM.
27260 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27263 * string/_strerror.c (__strerror_r): Print negative errors as signed
27267 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27268 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27269 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27271 * configure.in: Fix typo in redirection and correct removal of test
27272 files in two cases.
27275 * locale/setlocale.c (new_composite_name): Fix test to check for
27276 identical name of all categories.
27279 * libio/filedoalloc.c (local_isatty): New function.
27280 (_IO_file_doallocate): Use local_isatty.
27281 * stdio-common/perror.c (perror): In case a new stream is used
27282 forward the stream error.
27283 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27286 2011-05-20 Ulrich Drepper <drepper@gmail.com>
27289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27291 * include/alloca.h (extend_alloca_account): Define.
27294 * posix/regex.h: Fix comments with documentation of user-accessible
27295 fields after compilation and describe correct free'ing of pattern
27296 after re_compile_pattern.
27297 Patch by Reuben Thomas <rrt@sc3d.org>.
27299 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27301 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27302 and -mno-altivec to prevent the compiler from using Altivec and/or
27303 VSX instructions when the corresponding registers are not available.
27305 2011-05-19 Andreas Schwab <schwab@redhat.com>
27307 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27309 2011-05-19 Ulrich Drepper <drepper@gmail.com>
27311 * libio/freopen.c (freopen): Use __dup2, not dup2.
27312 * libio/freopen64.c (freopen64): Likewise.
27314 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27317 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27318 * math/Makefile (tests): Add test-powl.
27319 (CFLAGS-test-powl.c): Define.
27320 * math/test-powl.c: New file.
27322 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27324 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27326 2011-05-17 Ulrich Drepper <drepper@gmail.com>
27329 * iconvdata/gb18030.c: Update to GB18020-2005.
27331 2011-05-16 Ulrich Drepper <drepper@gmail.com>
27333 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27334 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27335 Patch by Aharon Robbins <arnold@skeeve.com>.
27338 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27342 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27343 through underflows.
27346 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27347 point to strings before performing equality test for error_one_per_line
27351 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27354 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27355 (struct user_fpregs_struct): Avoid __uint*_t types.
27358 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27359 symbol info. Use it instead of calling _dl_addr locally.
27360 (lock_and_info): New function.
27361 (tr_freehook): Call lock_and_info and pass symbol info as additional
27362 parameter to tr_where.
27363 (tr_mallochook): Likewise.
27364 (tr_reallochook): Likewise.
27365 (tr_memalignhook): Likewise.
27367 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27368 used and couldn't be at all thread-safe.
27370 2011-05-15 Ulrich Drepper <drepper@gmail.com>
27372 * libio/freopen.c (freopen): Don't close old file descriptor
27373 before the new one is opened. Instead dup the new file descriptor
27374 to the old one after the new stream is created.
27375 * libio/freopen64.c (freopen64): Likewise.
27376 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27377 * libio/fileops.c (_IO_new_file_close_it): Handle new
27378 _IO_FLAGS2_NOCLOSE flag.
27379 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27380 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27381 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27382 _IO_FLAGS2_NOCLOSE flag.
27383 * include/unistd.h: Add hidden_proto for dup3.
27384 Define __have_dup3.
27385 * io/dup3.c: Define hidden symbol.
27386 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27389 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27390 when an incomplete long option is used.
27391 * posix/tst-getopt_long1.c: New file.
27392 * posix/Makefile (tests): Add tst-getopt_long1.
27395 * scripts/config.guess: Update from autoconf-2.68.
27396 * scripts/config.sub: Likewise.
27399 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27401 (has_cpuclock): ...this. New function.
27402 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27403 macro here based on has_cpuclock code.
27406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27407 First byte (not low byte) is now always NUL.
27408 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27411 Use non-cancelable interfaces.
27414 * locale/iso-639.def: Add entry for Sorani.
27417 * include/stdlib.h: Move include protection to the right place.
27418 Define abort_msg_s. Declare __abort_msg with it.
27419 * stdlib/abort.c (__abort_msg): Adjust type.
27420 * assert/assert.c (__assert_fail_base): New function. Majority
27421 of code from __assert_fail. Allocate memory for __abort_msg with
27423 (__assert_fail): Now call __assert_fail_base.
27424 * assert/assert-perr.c: Remove bulk of implementation. Use
27425 __assert_fail_base.
27426 * include/assert.hL Declare __assert_fail_base.
27427 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
27429 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
27431 2011-05-14 Ulrich Drepper <drepper@gmail.com>
27435 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
27436 until all modules are registered in the DTV.
27437 * elf/Makefile: Add rules to build and run tst-tls19.
27438 * elf/tst-tls19.c: New file.
27439 * elf/tst-tls19mod1.c: New file.
27440 * elf/tst-tls19mod2.c: New file.
27441 * elf/tst-tls19mod3.c: New file.
27442 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
27445 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
27449 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
27450 two-byte sequence errors.
27451 * iconvdata/Makefile (tests): Add bug-iconv8.
27452 * iconvdata/bug-iconv8.c: New file.
27455 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
27458 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
27461 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
27462 (dummy_getcfa): New function.
27463 (init): Get _Unwind_GetCFA address, use dummy if not found.
27464 (backtrace_helper): In recursion check, also check whether CFA changes.
27465 (__backtrace): Completely initialize arg.
27467 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
27468 storing incomplete byte sequence in state object. Avoid testing for
27469 guaranteed too small input if we know there is enough data available.
27471 2011-05-11 Andreas Schwab <schwab@redhat.com>
27473 * Makeconfig (+link-pie): Indent.
27474 * Rules (binaries-pie): Define if $(have-fpie) and
27476 (binaries-shared): Also filter out $(binaries-pie).
27477 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
27478 * nscd/Makefile (others-pie): Add nscd.
27479 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
27480 ($(objpfx)nscd): Remove command override.
27481 * login/Makefile (others-pie): Add pt_chown.
27482 ($(objpfx)pt_chown): Remove command override.
27483 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
27484 remove command overrides.
27486 2011-05-13 Ulrich Drepper <drepper@gmail.com>
27488 * libio/tst_putwc.c: Fix error messages.
27491 * libio/fileops.c (_IO_new_file_close_it): Always flush when
27492 currently writing and seek to current position when not.
27493 * libio/Makefile (tests): Add bug-fclose1.
27494 * libio/bug-fclose1.c: New file.
27496 2011-05-12 Ulrich Drepper <drepper@gmail.com>
27499 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
27500 don't set DF_1_NODELETE here.
27501 (do_lookup_x): When entering new entry test for copy relocation
27502 and if necessary set DF_1_NODELETE flag.
27503 * elf/tst-unique4.cc: New file.
27504 * elf/tst-unique4.h: New file.
27505 * elf/tst-unique4lib.cc: New file.
27506 * elf/Makefile: Add rules to build and run tst-unique4.
27507 Patch by Piotr Bury <pbury@goahead.com>.
27509 2011-05-11 Ulrich Drepper <drepper@gmail.com>
27512 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
27515 * misc/mntent_r.c (addmntent): Flush the stream after the output
27518 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
27519 (is_trusted_path_normalize): Skip initial colon. Append slash
27520 to empty buffer. Duplicate is_trusted_path code but allow
27521 constructed patch to be prefix.
27522 (is_dst): Allow $ORIGIN followed by /.
27523 (_dl_dst_substitute): Correct clearing of check_for_trusted.
27524 Correct testing of result of is_trusted_path_normalize
27525 (decompose_rpath): Fix warning.
27527 2011-05-10 Ulrich Drepper <drepper@gmail.com>
27530 * grp/initgroups.c (internal_getgrouplist): When we found the service
27531 list through the initgroups entry in nsswitch.conf do not always
27532 continue on a successful lookup. Don't always use the
27533 __nss_group_database value if it is set.
27534 * nss/nsswitch.conf (initgroups): Change action for successful db
27535 lookup to continue for compatibility.
27537 2011-05-09 Ulrich Drepper <drepper@gmail.com>
27540 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
27542 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
27544 * iconvdata/tst-tables.sh: Likewise.
27545 * iconvdata/cp770.c: New file.
27546 * iconvdata/cp771.c: New file.
27547 * iconvdata/cp772.c: New file.
27548 * iconvdata/cp773.c: New file.
27549 * iconvdata/cp774.c: New file.
27550 * iconvdata/testdata/CP770: New file.
27551 * iconvdata/testdata/CP770..UTF8: New file.
27552 * iconvdata/testdata/CP771: New file.
27553 * iconvdata/testdata/CP771..UTF8: New file.
27554 * iconvdata/testdata/CP772: New file.
27555 * iconvdata/testdata/CP772..UTF8: New file.
27556 * iconvdata/testdata/CP773: New file.
27557 * iconvdata/testdata/CP773..UTF8: New file.
27558 * iconvdata/testdata/CP774: New file.
27559 * iconvdata/testdata/CP774..UTF8: New file.
27561 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
27563 * iconvdata/gen-8bit-gap.sh: Likewise.
27564 * iconvdata/gen-8bit.sh: Likewise.
27566 * locale/iso-639.def: Add ary entry.
27569 * locale/C-translit.h.in: Add U20A1 transliteration.
27572 * locale/iso-639.def: Add wae entry.
27573 Patch by Kevin Bortis <bortis@translate-wae.ch>.
27576 * locale/programs/localedef.c (construct_output_path): Use ssize_t
27580 * locale/C-translit.h.in: Add entry for U20B9.
27581 Patch by pravin.d.s@gmail.com.
27583 2011-05-08 Ulrich Drepper <drepper@gmail.com>
27586 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
27587 ENAMETOOLONG use generic getcwd.
27588 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
27589 in rtld. Use *stat64.
27590 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
27591 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
27592 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
27593 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
27594 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
27595 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
27596 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
27597 __fstatat64 macros.
27598 * include/dirent.h: Add libc_hidden_proto for rewinddir.
27599 * dirent/rewinddir.c: Add libc_hidden_def.
27600 * sysdeps/mach/hurd/rewinddir.c: Likewise.
27601 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
27603 * include/dirent.h (__alloc_dir): Add flags parameter.
27604 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
27605 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
27607 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
27608 from fdopendir if O_CLOEXEC is already set.
27610 2011-03-15 Alan Modra <amodra@gmail.com>
27612 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
27613 l_tls_firstbyte_offset non-zero. Save padding offset in
27614 l_tls_firstbyte_offset for later use.
27615 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
27616 freeing static tls block.
27618 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
27620 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
27621 where #ifdef was intended. The intent is to prevent ARG_MAX from
27622 being defined by the kernel headers.
27624 2011-05-07 Ulrich Drepper <drepper@gmail.com>
27627 * resolv/resolv.h: Define RES_NOTLDQUERY.
27628 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
27629 no-tld-query and set RES_NOTLDQUERY.
27630 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
27631 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
27632 modern BIND to search name as TLD unless forbidden.
27634 2011-05-07 Petr Baudis <pasky@suse.cz>
27635 Ulrich Drepper <drepper@gmail.com>
27638 * elf/dl-load.c (fillin_rpath): Move trusted path check...
27639 (is_trusted_path): ...to here.
27640 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
27641 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
27642 using is_trusted_path_normalize() in setuid scripts.
27644 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27646 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27647 __BEGIN/__END_DECLS.
27649 2011-05-06 Ulrich Drepper <drepper@gmail.com>
27651 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27652 NSS_STATUS_NOTFOUND if no record was found.
27654 2011-05-05 Andreas Schwab <schwab@redhat.com>
27656 * sunrpc/Makefile (headers): Add rpc/netdb.h.
27657 (headers-not-in-tirpc): Remove rpc/netdb.h
27658 * resolv/netdb.h: Revert last change.
27660 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27662 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27663 circular dependency between libgcc.a and libc.a.
27665 2011-05-05 Andreas Schwab <schwab@redhat.com>
27667 * resolv/netdb.h: Don't include <rpc/netdb.h>.
27668 * nis/Makefile: Don't install rpcsvc/*.
27669 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27670 instead of <rpc/types.h>.
27671 (MAXHOSTNAMELEN): Define.
27673 2011-05-03 Andreas Schwab <schwab@redhat.com>
27675 * elf/ldconfig.c (add_dir): Don't crash on empty path.
27677 2011-04-28 Maciej Babinski <mbabinski@google.com>
27680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27681 gethostbyname4_r when IPv6 results are possible.
27683 2011-05-02 Ulrich Drepper <drepper@gmail.com>
27686 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27687 _PC_PIPE_BUF handling.
27689 2011-04-30 Bruno Haible <bruno@clisp.org>
27692 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27693 * resolv/netdb.h (getnameinfo): Change type of flags parameter
27695 * inet/getnameinfo.c (getnameinfo): Likewise.
27697 2011-04-29 Ulrich Drepper <drepper@gmail.com>
27699 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27700 to groups setting in database lookup.
27701 * nss/nsswitch.conf: Add initgroups entry.
27703 2011-04-22 Ulrich Drepper <drepper@gmail.com>
27706 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27708 Patch by Eric Blake <eblake@redhat.com>.
27710 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
27712 * sunrpc/Makefile (need-export-routines): Add svc_run.
27713 (routines): Remove svc_run.
27714 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27715 * sunrpc/clnt_perr.c (clnt_perrno): Export.
27716 * sunrpc/svc_run.c (svc_run): Likewise.
27717 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27719 2011-04-21 Ulrich Drepper <drepper@gmail.com>
27721 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27722 problem in reallocation in last patch.
27724 2011-04-20 Ulrich Drepper <drepper@gmail.com>
27726 * sunrpc/Makefile: Move inclusion of Rules.
27728 2011-04-19 Ulrich Drepper <drepper@gmail.com>
27730 * nss/nss_files/files-initgroups.c: New file.
27731 * nss/Makefile (libnss_files-routines): Add files-initgroups.
27732 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27733 _nss_files_initgroups_dyn.
27735 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
27737 * elf/elf.h (R_ARM_IRELATIVE): Define.
27739 2011-04-19 Ulrich Drepper <drepper@gmail.com>
27741 * po/ru.po: Update from translation team.
27743 2011-04-17 Ulrich Drepper <drepper@gmail.com>
27745 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27748 2011-02-06 Mike Frysinger <vapier@gentoo.org>
27751 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27752 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27753 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27754 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27755 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27757 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
27759 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27761 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27762 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27763 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27765 2011-04-17 Ulrich Drepper <drepper@gmail.com>
27768 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27770 * stdlib/bug-getcontext.c: New file.
27771 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27773 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27775 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27776 instructions into .machine "z9-109".
27777 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27778 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27780 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27782 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27783 between environment variables and auxiliary vector.
27785 2011-04-16 Ulrich Drepper <drepper@gmail.com>
27787 * Makefile: Add rules to build linkobj/libc.so.
27788 * include/libc-symbols.h: Define libc_hidden_nolink.
27789 * include/rpc/auth.h: Mark functions which are to be hidden.
27790 * include/rpc/auth_des.h: Likewise.
27791 * include/rpc/auth_unix.h: Likewise.
27792 * include/rpc/clnt.h: Likewise.
27793 * include/rpc/des_crypt.h: Likewise.
27794 * include/rpc/key_prot.h: Likewise.
27795 * include/rpc/pmap_clnt.h: Likewise.
27796 * include/rpc/pmap_prot.h: Likewise.
27797 * include/rpc/pmap_rmt.h: Likewise.
27798 * include/rpc/rpc_msg.h: Likewise.
27799 * include/rpc/svc.h: Likewise.
27800 * include/rpc/svc_auth.h: Likewise.
27801 * include/rpc/xdr.h: Likewise.
27802 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27803 * nss/Makefile: Likewise.
27804 * sunrpc/Makefile: Don't install headers. Build library with normal
27805 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27806 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27807 for the compat linking library. Remove use of INTDEF/INTUSE.
27808 * sunrpc/auth_none.c: Likewise.
27809 * sunrpc/auth_unix.c: Likewise.
27810 * sunrpc/authdes_prot.c: Likewise.
27811 * sunrpc/authuxprot.c: Likewise.
27812 * sunrpc/clnt_gen.c: Likewise.
27813 * sunrpc/clnt_perr.c: Likewise.
27814 * sunrpc/clnt_raw.c: Likewise.
27815 * sunrpc/clnt_simp.c: Likewise.
27816 * sunrpc/clnt_tcp.c: Likewise.
27817 * sunrpc/clnt_udp.c: Likewise.
27818 * sunrpc/clnt_unix.c: Likewise.
27819 * sunrpc/des_crypt.c: Likewise.
27820 * sunrpc/des_soft.c: Likewise.
27821 * sunrpc/get_myaddr.c: Likewise.
27822 * sunrpc/key_call.c: Likewise.
27823 * sunrpc/key_prot.c: Likewise.
27824 * sunrpc/netname.c: Likewise.
27825 * sunrpc/pm_getmaps.c: Likewise.
27826 * sunrpc/pm_getport.c: Likewise.
27827 * sunrpc/pmap_clnt.c: Likewise.
27828 * sunrpc/pmap_prot.c: Likewise.
27829 * sunrpc/pmap_prot2.c: Likewise.
27830 * sunrpc/pmap_rmt.c: Likewise.
27831 * sunrpc/publickey.c: Likewise.
27832 * sunrpc/rpc_cmsg.c: Likewise.
27833 * sunrpc/rpc_common.c: Likewise.
27834 * sunrpc/rpc_dtable.c: Likewise.
27835 * sunrpc/rpc_prot.c: Likewise.
27836 * sunrpc/rpc_thread.c: Likewise.
27837 * sunrpc/rtime.c: Likewise.
27838 * sunrpc/svc.c: Likewise.
27839 * sunrpc/svc_auth.c: Likewise.
27840 * sunrpc/svc_authux.c: Likewise.
27841 * sunrpc/svc_raw.c: Likewise.
27842 * sunrpc/svc_run.c: Likewise.
27843 * sunrpc/svc_simple.c: Likewise.
27844 * sunrpc/svc_tcp.c: Likewise.
27845 * sunrpc/svc_udp.c: Likewise.
27846 * sunrpc/svc_unix.c: Likewise.
27847 * sunrpc/svcauth_des.c: Likewise.
27848 * sunrpc/xcrypt.c: Likewise.
27849 * sunrpc/xdr.c: Likewise.
27850 * sunrpc/xdr_array.c: Likewise.
27851 * sunrpc/xdr_float.c: Likewise.
27852 * sunrpc/xdr_intXX_t.c: Likewise.
27853 * sunrpc/xdr_mem.c: Likewise.
27854 * sunrpc/xdr_rec.c: Likewise.
27855 * sunrpc/xdr_ref.c: Likewise.
27856 * sunrpc/xdr_sizeof.c: Likewise.
27857 * sunrpc/xdr_stdio.c: Likewise.
27859 2011-04-10 Ulrich Drepper <drepper@gmail.com>
27862 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27863 * sysdeps/ia64/dl-tls.h: Likewise.
27864 * sysdeps/powerpc/dl-tls.h: Likewise.
27865 * sysdeps/s390/dl-tls.h: Likewise.
27866 * sysdeps/sh/dl-tls.h: Likewise.
27867 * sysdeps/sparc/dl-tls.h: Likewise.
27868 * sysdeps/x86_64/dl-tls.h: Likewise.
27869 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27871 2011-03-14 Andreas Schwab <schwab@redhat.com>
27873 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27874 rpath element also skip the following colon.
27875 (expand_dynamic_string_token): Add is_path parameter and pass
27876 down to DL_DST_REQUIRED and _dl_dst_substitute.
27877 (decompose_rpath): Call expand_dynamic_string_token with
27878 non-zero is_path. Ignore empty rpaths.
27879 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27882 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27887 2011-04-09 Ulrich Drepper <drepper@gmail.com>
27890 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27891 Patch by Filipe David Manana <fdmanana@apache.org>.
27893 2011-04-07 Andreas Schwab <schwab@redhat.com>
27895 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27896 Maintain aligned stack.
27897 (CHECK_RSP): Remove unused macro.
27899 2011-04-03 Ulrich Drepper <drepper@gmail.com>
27901 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27902 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27904 2011-04-02 Ulrich Drepper <drepper@gmail.com>
27906 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27908 * include/features.h: Mention __USE_XOPEN2K8 in comment.
27910 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27913 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27914 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27915 * sysdeps/x86_64/memmove.c: New file.
27916 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27917 (memcpy): Renamed to ...
27918 (__new_memcpy): This.
27919 (memcpy): Provide GLIBC_2_14 memcpy.
27920 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27921 (memcpy): Provide GLIBC_2_2_5 memcpy.
27923 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27926 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27928 2011-03-30 Andreas Schwab <schwab@redhat.com>
27930 * misc/syncfs.c: New file.
27931 * misc/Makefile (routines): Add syncfs.
27932 * posix/unistd.h: Declare syncfs.
27933 * sysdeps/unix/syscalls.list: Add syncfs.
27935 2011-04-01 Andreas Schwab <schwab@redhat.com>
27937 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27939 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27940 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27942 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27944 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27945 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27947 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27949 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27950 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27951 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27952 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27953 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27954 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27955 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27957 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27958 sync_file_range.c with -fexceptions.
27959 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27960 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27961 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27962 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27963 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27964 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27965 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27966 sync_file_range as cancellation point
27967 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27968 now a wrapper around __call_sync_file_range with cancellation handling.
27969 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27970 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27971 function name to __call_sync_file_range.
27972 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27973 Add call_sync_file_range.
27975 2011-04-01 Andreas Schwab <schwab@redhat.com>
27977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27980 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27982 * iconv/iconv.h: Fix typo in comment.
27983 * io/fcntl.h: Likewise.
27984 * libio/stdio.h: Likewise.
27985 * posix/spawn.h: Likewise.
27986 * posix/unistd.h: Likewise.
27987 * stdlib/stdlib.h: Likewise.
27988 * time/time.h: Likewise.
27989 * wcsmbs/wchar.h: Likewise.
27991 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27992 open_by_handle): Add.
27993 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27994 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27995 Augment a few comments.
27996 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27997 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27998 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28000 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28001 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28004 * io/fcntl.h (AT_EMPTY_PATH): Define.
28006 2011-03-30 Ulrich Drepper <drepper@gmail.com>
28008 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28009 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28010 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28012 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
28013 * Versions.def: Add GLIBC_2.14.
28014 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28017 2011-03-22 Ulrich Drepper <drepper@gmail.com>
28019 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28021 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28023 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28026 * string/test-strncmp.c (do_page_test): New function.
28027 (check2): Likewise.
28028 (test_main): Call check2.
28029 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28031 2011-03-20 Ulrich Drepper <drepper@gmail.com>
28034 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28035 Handle cache information in CPU leaf 4.
28036 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28038 2011-03-18 Ulrich Drepper <drepper@gmail.com>
28041 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28042 character representation.
28043 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28045 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28047 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28048 END(__isnan) to END(__isnanf) to match function entry point/label
28049 EALIGN(__isnanf,...).
28051 2011-03-10 Jakub Jelinek <jakub@redhat.com>
28053 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28055 2011-03-10 Ulrich Drepper <drepper@gmail.com>
28058 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28059 copy from the symbol referenced in the relocation to initialize the
28061 Patch by Piotr Bury <pbury@goahead.com>.
28062 * elf/Makefile: Add rules to build and tst-unique3.
28063 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28064 * elf/tst-unique3.cc: New file.
28065 * elf/tst-unique3.h: New file.
28066 * elf/tst-unique3lib.cc: New file.
28067 * elf/tst-unique3lib2.cc: New file.
28069 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28071 2011-03-10 Mike Frysinger <vapier@gentoo.org>
28073 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28074 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28077 2011-03-06 Ulrich Drepper <drepper@gmail.com>
28079 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28080 to-be-loaded object along a path to loader is ld.so.
28082 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28083 Ulrich Drepper <drepper@gmail.com>
28085 * sysdeps/x86_64/memset.S: After aligning destination, code
28086 branches to different locations depending on the value of
28087 misalignment, when multiarch is enabled. Fix this.
28089 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28091 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28092 Set _x86_64_preferred_memory_instruction for AMD processsors.
28093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28094 Set bit_Prefer_SSE_for_memop for AMD processors.
28096 2011-03-04 Ulrich Drepper <drepper@gmail.com>
28098 * libio/fmemopen.c (fmemopen): Optimize a bit.
28100 2011-03-03 Andreas Schwab <schwab@redhat.com>
28102 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28104 2011-03-03 Roland McGrath <roland@redhat.com>
28106 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28108 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28110 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
28111 __bzero_ultra1 instead of __memset_ultra1.
28113 2011-02-23 Andreas Schwab <schwab@redhat.com>
28114 Ulrich Drepper <drepper@gmail.com>
28117 * include/link.h (struct link_map): Add l_orig_initfini.
28118 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28119 returning unsuccessfully.
28120 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28121 close of a file loaded at startup, restore the original l_initfini
28123 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28124 list, store the pointer.
28125 * elf/Makefile ($(objpfx)noload-mem): New rule.
28126 (noload-ENV): Define.
28127 (tests): Add $(objpfx)noload-mem.
28128 * elf/noload.c: Include <memcheck.h>.
28129 (main): Call mtrace. Close all opened handles.
28131 2011-02-17 Andreas Schwab <schwab@redhat.com>
28134 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28135 dependencies are missing.
28137 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28139 Fix __if_freereq crash: Unlike the generic version which uses free,
28141 * sysdeps/mach/hurd/ifreq.h: New file.
28143 2011-01-27 Petr Baudis <pasky@suse.cz>
28144 Ulrich Drepper <drepper@gmail.com>
28147 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28148 to extend_alloca().
28149 * stdio-common/bug23.c: New file.
28150 * stdio-common/Makefile (tests): Add bug23.
28152 2010-09-28 Andreas Schwab <schwab@redhat.com>
28153 Ulrich Drepper <drepper@gmail.com>
28156 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28157 before performing relro protection. At old place add assertion
28158 to make sure nothing changed.
28160 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28161 Glauber de Oliveira Costa <glommer@gmail.com>
28163 * elf/elf.h: Add new ARM TLS relocs.
28165 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28168 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28170 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28172 * sysdeps/wordsize-64/tst-writev.c: New file.
28174 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28176 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28177 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28178 insns in _dl_start to prevent a TOC reference before relocs are
28181 2011-02-15 Ulrich Drepper <drepper@gmail.com>
28184 * Makeconfig: Remove RANLIB definition.
28185 * Makerules: Don't use RANLIB.
28186 * aclocal.m4: Remove ranlib test.
28187 * configure.in: No need to check for ranlib.
28188 * elf/rtld-Rules: Don't use RANLIB.
28190 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28192 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28194 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28195 inclusion protection macro.
28197 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28198 SIGRTMIN and SIGRTMAX and print information in that case only when
28199 SIGRTMIN is defined.
28201 2011-02-11 Jakub Jelinek <jakub@redhat.com>
28203 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28204 arginfo fn returning -1.
28206 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28207 and thousands string is zero terminated.
28209 2011-02-03 Andreas Schwab <schwab@redhat.com>
28211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28212 sysdeps/unix/sysv/linux/bits/socket.h.
28214 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28216 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28217 (__CPU_COUNT): Remove old macros.
28218 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28219 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28220 (__CPU_ALLOC, __CPU_FREE): Add macros.
28221 (__sched_cpualloc, __sched_cpufree): Add declarations.
28223 2011-02-05 Ulrich Drepper <drepper@gmail.com>
28225 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28226 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28227 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28228 (readdhstai): Return value of addhstaiX call.
28229 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28230 (addgrbyX): Return value returned by cache_addgr.
28231 (readdgrbyname): Return value returned by addgrbyX.
28232 (readdgrbygid): Likewise.
28233 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28234 (addpwbyX): Return value returned by cache_addpw.
28235 (readdpwbyname): Return value returned by addhstbyX.
28236 (readdpwbyuid): Likewise.
28237 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28238 (addservbyX): Return value returned by cache_addserv.
28239 (readdservbyname): Return value returned by addservbyX:
28240 (readdservbyport): Likewise.
28241 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28242 (addhstbyX): Return value returned by cache_addhst.
28243 (readdhstbyname): Return value returned by addhstbyX.
28244 (readdhstbyaddr): Likewise.
28245 (readdhstbynamev6): Likewise.
28246 (readdhstbyaddrv6): Likewise.
28247 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28248 (readdinitgroups): Return value returned by addinitgroupsX.
28249 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28250 (prune_cache): Keep track of timeout value of re-added entries.
28251 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28252 * nscd/nscd.h: Adjust prototypes of readd* functions.
28254 2011-02-04 Roland McGrath <roland@redhat.com>
28256 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28257 (nis_stats): Likewise.
28258 * nis/nis_modify.c (nis_modify): Likewise.
28259 * nis/nis_remove.c (nis_remove): Likewise.
28260 * nis/nis_add.c (nis_add): Likewise.
28262 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28264 * posix/fnmatch_loop.c: Add some consts.
28266 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28268 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28271 * config.make.in (config-cflags-novzeroupper): Define.
28272 * configure.in: Substitute libc_cv_cc_novzeroupper.
28273 * elf/Makefile (AVX-CFLAGS): Define.
28274 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28275 (CFLAGS-tst-auditmod4a.c): Likewise.
28276 (CFLAGS-tst-auditmod4b.c): Likewise.
28277 (CFLAGS-tst-auditmod6b.c): Likewise.
28278 (CFLAGS-tst-auditmod6c.c): Likewise.
28279 (CFLAGS-tst-auditmod7b.c): Likewise.
28280 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28282 2011-02-02 Ulrich Drepper <drepper@gmail.com>
28284 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28285 function to the callback.
28286 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28288 2011-02-02 Andreas Schwab <schwab@redhat.com>
28290 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28293 2011-01-19 Ulrich Drepper <drepper@gmail.com>
28296 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28298 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28300 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28303 * elf/Makefile: Add rules to build and run new test.
28304 * elf/tst-initorder.c: New file.
28305 * elf/tst-initorder.exp: New file.
28306 * elf/tst-initordera1.c: New file.
28307 * elf/tst-initordera2.c: New file.
28308 * elf/tst-initordera3.c: New file.
28309 * elf/tst-initordera4.c: New file.
28310 * elf/tst-initorderb1.c: New file.
28311 * elf/tst-initorderb2.c: New file.
28312 * elf/tst-order-a1.c: New file.
28313 * elf/tst-order-a2.c: New file.
28314 * elf/tst-order-a3.c: New file.
28315 * elf/tst-order-a4.c: New file.
28316 * elf/tst-order-b1.c: New file.
28317 * elf/tst-order-b2.c: New file.
28318 * elf/tst-order-main.c: New file.
28319 New test case by George Gensure <werkt0@gmail.com>.
28321 2010-10-01 Andreas Schwab <schwab@redhat.com>
28323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28324 decoding ACE if AI_CANONIDN.
28326 2011-01-18 Ulrich Drepper <drepper@gmail.com>
28328 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28330 2011-01-17 Ulrich Drepper <drepper@gmail.com>
28332 * version.h (RELEASE): Bump for 2.13 release.
28333 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28335 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28337 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28339 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28340 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28341 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28342 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28343 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28344 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28346 * posix/getconf.c: Update copyright year.
28347 * catgets/gencat.c: Likewise.
28348 * csu/version.c: Likewise.
28349 * debug/catchsegv.sh: Likewise.
28350 * debug/xtrace.sh: Likewise.
28351 * elf/ldconfig.c: Likewise.
28352 * elf/ldd.bash.in: Likewise.
28353 * elf/sprof.c (print_version): Likewise.
28354 * iconv/iconv_prog.c: Likewise.
28355 * iconv/iconvconfig.c: Likewise.
28356 * locale/programs/locale.c: Likewise.
28357 * locale/programs/localedef.c: Likewise.
28358 * malloc/memusage.sh: Likewise.
28359 * malloc/mtrace.pl: Likewise.
28360 * nscd/nscd.c (print_version): Likewise.
28361 * nss/getent.c: Likewise.
28363 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28364 PF_CAIF, and PF_ALG.
28365 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28367 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28369 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28370 (modules-names): Use them.
28371 (ifunc-test-modules, ifunc-pie-tests): Define.
28372 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28373 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28374 (test-extras): Likewise.
28375 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28376 $(compile-command.c).
28377 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28378 (all-built-dso): Define.
28379 (check-textrel.out, check-execstack.out): Depend on it.
28381 * configure.in: Don't override --enable-multi-arch.
28383 2011-01-15 Ulrich Drepper <drepper@gmail.com>
28386 * nscd/hstcache.c (tryagain): Define.
28387 (cache_addhst): Return tryagain not notfound for temporary errors.
28388 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28391 2011-01-14 Ulrich Drepper <drepper@gmail.com>
28394 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28395 to make the syscall.
28396 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28399 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28400 and fall back to matching as normal character if the string ends before
28401 the matching ']' is found. This is what POSIX requires.
28402 * posix/testfnm.c: Adjust test result.
28403 * posix/globtest.sh: Adjust test result. Add new test.
28404 * posix/tst-fnmatch.input: Likewise.
28405 * posix/tst-fnmatch2.c: Add new test.
28407 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
28409 * elf/Makefile (check-execstack): Revert last change. Depend on
28411 (check-execstack.h): New target.
28412 (generated): Add check-execstack.h.
28413 * elf/check-execstack.c: Include "check-execstack.h".
28414 (main): Revert last change.
28415 (handle_file): Return zero if GNU_STACK is absent and
28416 DEFAULT_STACK_PERMS doesn't include PF_X.
28418 2011-01-13 Ulrich Drepper <drepper@gmail.com>
28420 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
28421 in child fails because the descriptor is already closed.
28422 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28423 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
28424 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
28427 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
28431 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
28432 temporary buffer used to handle multi lookups locally.
28433 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
28435 2011-01-12 Ulrich Drepper <drepper@gmail.com>
28437 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
28440 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
28442 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
28443 alignment for SSE2.
28445 2011-01-12 Ulrich Drepper <drepper@gmail.com>
28448 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
28449 characters. When rounding increased number of integer digits recompute
28451 * stdio-common/tst-grouping.c: New file.
28452 * stdio-common/Makefile: Add rules to build and run tst-grouping.
28454 2011-01-09 Ulrich Drepper <drepper@gmail.com>
28456 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
28457 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
28459 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
28461 * bits/select.h: Likewise.
28463 2011-01-08 Ulrich Drepper <drepper@gmail.com>
28465 * po/ja.po: Update from translation team.
28467 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
28470 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
28471 implementation just like for lxstat, fxstatat, et al.
28473 2010-12-27 Jim Meyering <meyering@redhat.com>
28476 * posix/regexec.c (build_trtable): Return failure indication upon
28477 calloc failure. Otherwise, re_search_internal could infloop on OOM.
28479 2010-12-25 Ulrich Drepper <drepper@gmail.com>
28482 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
28483 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
28484 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
28485 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
28488 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
28491 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
28492 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
28494 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
28496 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
28497 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
28498 script has SORT_BY_INIT_PRIORITY.
28499 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
28500 NO_CTORS_DTORS_SECTIONS is defined.
28501 * elf/soinit.c: Likewise.
28502 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
28503 NO_CTORS_DTORS_SECTIONS is defined.
28504 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
28505 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
28506 * sysdeps/sh/init-first.c: Likewise.
28507 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
28509 2010-12-24 Ulrich Drepper <drepper@gmail.com>
28511 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
28512 always use the slow path.
28514 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
28516 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
28517 similar rule which adds the sysdep directories to the header search in
28518 order to pick up the correct platform stackinfo.h.
28519 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
28520 perform test if it is, otherwise return successfully without testing.
28521 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
28522 DEFAULT_STACK_PERMS define in stackinfo.h.
28523 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
28524 defined in stackinfo.h.
28525 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
28526 DEFAULT_STACK_PERMS defined in stackinfo.h.
28527 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
28528 * sysdeps/ia64/stackinfo.h: Likewise.
28529 * sysdeps/s390/stackinfo.h: Likewise.
28530 * sysdeps/sh/stackinfo.h: Likewise.
28531 * sysdeps/sparc/stackinfo.h: Likewise.
28532 * sysdeps/x86_64/stackinfo.h: Likewise.
28533 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
28534 PF_X for powerpc64. Retain PF_X for powerpc32.
28536 2010-12-19 Ulrich Drepper <drepper@gmail.com>
28538 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
28540 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
28541 GETDENTS_64BIT_ALIGNED.
28543 2010-12-14 Ulrich Drepper <dreper@gmail.com>
28545 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28547 2010-12-10 Andreas Schwab <schwab@redhat.com>
28549 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
28552 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
28553 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
28555 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
28556 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
28558 2010-12-09 Ulrich Drepper <drepper@gmail.com>
28561 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
28564 2010-12-09 Jakub Jelinek <jakub@redhat.com>
28566 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
28568 2010-12-03 Ulrich Drepper <drepper@gmail.com>
28570 * po/it.po: Update from translation team.
28572 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
28574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
28577 2010-11-30 Ulrich Drepper <drepper@gmail.com>
28579 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
28581 2010-11-24 Andreas Schwab <schwab@redhat.com>
28583 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
28585 (gaih_getanswer_slice): Likewise.
28587 2010-10-20 Jakub Jelinek <jakub@redhat.com>
28589 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
28591 2010-05-31 Petr Baudis <pasky@suse.cz>
28594 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
28595 silently even in the chroot mode.
28597 2010-11-22 Ulrich Drepper <drepper@gmail.com>
28599 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
28600 last patch a bit. Pretty printing
28602 2010-05-31 Petr Baudis <pasky@suse.cz>
28605 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
28606 initialization of skip_initgroups_dyn.
28608 2010-11-19 Ulrich Drepper <drepper@gmail.com>
28610 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
28611 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28613 2010-11-16 Ulrich Drepper <drepper@gmail.com>
28615 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
28617 2010-11-11 Andreas Schwab <schwab@redhat.com>
28619 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
28620 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
28621 (tst-fnmatch-ENV): Set MALLOC_TRACE.
28622 ($(objpfx)tst-fnmatch-mem): New rule.
28623 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
28624 * posix/tst-fnmatch.c (main): Call mtrace.
28626 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
28628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28629 Support Intel processor model 6 and model 0x2c.
28631 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
28633 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
28636 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
28639 * string/test-strncasecmp.c (check_result): New function.
28640 (do_one_test): Use it.
28641 (check1): New function.
28642 (test_main): Use it.
28643 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
28644 Support strcasecmp and strncasecmp.
28646 2010-11-08 Ulrich Drepper <drepper@gmail.com>
28649 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28650 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28652 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
28654 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28658 * sysdeps/x86_64/multiarch/bzero.S: New file.
28659 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28660 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28661 * sysdeps/x86_64/multiarch/memset.S: New file.
28662 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28664 Set bit_Prefer_SSE_for_memop for Intel processors.
28665 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28667 (index_Prefer_SSE_for_memop): Define.
28668 (HAS_PREFER_SSE_FOR_MEMOP): Define.
28670 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
28672 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28673 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28675 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
28678 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28679 (__x86_64_raw_data_cache_size_half): Likewise.
28680 (__x86_64_raw_shared_cache_size): Likewise.
28681 (__x86_64_raw_shared_cache_size_half): Likewise.
28683 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28684 (__x86_64_raw_data_cache_size_half): Likewise.
28685 (__x86_64_raw_shared_cache_size): Likewise.
28686 (__x86_64_raw_shared_cache_size_half): Likewise.
28687 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28688 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28689 and __x86_64_raw_shared_cache_size_half. Round
28690 __x86_64_data_cache_size_half, __x86_64_data_cache_size
28691 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28692 to multiple of 256 bytes.
28694 2010-11-03 Ulrich Drepper <drepper@gmail.com>
28697 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28698 of inacessible symlinks. Verify result of symlink before returning it.
28699 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28700 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28702 2010-10-28 Erich Ritz <erichritz@gmail.com>
28704 * math/math.h (isinf): Fix typo in comment.
28706 2010-11-01 Ulrich Drepper <drepper@gmail.com>
28708 * po/da.po: Update from translation team.
28710 2010-10-26 Ulrich Drepper <drepper@gmail.com>
28712 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28713 is added to the list.
28715 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28716 Ulrich Drepper <drepper@gmail.com>
28718 * elf/dl-object.c (_dl_new_object): Don't append the new object to
28719 the global list here. Move code to...
28720 (_dl_add_to_namespace_list): ...here. New function.
28721 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28722 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28723 * elf/dl-load.c (lose): Don't remove the element from the list.
28724 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28725 (_dl_map_object): Likewise.
28727 2010-10-25 Ulrich Drepper <drepper@gmail.com>
28730 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28731 into all bytes of SSE register.
28732 Patch by Richard Li <richardpku@gmail.com>.
28734 2010-10-24 Ulrich Drepper <drepper@gmail.com>
28737 * malloc/malloc.c (_int_free): Fill correct number of bytes when
28740 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
28742 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28743 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28744 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28745 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28750 2010-10-22 Andreas Schwab <schwab@redhat.com>
28752 * include/dlfcn.h (__RTLD_SECURE): Define.
28753 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
28754 mode & __RTLD_SECURE instead.
28755 (open_path): Rename preloaded parameter to secure.
28756 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28757 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28758 * elf/dl-deps.c (openaux): Likewise.
28759 * elf/rtld.c (struct map_args): Remove is_preloaded.
28760 (map_doit): Don't use it.
28761 (dl_main): Likewise.
28762 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28763 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28765 2010-09-09 Andreas Schwab <schwab@redhat.com>
28767 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28768 (sysd-rules-targets): Remove duplicates.
28769 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28770 rtld-%.$o dependency.
28772 2010-10-18 Andreas Schwab <schwab@redhat.com>
28774 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28775 _dl_map_object do it.
28777 2010-10-19 Ulrich Drepper <drepper@gmail.com>
28779 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28780 fast fma builtins, define the macros in the C99 standard.
28781 (FP_FAST_FMAF): Likewise.
28782 (FP_FAST_FMAL): Likewise.
28783 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28785 * bits/mathdef.h: Update copyright year.
28786 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28788 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28790 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28791 builtins, define the macros in the C99 standard.
28792 (FP_FAST_FMAF): Likewise.
28793 (FP_FAST_FMAL): Likewise.
28794 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28796 (FP_FAST_FMAF): Likewise.
28798 2010-10-15 Jakub Jelinek <jakub@redhat.com>
28801 * math/libm-test.inc (fma_test): Some new testcases.
28802 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28803 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28804 y and infinite z. Do multiplication by C already in long double.
28805 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28807 y and infinite z. Do bitwise or of inexact bit into u.d.
28808 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28809 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28810 * sysdeps/i386/fpu/s_fma.S: Removed.
28811 * sysdeps/i386/fpu/s_fmal.S: Removed.
28813 2010-10-16 Jakub Jelinek <jakub@redhat.com>
28816 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28818 computation is not scheduled after fetestexcept. Fix value
28819 of minimum denormal long double.
28821 2010-10-14 Jakub Jelinek <jakub@redhat.com>
28824 * math/libm-test.inc (fma_test): Add some more tests.
28825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28828 2010-10-15 Andreas Schwab <schwab@redhat.com>
28830 * scripts/data/localplt-s390-linux-gnu.data: New file.
28831 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28833 2010-10-13 Jakub Jelinek <jakub@redhat.com>
28836 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28837 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28839 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28841 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28843 if one of x and y is very large and the other is subnormal.
28844 * sysdeps/s390/fpu/s_fmaf.c: New file.
28845 * sysdeps/s390/fpu/s_fma.c: New file.
28846 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28847 * sysdeps/powerpc/fpu/s_fma.S: New file.
28848 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28849 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28850 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28852 2010-10-12 Jakub Jelinek <jakub@redhat.com>
28855 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28857 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28858 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28859 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28860 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28861 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28862 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28863 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28865 2010-10-12 Ulrich Drepper <drepper@redhat.com>
28868 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28869 * posix/bug-regex31.input: Add test case.
28871 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28873 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28874 * posix/bug-regex31.input: New file.
28877 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28878 (parse_sub_exp): Fix last change, use postorder.
28880 * posix/bug-regex31.c: New file.
28881 * posix/Makefile: Add rules to build and run bug-regex31.
28883 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28886 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28889 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28890 to have entries in sys_siglist.
28893 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28896 2010-10-07 Jakub Jelinek <jakub@redhat.com>
28899 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28900 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28901 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28902 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28903 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28904 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28905 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28906 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28907 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28908 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28909 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28910 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28911 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28912 * math/ftestexcept.c (fetestexcept): Likewise.
28913 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28914 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28915 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28916 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28917 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28918 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28919 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28921 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28924 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28927 2010-10-06 Ulrich Drepper <drepper@gmail.com>
28929 * string/bug-strstr1.c: New file.
28930 * string/Makefile: Add rules to build and run bug-strstr1.
28932 2010-10-05 Eric Blake <eblake@redhat.com>
28935 * string/str-two-way.h (two_way_long_needle): Always clear memory
28936 when skipping input due to the shift table.
28938 2010-10-03 Ulrich Drepper <drepper@gmail.com>
28941 * malloc/mcheck.c: Handle large requests.
28944 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28945 for strncmp and strncasecmp.
28946 * string/stratcliff.c: Add tests for strcmp and strncmp.
28947 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28949 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28951 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28954 2010-09-30 Andreas Jaeger <aj@suse.de>
28956 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28957 (CGROUP_SUPER_MAGIC): Define.
28958 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28959 Handle btrfs and cgroup file systems.
28960 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28963 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
28965 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28966 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28968 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28971 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28972 trying to locate the ELF header.
28974 2010-09-27 Andreas Schwab <schwab@redhat.com>
28977 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28978 Mask out sign-bit copies when constructing f_fsid.
28980 2010-09-24 Petr Baudis <pasky@suse.cz>
28982 * debug/stack_chk_fail_local.c: Add missing licence exception.
28983 * debug/warning-nop.c: Likewise.
28985 2010-09-15 Joseph Myers <joseph@codesourcery.com>
28987 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28988 implementing getdents64 using getdents syscall, set d_type if
28989 __ASSUME_GETDENTS32_D_TYPE.
28991 2010-09-16 Andreas Schwab <schwab@redhat.com>
28993 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28994 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28996 2010-09-21 Ulrich Drepper <drepper@redhat.com>
28999 * posix/unistd.h: Undo change of feature selection for ftruncate from
29002 2010-09-20 Ulrich Drepper <drepper@redhat.com>
29004 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
29007 2010-09-20 Andreas Schwab <schwab@redhat.com>
29009 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29011 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29013 2010-09-14 Andreas Schwab <schwab@redhat.com>
29015 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29016 variables after CHECK_SP call.
29017 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29019 2010-09-13 Andreas Schwab <schwab@redhat.com>
29020 Ulrich Drepper <drepper@redhat.com>
29022 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29023 re-relocationg ld.so.
29024 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29025 _dl_init_paths call.
29026 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29029 2010-09-14 Ulrich Drepper <drepper@redhat.com>
29031 * resolv/res_init.c (__res_vinit): Count the default server we added.
29033 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29034 Ulrich Drepper <drepper@redhat.com>
29037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29038 (____longjmp_chk): Use %ebx for saving value across system call.
29041 2010-09-06 Andreas Schwab <schwab@redhat.com>
29043 * manual/Makefile: Don't mix pattern rules with normal rules.
29045 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29047 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29049 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29050 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29051 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29052 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29053 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29056 2010-09-04 Ulrich Drepper <drepper@redhat.com>
29059 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29060 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29062 2010-09-02 Ulrich Drepper <drepper@redhat.com>
29064 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29065 * sysdeps/x86_64/addmul_1.S: Likewise.
29066 * sysdeps/x86_64/lshift.S: Likewise.
29067 * sysdeps/x86_64/mul_1.S: Likewise.
29068 * sysdeps/x86_64/rshift.S: Likewise.
29069 * sysdeps/x86_64/sub_n.S: Likewise.
29070 * sysdeps/x86_64/submul_1.S: Likewise.
29072 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29074 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29075 Define __sched_param instead of SCHED_* and sched_param when
29076 <bits/sched.h> is included with __need_schedparam defined.
29077 * bits/sched.h [__need_schedparam]
29078 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
29079 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29080 (__defined_schedparam): Define to 1.
29081 (__sched_param): New structure, identical to sched_param.
29082 (__need_schedparam): Undefine.
29084 2010-08-31 Mike Frysinger <vapier@gentoo.org>
29086 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29087 (epoll_create1): Declare.
29089 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29091 2010-08-31 Andreas Schwab <schwab@redhat.com>
29094 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29095 shifting retval into place.
29097 2010-09-01 Ulrich Drepper <drepper@redhat.com>
29099 * nis/rpcsvc/nis.h: Update copyright notice.
29100 * nis/rpcsvc/nis.x: Likewise.
29101 * nis/rpcsvc/nis_callback.h: Likewise.
29102 * nis/rpcsvc/nis_callback.x: Likewise.
29103 * nis/rpcsvc/nis_object.x: Likewise.
29104 * nis/rpcsvc/nis_tags.h: Likewise.
29105 * nis/rpcsvc/yp.h: Likewise.
29106 * nis/rpcsvc/yp.x: Likewise.
29107 * nis/rpcsvc/ypupd.h: Likewise.
29108 * nis/yp_xdr.c: Likewise.
29109 * nis/ypupdate_xdr.c: Likewise.
29111 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29112 mainly the body of pmap_getport. Add parameters to specify timeouts.
29113 (pmap_getport): Use __libc_rpc_getport.
29114 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29115 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29116 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29118 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29123 2010-08-27 Roland McGrath <roland@redhat.com>
29125 * sysdeps/i386/i686/multiarch/Makefile
29126 (CFLAGS-varshift.c): New variable.
29128 2010-08-27 Ulrich Drepper <drepper@redhat.com>
29130 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29131 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29133 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29135 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29137 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29139 * sysdeps/x86_64/strlen.S: Unroll the loop.
29140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29141 strlen-sse2 strlen-sse2-bsf.
29142 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29143 __strlen_no_bsf if bit_Slow_BSF is set.
29144 (__strlen_sse42): Removed.
29145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29146 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29148 2010-08-25 Roland McGrath <roland@redhat.com>
29150 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29151 * sysdeps/x86_64/multiarch/varshift.c: New file.
29152 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29153 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29154 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29155 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29157 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29160 strlen-sse2 strlen-sse2-bsf.
29161 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29162 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29163 (__strlen_sse2): Removed.
29164 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29165 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29167 bit_Slow_BSF for Atom.
29168 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29169 (index_Slow_BSF): Define.
29170 (HAS_SLOW_BSF): Define.
29172 2010-08-25 Ulrich Drepper <drepper@redhat.com>
29175 * resolv/res_init.c (__res_vinit): When no server address at all
29176 is given default to loopback.
29178 2010-08-24 Roland McGrath <roland@redhat.com>
29180 * configure.in: Remove config-name.h generation.
29181 * configure: Regenerated.
29182 * config-name.in: File removed.
29183 * scripts/config-uname.sh: New file.
29184 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29185 ($(objdir)config-name.h): New target.
29187 * sunrpc/rpc_parse.h: Avoid nested comment.
29189 2010-08-24 Richard Henderson <rth@redhat.com>
29190 Ulrich Drepper <drepper@redhat.com>
29191 H.J. Lu <hongjiu.lu@intel.com>
29193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29195 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29196 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29197 _mm_alignr_epi8 with _mm_loadu_si128.
29198 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29199 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29200 (__m128i_shift_right): Removed.
29201 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29202 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29203 * sysdeps/x86_64/multiarch/varshift.h: New file.
29204 * sysdeps/x86_64/multiarch/varshift.S: New file.
29206 2010-08-21 Mike Frysinger <vapier@gentoo.org>
29208 * configure.in: Move assembler checks to before sysdep dir checking.
29210 2010-08-20 Petr Baudis <pasky@suse.cz>
29212 * LICENSES: Sync the sunrpc license.
29214 2010-08-19 Ulrich Drepper <drepper@redhat.com>
29216 * sunrpc/auth_des.c: Update copyright notice once again.
29217 * sunrpc/auth_none.c: Likewise.
29218 * sunrpc/auth_unix.c: Likewise.
29219 * sunrpc/authdes_prot.c: Likewise.
29220 * sunrpc/authuxprot.c: Likewise.
29221 * sunrpc/bindrsvprt.c: Likewise.
29222 * sunrpc/clnt_gen.c: Likewise.
29223 * sunrpc/clnt_perr.c: Likewise.
29224 * sunrpc/clnt_raw.c: Likewise.
29225 * sunrpc/clnt_simp.c: Likewise.
29226 * sunrpc/clnt_tcp.c: Likewise.
29227 * sunrpc/clnt_udp.c: Likewise.
29228 * sunrpc/clnt_unix.c: Likewise.
29229 * sunrpc/des_crypt.c: Likewise.
29230 * sunrpc/des_soft.c: Likewise.
29231 * sunrpc/get_myaddr.c: Likewise.
29232 * sunrpc/getrpcport.c: Likewise.
29233 * sunrpc/key_call.c: Likewise.
29234 * sunrpc/key_prot.c: Likewise.
29235 * sunrpc/openchild.c: Likewise.
29236 * sunrpc/pm_getmaps.c: Likewise.
29237 * sunrpc/pm_getport.c: Likewise.
29238 * sunrpc/pmap_clnt.c: Likewise.
29239 * sunrpc/pmap_prot.c: Likewise.
29240 * sunrpc/pmap_prot2.c: Likewise.
29241 * sunrpc/pmap_rmt.c: Likewise.
29242 * sunrpc/rpc/auth.h: Likewise.
29243 * sunrpc/rpc/auth_unix.h: Likewise.
29244 * sunrpc/rpc/clnt.h: Likewise.
29245 * sunrpc/rpc/des_crypt.h: Likewise.
29246 * sunrpc/rpc/key_prot.h: Likewise.
29247 * sunrpc/rpc/netdb.h: Likewise.
29248 * sunrpc/rpc/pmap_clnt.h: Likewise.
29249 * sunrpc/rpc/pmap_prot.h: Likewise.
29250 * sunrpc/rpc/pmap_rmt.h: Likewise.
29251 * sunrpc/rpc/rpc.h: Likewise.
29252 * sunrpc/rpc/rpc_des.h: Likewise.
29253 * sunrpc/rpc/rpc_msg.h: Likewise.
29254 * sunrpc/rpc/svc.h: Likewise.
29255 * sunrpc/rpc/svc_auth.h: Likewise.
29256 * sunrpc/rpc/types.h: Likewise.
29257 * sunrpc/rpc/xdr.h: Likewise.
29258 * sunrpc/rpc_clntout.c: Likewise.
29259 * sunrpc/rpc_cmsg.c: Likewise.
29260 * sunrpc/rpc_common.c: Likewise.
29261 * sunrpc/rpc_cout.c: Likewise.
29262 * sunrpc/rpc_dtable.c: Likewise.
29263 * sunrpc/rpc_hout.c: Likewise.
29264 * sunrpc/rpc_main.c: Likewise.
29265 * sunrpc/rpc_parse.c: Likewise.
29266 * sunrpc/rpc_parse.h: Likewise.
29267 * sunrpc/rpc_prot.c: Likewise.
29268 * sunrpc/rpc_sample.c: Likewise.
29269 * sunrpc/rpc_scan.c: Likewise.
29270 * sunrpc/rpc_scan.h: Likewise.
29271 * sunrpc/rpc_svcout.c: Likewise.
29272 * sunrpc/rpc_tblout.c: Likewise.
29273 * sunrpc/rpc_util.c: Likewise.
29274 * sunrpc/rpc_util.h: Likewise.
29275 * sunrpc/rpcinfo.c: Likewise.
29276 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29277 * sunrpc/rpcsvc/key_prot.x: Likewise.
29278 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29279 * sunrpc/rpcsvc/mount.x: Likewise.
29280 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29281 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29282 * sunrpc/rpcsvc/rex.x: Likewise.
29283 * sunrpc/rpcsvc/rstat.x: Likewise.
29284 * sunrpc/rpcsvc/rusers.x: Likewise.
29285 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29286 * sunrpc/rpcsvc/spray.x: Likewise.
29287 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29288 * sunrpc/rtime.c: Likewise.
29289 * sunrpc/svc.c: Likewise.
29290 * sunrpc/svc_auth.c: Likewise.
29291 * sunrpc/svc_authux.c: Likewise.
29292 * sunrpc/svc_raw.c: Likewise.
29293 * sunrpc/svc_run.c: Likewise.
29294 * sunrpc/svc_simple.c: Likewise.
29295 * sunrpc/svc_tcp.c: Likewise.
29296 * sunrpc/svc_udp.c: Likewise.
29297 * sunrpc/svc_unix.c: Likewise.
29298 * sunrpc/svcauth_des.c: Likewise.
29299 * sunrpc/xcrypt.c: Likewise.
29300 * sunrpc/xdr.c: Likewise.
29301 * sunrpc/xdr_array.c: Likewise.
29302 * sunrpc/xdr_float.c: Likewise.
29303 * sunrpc/xdr_mem.c: Likewise.
29304 * sunrpc/xdr_rec.c: Likewise.
29305 * sunrpc/xdr_ref.c: Likewise.
29306 * sunrpc/xdr_sizeof.c: Likewise.
29307 * sunrpc/xdr_stdio.c: Likewise.
29309 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29312 2010-08-19 Andreas Schwab <schwab@redhat.com>
29314 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29316 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
29318 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29319 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29320 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29321 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29322 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29323 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29324 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29325 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29326 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29327 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29328 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29329 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29330 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29331 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29333 2010-07-26 Anton Blanchard <anton@samba.org>
29335 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29336 * malloc/arena.c (heap_trim): Likewise.
29338 2010-08-16 Ulrich Drepper <drepper@redhat.com>
29340 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29342 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29343 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29345 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29347 * sysdeps/i386/elf/Makefile: New file.
29349 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29351 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29352 from fanotify_init.
29353 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29354 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29356 2010-08-15 Ulrich Drepper <drepper@redhat.com>
29358 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29360 * sysdeps/multiarch/strcmp.S: Likewise.
29362 2010-08-14 Ulrich Drepper <drepper@redhat.com>
29364 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29365 strncase_l-nonascii.
29366 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29367 Add strncase_l-ssse3.
29368 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29369 * sysdeps/x86_64/strcmp.S: Likewise.
29370 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29371 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29372 * sysdeps/x86_64/strncase.S: New file.
29373 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29374 * sysdeps/x86_64/strncase_l.S: New file.
29375 * string/Makefile (strop-tests): Add strncasecmp.
29376 * string/test-strncasecmp.c: New file.
29378 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29381 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29382 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29384 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29386 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29388 2010-08-12 Ulrich Drepper <drepper@redhat.com>
29390 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29391 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29392 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29394 2010-05-01 Alan Modra <amodra@gmail.com>
29396 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29397 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29398 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29399 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29400 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29401 tidying. Don't tail-call __sigjmp_save for static lib.
29402 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29404 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29405 (CALL_MCOUNT): Add eh info, and nop after bl.
29406 (TAIL_CALL_SYSCALL_ERROR): New macro.
29407 (PSEUDO_RET): Use it.
29408 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29409 Correct save location of integer regs and cr.
29410 (_dl_profile_resolve): Correct cr save location. Delete nops
29411 after bl when SHARED. Reduce cfi size a little by better
29412 placement of cfi directives.
29413 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29414 make a stack frame. Instead use parm save area as a temp.
29415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
29416 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
29417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29418 Don't make a stack frame for parent, use parm save area.
29419 Increase child stack frame to 112 bytes. Don't save unused reg,
29420 and adjust reg usage. Set up cfi on error recovery and
29421 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
29422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29423 (__makecontext): Add dummy nop after jump to exit.
29424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
29425 Use correct parm save area and cr save, reduce stack frame.
29426 Correct cfi for possible PSEUDO_RET frame setup.
29427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
29428 Branch to local label emitted by PSEUDO_RET rather than
29431 2010-08-12 Andreas Schwab <schwab@redhat.com>
29434 * locale/programs/locale.c (print_assignment): New function.
29435 (show_locale_vars): Use it.
29437 2010-08-11 Ulrich Drepper <drepper@redhat.com>
29439 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
29441 (struct statfs64): Likewise.
29442 (_STATFS_F_FLAGS): Define.
29443 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
29444 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29445 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
29446 (ST_VALID): Define locally.
29447 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
29448 __statvfs_getflags, use the provided value.
29449 * sysdeps/unix/sysv/linux/kernel-features.h: Define
29450 __ASSUME_STATFS_F_FLAGS.
29452 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
29454 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
29455 Add sys/fanotify.h.
29456 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
29457 fanotify_mask for GLIBC_2.13.
29458 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
29459 fanotify_init and fanotify_mark.
29460 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29461 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
29463 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
29465 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
29466 prlimit64 for GLIBC_2.13.
29467 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
29469 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
29471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
29472 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29473 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
29474 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
29475 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
29477 * sysdeps/unix/sysv/linux/prlimit.c: New file.
29480 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
29481 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
29483 * nss/Makefile: Add rules to build and run tst-nss-test1.
29484 * shlib-versions: Add entry for libnss_test1.
29485 * nss/nss_test1.c: New file.
29486 * nss/tst-nss-test1.c: New file.
29488 * nss/nsswitch.c (__nss_database_custom): Define new variable.
29489 (__nss_configure_lookup): Set appropriate entry in
29490 __nss_configure_lookup to true.
29491 * nss/nsswitch.h: Define enum with indeces of databases in
29492 databases and __nss_database_custom arrays. Declare
29493 __nss_database_custom.
29494 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
29495 to avoid using nscd when custom rules are installed.
29496 * nss/getXXbyYY_r.c: Likewise.
29497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29499 * nss/nss_files/files-parse.c: Whitespace fixes.
29501 2010-08-09 Ulrich Drepper <drepper@redhat.com>
29504 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
29505 * posix/fnmatch_loop.c: Likewise.
29507 2010-07-17 Andi Kleen <ak@linux.intel.com>
29509 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
29510 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
29511 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
29512 * Versions.def [GLIBC_2.13]: Add.
29514 2010-08-06 Ulrich Drepper <drepper@redhat.com>
29516 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29517 Also fail if tpwd after pwuid call is NULL.
29519 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
29521 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
29522 when converting to ms.
29524 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29526 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
29527 EOPNOTSUPP errors with ENOTTY.
29528 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
29529 EOPNOTSUPP errors with ENOTTY.
29531 2010-07-31 Ulrich Drepper <drepper@redhat.com>
29533 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29534 Add strcasecmp_l-ssse3.
29535 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
29537 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
29538 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
29539 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
29541 2010-07-30 Ulrich Drepper <drepper@redhat.com>
29543 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
29545 * string/Makefile (strop-tests): Add strcasecmp.
29546 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29547 strcasecmp_l-nonascii.
29548 (gen-as-const-headers): Add locale-defines.sym.
29549 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
29550 * sysdeps/x86_64/strcasecmp.S: New file.
29551 * sysdeps/x86_64/strcasecmp_l.S: New file.
29552 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
29553 * sysdeps/x86_64/locale-defines.sym: New file.
29554 * string/test-strcasecmp.c: New file.
29556 * string/test-strcasestr.c: Test both ends of the range of characters.
29557 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
29559 2010-07-29 Roland McGrath <roland@redhat.com>
29562 * manual/locale.texi (Yes-or-No Questions): Fix example code.
29564 2010-07-27 Ulrich Drepper <drepper@redhat.com>
29566 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
29569 2010-07-27 Andreas Schwab <schwab@redhat.com>
29571 * manual/memory.texi (Malloc Tunable Parameters): Document
29574 2010-07-26 Roland McGrath <roland@redhat.com>
29577 * configure.in (-fgnu89-inline check): Set and substitute
29578 gnu89_inline, not libc_cv_gnu89_inline.
29579 * configure: Regenerated.
29580 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
29582 2010-07-26 Ulrich Drepper <drepper@redhat.com>
29584 * string/test-strnlen.c: New file.
29585 * string/Makefile (strop-tests): Add strnlen.
29586 * string/tester.c (test_strnlen): Add a few more test cases.
29587 * string/tst-strlen.c: Better error reporting.
29589 * sysdeps/x86_64/strnlen.S: New file.
29591 2010-07-24 Ulrich Drepper <drepper@redhat.com>
29593 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
29594 lower-latency instructions.
29596 2010-07-23 Ulrich Drepper <drepper@redhat.com>
29598 * string/test-strcasestr.c: New file.
29599 * string/test-strstr.c: New file.
29600 * string/Makefile (strop-tests): Add strstr and strcasestr.
29601 * string/str-two-way.h: Don't undefine MAX.
29602 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
29604 2010-07-21 Andreas Schwab <schwab@redhat.com>
29606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29607 strcasestr-nonascii.
29608 (CFLAGS-strcasestr-nonascii.c): Define.
29609 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
29610 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
29611 Remove unused attribute.
29613 2010-07-20 Roland McGrath <roland@redhat.com>
29615 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
29616 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
29617 ld.so.cache was broken. With it, there is no way to disable dsocaps
29618 like LD_HWCAP_MASK can disable hwcaps.
29620 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29622 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
29624 2010-07-16 Ulrich Drepper <drepper@redhat.com>
29626 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
29627 call in strcasestr.
29628 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
29629 __strcasestr_sse42_nonascii.
29630 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
29631 strcasestr-nonascii.c.
29632 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
29634 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
29636 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
29637 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
29638 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
29639 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
29641 2010-07-09 Ulrich Drepper <drepper@redhat.com>
29643 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29646 2010-07-06 Andreas Schwab <schwab@redhat.com>
29649 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29652 2010-07-06 Ulrich Drepper <drepper@redhat.com>
29654 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29655 _PC_PIPE_BUF using F_GETPIPE_SZ.
29657 2010-07-05 Roland McGrath <roland@redhat.com>
29659 * manual/arith.texi (Rounding Functions): Fix rint description
29660 implicit in round description.
29662 2010-07-02 Ulrich Drepper <drepper@redhat.com>
29664 * elf/Makefile: Fix linking for a few tests to make recent linker
29667 2010-06-30 Andreas Schwab <schwab@redhat.com>
29669 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29670 $(common-objpfx)libc_nonshared.a.
29672 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
29674 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29675 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29676 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29677 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29678 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29679 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29680 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29681 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29696 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29697 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29698 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29699 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29700 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29701 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29702 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29703 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29704 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29705 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29706 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29707 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29723 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
29725 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29726 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
29727 * string/memmove.c (memmove): Renamed to ...
29728 (MEMMOVE): ...this. Default to memmove.
29729 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29730 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29733 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29734 mempcpy-ssse3-back memmove-ssse3-back.
29735 * sysdeps/x86_64/multiarch/bcopy.S: New file .
29736 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29737 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29738 * sysdeps/x86_64/multiarch/memcpy.S: New file.
29739 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29740 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29741 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29742 * sysdeps/x86_64/multiarch/memmove.c: New file.
29743 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29744 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29745 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29746 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29747 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29748 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29750 (index_Fast_Copy_Backward): Define.
29751 (HAS_ARCH_FEATURE): Define.
29752 (HAS_FAST_REP_STRING): Define.
29753 (HAS_FAST_COPY_BACKWARD): Define.
29755 2010-06-21 Andreas Schwab <schwab@redhat.com>
29757 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29758 Restore proper fallback handling.
29760 2010-06-19 Ulrich Drepper <drepper@redhat.com>
29763 * posix/group_member.c (__group_member): Correct checking loop.
29765 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29766 OOM in getpwuid_r correctly. Return error number when the caller
29767 should return, otherwise -1.
29768 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29769 call returning > 0 value.
29770 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29772 2010-06-07 Andreas Schwab <schwab@redhat.com>
29774 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29775 libc_nonshared.a from targets in modules-names.
29777 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29779 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29782 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
29784 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29785 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29786 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29787 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29789 2010-06-02 Andreas Schwab <schwab@redhat.com>
29791 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29793 2010-06-14 Ulrich Drepper <drepper@redhat.com>
29795 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29797 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29798 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29799 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29801 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29802 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29804 2010-06-14 Roland McGrath <roland@redhat.com>
29806 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29808 2010-06-07 Jakub Jelinek <jakub@redhat.com>
29810 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29811 __REDIRECT followed by __THROW.
29812 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29813 * posix/getopt.h (getopt): Likewise.
29815 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29817 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29818 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29819 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29821 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29822 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29824 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
29826 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29828 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29832 Properly check family and model.
29834 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29836 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29838 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
29840 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29842 2010-05-21 Ulrich Drepper <drepper@redhat.com>
29844 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29847 2010-05-19 Andreas Schwab <schwab@redhat.com>
29849 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29852 2010-05-21 Andreas Schwab <schwab@redhat.com>
29854 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29855 and internal_recvmmsg.
29856 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29857 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29858 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29859 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29861 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29862 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29863 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29865 2010-05-20 Andreas Schwab <schwab@redhat.com>
29867 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29869 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
29871 POWER7 optimizations.
29872 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29873 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29875 2010-05-19 Ulrich Drepper <drepper@redhat.com>
29877 * version.h: Update for 2.13 development version.
29879 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
29881 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29882 exceptions. Return 0.
29884 2010-05-07 Roland McGrath <roland@redhat.com>
29886 * elf/ldconfig.c (main): Add a const.
29888 2010-05-06 Ulrich Drepper <drepper@redhat.com>
29890 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29891 (args_options): Add no-idn option.
29892 (ahosts_keys_int): Add idn_flags to ai_flags.
29893 (parse_option): Handle 'i' option to clear idn_flags.
29895 * malloc/malloc.c (_int_free): Possible race in the most recently
29896 added check. Only act on the data if no current modification
29899 See ChangeLog.17 for earlier changes.